A widget for KDE Plasma 6
An AI chat that lives in your Plasma panel.
Talk to the AI service of your choice, or to a model running on your own computer. Drop in files, keep chats in projects, schedule messages, and let a coding agent help with code. Your API keys are kept in KDE Wallet, and your chats stay in private files on your computer.
Free for personal and other noncommercial use. Or install it from Plasma itself: Add Widgets… › Get New Widgets, then search for KDE AI Chat.
Take the full tour
The tour of version 1.5 (about 15 minutes) loads from YouTube (privacy-enhanced mode) only when you press play. Watch on YouTube.
See it on your desktop
Every screen follows your Plasma theme, light or dark. These switch with the button at the top of this page.
/image
In motion



What it does
Many AI providers
Ready-made entries for cloud services and programs on your own computer. Paste a key, pick a model, done. Any other OpenAI-compatible server can be added too.
Local models, found for you
Find local servers looks on this computer for Ollama, LM Studio, llama.cpp, LocalAI, LiteLLM, vLLM and Jan, and adds the one you pick. No key needed, and your messages stay on your computer.
Coding agents built in
Chat directly with a provider, or hand a chat to the OpenCode or Pi coding agent working in a folder you choose. In beta: other agents through ACP (Gemini CLI, Goose, Codex …) and AG-UI.
Tools that ask first
In direct chats: your MCP servers, web search, reading web pages, skills, and agent tools that read and change files in a chat's folder. Every tool use asks you first.
Chats that stay organised
History, search across all chats, projects, incognito chats, quotes, edit and rewind, slash commands, and export to Markdown or plain text.
Files and pictures
Drop in pictures, PDFs, Word documents, CSV and text files. Make pictures with /image through AI Horde or Pollinations, and see pictures that models send back.
Memory and personality
Tell the AI who you are and what to remember, give it a name and an avatar, and set how it should answer.
Scheduled messages
Send a message into a chat at set times, even when the widget is closed.
Voice
Dictate instead of typing, and have replies read aloud, with Speech Note on your computer or the system voice. Both are off until you switch them on.
Costs under control
Fallback models when a provider is down or out of credit, a Spending page with monthly budgets, and prompt caching so long chats cost less.
Your look
Text size, bubbles, accent colour, an icon or animation in the panel, avatars. Or pop the chat out into its own window (beta) and pin it above the others.
Calm by default
Every extra is off until you switch it on in Settings › Features, and each settings page can be reset to its defaults.
Ready-made providers in Settings › Connection:
- OpenAI
- Anthropic
- Google Gemini
- OpenRouter
- Groq
- DeepSeek
- Mistral
- xAI
- NVIDIA NIM
- Fireworks
- Hugging Face
- Perplexity
- MiniMax
- Qwen
- Moonshot
- Cloudflare Workers AI
- Ollama
- LM Studio
- llama.cpp server
- LiteLLM proxy
Part of your desktop
Ask from wherever you are. Each of these is off until you switch it on in Settings › Features, and nothing is sent until you press Send.
- KRunner
- Press Alt+Space, type
ai why is the sky blueand press Enter. The widget opens and asks. - Dolphin
- Right-click a text file, PDF, Word document or picture and choose Ask KDE AI Chat about this file.
- Selected text, in any app
- Select text and press Meta+Alt+A to ask about it, or Meta+Alt+1 to 5 to rewrite, fix, shorten, explain or translate it.
- Your screen
- Meta+Alt+S takes a picture of the window you're in with Spectacle and attaches it to your message.
Private by design
The widget collects nothing: no analytics, no telemetry, no account. It sends data only where your settings send it.
Keys in KDE Wallet
API keys are kept only in KDE Wallet, in a folder called KDEAIChat, never in a settings file. A key is only ever sent to the service it belongs to.
Chats in private files
One file per chat in ~/.local/share/kdeaichat/chats/, in a folder only you can read. Deleting a chat deletes its file and its pictures.
Always says where it goes
A badge by the message box shows where the chat's messages go, like OpenRouter · online or Ollama · this computer. With a local server, requests stay on your computer.
Incognito when you want it
An incognito chat is never written to disk, isn't searchable, uses and saves no memories, and shows no text in notifications.
Install it
You need the KDE Plasma 6 desktop. Pick one way:
1 From the desktop Recommended
- Right-click the desktop or a panel and choose Add Widgets…
- Click Get New Widgets, then Download New Plasma Widgets…
- Search for KDE AI Chat and click Install.
2 Download the file
Get the .plasmoid file from the KDE Store or the GitHub releases, then install it in a terminal. To update a copy you already have, use -u instead of -i.
kpackagetool6 -i /path/to/downloaded-package.plasmoid
3 From the source code
git clone https://github.com/racstan/KDE-AI-Chat.git
cd KDE-AI-Chat
./install.sh
systemctl --user restart plasma-plasmashell.service
Then right-click the desktop or a panel, choose Add Widgets… and add KDE AI Chat.
After an update, restart Plasma: log out and back in, or run systemctl --user restart plasma-plasmashell.service. Your chats, memories, settings and keys are kept.
The first time you open the chat, a short setup card helps you choose where your AI runs. Some extras need a small tool, such as pdftotext for PDFs; the widget tells you what to install. More in Getting started.
Support the developer
KDE AI Chat is free. If it helps you, you can say thanks with a small gift, or support it every month through GitHub Sponsors.
Comments
Questions, ideas, or how you use it: leave a note. Comments are kept as a discussion on the KDE AI Chat GitHub page, so you need a GitHub account to write one.
Comments load from giscus.app and GitHub only when you press the button.
