KAIChat 1.0 released: AI chat, MCP servers and your data on your own computer
Last week I released KAIChat 1.0, the first stable version of KDE’s desktop client for AI language models. This post explains what KAIChat is, why I wrote it, what you get in 1.0, and what is already on its way for 1.1.

What is KAIChat?
KAIChat is a chat application for large language models (LLMs). You type a question, the model answers, and the conversation is kept. The model can run on your own computer, with Ollama, llama.cpp or LM Studio, or be provided by an online service such as OpenAI, Anthropic, Mistral AI or one of the many OpenAI-compatible providers.
KAIChat does not ship a model of its own, and it sends nothing anywhere until you have configured a provider and asked a question.
Why another AI chat application?
There is no shortage of AI chat clients, but most of them are web pages or Electron applications, and many of them are tied to one vendor. I wanted something different for the KDE desktop:
- A native application. KAIChat is a Qt 6 / KDE Frameworks 6 application. It follows your color scheme, your fonts and your shortcuts, uses KDE notifications and the system tray, has a System Settings module, and is translated by the KDE translation teams.
- Your choice of model. Local or hosted, free or paid: you can configure several providers and switch between them. You are not locked in.
- Your data on your computer. Conversations are stored in a local database, not in somebody’s cloud. With a local model, nothing leaves your machine at all.
- Shared building blocks. The AI code itself is not in KAIChat: it lives in the
TextAutoGenerateTextlibrary of KTextAddons. Other KDE applications can use the same library, the same providers and the same configuration. KAIChat is the application that wraps it with a main window, menus, import/export, a command line, a D-Bus interface and desktop integration.
Instances: connecting to a model provider
The central concept in KAIChat is the instance. An instance is one configured connection to a model provider: a local server on your machine, or an online service with its API key. You can create as many instances as you want, for example a local Ollama for everyday questions and a hosted model for harder ones, and choose which one to use.
The first time you start KAIChat without any instance, it offers to create one. You can also manage them later in Settings → Configure KAIChat… → Instances, or from the AI module of System Settings.
Supported providers come from plugins, and currently include:
- Local: Ollama, llama.cpp, LM Studio
- Hosted: Ollama Cloud, OpenAI, Anthropic, Mistral AI, Groq, Grok (xAI), Qwen, OpenRouter, DeepInfra, Novita AI, Cerebras, Kluster AI, Venice, Kimi (Moonshot AI), Sarvam AI, CompactifAI, AtlasCloud, and any other server with an OpenAI-compatible API
A few details make local models easier to use. The default address of a local Ollama server is filled in for you. If Ollama is installed but not running, KAIChat offers to start it, and kaichat --start-ollama does the same. Models can be downloaded from the instance configuration, and a notification tells you when a download is finished. For servers behind a custom URL that do not list their models, you can type the model names yourself.
A word on privacy: with a hosted service, your questions and the files you attach are sent to that provider and fall under its privacy policy. Instance configuration files contain your API keys, so treat them like passwords.
Conversations
Every chat is stored in a local database and is still there the next time you start KAIChat. You can:
- rename, duplicate or delete a chat, and mark it as a favorite;
- organize chats in projects and with tags, and filter the list by tag;
- fork a conversation from any message to try another direction without losing the original;
- archive chats you no longer need instead of deleting them;
- search your whole history with Ctrl+F (Edit → Search in Database…);
- set a retention period, so that chats older than a given number of days are removed (favorites can be kept);
- start an ephemeral discussion, which is never written to disk and disappears when you quit, unless you decide to save it.
You can attach files to a question, and a chat can be exported as JSON (*.kaichat), Markdown, plain text or PDF. The JSON format can be imported again, from the File menu, from your file manager or from the command line.
Projects and tags
When you use KAIChat every day, the list of chats grows quickly. Projects and tags are two ways to keep it organized.
A project groups the conversations about the same piece of work: a program you are writing, a trip you are planning, an article you are preparing. A chat belongs to at most one project. Right-click a chat and use the Project submenu to move it into a project, or out of it with No Project. Projects are created, renamed and removed with Manage Projects… in the same submenu. Removing a project does not remove its chats: they are simply kept outside of any project.

Tags are more flexible: a chat can have any number of them, for example code, KDE or to read again. Add or remove them from the Tags submenu of the context menu, and manage them with Manage Tags…. The tag selector above the chat list then shows only the chats having one of the selected tags. Select no tag to see all of them again.

Quick Ask
Sometimes you only have one question and don’t want a full window. Quick Ask is a small dialog for exactly that. Press Meta+Space anywhere, use the system tray menu, or run kaichat --quick-ask. Quick Ask also supports attachments and tools, and questions asked there are not added to your chats unless you choose to save them.
Tools and MCP servers
A model on its own only knows what it learned during training. Tools let it do more: when a tool is enabled for a question, the model can decide to call it, and KAIChat sends the result back so that the model can finish its answer. The status bar shows which tool is running.
KAIChat 1.0 ships a simple current date and time tool, and more tools are available in the kaichat-addons repository. But the real extension point is MCP.
What is MCP?
The Model Context Protocol (MCP) is an open standard that lets a model use tools provided by external programs, called MCP servers. There are servers to read your files, query a database, search documentation, use a Git repository, and many more. KAIChat 1.0 is an MCP client: it connects to the servers you configure and offers their tools to the model.
This is also where KDE’s own MCP servers come in. With KDE Workspace MCP, the model can control your Plasma desktop, and with the Akonadi MCP server, it can access your KDE PIM data. Add them in KAIChat like any other server, and your assistant can work with your own desktop and your own data, without any cloud service in between when you use a local model.
Adding a server
Servers are managed on the MCP Servers page of the configuration dialog (and in System Settings, where the list is shared with the other applications using it). KAIChat supports the three MCP transports:
- Standard IO: a program started by KAIChat on your computer, with its command and arguments;
- Streamable HTTP: a remote server reached at a URL, with optional headers such as an
Authorizationtoken; - SSE: the older HTTP transport, still used by some servers.
For each server you can list the allowed folders it may work in. You don’t have to type all of this yourself, though: the Add Server button offers several ways to add a server.
- Add Server…: enter the settings yourself, as given in the documentation of the server.
- From MCP Registry…: search the public MCP registry, read the description, repository, remote addresses and packages of each server, and let KAIChat fill in the settings for you. Only the environment variables, an API key for example, are left for you to fill in.
- Import…: read the servers from an existing JSON file using the common
mcpServersformat, such as the.mcp.jsonfile of Claude Code. If you already configured MCP servers for another tool, you can bring them over in one step. A server can also be exported to such a file. - From Installed Servers… (new in 1.1): an MCP server installed on your system can ship a small
.mcpserver.desktopfile inshare/mcp-servers/, describing how to start or reach it. KAIChat lists these servers, and you only have to pick one. KDE Workspace MCP and the Akonadi MCP server already install such a file: once they are installed, adding them to KAIChat takes two clicks.


Using MCP in a chat
Each enabled server appears as a button among the tools under the input field. Check it to let the model use that server, or open its menu to allow only some of its tools.
Because a tool can do more than read data, KAIChat asks before running it. The Run Tool dialog shows the server, the tool and the arguments, and lets you Allow it once, Always Allow This Server, or Deny it. KAIChat also supports the requests MCP servers can make in return: elicitation, where a server asks you for some information, and sampling, where a server asks the model to generate text. Sampling is never sent to the model without your confirmation.
Only add MCP servers you trust. A Standard IO server is a program running with your own rights, and whatever a tool returns is read by the model and, with an online service, sent to its provider.
MCP support is still marked as experimental and can be disabled at build time with USE_MCP_SERVER_SUPPORT=OFF.
Accessibility and desktop integration
- Speech to text: dictate your questions with a microphone button. Vosk and Whisper run on your computer, Google is an online alternative. The text is inserted in the input field so that you can review it before sending.
- Text to speech to have answers read aloud.
- Spell checking, adjustable font size (Ctrl++ / Ctrl+-), color schemes, full screen, and a hideable menu bar with a hamburger menu.
- Optional system tray icon and notifications.
- A configurable system prompt sent at the start of every conversation.
Command line and D-Bus
KAIChat is a single-instance application: running it again forwards the options to the window that is already open. This makes it easy to script:
# What do I have?
kaichat --list-instances
kaichat --list-chats
kaichat --plugin-info
# Ask a question in a new chat, with a file and a tool
kaichat --new-chat "Release notes" \
--attach ~/notes.txt \
--tool current_date_time_tool \
--ask-message "Turn these notes into a short announcement"
# Or just pop up Quick Ask
kaichat --quick-ask
On systems with D-Bus, the running application also exports the org.kde.kaichat.Application D-Bus interface, to list chats, create or switch to one, show archived chats and ask a question:
qdbus org.kde.kaichat /Application org.kde.kaichat.Application.createNewChat "My chat"
qdbus org.kde.kaichat /Application org.kde.kaichat.Application.ask "Hello"
Coming in KAIChat 1.1
Work on the next version has already started, and its main theme is asking KAIChat from anywhere on the desktop, without opening its window first. The features below are in the development branch and may still change before the release.
A KRunner plugin
In KRunner or the Plasma search, type ai or ask followed by your question, for example ask what is the capital of Peru. Two results are offered: Ask KAIChat shows the answer in Quick Ask, and Ask in a new KAIChat chat opens the main window with a new chat titled after your question.
A few keywords turn the query into a ready-made request:
| Query | What it does |
|---|---|
ai summarize <text> | Summarize the text |
ai explain <code> | Explain what the code does |
ai translate <text> | Translate the text into your desktop language |
ai fixit <text> | Correct spelling and grammar |
Share menu (Purpose) actions
Applications with a Share menu, such as Kate, Spectacle or Dolphin, will list KAIChat actions: Ask KAIChat…, Summarize with KAIChat, Explain Code with KAIChat, Translate with KAIChat and Fix Text with KAIChat. A small text file is put directly in the question, while a larger file, or one that is not text, is attached to it.
Get KAIChat
KAIChat is free software, licensed under the GPL-2.0-or-later. Version 1.0 needs Qt 6.10, KDE Frameworks 6.30 and KTextAddons 2.3.0 or later. Your distribution may already package it; otherwise you can build it from source:
git clone https://invent.kde.org/utilities/kaichat.git
cd kaichat
cmake -B build
cmake --build build
cmake --install build
- Application page: apps.kde.org/kaichat
- Source code: invent.kde.org/utilities/kaichat
- Extra plugins: invent.kde.org/utilities/kaichat-addons
- Handbook: docs.kde.org
- Bug reports: bugs.kde.org
Many thanks to the KDE translation teams, to Andres Betts for the icons, and to everyone who tested the earlier versions and reported bugs. Feedback, bug reports and merge requests are very welcome!