← Back to Agents & Automation

kwant

Open-source, self-hosted AI agent team where multi-role bots share chats and hand off tasks that undergo automated verification before completion.

Agents & AutomationFree tier + paidGlobal

At a Glance & Reviews

PricingFree tier + paid
OriginGlobal

About kwant

kwant is an open-source, self-hosted multi-agent team application that puts multiple bots into a single self-hosted binary program running on a laptop or VPS. It addresses the problem that a single chat assistant struggles to follow up on multiple pieces of work over time: members share chats, hand off tasks to each other, and can progress autonomously on a schedule. It does not stop when the user closes the page or leaves the computer, and when the user returns, a single inbox shows what is waiting for them, what has been completed, and what is stuck. The project is open source under the AGPL-3.0 license. The current version on the official website is 0.8.0, and the page notes that there have been 33 releases since October 25, making it a fast-iterating early product. It is written in Rust, with a backend using Tokio, Axum, and SQLite, and a React web application embedded directly in the binary file. The program is named kwnt, and a single file contains the application and database, with no need to install a separate database or queue service.

The team mechanism is its core. Each bot has its own role, speaking style, and model, and knows which other members are in the same chat. Users only need to state a requirement once, and bots hand off to each other by mentioning each other—for example, after the design bot answers, it hands verification to the quality-check bot, the lead organizes a short discussion, and finally only one summary is sent to the user. Users who want details can expand the collapsible section to view each round. The official website uses a comparison table to explain what it aims to prove: a task result is only considered complete after it has been verified by running its own checks and the result card has changed to a verified state; claims involving external facts must include links that open to the exact citations in the source text, and without source citations they do not hold; conflicting facts are not privately resolved by choosing one, but are placed in a pending ledger for the user to keep one of them; and payment actions must always ask the user first, no matter what. These mechanisms are all designed around not lightly trusting a bot's claim that something is done, and flight school and the fact ledger are marked on the official website as opt-in features.

The spaces mechanism is used to separate different areas of life. Each space has its own bots and teams, channels and direct messages, routines and skills, tool services, accounts, and approval and recruitment rules, with no interference between spaces. The left sidebar lists all spaces, and keyboard shortcuts can be used to switch between spaces 1 to 9. Space names can be up to 60 characters long, with a choice of one of 8 icons and one of 8 colors, and each time it is opened, it returns to the position where you last left off. A new installation comes with a default space, which can be renamed but not archived; after archiving other spaces, their routines are paused, while their bots, chats, and settings are retained and can be restored at any time. The official documentation states that there is no operation to permanently delete a space. Import and export are also handled by space: imported bots come without tools by default, imported skills require user approval, imported routines are paused by default, and keys in files are removed, while exports do not include chat history, files, tools, or keys.

The design on the account side is to make the most of the subscriptions users already have. The same engine can connect multiple accounts, including command-line logins for Claude, Codex, or Grok, API keys for Anthropic, OpenAI, or xAI, self-hosted servers compatible with OpenAI or Anthropic formats, and a local Ollama address. Default accounts and priority order can be set, and when an account's usage is exhausted, the current round automatically switches to the next account and explains this in the chat. Users can also pin a bot to a specific account. Space settings also include a 'use local machine' option: when enabled, bots in that space can use command-line tools already logged in on the computer running kwant, and when disabled, they only use the space's own accounts, with bots never falling back to the local machine account on their own. The official website and repository both emphasize that it does not send telemetry data to developers, and the interface does not load content from other servers. The only exception is that on first startup, it downloads the Python package for the routing component and a model of about 420 MB, which can be turned off with a parameter.

Approval and autonomy can be adjusted level by level. Space approval rules have three levels: ask before every command, ask only when there is risk, and do not ask, with new spaces defaulting to asking only when there is risk. Risky steps in the documentation and official website include pushing code, making network calls, executing unknown commands, and modifying files outside the bot's own folder. The approval card shows the user the specific command to be executed and its complete parameters, offering three choices: allow once, always allow, or reject. Rules can be set uniformly by space or overridden by an individual bot. Recruitment rules determine what happens when a bot proposes adding a new member: it can be set to ask the user every time, or to recruit directly, but automatic recruitment is limited to a maximum of 3 within 24 hours. New members can be selected from preset roles, such as security, research, or chef, with their name, role, avatar, and voice automatically filled in; roles from other applications can also be imported. The official documentation supports pasting a prompt to have the other application generate a reply and then pasting it back, or uploading files in formats such as JSON, Markdown, images, archives, and text, no larger than 20 MB, including Claude Code sub-agents, skill files, and persona cards.

Routines and the way work continues while the user is away are the other half of what distinguishes it from an ordinary chat window. Saying 'every morning' in everyday language is enough for a bot to create a routine on its own, with undo, edit, and pause buttons on the card; when creating manually, you can choose daily, weekly, every few minutes, or write a cron rule. Bots can also schedule follow-ups for themselves and return at the scheduled time to check on previous matters. When users return and open the inbox page, they will see three types of content: questions awaiting their decision, completed items, and failed or stuck items. Additional capabilities include finding items the user owes replies to in chats, emails, and code hosting platforms and drafting replies, but the official documentation clearly states that it never sends them on the user's behalf; taking a photo of a bill or notice, it extracts the sender, request, and deadline and reminds the user. When a bot needs the user, a notification floats to the top of the page and is also visible on mobile; when it encounters a website that requires login, it sends a login card for the user to complete the login in the browser and then hand the browser back, never asking for a password in the chat; when it encounters a CAPTCHA, it similarly hands it to the user to handle and does not solve CAPTCHAs itself.

Getting started has two paths: downloading the application and running from source. The official website provides a Mac application covering Apple Silicon and Intel models, with Windows and Linux versions marked as in the testing phase. Running from source requires first installing a stable version of Rust and Node.js 20 or above, and preparing at least one AI account. After cloning the repository, run make run, which first builds the web application and then starts the service. Open port 8799 on the local machine in the browser. On first startup, it installs the routing component in the background and downloads the model, which takes a few minutes, during which bots first respond according to keyword rules. When no account is available, the page provides guidance for adding an account. A new installation places three bots in the general channel by default, and more can be added afterward using the new bot button, either from presets or from scratch. When deploying to a server, you can either copy the compiled single binary file over and run it directly, managed with systemd, or use the official Docker Compose to start the main program, routing component, and a browser shared by the bots in one go. The documentation's reference is that about 4 GB of available memory is required; to access the server version from other devices, open the one-time link printed when it starts, which can only be used once and is valid for 15 minutes, after which you remain logged in in the browser, and a QR code can also be used to authorize new devices such as phones.

Pricing is simple: kwant itself is free and open source, and users provide their own model accounts, with costs incurred on the user's own Claude, Codex, or Grok subscriptions or each provider's API keys. In the comparison table on the official website, its own price is listed as free and open source, bring your own model accounts. The cost to keep in mind is the machine running it: running locally only takes a small amount of resident memory, but in a full Docker deployment, the routing and browser components take up several GB of memory, which should be factored in when choosing a VPS.

The official documentation states several maturity limitations. The Mac application has not yet completed Apple's notarization process and is only temporarily signed. After being blocked by the system on first opening, go to Privacy & Security in System Settings and manually click Open Anyway; on older system versions, use the right-click open method. The Windows installer is not yet signed, and a warning appears on first run, requiring you to click More info and then Run anyway. Windows and Linux versions are explicitly marked as in the testing phase on the official website. At the feature level, the series of default tightened settings when importing new members and new routines are also intentional on the official side. When getting started, if you find that a new bot does not use tools or a routine does not start, first check whether these default states are the cause, rather than assuming a program fault.

Compared with ordinary chat assistant applications, kwant's difference lies in its organizational form: there, one assistant answers one user round by round, while here, a group of bots with divided responsibilities share chats, hand off to each other, and are summarized by a lead, and can continue working on routines while the user is offline. Compared with agent frameworks that require writing code to call them, it is a ready-to-use finished application, with the built-in routing component deciding which bot to route to, which model to use, and how much effort to apply, so users do not need to write scheduling code themselves, at the cost of less programmable freedom than a framework. The user profile it suits is specific: individuals and small teams who already have more than one model subscription or key, are willing to self-host, and do have work that needs to be followed up across days and handed off between multiple people; users who only occasionally ask a few questions will not use most of its mechanisms.

Frequently Asked Questions

Is kwant free?

Partly. kwant has a free tier; higher limits or advanced features are paid. Check the official site for current plans and limits.

Sign in to Lumo

Sign in with a one-time code sent to your email — no password. Your saved tools will sync across your devices.

The code is only used to sign you in. We store just your email and saved list (privacy policy, in Chinese).

—

Signed in. Your saved tools sync across all your devices.

0saved
View saved tools

Send feedback

Found a mistake, missing something, or have a suggestion? Tell us.