SuperAPIAI Directory

kwant

github.com · AI agents

kwant is an open-source, self-hostable AI bot team tool written in Rust and React, distributed as a single binary. It lets multiple AI bots share a chat, hand off work via @mentions, and supports scheduled tasks, approvals, and routines. Each bot has its own role, voice, and model, and tasks appear as cards on the Mission board; a card is marked "verified" only after kwant runs the check itself. It supports multiple AI accounts (Claude, Codex, Grok CLI, or API keys), runs on Mac, Linux, Windows (beta), or a server, and can be installed and used via a mobile browser.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

kwant is an open-source, self-hosted AI bot team tool positioned as an alternative to Grok Bot, Claude Duet, and OpenAI dots. It is written in Rust (Tokio, Axum, SQLite), embeds a React web app, and is distributed as a single binary.

Purpose: kwant gives users a team of multiple AI bots that can share a chat, hand off work via @mentions, and complete tasks autonomously or at scheduled times. Each bot has its own role, voice ("soul"), and model. In a channel, kwant selects the most suitable bot for each message and explains why.

Key capabilities:

  • Team collaboration: bots hand off work via @mentions, and a team lead can host a short discussion and post a summary.
  • Task verification: the Mission board turns work into cards, with each card corresponding to one handoff. A card becomes "verified" only after kwant runs the check itself (such as tests or file checks), and the evidence is retained.
  • Dev mode: when bots write code, the Dev desktop shows changes to each team repository in plain language, and bots that did not write the pull request review it, including tests and secrets. Production steps such as pushing to the main branch and deploying always require asking first.
  • Facts and sources: bots support web facts with links, and links can be opened to the exact quotation. kwant checks verbatim whether the quotation is on the page, and rejects it otherwise.
  • Spaces: separate spaces can be created for work, side projects, family, etc., each with its own bots, teams, channels, routines, accounts, approval rules, and hiring rules.
  • Multi-account support: multiple accounts can be configured per engine (Claude, Codex, Grok CLI login, Anthropic, OpenAI, xAI keys, or your own OpenAI/Anthropic-compatible server), with a default and priority order. When an account's usage is exhausted, the turn moves to the next account and this is explained in the chat. Bots can be pinned to a specific account.
  • Working offline: supports scheduled routines (bots can set them up at the user's request, with an undo button), follow-ups scheduled by bots themselves, and an inbox showing items waiting for the user, completed, and failed. With automated discovery enabled, kwant suggests routines for repeatedly requested tasks, and the user can accept or ignore them.
  • Autonomy and safety net: ordinary work requires no stopping. In the default "ask only when risky" mode, only risky steps (such as git push, network calls, unknown commands, or changes outside the bot's folder) show an approval card with the exact command, and you can choose "Allow once", "Always allow", or "Deny". You can switch per space or per bot between asking every time or never asking. Payments always ask, regardless of mode. With Flight School enabled, each bot gets more freedom by type of work, but only granted by the user.
  • Per-bot rules: you can specify what each bot is good at, what it should never be given, and which websites its browser may open. Blocked websites always take priority.
  • Unfinished items and letters: kwant reads chats and can add an IMAP inbox and GitHub issues/pull requests (read-only) to find things that were started but not finished. Take a photo of a bill or form, and it can extract the sender, request, and deadline and draft a reply, but it never sends anything.
  • Parallel universes: compare up to three ways of deploying an app, using local container tests and dated price estimates. Every number is marked as verified, estimated, or guessed. No cloud account needed, no spending.
  • No telemetry: kwant sends nothing to the developers, and the interface loads nothing from other servers. The only download you did not set up yourself is the Laya router on first launch (Python packages and models from PyPI and Hugging Face, can be disabled with --no-laya).
  • Other features: memory and skills per bot (new skills require user approval), bots proposing to recruit teammates, importing bots from Claude Code subagents, SKILL.md, character cards, or JSON exports, cross-space chat search, MCP tool servers, a shared browser for bots, saved passwords (optional Bitwarden storage), local or VM computer mode.

How to use:

  • The fastest way is to download the Mac, Linux, or Windows (beta) app, add an existing AI account, and ask questions, with no build required.
  • It can be self-hosted on a VPS on a server.
  • Building from source requires Rust (stable, installed via rustup) and Node.js 20+ and npm to build the web app. The final binary does not need Node. Optional: Docker for VM mode and the bot shared browser, uv or python3 for the Laya router.
  • Mac app: download the universal .dmg and drag it into Applications. The app runs on Mac and runs its own kwant, using the same ~/.kwnt data folder as kwnt serve, and stays in the menu bar after the window is closed. The app is ad-hoc signed, so the first time you open it you need to allow it in System Settings.
  • Linux app (beta): x86_64, Ubuntu 22.04+ or Debian 12+ can install the .deb, other distributions use the AppImage. Requires a normal GTK desktop and FUSE.
  • Windows app (beta): 64-bit, installs for the current user only, no administrator rights needed. The installer is not code-signed, so the first run requires getting past the SmartScreen warning. In the beta the app does not auto-update, and Grok, VM, and video viewing features are temporarily unavailable.
  • Phone: no app store, install from the phone browser, requires a reachable https kwant server (VPS or Docker plus an HTTPS reverse proxy). The desktop app runs on 127.0.0.1, which the phone cannot reach. You can approve by scanning a QR code or logging in from another device. After adding to the home screen, you can receive notifications.
  • Running from a fresh clone: open http://127.0.0.1:8799。新用户 #general will show an onboarding card for choosing AI, signing in, and selecting a team. A fresh install starts with the @helpers team (led by Assistant, with Researcher and Writer). The first launch takes a few minutes to install the Laya router and download models (about 420 MB); during this time the bot can still answer.
  • Build the release binary and install the web app (install from Chrome/Edge settings, add to Dock in Safari, see above for mobile). Browsers only install pages served over https or 127.0.0.1. Mobile notifications require installation and enabling "Notify me on this device".

Use cases: individuals or teams that need multiple AI bots to collaborate on tasks, especially users who want self-hosting, value privacy, and need approval controls and a safety net. It can be used for work, side projects, household management, local services, real estate, recruiting, online stores, and other scenarios (preset teams are provided).

Limitations:

  • Requires at least one AI account (a Claude, ChatGPT, or Grok account, or an Anthropic, OpenAI, or xAI API key).
  • The Linux app is in beta and has only been tested in containers on Ubuntu 22.04/24.04 and Debian 12, not on a real desktop; the tray icon, Wayland, and HiDPI may have issues. There is currently no ARM Linux app.
  • The Windows app is in beta, does not auto-update, and Grok, VM, and video viewing are temporarily unavailable.
  • Mobile use requires an accessible https server; the desktop app's local address is not accessible from a phone.
  • The first launch requires downloading about 420 MB of models (can be skipped).
  • Payments always require approval.
  • No telemetry, but data is sent to the AI providers and services added by the user.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools