Your own team of AI bots in one self-hosted binary: spaces, every account you have, handoffs, approvals and routines. Open-source, self-hosted alternative to Grok Bot, Claude Duet and OpenAI dots. Rust + React.
A team of AI bots on your laptop or server. The lead bot hands work to the others,
risky steps wait for your OK, and “done” means a check passed, not a bot’s word.
One ~40 MB download for a server: a single Rust binary with the web app inside.
No telemetry · no sign-up · open source (AGPL-3.0)
curl -fsSL https://kwant.si/install.sh | sh
Linux (x86_64, arm64) or Mac, no sudo, checks the download’s SHA-256. Or get the desktop app:
macOS: one app for Apple silicon and Intel · Linux x86_64 (beta): .deb or AppImage · A server: binary or Docker · Phone: add it to your Home Screen · All downloads
Website · Docs · Features · Compare · Changelog · Discussions
Free and open source. A ⭐ helps others find kwant.
kwant has no token. Official X account is @kwantbot.
kwant gives you a team of bots that share chats, hand work to each other with an @mention and get it done on their own, on a schedule or while you're away. Each message goes to the bot that fits, and the reply says why. Work shows up as cards on a Mission board, and a task turns Verified only when kwant runs the check itself, never on a bot's word. Keep separate spaces for work and home, each with its own bots and accounts. Run it as an app on your Mac, Linux or Windows (beta) PC, or on a server, with the Claude, Codex or Grok CLI you already use, or your own API keys.
It's written in Rust (Tokio, Axum, SQLite) with a React web app embedded in the binary.
auto.No good first issue or help wanted issues are currently available.
Thanks for helping. Bug reports, ideas, docs fixes and code are all welcome.
Everyone taking part follows the Code of Conduct.
You need Rust (stable, from rustup) and Node.js 20 or newer. Docker is only needed for VM mode, the shared browser and a few tests that skip themselves without it.
git clone https://github.com/alexsergivan/kwant.git
cd kwant
make run # builds the web app, then runs `cargo run -- serve` on http://127.0.0.1:8799
Add --no-laya (cargo run -- serve --no-laya) to skip installing the Laya router while you work. Bots are then picked by keyword.
For the web app with hot reload, run kwant on port 8799 in one terminal and Vite in another:
cd frontend
npm install
npm run dev # http://localhost:5199, proxies /api to kwant on 8799
| Path | What's there |
|---|---|
src/server/ | Axum HTTP and WebSocket routes |
src/drivers/ | Engines: API drivers and the claude, codex and grok CLI drivers |
src/router/ | Laya routing and the keyword fallback |
src/db/ | SQLite storage and migrations |
src/profiles/ | Accounts (LLM profiles), failover and sign-in |
src/sandbox/ | VM mode, the shared browser and saved passwords |
frontend/src/ | The React web app, embedded into the binary at build time |
tests/ | Rust integration tests |
frontend/tests/ | Web app tests (node --test) |
docs/ | Feature and API docs |
make frontend # once: cargo test needs frontend/dist, because the binary embeds it
cargo test # Rust unit and integration tests
cd frontend && npm test # web app tests
cd frontend && npm run build # type-checks with tsc, then builds
Tests that need Docker or a network service skip themselves or are marked #[ignore] when it isn't there. cargo test -- --ignored runs those if you have what they need.
CI runs the same commands on every pull request: see .github/workflows/ci.yml.
cargo clippy --all-targets -- -D warnings must pass: the code has no Clippy warnings today, and CI keeps it that way. The codebase isn't fully rustfmt-formatted yet, so format only the code you change rather than whole files; that keeps diffs reviewable.npm run build must pass with no type errors. Tailwind classes, no new CSS frameworks.example.com addresses, /Users/alex/project paths, and obviously fake keys. Never commit a real key, token, password or personal email.main.cargo test, npm test and npm run build pass.README.md or docs/) if the change is visible to users.A maintainer will review it. Small follow-up commits are fine; we squash or rebase when merging.
Maintainers credit contributors with the All Contributors bot. Comment @all-contributors please add @user for bug (or code, doc, ideas, test) on the issue or pull request.
kwant is licensed under the GNU Affero General Public License v3.0 and is also offered under commercial licenses. By submitting a contribution, you license it to the kwant maintainer under the Apache License 2.0, and you agree that it may be distributed as part of kwant under the AGPL-3.0 and under commercial licenses. You confirm that you have the right to do so.