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.
Rust ai-agentsai-assistantai-botautomationbotbots-teamchatbotclaude-duetgrokgrok-botgrok-bot-alternativeharnessllmmulti-agentopenai-dotsopenbotpersonal-agentrustself-hostedselfhosted-ai
Release kwant 0.7.4
Ada (kwant bot)5b2c47296b91
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex aed34986..0ce7f1b5 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -8,17 +8,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).## Unreleased+## [Mac 0.7.4] - 2026-11-07+### Added-- **Daily spending stop.** Settings › All spaces › Usage can cap what all bots together use in a day, in fresh tokens and in dollars (dollars count only engines that report a cost). Both are off by default. Over the cap no new turn starts, from a person message, a hand-off, a routine, a goal, a mission task, AutoFix or a connected agent; turns already running finish. Chats get one notice a day with Continue, routines, missions and AutoFix skip with `spend_stopped` without counting as failures, Needs you shows one item, and the first hold each day sends one notification. Goal checks keep running, since they use no tokens. A turn that fails mid-way counts the tokens its engine reported so far (Claude CLI and API engines). The day follows your time zone and survives a restart. In the app, the two limits sit beside today's use, the chat notice and the Needs-you item have Continue today, a tap on the notification opens that item (any other notification about no bot opens home), and a run the stop skipped reads as a skip, not an error. (#375)-- **Use kwant from your coding agent.** Claude Code, Codex, Cursor and other MCP clients can ask your bots for work through `POST /api/mcp/agents` and get the reply back. Each connection is made in Settings › All spaces › Coding agents, which lists them with their spaces, bots, created date and last use, shows recent activity, and gives copyable setup for Claude Code, Codex and Cursor. Each has its own `kag_` token (shown once, stored only as a hash), reaches only the spaces and bots you pick, and is revoked at once. The agent is never the person: its messages are marked as the agent's, it can't approve anything (it sees `waiting_on_person`), and its token gets a 403 on every other route. Each connection gets up to 60 asks an hour and 3 turns at once, and its turns count toward the chain budget and the spend stop. See [docs/agents-connect.md](docs/agents-connect.md). (0.7.4)-- **Dev mode on GitLab, Gitea, Forgejo and Codeberg (0.7.4).** Add the server as a connection in Loose ends (kwant asks it which forge it runs) and its merge requests or pull requests get review cards with their CI, like GitHub's. A repo with no forge, or no token for it, gets a review card for each pushed branch that's ahead of the watched one, with no CI and no Post. Posting reviews is still GitHub only. Forge requests take the same address checks as git fetches and never follow redirects.-- **GitLab, Gitea and Forgejo in the app (0.7.4).** Loose ends adds a GitLab, Gitea or Forgejo server with its address and a token (with an optional "Which is it?" when the server can't tell), and says plainly when that server is already connected. Dev desk repo rows show their forge, and a GitLab, Gitea or Forgejo repo with no connection gets a Connect GitLab (or Gitea, or Forgejo) button that opens the same form in place. Review cards show GitLab's MR !7, say that posting there comes in a later update, and a branch with no forge reads as a pushed branch. Team settings' line under Git Repo URL names GitLab, Gitea and Forgejo too.+- **Daily spending stop.** Settings › All spaces › Usage can cap what all bots together use in a day, in fresh tokens and in dollars (dollars count only engines that report a cost). Both are off by default. Over the cap no new turn starts, from a person message, a hand-off, a routine, a goal, a mission task, AutoFix or a connected agent; turns already running finish. Chats get one notice a day with Continue, routines, missions and AutoFix skip with `spend_stopped` without counting as failures, Needs you shows one item, and the first hold each day sends one notification. Goal checks keep running, since they use no tokens. A turn that fails mid-way counts the tokens its engine reported so far (Claude CLI and API engines). The day follows your time zone and survives a restart. In the app, the two limits sit beside today's use, the chat notice and the Needs-you item have Continue today, a tap on the notification opens that item (any other notification about no bot opens home), and a run the stop skipped reads as a skip, not an error. (#375, #382)+- **Use kwant from your coding agent.** Claude Code, Codex, Cursor and other MCP clients can ask your bots for work through `POST /api/mcp/agents` and get the reply back. Each connection is made in Settings › All spaces › Coding agents, which lists them with their spaces, bots, created date and last use, shows recent activity, and gives copyable setup for Claude Code, Codex and Cursor. Each has its own `kag_` token (shown once, stored only as a hash), reaches only the spaces and bots you pick, and is revoked at once. The agent is never the person: its messages are marked as the agent's, it can't approve anything (it sees `waiting_on_person`), and its token gets a 403 on every other route. Each connection gets up to 60 asks an hour and 3 turns at once, and its turns count toward the chain budget and the spend stop. See [docs/agents-connect.md](docs/agents-connect.md). (#376, #378)+- **Dev mode on GitLab, Gitea, Forgejo and Codeberg.** Add the server as a connection in Loose ends (kwant asks it which forge it runs) and its merge requests or pull requests get review cards with their CI, like GitHub's. A repo with no forge, or no token for it, gets a review card for each pushed branch that's ahead of the watched one, with no CI and no Post. Posting reviews is still GitHub only. Forge requests take the same address checks as git fetches and never follow redirects. (#377)+- **GitLab, Gitea and Forgejo in the app.** Loose ends adds a GitLab, Gitea or Forgejo server with its address and a token (with an optional "Which is it?" when the server can't tell), and says plainly when that server is already connected. Dev desk repo rows show their forge, and a GitLab, Gitea or Forgejo repo with no connection gets a Connect GitLab (or Gitea, or Forgejo) button that opens the same form in place. Review cards show GitLab's MR !7, say that posting there comes in a later update, and a branch with no forge reads as a pushed branch. Team settings' line under Git Repo URL names GitLab, Gitea and Forgejo too. (#379)### Changed- **Bots don't paste your keys back to you.** When you give a bot a key, password or token, it still does what you asked with it, but in its reply it calls it by name or by its last 4 characters instead of writing it out in full. (#381)### Fixed-- GitHub Enterprise: paste your server's address as it is (github.yourcompany.com or yourcompany.ghe.com); kwant finds the API itself. Repos on yourcompany.ghe.com now match their connection in Dev mode.+- GitHub Enterprise: paste your server's address as it is (github.yourcompany.com or yourcompany.ghe.com); kwant finds the API itself. Repos on yourcompany.ghe.com now match their connection in Dev mode. (#380)- **"Ask only when risky" now asks before a bot adds a new package.** `npm install left-pad` used to run with no card, even though it downloads code that runs on your computer. Now adding a package the project doesn't list yet asks first: `npm install <name>`, `pnpm add`, `yarn add`, `bun add`, `cargo add`, `uv add`, `poetry add`, `go get`. A plain `npm install` of what the project already lists still runs on its own, and the approvals guide now says the same thing in both places. `npm exec`, `pnpm dlx`, `yarn dlx` and `bun x` also ask when an option comes first (`npm --prefix app exec …` used to slip through); `npm run x` now asks too. It also asks when an unusual option or a workspace name sits in front (`npm --loglevel silent install left-pad`, `yarn workspace app add x`), for starters that download and run a package (`npm create vite`, `npm init vite`, `yarn create …`), for `deno run` of a web address, `uv run --with`, `uv pip sync` and `dotnet add package`, and for a pip or npm the bot set up inside its own folder (`v/bin/pip install x`). (#381)## [Mac 0.7.3] - 2026-11-07diff --git a/apps/mac/Cargo.lock b/apps/mac/Cargo.lockindex a5192df7..03ad0743 100644--- a/apps/mac/Cargo.lock+++ b/apps/mac/Cargo.lock@@ -2707,7 +2707,7 @@ dependencies = [[[package]]name = "kwant"-version = "0.7.3"+version = "0.7.4"dependencies = ["dirs 5.0.1","kwnt",diff --git a/apps/mac/Cargo.toml b/apps/mac/Cargo.tomlindex 9b23bdce..919170cd 100644--- a/apps/mac/Cargo.toml+++ b/apps/mac/Cargo.toml@@ -1,6 +1,6 @@[package]name = "kwant"-version = "0.7.3"+version = "0.7.4"edition = "2021"description = "kwant for Mac: the kwant server and its UI in one app, with a menu-bar icon"license = "AGPL-3.0-only"diff --git a/apps/mac/tauri.conf.json b/apps/mac/tauri.conf.jsonindex 9db4e789..1a574416 100644--- a/apps/mac/tauri.conf.json+++ b/apps/mac/tauri.conf.json@@ -1,7 +1,7 @@{"$schema": "https://schema.tauri.app/config/2","productName": "kwant",- "version": "0.7.3",+ "version": "0.7.4","identifier": "si.kwant.mac","build": {"frontendDist": "loading"diff --git a/site/docs/loose-ends.html b/site/docs/loose-ends.htmlindex 210de6e9..604e21ce 100644--- a/site/docs/loose-ends.html+++ b/site/docs/loose-ends.html@@ -67,7 +67,7 @@<ul><li><strong>Your bot chats, tasks and questions</strong> are always read: kwant's own threads, open questions and failed handoffs.</li><li><strong>Email (IMAP)</strong>, optional: a mail server with TLS or STARTTLS.</li>- <li><strong>GitHub</strong>, optional: your issues and pull requests. A GitHub Enterprise address works too: type your server's address as it is, such as <code>https://github.yourcompany.com</code> or <code>https://yourcompany.ghe.com</code>, and kwant finds the API itself.</li>+ <li><strong>GitHub</strong>, optional: your issues and pull requests. A GitHub Enterprise address works too.</li></ul><p>Add a source with <strong>Add a source</strong>. kwant tests the connection first, and the login goes into the password vault. Sources are read-only: email is opened without marking, moving or deleting anything, and GitHub is only read.</p><figure>diff --git a/site/index.html b/site/index.htmlindex 1092a282..47d91cea 100644--- a/site/index.html+++ b/site/index.html@@ -58,7 +58,7 @@</div><p class="mac-dl">Free, for Apple silicon and Intel. <a href="/docs/install#mac">First open</a> needs one extra step. Linux: a <code>.deb</code> for Ubuntu and Debian on x86_64, or the <a href="https://github.com/alexsergivan/kwant/releases/latest/download/kwant_x86_64.AppImage" rel="noopener">AppImage</a> (<a href="/docs/install#linux">how to install</a>).</p><div class="install" data-tabs><div class="install-top"><span class="install-k" aria-hidden="true">Install</span><div class="tabs" role="tablist" aria-label="Install with"><button type="button" role="tab" id="hero-t-src" aria-controls="hero-p-src" aria-selected="true">macOS · Linux</button><button type="button" role="tab" id="hero-t-docker" aria-controls="hero-p-docker" aria-selected="false" tabindex="-1">Docker</button></div></div><div class="cmd" role="tabpanel" id="hero-p-src" aria-labelledby="hero-t-src"><span class="p" aria-hidden="true">$</span><code>git clone https://github.com/alexsergivan/kwant && cd kwant && make run</code><button type="button" class="copy-cmd" aria-label="Copy the macOS · Linux install command">copy</button></div><div class="cmd" role="tabpanel" id="hero-p-docker" aria-labelledby="hero-t-docker" hidden><span class="p" aria-hidden="true">$</span><code>git clone https://github.com/alexsergivan/kwant && cd kwant && docker compose up -d --build</code><button type="button" class="copy-cmd" aria-label="Copy the Docker install command">copy</button></div></div>- <p class="proof">0.7.3 released Nov 7 <span aria-hidden="true">·</span> <a href="https://github.com/alexsergivan/kwant/releases" rel="noopener">28 releases since Oct 25</a> <span aria-hidden="true">·</span> <a href="https://github.com/alexsergivan/kwant" rel="noopener">AGPL-3.0, open source</a></p>+ <p class="proof">0.7.4 released Nov 7 <span aria-hidden="true">·</span> <a href="https://github.com/alexsergivan/kwant/releases" rel="noopener">29 releases since Oct 25</a> <span aria-hidden="true">·</span> <a href="https://github.com/alexsergivan/kwant" rel="noopener">AGPL-3.0, open source</a></p></div><figure class="crt hero-crt"><div class="crt-screen">