Skip to content
Projekte

Über uns

Dein eigenes Team aus KI-Bots in einer einzigen, selbst gehosteten Binärdatei: Bereiche, alle deine Konten, Übergaben, Genehmigungen und Routinen. Eine quelloffene, selbst gehostete Alternative zu Grok Bot, Claude Duet und OpenAI dots. Rust + React.

Web- und App-Entwicklung

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
+1
in 7 days
-16
in 15 days
+49
in 1 month
+682

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

Grok Bot, Claude Duet and OpenAI Dots, but yours:
self-hosted, on accounts you already pay for.

18-second demo: you ask Ann, the lead bot, whether checkout is slow; she hands it to Ben and gets his answer back; Ben's risky command waits for your Allow once; the Inbox shows the task done with Checked: Review by Ann passed.

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:

Download kwant for macOS Download kwant for Linux (.deb) Download kwant for Linux (AppImage)
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

Star kwant on GitHub CI Latest release License: AGPL-3.0 All Contributors
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.


Why kwant

  • A team, not a chat tab. Each bot has its own role, voice ("soul") and model. Bots @mention each other to hand work on, and a team lead runs short discussions and posts one summary. In a channel, kwant picks the bot that fits each message and shows why. The Laya router picks the model and effort for bots set to auto.
  • "Done" means checked. The Mission board turns work into cards, one per hand-off. A card turns Verified only when kwant runs the check itself, such as a test or a file check, and the card keeps the receipt. Files a bot attaches are evidence to look at, never proof on their own.
  • Dev mode for code. When bots write code, the Dev desk shows what landed in each team's repo in plain words, and a bot that didn't write a pull request reviews it, tests and secrets included. Pushes to main, deploys and other production steps always ask first.
  • Facts with sources. Bots back web facts with a link that opens the page at the exact quote. kwant checks the quote is on the page word for word and refuses one that isn't.
  • Spaces. Separate spaces for work, a side project and home. Each has its own bots, teams, channels, routines, accounts, approval rule and hiring rule.
  • Every account you have. Several accounts per engine: Claude, Codex or Grok CLI logins, Anthropic, OpenAI or xAI keys, and your own OpenAI- or Anthropic-compatible server. Set a default and a priority order. When an account runs out of usage, the turn moves to the next one and the chat says so. You can pin a bot to one account.
  • Works while you're away. Routines on a schedule (bots can set them up when you ask, with an Undo button), follow-ups bots schedule for themselves, and an Inbox with what's waiting on you, what finished and what failed. Turn on Automation Discovery and kwant suggests a routine for a task you keep asking for, which you accept or dismiss.
  • Autonomous, with a safety net you control. Ordinary work runs without stopping. On Ask only when risky, the default for new spaces, 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: Allow once, Always allow or Deny. Per space or per bot, switch to ask every time or don't ask. Payments always ask, in every mode: a payment command in the shell, or a checkout in the bot's browser, even behind a plain "Continue". Turn on Flight School and each bot earns more freedom per kind of work, but only you grant it.
  • Rules per bot. Say what each bot is good for and what it should never get, and which sites its browser may open. Blocked sites always win.
  • Loose ends and letters. kwant reads your chats and, if you add them, an IMAP inbox and your GitHub issues and pull requests, read-only, and finds what you started and never finished. Photograph a bill or a form and it pulls out the sender, the ask and the deadline and drafts a reply. It never sends anything.
  • Parallel Universe. Compare up to three ways to deploy an app with local container tests and dated price estimates. Every number is tagged as verified, an estimate or speculation. No cloud account and no spending.
  • No telemetry. kwant sends nothing to us, and its interface loads nothing from other servers. The one download you don't set up yourself is the Laya router on first start: its Python packages and its model from PyPI and Hugging Face (--no-laya turns it off). Everything else goes only to the AI providers and services you add.
  • And more: memory and skills per bot (you approve new skills), bots that propose hiring a teammate, import a bot from a Claude Code subagent, a SKILL.md, a character card or a JSON export, search across a space's chats, MCP tool servers, a shared browser for bots, saved passwords with an optional Bitwarden store, and Local or VM computer mode.

See every feature, with screenshots, on kwant.si/features.

In #general, a customer wore her new boots on one muddy trail and wants to return them. Support answers, with a Matched skills chip next to its name that shows why it was picked, from 7 bots. Wrong bot? is open, listing Lead, Frontend, Backend, QA, Researcher and Marketer.
Who answers: the bot that fits, and why. Wrong bot? teaches it.
The Mission board: 8 verified this week, 0 false successes, 2 needing you, a cost of $0.30 per verified result and a chart of verified results per active week. Below, two facts disagree (16 GB and 4 GB of RAM) with a Keep this one button on each, and QA asks for the Act tier on release notes, with Grant and Decline.
Mission board: verified results, their cost and what needs you (with Truth Ledger and Flight School on).
A task, Weekly load-test report, with its Evidence receipt: Verified: file contains passed, checked by kwant. The check: load-test/report.md has p95. Below are the files the team attached, which never mark a task verified on their own, and the activity log.
Verified: only when kwant runs the check, with a receipt.
TechLead wants to run a curl command to api.stripe.com to pay a domain renewal. The approval card says: This looks like a payment. Payments always ask you, even with approvals off. Deny and Allow Once.
Payments always ask, in every approval mode.
A bot's settings. Good for: competitor pricing, gear reviews, market sizing. Not for: customer emails, refunds. Browser sites: only 3 sites, never 2 sites, no local network.
Rules per bot: Good for, Not for and Browser sites.
The Inbox, with New and Loose ends tabs. Waiting on you: Designer asks which hero image should ship on the landing page, with two answer buttons. Finished: a handoff and a Monday metrics digest. Failed or stuck: a competitor price scan and a smoke test.
Inbox: what's waiting on you, what finished and what failed.
The space rail with three spaces, Trailhead, Pixel Quest and Home, each with its own icon and colour. Trailhead is open on #general with a weekly digest posted by a routine.
Spaces: each with its own bots, channels and routines.
Settings, This space, Accounts: the Order to use list. Work, a Claude login, is out until Thu 03:00; Personal, Codex and a Team gateway are ready. Under Not in the order, This machine's Claude, Codex and Grok and a Grok login are signed out.
Accounts: several per engine, with a default and fallbacks.
QA set up a routine when asked to check overnight checkout errors every morning: weekdays at 08:30, posting in the direct chat, with Undo, Edit and Pause buttons.
Routines: ask for "every morning" and get one, with Undo.
Loose ends with Open, Waiting and Snoozed tabs. The top case is a letter from a water company, with the quote it's based on and a draft reply.
Loose ends, the Inbox's second tab: evidence and a draft. It never sends.

Screenshots come from a demo space with sample data.


Quickstart

The quickest way is the app for Mac, Linux or Windows (beta): download it, add an AI account you already have and ask your first question. There's nothing to build. On a server, see Self-hosting on a VPS.

What you need

  • A Mac (Apple silicon or Intel) or a Linux x86_64 desktop for the app.
  • At least one AI account. Any one of these is enough:
    • a Claude, ChatGPT or Grok account. You don't need to install or sign in to anything first: the Get started card installs the AI when it's missing, and you sign in from the app;
    • an Anthropic, OpenAI or xAI API key, which you add in the card or under Settings → This space → Accounts.
  • To build from source instead: Rust (stable), installed with rustup, and Node.js 20 or newer with npm, to build the web app. The finished binary doesn't need Node.
  • Optional: Docker for VM mode and the bots' shared browser, and uv or python3 for the Laya router.

If you build from source, kwnt doctor (cargo run -- doctor from a clone) checks all of these and prints the install command for whatever is missing on your machine; kwnt setup installs it (see Without Docker).

On a Mac: the app

Download the Mac app (a universal .dmg for Apple silicon and Intel) and drag kwant to Applications. It runs its own kwant on your Mac, with the same ~/.kwnt data folder as kwnt serve, and stays in the menu bar when you close the window. Build it yourself from apps/mac.

The app is signed ad hoc, not notarized by Apple, so macOS stops it the first time. Click Done, open System Settings → Privacy & Security, scroll down and click Open Anyway. On macOS 14 or earlier, right-click the app and choose Open instead.

On Linux: the app (beta)

The Linux app is for x86_64. Like the Mac app, it runs its own kwant, uses the same ~/.kwnt data folder and puts an icon in the tray.

  • Ubuntu 22.04 or newer, Debian 12 or newer: download kwant_amd64.deb, then run sudo apt install ./kwant_amd64.deb.
  • Other distributions: download kwant_x86_64.AppImage, then chmod +x kwant_x86_64.AppImage and run it. It needs a normal GTK desktop and FUSE.

Updates arrive in the app, which checks each one's signature before it installs it; with the .deb, your system asks for your password. sudo apt remove kwant removes the .deb, and your data in ~/.kwnt stays. It's a beta: tested in containers on Ubuntu 22.04, Ubuntu 24.04 and Debian 12, not yet on real desktops, so the tray icon, Wayland and HiDPI may vary. There's no ARM Linux app yet.

On Windows: the app (beta)

Download kwant_X.Y.Z_windows_x64_beta_setup.exe from the latest release (its SHA-256 is next to it) and run it. It's for 64-bit Windows, installs for your user only with no admin rights, and runs kwant on your PC with the same .kwnt data folder in your user folder as kwnt serve. The installer isn't code-signed yet, so the first time Windows SmartScreen warns about an unrecognized app: click More info, then Run anyway. In the beta, the app doesn't update itself (a new version is a new installer), and Grok, the VM and looking inside videos aren't available on Windows yet. In a folder OneDrive syncs with Files On-Demand, Dev mode asks before every push.

On your phone: iPhone and Android

kwant has a phone app with no app store: you install it from the phone's browser, and it opens full screen from its own Home Screen icon. You need a kwant server your phone can reach over https (a VPS or Docker behind an HTTPS reverse proxy). The desktop apps run kwant at 127.0.0.1, which a phone can't reach.

  1. Open kwant on the phone. On a computer signed in to your kwant at its https address, open Settings → All spaces → Signed-in devices → Add a phone or browser and scan the QR code with the phone's camera. It opens your kwant and signs the phone in once. Or open your server's address on the phone, tap Sign in from another device, and approve the code it shows from a signed-in device.
  2. Add it to the Home Screen. iPhone and iPad: in Safari, tap Share → Add to Home Screen. Android: in Chrome, tap ⋮ → Add to Home screen (or Install app).
  3. Open "kwant bots" from the Home Screen and turn on Settings → All spaces → Notifications → Notify me on this device, so approvals and questions reach you with the app closed.

It loads from your server, so it updates when the server does. Step by step, with fixes for when it won't install: kwant on your phone.

Run from a fresh clone

git clone https://github.com/alexsergivan/kwant.git
cd kwant
make run          # builds the web app (frontend/dist), then runs `cargo run -- serve`

Open http://127.0.0.1:8799 in your browser. A new person's #general opens with the Get started card: choose your AI, sign in, pick a team (guide). A fresh install starts with the @helpers team in #general: Assistant leads, with Researcher and Writer. Make more with New bot, from a ready-made persona or blank.

The binary embeds frontend/dist, so on a fresh clone cargo build, cargo test and cargo run -- serve fail to compile until you've run make run or make frontend once.

The first start takes a few minutes: kwant installs its Laya router and downloads its model (about 420 MB) in the background. Bots answer meanwhile, and the routing rules still pick who answers. To skip Laya, run cargo run -- serve --no-laya.

Build a release binary

make build                 # web app + cargo build --release
./target/release/kwnt serve

Install the web app

In Chrome or Edge, click Install app in Settings → All spaces (the sidebar also offers it once, as a tip); in Safari on a Mac, File → Add to Dock; on a phone, see On your phone. Browsers only install pages served over https or from 127.0.0.1.

To get notifications on your phone with kwant closed, install it (on an iPhone, add it to the Home Screen first) and turn on Settings → All spaces → Notifications → Notify me on this device. kwant then sends a Web Push notification for each kind you've ticked there, such as an approval or a question. It goes through your browser's push service (Google's for Chrome on Android, Apple's on an iPhone), encrypted so that service can't read it. Signing a browser out under Signed-in devices stops its notifications.

More in the quickstart, install and phone docs.


New in 0.10

  • New in 0.10.0. Pocket apps are on: guests join your quizzes, Secret Santas and other pocket apps from their phones, with no account. An install that never set Pocket apps gets them on; turn them off in Settings › All spaces › Bots on their own. One switch for Pocket apps: Settings › All spaces › Bots on their own has a Pocket apps switch; off, guests can't join and bots can't make pocket apps. A team for local services: a sixth ready-made team, Local services, takes enquiries and booking requests, keeps the booking list and drafts review replies, and never sends anything to a customer without your OK. Retry a failed hand-off: a hand-off that failed has Retry in the Inbox, and the result goes back to the chat that asked. Telegram approvals in plain words: an approval request on Telegram says what the bot wants to do, such as sending a message on Slack, instead of internal tool names. A saved note says what it saved: when a bot remembers something, the chat shows “Saved a note: …” with the note's words instead of a tool name.
  • New in 0.10.1. Keep a chat file for your bots: Keep for on a text, PDF or CSV file in a chat puts it in Space docs, so your bots can read it in any chat. Shared facts wait for you in the Inbox: when a bot proposes a fact for everyone, the Inbox shows it with Confirm and Not true; your other bots use it only after you confirm. Bot names with spaces: a bot may be called "Shop helper"; it's mentioned as @ShopHelper, and existing bots keep their names and handles. Bots watch videos: attach a clip or let a bot download one, and it sees a storyboard of the frames and, with an OpenAI API key, what is said and when.
  • New in 0.10.2. A team for estate and letting agents: a new ready-made team, Real estate, sorts enquiries, keeps the viewing list and drafts listings from your notes, and never sends anything to a client without your OK. A team for hiring: a new ready-made team, Recruiting, keeps your candidate pipeline, books interviews and drafts job posts from your notes; it never rejects or ranks anyone on its own and sends nothing without your OK. Bots jot down what they notice: when a bot spots something outside its task, it leaves a note in your Idea jar and carries on, instead of fixing it unasked or stopping to ask. A team for your online shop: a new ready-made team, Online shop, drafts answers to customer questions, review requests and product listings from your notes; refunds, returns and complaints always come to you, and nothing goes to a customer without your OK.
  • New in 0.10.3. Split costs is a new pocket app: ask a bot to split a trip's costs, everyone adds what they paid from one link on their phone, and kwant works out who pays whom (it only does the maths; nobody pays through kwant). New pocket app: tap + where you type a message, pick a pocket app, answer a few questions and tap Make it; a new Pocket apps page in the sidebar shows the ones running now. Ask your bots about kwant: any bot answers "how do I…" questions from a manual built into kwant, with where to find it and a link, and says so when the manual doesn't cover it. A team for your client work: a new ready-made team, Agency / freelancer, keeps a short list of what each client asked for and was promised, and drafts status updates, proposal outlines and payment reminders from your notes; prices, discounts, disputes and scope changes always come to you, and nothing goes to a client without your OK. A team for your posts: a new ready-made team, Content creator, keeps your post ideas, drafts a weekly plan in your voice, sorts comments and drafts replies to plain questions and thanks, and turns one finished piece into drafts for your other platforms; it never posts for you, never answers a hostile comment, complaint or sponsor, and never makes up numbers.
  • New in 0.10.4. Clearer approvals: when a bot asks to click something in its browser, the approval names the button and the page, like “Hold Dec 12” on vila-zlatica.example/booking. Search notes and files: search now finds your bots' notes and your files, not just chat lines; a note opens on its bot's Memory tab, a doc in the viewer.
  • New in 0.10.5. Coding teams that wait for your OK on the plan before they build and coding-team leads that post a numbered plan before bigger changes.
  • New in 0.10.6. Pip, your guide to kwant: every space has Pip, who answers how-to questions from this version's manual, shows you where things are and sets them up after you see the plan; remove Pip and it won't come back.
  • New in 0.10.7. The Dev desk's Building tab for coding teams, the OpenSpec Framework for coding teams in Dev mode and the Spec Kit Framework for coding teams in Dev mode.
  • New in 0.10.8. The Superpowers Framework for coding teams in Dev mode, a bot that explains a held push instead of going quiet and a Pip that finds more of what you ask.

0.9 added reviews in the Inbox with a second check before you approve, Point in Watch live, a worktree for each bot task, Suggest a team, the perch, Home Assistant, Deny that can say why, Done while you were away, and bots that come alive. Every change is in the CHANGELOG.


Self-hosting on a VPS

The binary

kwnt is self-contained: SQLite and the web app are inside it.

scp target/release/kwnt user@your-vps:/usr/local/bin/kwnt
ssh user@your-vps "kwnt serve --host 0.0.0.0 --port 8799"

On your own computer there is nothing to sign in to. From another machine, open the one-time link kwnt serve prints at startup (it works once, for 15 minutes; with KWNT_ALLOWED_ORIGINS set it is ready to open and comes with a QR code), or make a new one with kwnt signin-link. The browser stays signed in for a year. To add your phone or another browser later, open Settings → Signed-in devices → Add a phone or browser in a signed-in browser and scan the one-time QR code (it also works once, for 15 minutes); the same list lets you sign those browsers out. A new browser can also choose Sign in from another device on the sign-in screen: it shows a code for 10 minutes, and a signed-in browser shows New device wants access with Approve or Deny. Approve only a code that is on a screen you are holding. Prefer the token? On the server, as the user that runs kwnt, cat ~/.kwnt/api-token (or $KWNT_DATA_DIR/api-token, e.g. sudo cat /var/lib/kwnt/api-token with the systemd unit below) prints the token to paste (kwnt token --raw does the same; ./target/release/kwnt if kwnt isn't on your PATH), and kwnt token prints a new one-time link like kwnt signin-link. Run them as the same user: as another user they fail, because that user can't read the token file (for the systemd unit use sudo cat as above). Each install has its own token, so one copied from your laptop won't open kwnt on the server. Or skip sign-in: ssh -N -L 8799:127.0.0.1:8799 user@your-vps, then open http://127.0.0.1:8799 on your computer (not with Docker, where requests always count as remote). A one-time link signs in as you, so keep it private until you've used it; the token never appears in the server's output. Put a TLS reverse proxy in front: see browser service and VPS hosting.

A systemd unit
# /etc/systemd/system/kwnt.service
[Unit]
Description=kwant AI bot platform
After=network.target

[Service]
Type=simple
# A dedicated user (useradd --system --create-home --home-dir /var/lib/kwnt kwnt); sign the
# claude/codex/grok CLIs in as this user, or add API keys in the app
User=kwnt
ExecStart=/usr/local/bin/kwnt serve --host 0.0.0.0 --port 8799
Restart=always
# Stop and restart only kwnt itself: programs a bot left running in the background keep running
KillMode=process
Environment=KWNT_DATA_DIR=/var/lib/kwnt

[Install]
WantedBy=multi-user.target
systemctl daemon-reload
systemctl enable --now kwnt

KillMode=process means an update or a restart stops only kwnt, not programs a bot deliberately started in the background (a dev server, a long build); kwant itself still stops a command that times out or a turn you cancel, with everything it started. Without that line, systemd stops every program kwnt ever started. systemctl status kwnt lists the ones still running; stop one with kill <pid>.

VPS in 5 minutes (Docker Compose)

One command starts everything kwant needs: kwnt, the Laya router (with its model baked in) and a private Chromium for the bots (VM mode), with no Docker socket mounted. You need Docker with Compose and about 4 GB of free RAM (Chromium is capped at 1.5 GB).

git clone https://github.com/alexsergivan/kwant.git && cd kwant
KWNT_CLIS=claude,codex docker compose up -d --build   # any of claude,codex,grok; leave out for none
docker compose exec kwnt kwnt doctor                  # what works, and the fix for what doesn't
docker compose exec kwnt claude auth login            # sign a CLI in (codex login --device-auth, grok login --device-auth)
docker compose exec kwnt kwnt signin-link            # a one-time sign-in link and QR code (15 minutes)

Or skip the CLIs and add an Anthropic, OpenAI or xAI API key in the app under Settings → This space → Accounts. CLI sign-ins live in the kwnt-home volume and data in kwnt-data, so both survive rebuilds.

HTTPS: the UI is published on 127.0.0.1:8799 only. Put a TLS proxy in front, e.g. Caddy with this Caddyfile, and tell kwnt its address:

kwant.example.com {
	reverse_proxy 127.0.0.1:8799
}
echo KWNT_ALLOWED_ORIGINS=https://kwant.example.com >> .env && docker compose up -d

docker compose exec kwnt kwnt signin-link prints a one-time sign-in link for your domain and a QR code to scan with your phone. It works once, for 15 minutes; run it again for the next device. docker compose exec kwnt kwnt token --raw still prints the API token, as a fallback.

  • Image sizes (measured): kwnt alone 0.2 GB; with KWNT_CLIS=claude,codex,grok 1.7 GB (the CLIs add about 0.9 GB, so they are off by default). Laya 3.2 GB, the browser 1.2 GB. Idle RAM: Laya about 1.7–2.3 GB, the browser about 0.4 GB, kwnt about 25 MB.
  • kwant's own execute_shell tool runs in per-team Docker containers, so it isn't available inside this stack: that would need the host's Docker socket, which is root on the host. The CLIs' own shell tools work inside the kwnt container.
  • Upgrading from an older image: kwnt now runs as uid 10001, not root. If it says /data isn't writable, run once: docker compose run --rm -u root kwnt chown -R 10001:10001 /data.

Render, Railway, DigitalOcean, CasaOS, Umbrel and Coolify

Deploy to Render Deploy on Railway or Deploy kwant + Laya

We earn commissions when you shop through the links below.

Run kwant on a DigitalOcean droplet (affiliate link, it helps fund kwant). A 2 GB droplet runs kwant, 4 GB with Laya. kwant on a DigitalOcean droplet in 5 minutes walks through it with the one-line installer. A DigitalOcean 1-Click App is coming soon.

The button reads render.yaml: one web service from the released image with a 1 GB disk on /data. Render keeps files only on a disk, and disks need a paid instance (Starter or up), so the free plan won't work. Render makes the sign-in token: copy KWNT_API_TOKEN from the service's Environment page and paste it on the sign-in screen.

The Railway button builds the same docker/render.Dockerfile with a volume on /data, plus the bots' private browser from docker/browser.Dockerfile on Railway's private network, without Laya: kwant then uses keyword routing. Deploy kwant + Laya also runs the Laya message router from docker/laya.Dockerfile, for smarter routing, and uses about 2 GB more RAM. Railway makes the sign-in token: copy KWNT_API_TOKEN from the kwant service's Variables tab.

For home servers, deploy/ has a listing for each store, pinned to the release: CasaOS (sign in with kwnt token --raw from the app's Terminal), Umbrel (sign in with the password Umbrel shows for kwant) and Coolify (sign in with SERVICE_PASSWORD_64_KWNT from the service's environment variables). Until a store lists kwant, CasaOS can import the file under Custom Install and Coolify can run it as a Docker Compose resource; Umbrel needs the listing. These run kwnt alone, without Laya or the bots' browser; see docs/self-host-stores.md.

Without Docker: kwnt setup

kwnt setup installs what kwant needs on this machine: Chromium or Chrome for the bots' browser, Laya (in kwant's data folder, with its own uv if you have no Python), and a CLI (claude unless you name others with --clis). It asks before each step (--yes skips the questions), never runs sudo itself (it prints the command for you instead), installs into your home folder where it can, skips Docker unless you pass --docker, and running it again changes nothing. --dry-run shows the plan. The app has the same checklist under Setup.

One line per platform, each followed by kwnt doctor:

Platform Install Then
Mac app Download the .dmg from Releases and open it Run kwnt doctor
Linux app (beta, x86_64) Download the .deb or the AppImage from Releases and install it Open Setup in the app
Mac, command line git clone https://github.com/alexsergivan/kwant.git && cd kwant && make build && ./target/release/kwnt setup (uses Homebrew when you have it) Run kwnt doctor
Linux desktop or server The same clone and make build, then kwnt setup, or sh scripts/install-linux-deps.sh --clis claude on Debian/Ubuntu Run kwnt doctor
VPS with Docker Docker Compose Run docker compose exec kwnt kwnt doctor

On Linux (x86_64 or arm64, glibc 2.35+) you can skip the build: curl -fsSL https://kwant.si/install.sh | sh installs the prebuilt kwnt from the latest release after checking its .sha256, and every release also has kwnt-linux-x86_64.tar.gz and kwnt-linux-aarch64.tar.gz. There's no prebuilt command-line kwnt for macOS yet, so on a Mac the command line needs a clone and a build (Rust and Node).


Laya model router

Laya picks which model and effort a bot uses when its model is auto. When kwant picks which bot answers in a channel, Laya adds its own guess from the bots' titles, but it never picks a bot on its own: kwant's routing rules do. It runs as a small Python service, and kwnt serve manages it for you: on first run it installs laya[serve] into ~/.kwnt/laya/venv (with uv when present, else python3 -m venv), starts it, and restarts it if it exits. The header shows its status. While Laya is unavailable, the rules still pick the bot, the model and effort come from a keyword estimate, and the reason line under a reply says it was a keyword match.

Setting config.toml Environment Default
Laya URL laya_url LAYA_URL http://127.0.0.1:8000
Manage a local Laya laya_managed KWNT_LAYA_MANAGED=0 to disable, or kwnt serve --no-laya true
Checkpoints to preload laya_models KWNT_LAYA_MODELS english
Use an existing laya-serve binary KWNT_LAYA_SERVE_BIN

The first start needs huggingface.co. Behind a proxy that blocks it, start kwant once on an open network or copy ~/.kwnt/laya/hf from another machine.


FAQ

Is kwant free? Yes. It's open source under the AGPL-3.0: use it, change it and run it for yourself, your team or your company, at any size. You pay only for the AI accounts you already have. If you want to sell or host kwant without publishing your changes, there's a commercial license.

Can I use my Claude or ChatGPT plan? Yes. kwant runs the Claude, Codex or Grok CLI you're signed in to, so your plan covers the work. You can also add Anthropic, OpenAI or xAI API keys, or your own OpenAI- or Anthropic-compatible server. When one account runs out of usage, the turn moves to the next.

How is it different from Grok Bot, Claude Duet or OpenAI dots? It's the same idea, a team of named bots you message, but open source, running on your own computer or server, with any of your accounts. And a task counts as done only when kwant runs the check itself. Side by side: kwant vs Grok Bot.

Where does my data go? It stays on your computer or server, in kwant's data folder (~/.kwnt by default). kwant has no telemetry and sends nothing to us. Your messages go only to the AI providers and services you add.

Do I need an account with you? No. There's no sign-up: you run kwant yourself and sign in only to the AI accounts you add.

Which computers can run it? A Mac (Apple silicon or Intel), a Linux desktop (x86_64, beta), a Windows PC (64-bit, beta) or a Linux server, with the binary or Docker Compose.

Can I run it on a free server? Yes. This guide sets kwant up on Oracle Cloud's free tier, step by step.


Documentation


Contributing

Bug reports, ideas and pull requests are welcome. Read CONTRIBUTING.md for how to build, test and send a change, and follow the Code of Conduct.

make frontend                  # build the web app once (cargo test needs frontend/dist)
cargo test                     # Rust unit and integration tests
cd frontend && npm test        # web app tests

Security

kwant runs commands and holds API keys and passwords, so please report vulnerabilities privately. See SECURITY.md. Don't open a public issue for a security problem.

Contact

Contributors

Thanks to everyone who reports bugs, writes docs and sends code 🙌 Bug reports, ideas, docs and tests all count, not just pull requests.

Oleksandr Ivanchenko
Oleksandr Ivanchenko

💻
skullsdev
skullsdev

💻
Grzegorz Nowosielski
Grzegorz Nowosielski

📖
calintro
calintro

🐛
ProbablePrime
ProbablePrime

🐛 🤔

License

kwant is open source under the GNU Affero General Public License v3.0 (AGPL-3.0-only).

  • Free for everyone: use it, change it and run it for yourself, your team or your company, at any size.
  • Share your changes if you serve them: if you change kwant and let others use it over a network, for example as a hosted service, you must publish your changed source code under the AGPL too.
  • Commercial license: if you want to sell kwant, host it or build it into your product without publishing your changes, you can buy a commercial license instead. See COMMERCIAL.md.

Code published before the switch, including the mac-v0.1.0 release, stays under MIT OR Apache-2.0.

Contributions are accepted under the terms in CONTRIBUTING.md.

Ähnliche Projekte entdecken

Wird geladen…