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
UX PR 2 follow-ups: Rigel's #204 QA defects and docs for the new nav
Pixel (kwant bot)33a06472cff8
diff --git a/README.md b/README.mdindex 40c393d0..d9506c84 100644--- a/README.md+++ b/README.md@@ -22,7 +22,7 @@ It's written in Rust (Tokio, Axum, SQLite) with a React web app embedded in the- **A team, not a chat tab.** Each bot has its own role, voice ("soul") and model. Bots @mention each other to hand work on, a team lead runs short discussions and posts one summary, and the [Laya](#laya-model-router) router picks who answers and with which model and effort.- **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 a *While you were away* page with what's waiting on you, what finished and what failed.+- **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.- **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.- **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.@@ -34,15 +34,15 @@ See every feature, with screenshots, on [kwant.si/features](https://kwant.si/fea<table><tr><td width="50%"><img src="docs/media/spaces.webp" alt="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."><br><sub><b>Spaces</b>: each with its own bots, channels and routines.</sub></td>- <td width="50%"><img src="docs/media/accounts.webp" alt="Space settings, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in."><br><sub><b>Accounts</b>: several per engine, with a default and fallbacks.</sub></td>+ <td width="50%"><img src="docs/media/accounts.webp" alt="Settings, This space, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in."><br><sub><b>Accounts</b>: several per engine, with a default and fallbacks.</sub></td></tr><tr><td><img src="docs/media/approval.webp" alt="An approval card: TechLead wants to create a pull request on GitHub, with the full arguments shown and Deny, Allow Once and Always Allow buttons."><br><sub><b>Approvals</b>: see exactly what a bot wants to run.</sub></td><td><img src="docs/media/routine.webp" alt="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."><br><sub><b>Routines</b>: ask for "every morning" and get one, with Undo.</sub></td></tr><tr>- <td><img src="docs/media/away.webp" alt="While you were away. Waiting on you: a question with answer buttons. Finished: a handoff and a weekly digest. Failed or stuck: a price scan blocked with a 403 and a smoke test that stopped at 9 of 22."><br><sub><b>While you were away</b>: what's waiting, finished or failed.</sub></td>- <td><img src="docs/media/loose-ends.webp" alt="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."><br><sub><b>Loose ends</b>: evidence and a draft. It never sends.</sub></td>+ <td><img src="docs/media/away.webp" alt="While you were away. Waiting on you: a question with answer buttons. Finished: a handoff and a weekly digest. Failed or stuck: a price scan blocked with a 403 and a smoke test that stopped at 9 of 22."><br><sub><b>Inbox</b>: what's waiting, finished or failed.</sub></td>+ <td><img src="docs/media/loose-ends.webp" alt="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."><br><sub><b>Loose ends</b>, the Inbox's second tab: evidence and a draft. It never sends.</sub></td></tr></table>@@ -59,7 +59,7 @@ Screenshots come from a demo space with sample data.- **At least one AI account.** Any one of these is enough:- the [`claude`](https://docs.anthropic.com/en/docs/claude-code) CLI, installed. You don't need to sign it in first: kwant has a **Sign in with Claude** button;- the `codex` or `grok` CLI, signed in on the same machine (`codex login`, `grok login`);- - an Anthropic, OpenAI or xAI API key, which you add in the app under **Space settings → Accounts**.+ - an Anthropic, OpenAI or xAI API key, which you add in the app under **Settings → This space → Accounts**.- Optional: **Docker** for VM mode and the bots' shared browser, and [`uv`](https://docs.astral.sh/uv/) or `python3` for the Laya router.`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](#without-docker-kwnt-setup)).@@ -93,9 +93,9 @@ The app is signed ad hoc, not notarized by Apple, so macOS stops it the first ti### Install the web app-In Chrome or Edge, click **Install app** in the sidebar; in Safari on a Mac, **File → Add to Dock**; on a phone, kwant shows how. Browsers only install pages served over https or from `127.0.0.1`.+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, kwant shows how. 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 → 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.+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](https://kwant.si/docs/quickstart) and [install](https://kwant.si/docs/install) docs.@@ -155,7 +155,7 @@ docker compose exec kwnt claude auth login # sign a CLI in (codex logdocker 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 **Space settings → Accounts**. CLI sign-ins live in the `kwnt-home` volume and data in `kwnt-data`, so both survive rebuilds.+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](https://caddyserver.com) with this `Caddyfile`, and tell kwnt its address:diff --git a/frontend/src/components/Sidebar.tsx b/frontend/src/components/Sidebar.tsxindex 4b2958ab..c6c21db1 100644--- a/frontend/src/components/Sidebar.tsx+++ b/frontend/src/components/Sidebar.tsx@@ -7,7 +7,7 @@ import { canRunNow, engineTip, isUsable } from '../engines';import { statusOf, statusText, type BotStatus } from '../botStatus';import { EnginesApi, useEngines } from '../useEngines';import { claudeNeedsSignIn } from '../claudeLogin';-import { Space, spaceSummary } from '../spaces';+import { Space, spaceSummary, spaceSummaryTitle } from '../spaces';import { SpaceSwitcher, SpaceTile } from './Spaces';import { isMac } from './LayaStatus';import { ApprovalsOffBadge } from './ApprovalsSetting';@@ -341,7 +341,7 @@ export const Sidebar: React.FC<SidebarProps> = ({onClick={() => onSelectKwant(k)}onKeyDown={(e) => e.key === 'Enter' && onSelectKwant(k)}data-bot-row={k.id}- className={`group/fleet w-full flex items-center gap-2.5 px-2 py-1.5 rounded-xl text-left cursor-pointer transition-all ${+ className={`group/fleet relative w-full flex items-center gap-2.5 px-2 py-1.5 rounded-xl text-left cursor-pointer transition-all ${active ? 'bg-zinc-800/90 text-zinc-100 shadow-sm border border-zinc-700/60' : 'text-zinc-400 hover:text-zinc-200 hover:bg-zinc-800/40 border border-transparent'}`}>@@ -349,13 +349,13 @@ export const Sidebar: React.FC<SidebarProps> = ({<ModernAvatar role={k.avatar_sprite} name={k.name} size={28} status={status} kwantId={k.id} /></span><div className="flex-1 min-w-0">- <div className="flex items-center gap-1">- {/* The full name; what it runs on is in the tooltip */}- <span className="text-xs font-semibold text-zinc-200 truncate" title={`${k.name} · ${engineTip(k.preferred_model)}`}>+ <div className="flex items-start gap-1">+ {/* The full name, on up to two lines (QA a); what it runs on is in the tooltip */}+ <span data-bot-name className="min-w-0 text-xs font-semibold leading-4 text-zinc-200 line-clamp-2 [overflow-wrap:anywhere]" title={`${k.name} · ${engineTip(k.preferred_model)}`}>{k.name}</span>{isLead && (- <span className="shrink-0 flex items-center gap-0.5 text-[9px] uppercase tracking-wide text-amber-300/90" title={`Leads @${team!.name}`}>+ <span className="shrink-0 flex items-center gap-0.5 h-4 text-[9px] uppercase tracking-wide text-amber-300/90" title={`Leads @${team!.name}`}><Crown size={10} aria-hidden="true" />lead</span>@@ -370,8 +370,9 @@ export const Sidebar: React.FC<SidebarProps> = ({</span>)}{approvalsOff(k) && <ApprovalsOffBadge compact title={`${k.name} acts without asking. Payments still ask you.`} />}+ {/* Over the row's right edge, so a long name gets the full width until you hover */}{!phone && (- <span className="ml-auto flex items-center gap-0.5">+ <span className="absolute right-1.5 top-1.5 flex items-center gap-0.5 rounded-md bg-zinc-800/95 opacity-0 group-hover/fleet:opacity-100 focus-within:opacity-100 empty:hidden">{onEditKwant && (<buttontype="button"@@ -546,8 +547,8 @@ export const Sidebar: React.FC<SidebarProps> = ({className="w-full flex items-center gap-2 px-1.5 py-1 rounded-md text-[11px] text-zinc-300 hover:bg-sky-500/10 hover:text-zinc-100 text-left"><ModernAvatar role={k.avatar_sprite} name={k.name} size={18} kwantId={k.id} />- <span className="truncate flex-1">{k.name}</span>- <span className="text-[10px] text-zinc-500 truncate max-w-[80px]">{k.title}</span>+ <span className="flex-1 min-w-0 line-clamp-2 [overflow-wrap:anywhere]" title={k.name}>{k.name}</span>+ <span className="shrink-0 text-[10px] text-zinc-500 truncate max-w-[80px]">{k.title}</span></button>))}{candidates.length === 0 && <div className="px-1.5 py-1 text-[11px] text-zinc-500">Every bot is already in this team.</div>}@@ -605,7 +606,7 @@ export const Sidebar: React.FC<SidebarProps> = ({<SpaceTile space={space} size={32} /><span className="flex-1 min-w-0"><span className="block text-sm font-semibold text-zinc-100 truncate">{space.name}</span>- <span className="block text-[11px] text-zinc-500 truncate">{spaceSummary(space.counts)}</span>+ <span className="block text-[11px] text-zinc-500 truncate" title={spaceSummaryTitle(space.counts)}>{spaceSummary(space.counts)}</span></span><ChevronDown size={14} className={`shrink-0 text-zinc-500 transition-transform ${switcherOpen ? 'rotate-180' : ''}`} aria-hidden="true" /></button>@@ -614,7 +615,7 @@ export const Sidebar: React.FC<SidebarProps> = ({<SpaceTile space={space} size={32} /><span className="flex-1 min-w-0"><h1 className="text-sm font-semibold text-zinc-100 truncate">{space.name}</h1>- <span className="block text-[11px] text-zinc-500 truncate">{spaceSummary(space.counts)}</span>+ <span className="block text-[11px] text-zinc-500 truncate" title={spaceSummaryTitle(space.counts)}>{spaceSummary(space.counts)}</span></span><buttontype="button"diff --git a/frontend/src/components/Spaces.tsx b/frontend/src/components/Spaces.tsxindex 50f699da..95983987 100644--- a/frontend/src/components/Spaces.tsx+++ b/frontend/src/components/Spaces.tsx@@ -10,6 +10,7 @@ import {spaceIcon,spaceNameError,spaceSummary,+ spaceSummaryTitle,spacesApi,} from '../spaces';@@ -150,7 +151,7 @@ export const SpaceSwitcher: React.FC<SwitcherProps> = ({ spaces, currentId, onSw<SpaceTile space={s} size={28} /><span className="flex-1 min-w-0"><span className="block font-medium truncate">{s.name}</span>- <span className="block text-[11px] text-zinc-500 truncate">{spaceSummary(s.counts)}</span>+ <span className="block text-[11px] text-zinc-500 truncate" title={spaceSummaryTitle(s.counts)}>{spaceSummary(s.counts)}</span></span>{!active && (s.counts?.unread ?? 0) > 0 && (<span className="min-w-[18px] px-1.5 py-px rounded-full bg-rose-500 text-white text-[10px] font-semibold text-center">{badge(s.counts.unread)}</span>diff --git a/frontend/src/engines.ts b/frontend/src/engines.tsindex 7d319361..395f7232 100644--- a/frontend/src/engines.ts+++ b/frontend/src/engines.ts@@ -107,6 +107,7 @@ export const INSTALL_URL: Partial<Record<EngineId, string>> = {claude: 'https://docs.claude.com/en/docs/claude-code/setup',codex: 'https://github.com/openai/codex#quickstart',ollama: 'https://ollama.com/download',+ grok: 'https://x.ai/cli',};/** Whether only CLIs can run things right now (so "no API keys needed" is true). */diff --git a/frontend/src/spaces.ts b/frontend/src/spaces.tsindex fbbaf82f..a915f3d0 100644--- a/frontend/src/spaces.ts+++ b/frontend/src/spaces.ts@@ -100,11 +100,19 @@ export function spaceNameError(name: string, taken: string[]): string | null {return null;}-/** "6 kwant bots · 2 accounts ready" under the space name. */+/** "6 bots · 2 accounts" under the space name: short enough for the sidebar header (QA b). */export function spaceSummary(c: SpaceCounts | undefined): string {+ if (!c) return '';+ const bots = `${c.bots} ${c.bots === 1 ? 'bot' : 'bots'}`;+ const accounts = c.ready_accounts === 0 ? 'no account yet' : `${c.ready_accounts} ${c.ready_accounts === 1 ? 'account' : 'accounts'}`;+ return `${bots} · ${accounts}`;+}++/** The long form, for the subtitle's tooltip. */+export function spaceSummaryTitle(c: SpaceCounts | undefined): string {if (!c) return '';const bots = `${c.bots} kwant ${c.bots === 1 ? 'bot' : 'bots'}`;- const accounts = `${c.ready_accounts} ${c.ready_accounts === 1 ? 'account' : 'accounts'} ready`;+ const accounts = c.ready_accounts === 0 ? 'no account signed in yet' : `${c.ready_accounts} ${c.ready_accounts === 1 ? 'account' : 'accounts'} ready to use`;return `${bots} · ${accounts}`;}diff --git a/frontend/tests/ia.test.mjs b/frontend/tests/ia.test.mjsindex 143521ba..69d2dd5f 100644--- a/frontend/tests/ia.test.mjs+++ b/frontend/tests/ia.test.mjs@@ -236,3 +236,37 @@ test('Inbox has New and Loose ends tabs, with the badge on New', () => {assert.doesNotMatch(loose, /Back to chats/, 'no back button on desktop');assert.match(ui.inbox({ tab: 'new', onTab: noop, onBack: noop, newPage: '', loosePage: '' }), /Back to chats/);});++// ---------------------------------------------------------------------------+// Follow-ups from Rigel's #204 QA++test('QA a: a long bot name wraps to two lines instead of cutting off at ~20 characters', () => {+ const long = 'Customer-Success-Manager-Extraordinaire';+ const props = { ...base, kwants: [...kwants, bot('k4', long)], teams: [{ ...teams[0], member_kwants: ['k2', 'k1', 'k4'] }] };+ for (const phone of [false, true]) {+ const html = ui.sidebar({ ...props, phone });+ const names = [...html.matchAll(/<span data-bot-name="[^"]*" class="([^"]*)"[^>]*>([^<]*)</g)];+ assert.ok(names.length >= 4, `every bot row has a name (phone=${phone})`);+ for (const [, cls, name] of names) {+ assert.match(cls, /\bline-clamp-2\b/, name);+ assert.match(cls, /overflow-wrap:anywhere/, `${name}: a name with no spaces still breaks`);+ assert.doesNotMatch(cls, /\btruncate\b/, name);+ }+ assert.ok(names.some(([, , n]) => n === long), 'the team member row shows the whole name');+ }+});++test('QA c: Grok has an Install link under "Not available on this computer"', async () => {+ const engines = await loadBundled(`export { INSTALL_URL } from './src/engines';`);+ assert.equal(engines.INSTALL_URL.grok, 'https://x.ai/cli', "xAI's Grok CLI page, which serves the install.sh setup.rs uses");+ for (const id of ['claude', 'codex', 'ollama', 'grok']) assert.match(engines.INSTALL_URL[id], /^https:\/\//, id);+});++test('QA d: nothing tells the person to look in Settings → Profiles any more', () => {+ const turn = readFileSync(new URL('../../src/server/profile_turn.rs', import.meta.url), 'utf8');+ assert.doesNotMatch(turn, /Settings → Profiles/);+ assert.match(turn, /Sign in again \(or update the key\) under Settings › This space › Accounts\./);+ for (const f of ['App.tsx', 'components/SettingsModal.tsx', 'components/EnginesPanel.tsx', 'components/ModelPicker.tsx', 'automationDiscovery.ts']) {+ assert.doesNotMatch(src(f), /Settings (?:→|›|>) Profiles/, f);+ }+});diff --git a/frontend/tests/spaces.test.mjs b/frontend/tests/spaces.test.mjsindex 1fceecdc..dfdbeff1 100644--- a/frontend/tests/spaces.test.mjs+++ b/frontend/tests/spaces.test.mjs@@ -52,7 +52,11 @@ test('names, colours and the summary line', () => {assert.equal(m.firstUnusedColor([{ color: 'amber' }]), '#10b981', "the server's Default is 'amber'");assert.equal(m.spaceColor({ id: 'spc_default', color: 'amber' }), '#f59e0b');assert.equal(m.spaceIcon({ icon: 'box' }), '📦');- assert.equal(m.spaceSummary({ bots: 1, ready_accounts: 0, unread: 0 }), '1 kwant bot · 0 accounts ready');+ assert.equal(m.spaceSummary({ bots: 1, ready_accounts: 0, unread: 0 }), '1 bot · no account yet');+ assert.equal(m.spaceSummary({ bots: 4, ready_accounts: 3, unread: 0 }), '4 bots · 3 accounts');+ assert.equal(m.spaceSummaryTitle({ bots: 4, ready_accounts: 0, unread: 0 }), '4 kwant bots · no account signed in yet');+ // QA b: the sidebar header shows about 25 characters before it cuts off+ for (const c of [{ bots: 12, ready_accounts: 0 }, { bots: 12, ready_accounts: 10 }]) assert.ok(m.spaceSummary(c).length <= 24, m.spaceSummary(c));});test('Laya says who she picked, from how many bots, in which space', () => {diff --git a/site-src/docs-accounts.html b/site-src/docs-accounts.htmlindex 3cc5f182..7042717e 100644--- a/site-src/docs-accounts.html+++ b/site-src/docs-accounts.html@@ -10,8 +10,8 @@ card_art: avatar:user<h1>Multiple Claude, Codex and Grok accounts</h1><p class="intro">Use every account you have. A space can hold several accounts per engine, for example a work Claude subscription, a personal one and an API key. When one runs out of usage, kwant moves the turn to the next.</p><figure>- <div class="frame">{{shot:v2-accounts|Space settings, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in.|(max-width: 860px) 100vw, 760px}}</div>- <figcaption>Accounts live under <strong>Space settings → Accounts</strong>, and belong to that space.</figcaption>+ <div class="frame">{{shot:v2-accounts|Settings, This space, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in.|(max-width: 860px) 100vw, 760px}}</div>+ <figcaption>Accounts live under <strong>Settings → This space → Accounts</strong>, and belong to that space.</figcaption></figure><h2 id="profiles">Account profiles</h2>diff --git a/site-src/docs-bots-and-teams.html b/site-src/docs-bots-and-teams.htmlindex bc7e63be..1bbdffe5 100644--- a/site-src/docs-bots-and-teams.html+++ b/site-src/docs-bots-and-teams.html@@ -68,7 +68,7 @@ card_art: avatar:tech_lead<p>Every bot knows its teammates in the current channel or team. When a reply @mentions a teammate, or <code>@everyone</code>, that teammate answers right after in the same chat. With the <a href="mission-board.html#lead-review">Mission board</a> on, each hand-off gets a card, and the bot that handed it out reviews the result.</p><ul><li><strong>Caps that stop loops:</strong> one bot can be asked up to 4 times per message, and one message can start up to 16 hand-offs. Past that, the chat shows a notice with a <strong>Continue</strong> button, or type "continue".</li>- <li><strong>No token limit by default:</strong> set one in <strong>Settings → Usage → Hand-offs per request</strong> if you want a request to pause after that many tokens. See <a href="mission-board.html#limits">Token limits</a>.</li>+ <li><strong>No token limit by default:</strong> set one in <strong>Settings → All spaces → Usage → Hand-offs per request</strong> if you want a request to pause after that many tokens. See <a href="mission-board.html#limits">Token limits</a>.</li></ul><figure><div class="frame">{{shot:desktop-handoff|Designer answers in the design-review channel, then @mentions QA, and QA picks it up.|(max-width: 860px) 100vw, 760px}}</div>@@ -93,4 +93,4 @@ card_art: avatar:tech_lead<h2 id="routines">Routines and follow-ups</h2><p>Bots with kwant's own tools can set things up for you when you ask, in the same turn: routines on a schedule (daily, weekly, monthly, every N minutes or once), one-off follow-ups, new bots, channels and spaces. Each change is applied at once with an undo. Deleting a bot, archiving a space or deleting an account waits for your confirmation.</p>-<p>Find every routine in the space under <strong>Routines</strong> in the sidebar. More in <a href="routines.html">Routines & bot actions</a>.</p>+<p>Find every routine in the space under <strong>Settings → This space → Routines</strong> (the gear next to the space name). More in <a href="routines.html">Routines & bot actions</a>.</p>diff --git a/site-src/docs-browser.html b/site-src/docs-browser.htmlindex 70b3e3f9..2d905809 100644--- a/site-src/docs-browser.html+++ b/site-src/docs-browser.html@@ -44,7 +44,7 @@ card_art: avatar:user</ul><h2 id="modes">Local or VM mode</h2>-<p>Choose where bots' browser and shell commands run in <strong>Settings → Computer</strong>, or with the browser panel's mode toggle. Switching takes effect at once, without a restart.</p>+<p>Choose where bots' browser and shell commands run in <strong>Settings → All spaces → Computer for browsing and commands</strong>, or with the browser panel's mode toggle. Switching takes effect at once, without a restart.</p><div class="table-wrap"><table><thead><tr><th></th><th>Local computer</th><th>VM</th></tr></thead><tbody>diff --git a/site-src/docs-flight-school.html b/site-src/docs-flight-school.htmlindex 54454581..d123da39 100644--- a/site-src/docs-flight-school.html+++ b/site-src/docs-flight-school.html@@ -22,7 +22,7 @@ card_art: avatar:qa<p>A tier only ever <strong>adds</strong> approval cards. It never lets a bot skip one, even with approvals off.</p><h2 id="on">Turn it on</h2>-<p>Flight School is off until you switch it on in <strong>Settings → Flight School: limit what each bot may do on its own</strong>. While it is off, nothing on screen changes and no tier applies, whatever you saved.</p>+<p>Flight School is off until you switch it on in <strong>Settings → All spaces → Flight School: limit what each bot may do on its own</strong>. While it is off, nothing on screen changes and no tier applies, whatever you saved.</p><figure><div class="frame">{{shot:v3-flight-settings|Settings with the Flight School switch on. It says bots you already have stay at Act, and offers the tier that bots you add from now on start at, set to Sandbox.|(max-width: 860px) 100vw, 760px}}</div><figcaption>Bots you already have stay at Act. New bots start at the tier you pick, Sandbox unless you change it.</figcaption>diff --git a/site-src/docs-install.html b/site-src/docs-install.htmlindex 801b14dc..ca160f1b 100644--- a/site-src/docs-install.html+++ b/site-src/docs-install.html@@ -29,7 +29,7 @@ card_art: avatar:devops<p class="note warn"><strong>The Linux app is a beta.</strong> We've tested it in clean installs of Ubuntu 22.04, Ubuntu 24.04 and Debian 12, but not yet on real desktops, so the tray icon, Wayland and HiDPI screens may behave differently on yours. It's x86_64 only for now: no ARM builds. Something wrong? <a href="https://github.com/alexsergivan/kwant/issues" rel="noopener">Open an issue</a>.</p><h2 id="app">Install the web app</h2>-<p>kwant bots also installs from the browser, so it opens in its own window. In Chrome or Edge, click <b>Install app</b> in the sidebar (or the install icon in the address bar). In Safari on a Mac, choose <b>File › Add to Dock</b>. On a phone, kwant shows how. Browsers only install pages served over https or from <code>127.0.0.1</code>, so a server needs an <a href="#proxy">HTTPS reverse proxy</a> first.</p>+<p>kwant bots also installs from the browser, so it opens in its own window. In Chrome or Edge, click <b>Install app</b> in <b>Settings → All spaces</b> (or the install icon in the address bar; the sidebar also offers it once, as a tip). In Safari on a Mac, choose <b>File › Add to Dock</b>. On a phone, kwant shows how. Browsers only install pages served over https or from <code>127.0.0.1</code>, so a server needs an <a href="#proxy">HTTPS reverse proxy</a> first.</p><h2 id="local">On your own computer</h2><p>Run <code>kwnt serve</code> and open <a href="http://127.0.0.1:8799">http://127.0.0.1:8799</a>. There's nothing to sign in to: requests from this machine need no token, and <code>kwnt serve</code> prints nothing about one.</p>@@ -53,7 +53,7 @@ ssh user@your-vps "kwnt serve --host 0.0.0.0 --port 8799"</code></pre><li><strong>Scripts:</strong> <code>kwnt token --raw</code> prints just the token, to send as <code>Authorization: Bearer <token></code>.</li><li>The token lives in <code><data dir>/api-token</code> (mode 0600), or set <code>KWNT_API_TOKEN</code> (16+ characters).</li></ul>-<p><strong>Adding a phone or another browser:</strong> once you're signed in, open <strong>Settings → Signed-in devices</strong> and choose <strong>Add a phone or browser</strong>. kwant shows a one-time QR code and a link to copy. Like the server's link, it works once, for 15 minutes. Scan it with your phone's camera and the panel changes to <strong>Signed in ✓</strong>. The QR code is drawn in your browser, and the code is hidden again when it expires, when you press <strong>Hide</strong> or <strong>New code</strong>, or when you leave the page.</p>+<p><strong>Adding a phone or another browser:</strong> once you're signed in, open <strong>Settings → All spaces → Signed-in devices</strong> and choose <strong>Add a phone or browser</strong>. kwant shows a one-time QR code and a link to copy. Like the server's link, it works once, for 15 minutes. Scan it with your phone's camera and the panel changes to <strong>Signed in ✓</strong>. The QR code is drawn in your browser, and the code is hidden again when it expires, when you press <strong>Hide</strong> or <strong>New code</strong>, or when you leave the page.</p><p><strong>Signed-in devices</strong> lists the browsers signed in with a link, a QR code or an approval, with <strong>Sign out</strong> for each one. The browser you're using is marked <strong>This device</strong> and has no Sign out button. Browsers signed in by pasting the API token aren't listed. Signing a browser out doesn't change the API token. On your own computer, where there's nothing to sign in to, this section doesn't appear.</p><p><strong>Signing in from a new device without a link:</strong> on the sign-in screen, choose <strong>Sign in from another device</strong>. The new browser shows a short code, valid for 10 minutes. Every browser that's already signed in shows <strong>New device wants access</strong> with the same code, the browser name and its IP address. Check that the code matches, then press <strong>Approve</strong>, and the new browser signs itself in. <strong>Approve only a code that's on a screen you're holding right now.</strong> An approved device gets full control of kwant as you, so if someone asks you to approve a code, press <strong>Deny</strong>.</p><div class="note warn"><strong>The link signs in as you.</strong> Anyone who can read the server's output, or <code>docker compose logs</code> with Docker, can use it. Keep that output private.</div>@@ -85,7 +85,7 @@ KWNT_CLIS=claude,codex docker compose up -d --build <span class="c"># any of cdocker compose exec kwnt kwnt doctor <span class="c"># what works, and the fix for what doesn't</span>docker compose exec kwnt claude auth login <span class="c"># or codex login --device-auth, grok login --device-auth</span>docker compose exec kwnt kwnt token --raw <span class="c"># the token to paste on the sign-in screen</span></code></pre>-<p>Instead of CLIs you can add an API key in the app under <strong>Space settings → Accounts</strong>. CLI sign-ins persist in the <code>kwnt-home</code> volume and data in <code>kwnt-data</code>. The UI is published on <code>127.0.0.1:8799</code> only: put HTTPS in front (below) and set <code>KWNT_ALLOWED_ORIGINS=https://your.domain</code> in <code>.env</code>. With Caddy that's a two-line <code>Caddyfile</code>: <code>your.domain { reverse_proxy 127.0.0.1:8799 }</code>.</p>+<p>Instead of CLIs you can add an API key in the app under <strong>Settings → This space → Accounts</strong>. CLI sign-ins persist in the <code>kwnt-home</code> volume and data in <code>kwnt-data</code>. The UI is published on <code>127.0.0.1:8799</code> only: put HTTPS in front (below) and set <code>KWNT_ALLOWED_ORIGINS=https://your.domain</code> in <code>.env</code>. With Caddy that's a two-line <code>Caddyfile</code>: <code>your.domain { reverse_proxy 127.0.0.1:8799 }</code>.</p><p>Requests through Docker's published port count as remote, so sign in with a one-time link: <code>docker compose exec kwnt kwnt signin-link</code> prints a new one (and a QR code), or paste the token from <code>docker compose exec kwnt kwnt token --raw</code>. kwant's own <code>execute_shell</code> tool isn't available in this stack, because it would need the host's Docker socket; the CLIs' shell tools work. Upgrading from an older image, where kwnt ran as root? If it says <code>/data isn't writable</code>, run once: <code>docker compose run --rm -u root kwnt chown -R 10001:10001 /data</code>.</p><h2 id="deps">Without Docker: <code>kwnt setup</code>, then <code>kwnt doctor</code></h2>diff --git a/site-src/docs-mcp.html b/site-src/docs-mcp.htmlindex f0c13b06..a076909a 100644--- a/site-src/docs-mcp.html+++ b/site-src/docs-mcp.html@@ -31,8 +31,8 @@ card_art: avatar:tech_lead<p>Bots can search the official MCP Registry and post a suggestion card in the chat. A suggestion installs nothing: you install it, with one click, and only exact versions from the default npm and PyPI registries, Docker images or HTTPS endpoints qualify. Cards for servers that would run on your computer say so.</p><h2 id="composio">Composio (optional)</h2>-<p><a href="https://composio.dev" rel="noopener">Composio</a> gives your bots Gmail, Slack, Notion, Linear and many more apps through one MCP server. Open <strong>Connections → Optional connectors → Composio → Add</strong>, then paste the MCP address from your Composio dashboard (an https address on composio.dev) and your Composio API key. It's added switched off, so switch it on when you're ready.</p>-<div class="note warn"><strong>Composio keeps those app sign-ins on its own servers,</strong> not in kwant's vault. The Connections page says so next to the button.</div>+<p><a href="https://composio.dev" rel="noopener">Composio</a> gives your bots Gmail, Slack, Notion, Linear and many more apps through one MCP server. Open <strong>Settings → This space → Connections → Optional connectors → Composio → Add</strong>, then paste the MCP address from your Composio dashboard (an https address on composio.dev) and your Composio API key. It's added switched off, so switch it on when you're ready.</p>+<div class="note warn"><strong>Composio keeps those app sign-ins on its own servers,</strong> not in kwant's vault. The Connections tab says so next to the button.</div><h2 id="approvals">Approvals for tools</h2><p>MCP tool calls follow the bot's <a href="approvals.html#modes">approval mode</a>. Under "Ask only when risky", tools the server marks read-only and not destructive run without a card. That's the server's own claim, and if kwant can't check it, the call asks. Every call a bot makes is recorded on its reply.</p>diff --git a/site-src/docs-mission-board.html b/site-src/docs-mission-board.htmlindex e5758c83..6f4dbcb4 100644--- a/site-src/docs-mission-board.html+++ b/site-src/docs-mission-board.html@@ -15,7 +15,7 @@ card_art: avatar:tech_lead</figure><h2 id="on">On from the start</h2>-<p>The board is on from the start. To hide it, turn off <strong>Settings → Mission board → Show the Mission board</strong>. Turning it off hides the board and stops new tasks; nothing is deleted.</p>+<p>The board is on from the start. To hide it, turn off <strong>Settings → All spaces → Mission board → Show the Mission board</strong>. Turning it off hides the board and stops new tasks; nothing is deleted.</p><h2 id="columns">The columns</h2><div class="table-wrap"><table>@@ -64,7 +64,7 @@ card_art: avatar:tech_lead<p>Since 0.3.0 nothing has a token limit by default: tasks, missions and requests that hand work around run until they're done. A task or mission shows plain usage, such as "64.9k tokens used".</p><ul><li><strong>Set a limit</strong> next to Cost on a task, or under a mission's cost, offers 50k, 200k, 1M or a custom amount. A task stopped by its limit offers <strong>Remove limit and continue</strong> and <strong>Raise limit</strong>.</li>- <li><strong>Settings → Usage</strong> sets defaults: <strong>Token limits</strong> for new tasks and missions, and <strong>Hand-offs per request</strong> for the tokens one request may spend on bots handing work to each other. Both start at <strong>No limit</strong>. With a limit set, a request pauses there and offers <strong>Continue</strong>.</li>+ <li><strong>Settings → All spaces → Usage</strong> sets defaults: <strong>Token limits</strong> for new tasks and missions, and <strong>Hand-offs per request</strong> for the tokens one request may spend on bots handing work to each other. Both start at <strong>No limit</strong>. With a limit set, a request pauses there and offers <strong>Continue</strong>.</li><li>Updating to 0.4.0 switches off a hand-off limit still at the old 200k default, once. A number you set yourself stays.</li></ul><p>What stops runaway loops are the hand-off caps: one bot can be asked up to 4 times per message, and one message can start up to 16 hand-offs. Past that, the chat shows "Paused after 16 hand-offs so it doesn't loop. Continue?" with a <strong>Continue</strong> button, or you can type "continue".</p>@@ -87,7 +87,7 @@ card_art: avatar:tech_lead<p>Checkpoints stay on your server.</p><h2 id="autofix">AutoFix</h2>-<p>When a task fails, its panel says why in plain words and what to fix. Turn on AutoFix in <strong>Settings → Mission board → Retry failed tasks with AutoFix</strong> and it plans a retry that fits the failure:</p>+<p>When a task fails, its panel says why in plain words and what to fix. Turn on AutoFix in <strong>Settings → All spaces → Mission board → Retry failed tasks with AutoFix</strong> and it plans a retry that fits the failure:</p><ul><li><strong>A temporary error</strong>, like a timeout or an overloaded service: it waits 1, then 5, then 25 minutes and tries again.</li><li><strong>A failed check</strong>: it runs the task again and passes along what the check said.</li>@@ -129,7 +129,7 @@ card_art: avatar:tech_lead<p>Filter by kind of work, bot and period (30 days, 90 days or all time). A group with fewer than 5 tasks says "few tasks", so a lucky streak doesn't look like a trend. It's report-only: the numbers never change which bot gets work, and only you can see them. Tasks finished before the update are counted too.</p><h2 id="auditor">Swarm Auditor and open risks</h2>-<p>The Auditor is off by default. Turn it on in <strong>Settings → Mission board → Challenge important work with an audit</strong>. Then a task gets one challenge when it reaches Review if it's high or urgent priority, or if no outside check will judge it:</p>+<p>The Auditor is off by default. Turn it on in <strong>Settings → All spaces → Mission board → Challenge important work with an audit</strong>. Then a task gets one challenge when it reaches Review if it's high or urgent priority, or if no outside check will judge it:</p><ol><li>A teammate from outside the owner's lead loop lists concrete risks, each with evidence.</li><li>The owner answers once.</li>diff --git a/site-src/docs-models.html b/site-src/docs-models.htmlindex 7adff53c..6213e1ce 100644--- a/site-src/docs-models.html+++ b/site-src/docs-models.html@@ -19,7 +19,7 @@ card_art: avatar:research<p>Each bot has a preferred model. Set it to <strong>auto</strong> and kwant picks the model and effort for every message.</p><h2 id="ollama">Ollama (local models)</h2>-<p>kwant talks to Ollama at <code>http://localhost:11434</code>. To use another address, change <strong>Ollama Base URL</strong> under <strong>Settings → API keys and Ollama</strong>, or set <code>OLLAMA_URL</code>. The engine shows as ready once the server answers and has at least one model pulled, for example with <code>ollama pull llama3.2</code>.</p>+<p>kwant talks to Ollama at <code>http://localhost:11434</code>. To use another address, change <strong>Ollama Base URL</strong> under <strong>Settings → This space → Accounts</strong>, or set <code>OLLAMA_URL</code>. The engine shows as ready once the server answers and has at least one model pulled, for example with <code>ollama pull llama3.2</code>.</p><p>Pick Ollama in a bot's model setting to use your default model, the one in <code>OLLAMA_MODEL</code> or else the first one pulled, or pick a pulled model by name. Ollama bots can use <a href="mcp.html">MCP tools</a>. When a bot is set to auto and a message asks to keep things on this machine, for example "keep this private" or "offline", the router can keep it on Ollama, if Ollama is ready.</p><h2 id="accounts">Accounts</h2>diff --git a/site-src/docs-quickstart.html b/site-src/docs-quickstart.htmlindex 21b98a4d..aa5faba6 100644--- a/site-src/docs-quickstart.html+++ b/site-src/docs-quickstart.html@@ -17,7 +17,7 @@ card_art: avatar:brand<ul><li>the <a href="https://docs.anthropic.com/en/docs/claude-code" rel="noopener"><code>claude</code> CLI</a>, installed. You don't need to sign it in first, because kwant has a <strong>Sign in with Claude</strong> button;</li><li>the <code>codex</code> or <code>grok</code> CLI, signed in on the same machine (<code>codex login</code>, <code>grok login</code>);</li>- <li>an Anthropic, OpenAI or xAI API key, which you add in the app under <strong>Space settings → Accounts</strong>.</li>+ <li>an Anthropic, OpenAI or xAI API key, which you add in the app under <strong>Settings → This space → Accounts</strong>.</li></ul></li><li>Optional: <strong>Docker</strong> for VM mode and the bots' shared browser, and <a href="https://docs.astral.sh/uv/" rel="noopener"><code>uv</code></a> or <code>python3</code> for the Laya router.</li>@@ -36,7 +36,7 @@ make run <span class="c"># builds the web app, then runs `cargo run -- serve`<<ul><li><strong>Claude:</strong> click <strong>Sign in with Claude</strong>, open the link and paste the code shown back into kwant.</li><li><strong>Codex or Grok:</strong> sign the CLI in on this machine, and kwant uses it as is.</li>- <li><strong>API key:</strong> open <strong>Space settings → Accounts</strong> and add an Anthropic, OpenAI or xAI key. Keys are write-only: the app never shows them again.</li>+ <li><strong>API key:</strong> open <strong>Settings → This space → Accounts</strong> and add an Anthropic, OpenAI or xAI key. Keys are write-only: the app never shows them again.</li></ul><p>You can add several accounts per engine, such as a work and a personal one. See <a href="accounts.html">Accounts & profiles</a>.</p>diff --git a/site-src/docs-routines.html b/site-src/docs-routines.htmlindex 19e6f5f7..50ca2e9c 100644--- a/site-src/docs-routines.html+++ b/site-src/docs-routines.html@@ -12,7 +12,7 @@ card_art: avatar:devops<div class="note"><strong>Not Anthropic's Routines.</strong> kwant routines run inside kwant on your own machine or server. They aren't the Routines feature of Anthropic's Claude Code, and kwant isn't affiliated with Anthropic.</div><h2 id="routines">Routines</h2>-<p>A routine sends a prompt to a bot on a schedule and posts the answer in a channel, the bot's direct chat or a thread. Create one with <strong>New routine</strong> in a bot's Routines tab or under <strong>Space settings → Routines</strong>, or ask a bot to do it.</p>+<p>A routine sends a prompt to a bot on a schedule and posts the answer in a channel, the bot's direct chat or a thread. Create one with <strong>New routine</strong> in a bot's Routines tab or under <strong>Settings → This space → Routines</strong>, or ask a bot to do it.</p><figure><div class="frame">{{shot:v2-routines|The routines panel: a Monday metrics digest, a paused competitor price scan whose last run failed, a weekday morning release check and a follow-up, each with Run now, History, Edit and Delete.|(max-width: 860px) 100vw, 760px}}</div></figure>@@ -36,7 +36,7 @@ card_art: avatar:devops<p>A routine can carry a <a href="flight-school.html">Flight School</a> class, a description of a good result and checks. Each run's board task gets them, with the checks already approved, so a run that passes its checks is verified on its own. Only you set the class and the checks. Routines without them run as before.</p><h2 id="suggested">Suggested routines</h2>-<p>kwant can notice tasks you ask for on a rhythm and offer a routine for them. It's <strong>off by default</strong>: turn on <strong>Suggest routines from repeated tasks</strong> in <strong>Settings → Mission board</strong>, and pick how many new suggestions a day (0–10, 2 by default).</p>+<p>kwant can notice tasks you ask for on a rhythm and offer a routine for them. It's <strong>off by default</strong>: turn on <strong>Suggest routines from repeated tasks</strong> in <strong>Settings → All spaces → Mission board</strong>, and pick how many new suggestions a day (0–10, 2 by default).</p><ul><li><strong>What it looks at:</strong> the board tasks you made over the last 120 days, asked for daily, on weekdays, weekly on up to three days or monthly, in your time zone. Tasks made by bots, routines, hand-offs or chats never count.</li><li><strong>What qualifies:</strong> habits that were mostly verified, mostly done by one bot and not already covered by a routine.</li>@@ -69,11 +69,11 @@ card_art: avatar:devops<li>Each space sets its rule: <strong>Ask me each time</strong>, or <strong>Hire at once</strong> with at most 3 automatic hires per 24 hours.</li></ul><figure>- <div class="frame">{{shot:v2-hire-policy|Space settings, Kwant bots tab: the bot list with Export and Edit, and the hiring rule, Ask me each time or Hire at once, with 0 of 3 automatic hires used in 24 hours.|(max-width: 860px) 100vw, 760px}}</div>+ <div class="frame">{{shot:v2-hire-policy|Settings, This space, Kwant bots tab: the bot list with Export and Edit, and the hiring rule, Ask me each time or Hire at once, with 0 of 3 automatic hires used in 24 hours.|(max-width: 860px) 100vw, 760px}}</div></figure>-<h2 id="away">While you were away</h2>-<p>Open <strong>While you were away</strong> from the sidebar (the badge counts what's new) or the inbox tab on a phone. It lists what changed since you last marked it seen, or the last 7 days the first time.</p>+<h2 id="away">Inbox: what happened while you were away</h2>+<p>Open <strong>Inbox</strong> from the sidebar (the badge counts what's new) or the Inbox tab on a phone. Its <strong>New</strong> tab lists what changed since you last marked it seen, or the last 7 days the first time; <strong>Loose ends</strong> is the second tab (see <a href="loose-ends.html">Loose ends & letters</a>).</p><ul><li><strong>Waiting on you:</strong> questions and approvals, which you can answer right there.</li><li><strong>Finished:</strong> handoffs and routine runs that are done.</li>diff --git a/site-src/docs-spaces.html b/site-src/docs-spaces.htmlindex 16f90df5..b3d5b0f9 100644--- a/site-src/docs-spaces.html+++ b/site-src/docs-spaces.html@@ -21,23 +21,25 @@ card_art: avatar:architect<li>Accounts, including custom API servers (see <a href="accounts.html">Accounts & profiles</a>)</li><li>Its approval rule and hiring rule</li></ul>-<p>Search, "While you were away" and Loose ends always show the space you have open.</p>+<p>Search, the Inbox (with its Loose ends tab) and the Mission board always show the space you have open.</p><h2 id="create">Creating and switching</h2><p>Create a space from the rail. Give it a name of up to 60 characters, one of 8 icons and one of 8 colours. Every install starts with a <strong>Default</strong> space, which you can rename but not archive.</p>-<p>Switch spaces by clicking the rail, from the space menu, or with <code>Ctrl</code> + <code>1</code>–<code>9</code> (<code>⌘</code> on a Mac). Each space has its own address, <code>/s/<space>/…</code>, so you can bookmark one or keep it in its own tab.</p>+<p>Switch spaces by clicking the rail (on a phone, tap the space name at the top), or with <code>Ctrl</code> + <code>1</code>–<code>9</code> (<code>⌘</code> on a Mac). Each space has its own address, <code>/s/<space>/…</code>, so you can bookmark one or keep it in its own tab.</p>-<h2 id="settings">Space settings</h2>+<h2 id="settings">Settings: This space and All spaces</h2>+<p>There is one Settings screen with two tabs. <strong>This space</strong> holds what belongs to the open space; open it with the gear next to the space name. <strong>All spaces</strong> holds the app-wide settings: where you are, Usage, the Mission board, Notifications, Flight School, the computer bots use, signed-in devices and <strong>Install app</strong>; open it with the gear at the bottom of the rail. Every tab has its own address, such as <code>/s/<space>/settings/accounts</code>.</p><figure>- <div class="frame">{{shot:v2-space-settings|Space settings for a space, General tab: name, icon, colour, the approval rule with Ask before running commands, Ask only when risky and Don't ask, and Archive space.|(max-width: 860px) 100vw, 760px}}</div>+ <div class="frame">{{shot:v2-space-settings|Settings for one space (This space), General tab: name, icon, colour, the approval rule with Ask before running commands, Ask only when risky and Don't ask, and Archive space.|(max-width: 860px) 100vw, 760px}}</div></figure><div class="table-wrap"><table>- <thead><tr><th>Tab</th><th>What's there</th></tr></thead>+ <thead><tr><th>This space tab</th><th>What's there</th></tr></thead><tbody><tr><td>General</td><td>Name, icon, colour, the approval rule, and <strong>Archive space</strong></td></tr>- <tr><td>Accounts</td><td>This space's accounts for each engine</td></tr>+ <tr><td>Accounts</td><td>This space's accounts for each engine, plus API keys and the Ollama address</td></tr><tr><td>Kwant bots</td><td>The bots in this space, and the hiring rule</td></tr><tr><td>Teams</td><td>Teams and their leads</td></tr>+ <tr><td>Connections</td><td>Connected apps such as GitHub and Composio, and the logins bots may use</td></tr><tr><td>Tools</td><td>MCP servers and which bots can use them</td></tr><tr><td>Skills</td><td>Skills for the whole space</td></tr><tr><td>Routines</td><td>Every routine in the space</td></tr>diff --git a/site-src/features.html b/site-src/features.htmlindex 65d7d10f..61e30b61 100644--- a/site-src/features.html+++ b/site-src/features.html@@ -96,7 +96,7 @@ card_art: team<p>kwant notices tasks you ask for on a rhythm and offers a routine for them. Nothing is made until you press Accept. Off by default.</p></div><ul class="flist">- <li id="suggested"><h3>Suggested routines (off by default)</h3><p>Turn on "Suggest routines from repeated tasks" in Settings → Mission board. kwant looks at the board tasks you made over the last 120 days and finds ones you ask for daily, on weekdays, weekly or monthly. At most 2 new suggestions a day, each with its schedule, first run, checks and the tasks it came from.</p></li>+ <li id="suggested"><h3>Suggested routines (off by default)</h3><p>Turn on "Suggest routines from repeated tasks" in Settings → All spaces → Mission board. kwant looks at the board tasks you made over the last 120 days and finds ones you ask for daily, on weekdays, weekly or monthly. At most 2 new suggestions a day, each with its schedule, first run, checks and the tasks it came from.</p></li><li id="accept"><h3>Accept or dismiss</h3><p>Accept opens the routine form so you can change it first. Dismiss hides a suggestion for 30 days. Routines made this way carry a "Suggested for you" badge.</p></li><li id="good-run"><h3>Routines know what a good run is</h3><p>A routine can carry a Flight School class, a description of a good result and checks. A run that passes its checks is verified on its own. Only you set the class and the checks.</p></li><li id="truth-ledger"><h3>Truth Ledger (off by default)</h3><p>A preview in 0.5. Since 0.6, when you turn it on, bots read their notes from the shared list of facts. Notes a bot wrote after reading a web page, a file or another tool stay Unconfirmed until you confirm them, and conflicting facts wait for you. <a href="docs/truth-ledger.html">Truth Ledger docs</a>.</p></li>@@ -119,7 +119,7 @@ card_art: team<li id="relayed"><h3>@mentions in a result hand work on</h3><p>When QA's result says "@Frontend could switch the header", Frontend gets that task even if the lead doesn't pass it on. The lead hears back once, with every result.</p></li><li id="one-mention"><h3>One @mention picks who answers</h3><p>"@Frontend why didn't you answer QA" goes to Frontend, even though it names QA. Two @mentions still go to the lead.</p></li><li id="screenshots"><h3>Bots see the page</h3><p>A <code>browser_screenshot</code> tool hands Claude and Codex bots a real picture of the page, at a width they choose (390 for a phone, 1280 for a desktop), so a designer can check layout, colours and spacing.</p></li>- <li id="no-limits"><h3>No token limits by default</h3><p>Tasks, missions and hand-offs no longer stop at a hidden token budget. Set one in Settings → Usage if you want it. Hand-off caps (4 per bot, 16 per request) still stop loops, with a Continue button.</p></li>+ <li id="no-limits"><h3>No token limits by default</h3><p>Tasks, missions and hand-offs no longer stop at a hidden token budget. Set one in Settings → All spaces → Usage if you want it. Hand-off caps (4 per bot, 16 per request) still stop loops, with a Continue button.</p></li></ul><p class="section-foot"><a class="more-link" href="docs/mission-board.html#lead-review">How lead review works →</a></p></div>@@ -306,11 +306,11 @@ card_art: team</div><div class="grid two"><article class="card">- <span class="shot">{{shot:v2-space-settings|Space settings for a space, General tab: name, icon, colour, the approval rule with Ask before running commands, Ask only when risky and Don't ask, and Archive space.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px}}</span>+ <span class="shot">{{shot:v2-space-settings|Settings for one space (This space), General tab: name, icon, colour, the approval rule with Ask before running commands, Ask only when risky and Don't ask, and Archive space.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px}}</span><div class="card-body"><h3>Rules per space</h3><p>Each space has its own approval rule and hiring rule.</p></div></article><article class="card">- <span class="shot">{{shot:v2-accounts|Space settings, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px}}</span>+ <span class="shot">{{shot:v2-accounts|Settings, This space, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px}}</span><div class="card-body"><h3>Accounts per space</h3><p>See every account at a glance: which is the default, which is in use, and which ran out and when it's back.</p></div></article></div>@@ -347,7 +347,7 @@ card_art: team</div><ul class="flist"><li><h3>Follow-ups</h3><p>A bot can set itself a one-off check-in, like looking at a deploy in an hour.</p></li>- <li><h3>While you were away</h3><p>What is waiting on you, what finished and what failed or got stuck, with questions and approvals answered in place.</p></li>+ <li><h3>Inbox</h3><p>What happened while you were away: what is waiting on you, what finished and what failed or got stuck, with questions and approvals answered in place.</p></li><li><h3>Letters</h3><p>Photograph a bill or notice. kwant reads the sender, the ask, the deadline and amounts, and reminds you before it is due.</p></li><li><h3>Never sends</h3><p>Loose ends and letters draft the reply. You copy it or open it in your mail app.</p></li><li><h3>Notifications</h3><p>Browser notifications, or an HTTPS webhook such as ntfy for your phone.</p></li>@@ -378,7 +378,7 @@ card_art: team<li><h3>Three approval modes</h3><p>Ask only when risky, the default for new spaces. Or ask before running commands, or don't ask. Per space, and per bot.</p></li><li><h3>Changes with an Undo</h3><p>Bots create routines, channels and bots when asked, each with an Undo. Deletions ask first.</p></li><li><h3>Things bots can't change</h3><p>Keys and secrets, sign-ins, approval rules and computer mode stay yours.</p></li>- <li><h3>Sign in your phone with a QR code</h3><p>Settings → Signed-in devices shows a one-time QR code for a new phone or browser, and lists your signed-in browsers with Sign out.</p></li>+ <li><h3>Sign in your phone with a QR code</h3><p>Settings → All spaces → Signed-in devices shows a one-time QR code for a new phone or browser, and lists your signed-in browsers with Sign out.</p></li><li><h3>Approve a new device</h3><p>A new browser can ask for access with a 10-minute code. Your signed-in browsers show the code, the browser and its IP, with Approve or Deny.</p></li><li><h3>kwant's secrets are off limits</h3><p>In every mode, tool calls that name kwant's own secret files are refused.</p></li><li><h3>Safe imports</h3><p>Imported bots arrive with no tools and no keys. Their skills wait for approval and their routines start paused.</p></li>@@ -477,7 +477,7 @@ card_art: team</dl><div class="grid two"><article class="card">- <span class="shot">{{shot:v2-computer-mode|App settings: the Laya router status and the choice of computer for browsing and commands, Local computer or VM.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px}}</span>+ <span class="shot">{{shot:v2-computer-mode|Settings, All spaces: the Laya router status and the choice of computer for browsing and commands, Local computer or VM.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px}}</span><div class="card-body"><h3>Local or VM</h3><p>Bots browse and run commands on your computer, or in Docker containers kept away from your files.</p></div></article><article class="card">@@ -490,7 +490,7 @@ card_art: team<li><h3>Laptop or VPS</h3><p>Nothing to sign in to locally. On a server, open the link it prints once. Docker Compose and a systemd unit are included.</p></li><li><h3>Any CLI or API</h3><p>The <code>claude</code>, <code>codex</code> or <code>grok</code> CLI, or Anthropic, OpenAI or xAI keys.</p></li><li><h3>MCP tools</h3><p>Add any MCP server and pick which bots can use it. OAuth for servers that need a sign-in.</p></li>- <li><h3>Composio, optional</h3><p>Under <strong>Connections</strong>, add Composio to reach Gmail, Slack, Notion, Linear and more. It's off until you switch it on, and those sign-ins live on Composio's servers, not in kwant's vault.</p></li>+ <li><h3>Composio, optional</h3><p>Under <strong>Settings → This space → Connections</strong>, add Composio to reach Gmail, Slack, Notion, Linear and more. It's off until you switch it on, and those sign-ins live on Composio's servers, not in kwant's vault.</p></li><li><h3>A shared browser</h3><p>Bots browse in kwant's own browser profile, or in a container in VM mode.</p></li><li><h3>Your data, one folder</h3><p>Chats, bots and settings live in <code>~/.kwnt</code> by default.</p></li></ul>diff --git a/site-src/index.html b/site-src/index.htmlindex b62743c6..9288ba39 100644--- a/site-src/index.html+++ b/site-src/index.html@@ -113,7 +113,7 @@ card_art: scene<p>Claude, Codex or Grok logins, API keys and your own server. When one runs out of usage, the turn moves to the next and the chat says so.</p><a class="more-link" href="docs/accounts.html">Accounts & profiles →</a></div>- <div class="frame">{{shot:v2-accounts|Space settings, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in.}}</div>+ <div class="frame">{{shot:v2-accounts|Settings, This space, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in.}}</div></div></div></section>@@ -195,7 +195,7 @@ card_art: scene<div class="tiles three"><figure class="tile"><div class="frame">{{shot:v2-away|While you were away. Waiting on you: Designer's question about a hero image, with answer buttons. Finished: a handoff and a weekly digest. Failed or stuck: a price scan blocked with a 403 and a smoke test that stopped at 9 of 22.|(max-width: 860px) 100vw, 380px}}</div>- <figcaption><h3>While you were away</h3><p>What's waiting on you, what finished and what got stuck, on one page.</p></figcaption>+ <figcaption><h3>Inbox</h3><p>What happened while you were away: what's waiting on you, what finished and what got stuck, on one page.</p></figcaption></figure><figure class="tile"><div class="frame">{{shot:v2-loose-ends-stalled|Loose ends. Designer has waited four days for your pick of a hero image, and you promised Mara a press kit by email. Each case quotes the message it is based on and has a draft reply.|(max-width: 860px) 100vw, 380px}}</div>diff --git a/site/docs/accounts.html b/site/docs/accounts.htmlindex 6c6da6c1..ddcb2bf6 100644--- a/site/docs/accounts.html+++ b/site/docs/accounts.html@@ -20,7 +20,7 @@<meta property="og:image:height" content="630"><meta property="og:image:alt" content="Accounts & profiles: Several accounts per engine, with a default, a priority order and failover."><meta property="article:published_time" content="2026-10-22">-<meta property="article:modified_time" content="2026-10-29">+<meta property="article:modified_time" content="2026-11-01"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="Multiple Claude, Codex & Grok accounts · kwant"><meta name="twitter:description" content="Add several logins or API keys per engine, plus OpenAI- or Anthropic-compatible servers, with a priority order and failover when one runs out of usage.">@@ -60,8 +60,8 @@<h1>Multiple Claude, Codex and Grok accounts</h1><p class="intro">Use every account you have. A space can hold several accounts per engine, for example a work Claude subscription, a personal one and an API key. When one runs out of usage, kwant moves the turn to the next.</p><figure>- <div class="frame"><a class="zoom" href="../assets/media/v2-accounts-2880.webp?v=eb3b831a35" data-caption="Space settings, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in."><img src="../assets/media/v2-accounts-1440.webp?v=5936fa5894" srcset="../assets/media/v2-accounts-1440.webp?v=5936fa5894 1440w, ../assets/media/v2-accounts-2880.webp?v=eb3b831a35 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="Space settings, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in."></a></div>- <figcaption>Accounts live under <strong>Space settings → Accounts</strong>, and belong to that space.</figcaption>+ <div class="frame"><a class="zoom" href="../assets/media/v2-accounts-2880.webp?v=eb3b831a35" data-caption="Settings, This space, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in."><img src="../assets/media/v2-accounts-1440.webp?v=5936fa5894" srcset="../assets/media/v2-accounts-1440.webp?v=5936fa5894 1440w, ../assets/media/v2-accounts-2880.webp?v=eb3b831a35 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="Settings, This space, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in."></a></div>+ <figcaption>Accounts live under <strong>Settings → This space → Accounts</strong>, and belong to that space.</figcaption></figure><h2 id="profiles">Account profiles</h2>@@ -143,7 +143,7 @@</footer><script src="../assets/js/site.js?v=c490c973ba" defer></script><script src="../assets/js/pixel.js?v=ce88473d7b" defer></script>-<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/accounts#article","headline":"Multiple Claude, Codex & Grok accounts","description":"Add several logins or API keys per engine, plus OpenAI- or Anthropic-compatible servers, with a priority order and failover when one runs out of usage.","url":"https://kwant.si/docs/accounts","mainEntityOfPage":"https://kwant.si/docs/accounts","image":"https://kwant.si/assets/og/docs-accounts.png?v=a48089232e","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-10-29","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Accounts & profiles","item":"https://kwant.si/docs/accounts"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script>+<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/accounts#article","headline":"Multiple Claude, Codex & Grok accounts","description":"Add several logins or API keys per engine, plus OpenAI- or Anthropic-compatible servers, with a priority order and failover when one runs out of usage.","url":"https://kwant.si/docs/accounts","mainEntityOfPage":"https://kwant.si/docs/accounts","image":"https://kwant.si/assets/og/docs-accounts.png?v=a48089232e","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-11-01","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Accounts & profiles","item":"https://kwant.si/docs/accounts"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script><!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "7f6ed395033a43eea3885ad0943890c2"}'></script><!-- End Cloudflare Web Analytics --></body></html>diff --git a/site/docs/bots-and-teams.html b/site/docs/bots-and-teams.htmlindex 644e4d47..4ecf10d3 100644--- a/site/docs/bots-and-teams.html+++ b/site/docs/bots-and-teams.html@@ -20,7 +20,7 @@<meta property="og:image:height" content="630"><meta property="og:image:alt" content="Bots & teams: Persona presets, souls, teams with a lead, and handoffs between bots."><meta property="article:published_time" content="2026-10-22">-<meta property="article:modified_time" content="2026-10-31">+<meta property="article:modified_time" content="2026-11-01"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="AI agent teams: bots, leads & handoffs · kwant"><meta name="twitter:description" content="Create bots from persona presets, give each a soul and a model, group them into teams with a lead, and let them hand work to each other with @mentions.">@@ -118,7 +118,7 @@<p>Every bot knows its teammates in the current channel or team. When a reply @mentions a teammate, or <code>@everyone</code>, that teammate answers right after in the same chat. With the <a href="/docs/mission-board#lead-review">Mission board</a> on, each hand-off gets a card, and the bot that handed it out reviews the result.</p><ul><li><strong>Caps that stop loops:</strong> one bot can be asked up to 4 times per message, and one message can start up to 16 hand-offs. Past that, the chat shows a notice with a <strong>Continue</strong> button, or type "continue".</li>- <li><strong>No token limit by default:</strong> set one in <strong>Settings → Usage → Hand-offs per request</strong> if you want a request to pause after that many tokens. See <a href="/docs/mission-board#limits">Token limits</a>.</li>+ <li><strong>No token limit by default:</strong> set one in <strong>Settings → All spaces → Usage → Hand-offs per request</strong> if you want a request to pause after that many tokens. See <a href="/docs/mission-board#limits">Token limits</a>.</li></ul><figure><div class="frame"><a class="zoom" href="../assets/media/desktop-handoff-2880.webp?v=f09f8242e2" data-caption="Designer answers in the design-review channel, then @mentions QA, and QA picks it up."><img src="../assets/media/desktop-handoff-1440.webp?v=67386ee237" srcset="../assets/media/desktop-handoff-1440.webp?v=67386ee237 1440w, ../assets/media/desktop-handoff-2880.webp?v=f09f8242e2 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="Designer answers in the design-review channel, then @mentions QA, and QA picks it up."></a></div>@@ -143,7 +143,7 @@<h2 id="routines">Routines and follow-ups</h2><p>Bots with kwant's own tools can set things up for you when you ask, in the same turn: routines on a schedule (daily, weekly, monthly, every N minutes or once), one-off follow-ups, new bots, channels and spaces. Each change is applied at once with an undo. Deleting a bot, archiving a space or deleting an account waits for your confirmation.</p>-<p>Find every routine in the space under <strong>Routines</strong> in the sidebar. More in <a href="/docs/routines">Routines & bot actions</a>.</p>+<p>Find every routine in the space under <strong>Settings → This space → Routines</strong> (the gear next to the space name). More in <a href="/docs/routines">Routines & bot actions</a>.</p><nav class="pager" aria-label="Docs pages"><a class="prev" href="/docs/spaces"><small>Previous</small>Spaces</a><a class="next" href="/docs/accounts"><small>Next</small>Accounts & profiles</a></nav></article>@@ -190,7 +190,7 @@</footer><script src="../assets/js/site.js?v=c490c973ba" defer></script><script src="../assets/js/pixel.js?v=ce88473d7b" defer></script>-<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/bots-and-teams#article","headline":"AI agent teams: bots, leads & handoffs","description":"Create bots from persona presets, give each a soul and a model, group them into teams with a lead, and let them hand work to each other with @mentions.","url":"https://kwant.si/docs/bots-and-teams","mainEntityOfPage":"https://kwant.si/docs/bots-and-teams","image":"https://kwant.si/assets/og/docs-bots-and-teams.png?v=b027504528","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-10-31","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Bots & teams","item":"https://kwant.si/docs/bots-and-teams"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script>+<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/bots-and-teams#article","headline":"AI agent teams: bots, leads & handoffs","description":"Create bots from persona presets, give each a soul and a model, group them into teams with a lead, and let them hand work to each other with @mentions.","url":"https://kwant.si/docs/bots-and-teams","mainEntityOfPage":"https://kwant.si/docs/bots-and-teams","image":"https://kwant.si/assets/og/docs-bots-and-teams.png?v=b027504528","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-11-01","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Bots & teams","item":"https://kwant.si/docs/bots-and-teams"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script><!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "7f6ed395033a43eea3885ad0943890c2"}'></script><!-- End Cloudflare Web Analytics --></body></html>diff --git a/site/docs/browser.html b/site/docs/browser.htmlindex 0549fb30..346b0f21 100644--- a/site/docs/browser.html+++ b/site/docs/browser.html@@ -20,7 +20,7 @@<meta property="og:image:height" content="630"><meta property="og:image:alt" content="Browser: A bot browser shown live in the app: your own Chrome, or isolated in Docker."><meta property="article:published_time" content="2026-10-22">-<meta property="article:modified_time" content="2026-10-31">+<meta property="article:modified_time" content="2026-11-01"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="AI agent browser: your Chrome or Docker · kwant"><meta name="twitter:description" content="Watch your bots browse live in the app. Run the browser on your own Chrome in Local mode, or isolated in a Docker container in VM mode.">@@ -94,7 +94,7 @@</ul><h2 id="modes">Local or VM mode</h2>-<p>Choose where bots' browser and shell commands run in <strong>Settings → Computer</strong>, or with the browser panel's mode toggle. Switching takes effect at once, without a restart.</p>+<p>Choose where bots' browser and shell commands run in <strong>Settings → All spaces → Computer for browsing and commands</strong>, or with the browser panel's mode toggle. Switching takes effect at once, without a restart.</p><div class="table-wrap"><table><thead><tr><th></th><th>Local computer</th><th>VM</th></tr></thead><tbody>@@ -174,7 +174,7 @@ docker build -t kwnt-executor:v1 -f docker/executor.Dockerfile docker</code></pr</footer><script src="../assets/js/site.js?v=c490c973ba" defer></script><script src="../assets/js/pixel.js?v=ce88473d7b" defer></script>-<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/browser#article","headline":"AI agent browser: your Chrome or Docker","description":"Watch your bots browse live in the app. Run the browser on your own Chrome in Local mode, or isolated in a Docker container in VM mode.","url":"https://kwant.si/docs/browser","mainEntityOfPage":"https://kwant.si/docs/browser","image":"https://kwant.si/assets/og/docs-browser.png?v=7175e8f75c","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-10-31","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Browser","item":"https://kwant.si/docs/browser"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script>+<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/browser#article","headline":"AI agent browser: your Chrome or Docker","description":"Watch your bots browse live in the app. Run the browser on your own Chrome in Local mode, or isolated in a Docker container in VM mode.","url":"https://kwant.si/docs/browser","mainEntityOfPage":"https://kwant.si/docs/browser","image":"https://kwant.si/assets/og/docs-browser.png?v=7175e8f75c","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-11-01","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Browser","item":"https://kwant.si/docs/browser"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script><!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "7f6ed395033a43eea3885ad0943890c2"}'></script><!-- End Cloudflare Web Analytics --></body></html>diff --git a/site/docs/flight-school.html b/site/docs/flight-school.htmlindex b5ede06a..d9b37713 100644--- a/site/docs/flight-school.html+++ b/site/docs/flight-school.html@@ -72,7 +72,7 @@<p>A tier only ever <strong>adds</strong> approval cards. It never lets a bot skip one, even with approvals off.</p><h2 id="on">Turn it on</h2>-<p>Flight School is off until you switch it on in <strong>Settings → Flight School: limit what each bot may do on its own</strong>. While it is off, nothing on screen changes and no tier applies, whatever you saved.</p>+<p>Flight School is off until you switch it on in <strong>Settings → All spaces → Flight School: limit what each bot may do on its own</strong>. While it is off, nothing on screen changes and no tier applies, whatever you saved.</p><figure><div class="frame"><a class="zoom" href="../assets/media/v3-flight-settings-2880.webp?v=64d9872749" data-caption="Settings with the Flight School switch on. It says bots you already have stay at Act, and offers the tier that bots you add from now on start at, set to Sandbox."><img src="../assets/media/v3-flight-settings-1440.webp?v=e7a7c07637" srcset="../assets/media/v3-flight-settings-1440.webp?v=e7a7c07637 1440w, ../assets/media/v3-flight-settings-2880.webp?v=64d9872749 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="Settings with the Flight School switch on. It says bots you already have stay at Act, and offers the tier that bots you add from now on start at, set to Sandbox."></a></div><figcaption>Bots you already have stay at Act. New bots start at the tier you pick, Sandbox unless you change it.</figcaption>diff --git a/site/docs/install.html b/site/docs/install.htmlindex 1efe4df9..67a48bbf 100644--- a/site/docs/install.html+++ b/site/docs/install.html@@ -79,7 +79,7 @@<p class="note warn"><strong>The Linux app is a beta.</strong> We've tested it in clean installs of Ubuntu 22.04, Ubuntu 24.04 and Debian 12, but not yet on real desktops, so the tray icon, Wayland and HiDPI screens may behave differently on yours. It's x86_64 only for now: no ARM builds. Something wrong? <a href="https://github.com/alexsergivan/kwant/issues" rel="noopener">Open an issue</a>.</p><h2 id="app">Install the web app</h2>-<p>kwant bots also installs from the browser, so it opens in its own window. In Chrome or Edge, click <b>Install app</b> in the sidebar (or the install icon in the address bar). In Safari on a Mac, choose <b>File › Add to Dock</b>. On a phone, kwant shows how. Browsers only install pages served over https or from <code>127.0.0.1</code>, so a server needs an <a href="#proxy">HTTPS reverse proxy</a> first.</p>+<p>kwant bots also installs from the browser, so it opens in its own window. In Chrome or Edge, click <b>Install app</b> in <b>Settings → All spaces</b> (or the install icon in the address bar; the sidebar also offers it once, as a tip). In Safari on a Mac, choose <b>File › Add to Dock</b>. On a phone, kwant shows how. Browsers only install pages served over https or from <code>127.0.0.1</code>, so a server needs an <a href="#proxy">HTTPS reverse proxy</a> first.</p><h2 id="local">On your own computer</h2><p>Run <code>kwnt serve</code> and open <a href="http://127.0.0.1:8799">http://127.0.0.1:8799</a>. There's nothing to sign in to: requests from this machine need no token, and <code>kwnt serve</code> prints nothing about one.</p>@@ -103,7 +103,7 @@ ssh user@your-vps "kwnt serve --host 0.0.0.0 --port 8799"</code></pre><li><strong>Scripts:</strong> <code>kwnt token --raw</code> prints just the token, to send as <code>Authorization: Bearer <token></code>.</li><li>The token lives in <code><data dir>/api-token</code> (mode 0600), or set <code>KWNT_API_TOKEN</code> (16+ characters).</li></ul>-<p><strong>Adding a phone or another browser:</strong> once you're signed in, open <strong>Settings → Signed-in devices</strong> and choose <strong>Add a phone or browser</strong>. kwant shows a one-time QR code and a link to copy. Like the server's link, it works once, for 15 minutes. Scan it with your phone's camera and the panel changes to <strong>Signed in ✓</strong>. The QR code is drawn in your browser, and the code is hidden again when it expires, when you press <strong>Hide</strong> or <strong>New code</strong>, or when you leave the page.</p>+<p><strong>Adding a phone or another browser:</strong> once you're signed in, open <strong>Settings → All spaces → Signed-in devices</strong> and choose <strong>Add a phone or browser</strong>. kwant shows a one-time QR code and a link to copy. Like the server's link, it works once, for 15 minutes. Scan it with your phone's camera and the panel changes to <strong>Signed in ✓</strong>. The QR code is drawn in your browser, and the code is hidden again when it expires, when you press <strong>Hide</strong> or <strong>New code</strong>, or when you leave the page.</p><p><strong>Signed-in devices</strong> lists the browsers signed in with a link, a QR code or an approval, with <strong>Sign out</strong> for each one. The browser you're using is marked <strong>This device</strong> and has no Sign out button. Browsers signed in by pasting the API token aren't listed. Signing a browser out doesn't change the API token. On your own computer, where there's nothing to sign in to, this section doesn't appear.</p><p><strong>Signing in from a new device without a link:</strong> on the sign-in screen, choose <strong>Sign in from another device</strong>. The new browser shows a short code, valid for 10 minutes. Every browser that's already signed in shows <strong>New device wants access</strong> with the same code, the browser name and its IP address. Check that the code matches, then press <strong>Approve</strong>, and the new browser signs itself in. <strong>Approve only a code that's on a screen you're holding right now.</strong> An approved device gets full control of kwant as you, so if someone asks you to approve a code, press <strong>Deny</strong>.</p><div class="note warn"><strong>The link signs in as you.</strong> Anyone who can read the server's output, or <code>docker compose logs</code> with Docker, can use it. Keep that output private.</div>@@ -135,7 +135,7 @@ KWNT_CLIS=claude,codex docker compose up -d --build <span class="c"># any of cdocker compose exec kwnt kwnt doctor <span class="c"># what works, and the fix for what doesn't</span>docker compose exec kwnt claude auth login <span class="c"># or codex login --device-auth, grok login --device-auth</span>docker compose exec kwnt kwnt token --raw <span class="c"># the token to paste on the sign-in screen</span></code></pre>-<p>Instead of CLIs you can add an API key in the app under <strong>Space settings → Accounts</strong>. CLI sign-ins persist in the <code>kwnt-home</code> volume and data in <code>kwnt-data</code>. The UI is published on <code>127.0.0.1:8799</code> only: put HTTPS in front (below) and set <code>KWNT_ALLOWED_ORIGINS=https://your.domain</code> in <code>.env</code>. With Caddy that's a two-line <code>Caddyfile</code>: <code>your.domain { reverse_proxy 127.0.0.1:8799 }</code>.</p>+<p>Instead of CLIs you can add an API key in the app under <strong>Settings → This space → Accounts</strong>. CLI sign-ins persist in the <code>kwnt-home</code> volume and data in <code>kwnt-data</code>. The UI is published on <code>127.0.0.1:8799</code> only: put HTTPS in front (below) and set <code>KWNT_ALLOWED_ORIGINS=https://your.domain</code> in <code>.env</code>. With Caddy that's a two-line <code>Caddyfile</code>: <code>your.domain { reverse_proxy 127.0.0.1:8799 }</code>.</p><p>Requests through Docker's published port count as remote, so sign in with a one-time link: <code>docker compose exec kwnt kwnt signin-link</code> prints a new one (and a QR code), or paste the token from <code>docker compose exec kwnt kwnt token --raw</code>. kwant's own <code>execute_shell</code> tool isn't available in this stack, because it would need the host's Docker socket; the CLIs' shell tools work. Upgrading from an older image, where kwnt ran as root? If it says <code>/data isn't writable</code>, run once: <code>docker compose run --rm -u root kwnt chown -R 10001:10001 /data</code>.</p><h2 id="deps">Without Docker: <code>kwnt setup</code>, then <code>kwnt doctor</code></h2>diff --git a/site/docs/mcp.html b/site/docs/mcp.htmlindex e275ad62..0b110619 100644--- a/site/docs/mcp.html+++ b/site/docs/mcp.html@@ -20,7 +20,7 @@<meta property="og:image:height" content="630"><meta property="og:image:alt" content="MCP tools: Give bots tools through MCP servers, with per-bot access and approvals."><meta property="article:published_time" content="2026-10-22">-<meta property="article:modified_time" content="2026-10-29">+<meta property="article:modified_time" content="2026-11-01"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="MCP tools for AI agents: a self-hosted client · kwant"><meta name="twitter:description" content="Connect Model Context Protocol servers to your kwant bots, with per-bot access, masked secrets, OAuth sign-in and approval before risky tool calls.">@@ -81,8 +81,8 @@<p>Bots can search the official MCP Registry and post a suggestion card in the chat. A suggestion installs nothing: you install it, with one click, and only exact versions from the default npm and PyPI registries, Docker images or HTTPS endpoints qualify. Cards for servers that would run on your computer say so.</p><h2 id="composio">Composio (optional)</h2>-<p><a href="https://composio.dev" rel="noopener">Composio</a> gives your bots Gmail, Slack, Notion, Linear and many more apps through one MCP server. Open <strong>Connections → Optional connectors → Composio → Add</strong>, then paste the MCP address from your Composio dashboard (an https address on composio.dev) and your Composio API key. It's added switched off, so switch it on when you're ready.</p>-<div class="note warn"><strong>Composio keeps those app sign-ins on its own servers,</strong> not in kwant's vault. The Connections page says so next to the button.</div>+<p><a href="https://composio.dev" rel="noopener">Composio</a> gives your bots Gmail, Slack, Notion, Linear and many more apps through one MCP server. Open <strong>Settings → This space → Connections → Optional connectors → Composio → Add</strong>, then paste the MCP address from your Composio dashboard (an https address on composio.dev) and your Composio API key. It's added switched off, so switch it on when you're ready.</p>+<div class="note warn"><strong>Composio keeps those app sign-ins on its own servers,</strong> not in kwant's vault. The Connections tab says so next to the button.</div><h2 id="approvals">Approvals for tools</h2><p>MCP tool calls follow the bot's <a href="/docs/approvals#modes">approval mode</a>. Under "Ask only when risky", tools the server marks read-only and not destructive run without a card. That's the server's own claim, and if kwant can't check it, the call asks. Every call a bot makes is recorded on its reply.</p>@@ -153,7 +153,7 @@ curl -X POST http://127.0.0.1:8799/api/mcp/servers \</footer><script src="../assets/js/site.js?v=c490c973ba" defer></script><script src="../assets/js/pixel.js?v=ce88473d7b" defer></script>-<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/mcp#article","headline":"MCP tools for AI agents: a self-hosted client","description":"Connect Model Context Protocol servers to your kwant bots, with per-bot access, masked secrets, OAuth sign-in and approval before risky tool calls.","url":"https://kwant.si/docs/mcp","mainEntityOfPage":"https://kwant.si/docs/mcp","image":"https://kwant.si/assets/og/docs-mcp.png?v=1e10ed37cf","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-10-29","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"MCP tools","item":"https://kwant.si/docs/mcp"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script>+<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/mcp#article","headline":"MCP tools for AI agents: a self-hosted client","description":"Connect Model Context Protocol servers to your kwant bots, with per-bot access, masked secrets, OAuth sign-in and approval before risky tool calls.","url":"https://kwant.si/docs/mcp","mainEntityOfPage":"https://kwant.si/docs/mcp","image":"https://kwant.si/assets/og/docs-mcp.png?v=1e10ed37cf","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-11-01","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"MCP tools","item":"https://kwant.si/docs/mcp"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script><!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "7f6ed395033a43eea3885ad0943890c2"}'></script><!-- End Cloudflare Web Analytics --></body></html>diff --git a/site/docs/mission-board.html b/site/docs/mission-board.htmlindex 3cb2af1e..d8e57a0b 100644--- a/site/docs/mission-board.html+++ b/site/docs/mission-board.html@@ -65,7 +65,7 @@</figure><h2 id="on">On from the start</h2>-<p>The board is on from the start. To hide it, turn off <strong>Settings → Mission board → Show the Mission board</strong>. Turning it off hides the board and stops new tasks; nothing is deleted.</p>+<p>The board is on from the start. To hide it, turn off <strong>Settings → All spaces → Mission board → Show the Mission board</strong>. Turning it off hides the board and stops new tasks; nothing is deleted.</p><h2 id="columns">The columns</h2><div class="table-wrap"><table>@@ -114,7 +114,7 @@<p>Since 0.3.0 nothing has a token limit by default: tasks, missions and requests that hand work around run until they're done. A task or mission shows plain usage, such as "64.9k tokens used".</p><ul><li><strong>Set a limit</strong> next to Cost on a task, or under a mission's cost, offers 50k, 200k, 1M or a custom amount. A task stopped by its limit offers <strong>Remove limit and continue</strong> and <strong>Raise limit</strong>.</li>- <li><strong>Settings → Usage</strong> sets defaults: <strong>Token limits</strong> for new tasks and missions, and <strong>Hand-offs per request</strong> for the tokens one request may spend on bots handing work to each other. Both start at <strong>No limit</strong>. With a limit set, a request pauses there and offers <strong>Continue</strong>.</li>+ <li><strong>Settings → All spaces → Usage</strong> sets defaults: <strong>Token limits</strong> for new tasks and missions, and <strong>Hand-offs per request</strong> for the tokens one request may spend on bots handing work to each other. Both start at <strong>No limit</strong>. With a limit set, a request pauses there and offers <strong>Continue</strong>.</li><li>Updating to 0.4.0 switches off a hand-off limit still at the old 200k default, once. A number you set yourself stays.</li></ul><p>What stops runaway loops are the hand-off caps: one bot can be asked up to 4 times per message, and one message can start up to 16 hand-offs. Past that, the chat shows "Paused after 16 hand-offs so it doesn't loop. Continue?" with a <strong>Continue</strong> button, or you can type "continue".</p>@@ -137,7 +137,7 @@<p>Checkpoints stay on your server.</p><h2 id="autofix">AutoFix</h2>-<p>When a task fails, its panel says why in plain words and what to fix. Turn on AutoFix in <strong>Settings → Mission board → Retry failed tasks with AutoFix</strong> and it plans a retry that fits the failure:</p>+<p>When a task fails, its panel says why in plain words and what to fix. Turn on AutoFix in <strong>Settings → All spaces → Mission board → Retry failed tasks with AutoFix</strong> and it plans a retry that fits the failure:</p><ul><li><strong>A temporary error</strong>, like a timeout or an overloaded service: it waits 1, then 5, then 25 minutes and tries again.</li><li><strong>A failed check</strong>: it runs the task again and passes along what the check said.</li>@@ -179,7 +179,7 @@<p>Filter by kind of work, bot and period (30 days, 90 days or all time). A group with fewer than 5 tasks says "few tasks", so a lucky streak doesn't look like a trend. It's report-only: the numbers never change which bot gets work, and only you can see them. Tasks finished before the update are counted too.</p><h2 id="auditor">Swarm Auditor and open risks</h2>-<p>The Auditor is off by default. Turn it on in <strong>Settings → Mission board → Challenge important work with an audit</strong>. Then a task gets one challenge when it reaches Review if it's high or urgent priority, or if no outside check will judge it:</p>+<p>The Auditor is off by default. Turn it on in <strong>Settings → All spaces → Mission board → Challenge important work with an audit</strong>. Then a task gets one challenge when it reaches Review if it's high or urgent priority, or if no outside check will judge it:</p><ol><li>A teammate from outside the owner's lead loop lists concrete risks, each with evidence.</li><li>The owner answers once.</li>diff --git a/site/docs/models.html b/site/docs/models.htmlindex 2c8566b5..b89e7cae 100644--- a/site/docs/models.html+++ b/site/docs/models.html@@ -20,7 +20,7 @@<meta property="og:image:height" content="630"><meta property="og:image:alt" content="Models & routing: The engines kwant runs on, and the router that picks the bot and the model."><meta property="article:published_time" content="2026-10-22">-<meta property="article:modified_time" content="2026-10-29">+<meta property="article:modified_time" content="2026-11-01"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="Models & routing: Claude, Codex, Grok, Ollama · kwant"><meta name="twitter:description" content="Run bots on the Claude, Codex or Grok CLIs, API keys, local Ollama or any OpenAI-compatible server. The Laya router picks who answers, and which model.">@@ -70,7 +70,7 @@<p>Each bot has a preferred model. Set it to <strong>auto</strong> and kwant picks the model and effort for every message.</p><h2 id="ollama">Ollama (local models)</h2>-<p>kwant talks to Ollama at <code>http://localhost:11434</code>. To use another address, change <strong>Ollama Base URL</strong> under <strong>Settings → API keys and Ollama</strong>, or set <code>OLLAMA_URL</code>. The engine shows as ready once the server answers and has at least one model pulled, for example with <code>ollama pull llama3.2</code>.</p>+<p>kwant talks to Ollama at <code>http://localhost:11434</code>. To use another address, change <strong>Ollama Base URL</strong> under <strong>Settings → This space → Accounts</strong>, or set <code>OLLAMA_URL</code>. The engine shows as ready once the server answers and has at least one model pulled, for example with <code>ollama pull llama3.2</code>.</p><p>Pick Ollama in a bot's model setting to use your default model, the one in <code>OLLAMA_MODEL</code> or else the first one pulled, or pick a pulled model by name. Ollama bots can use <a href="/docs/mcp">MCP tools</a>. When a bot is set to auto and a message asks to keep things on this machine, for example "keep this private" or "offline", the router can keep it on Ollama, if Ollama is ready.</p><h2 id="accounts">Accounts</h2>@@ -141,7 +141,7 @@</footer><script src="../assets/js/site.js?v=c490c973ba" defer></script><script src="../assets/js/pixel.js?v=ce88473d7b" defer></script>-<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/models#article","headline":"Models & routing: Claude, Codex, Grok, Ollama","description":"Run bots on the Claude, Codex or Grok CLIs, API keys, local Ollama or any OpenAI-compatible server. The Laya router picks who answers, and which model.","url":"https://kwant.si/docs/models","mainEntityOfPage":"https://kwant.si/docs/models","image":"https://kwant.si/assets/og/docs-models.png?v=f251eb8e2d","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-10-29","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Models & routing","item":"https://kwant.si/docs/models"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script>+<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/models#article","headline":"Models & routing: Claude, Codex, Grok, Ollama","description":"Run bots on the Claude, Codex or Grok CLIs, API keys, local Ollama or any OpenAI-compatible server. The Laya router picks who answers, and which model.","url":"https://kwant.si/docs/models","mainEntityOfPage":"https://kwant.si/docs/models","image":"https://kwant.si/assets/og/docs-models.png?v=f251eb8e2d","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-11-01","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Models & routing","item":"https://kwant.si/docs/models"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script><!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "7f6ed395033a43eea3885ad0943890c2"}'></script><!-- End Cloudflare Web Analytics --></body></html>diff --git a/site/docs/quickstart.html b/site/docs/quickstart.htmlindex 141b9e54..e82cc514 100644--- a/site/docs/quickstart.html+++ b/site/docs/quickstart.html@@ -20,7 +20,7 @@<meta property="og:image:height" content="630"><meta property="og:image:alt" content="Quickstart: Build kwant from a fresh clone and ask your first team of bots a question."><meta property="article:published_time" content="2026-10-22">-<meta property="article:modified_time" content="2026-10-29">+<meta property="article:modified_time" content="2026-11-01"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="Quickstart: run a team of AI agents locally · kwant"><meta name="twitter:description" content="Build kwant from a fresh clone, add a Claude, Codex or Grok login or an API key, and ask your first team of AI bots a question.">@@ -68,7 +68,7 @@<ul><li>the <a href="https://docs.anthropic.com/en/docs/claude-code" rel="noopener"><code>claude</code> CLI</a>, installed. You don't need to sign it in first, because kwant has a <strong>Sign in with Claude</strong> button;</li><li>the <code>codex</code> or <code>grok</code> CLI, signed in on the same machine (<code>codex login</code>, <code>grok login</code>);</li>- <li>an Anthropic, OpenAI or xAI API key, which you add in the app under <strong>Space settings → Accounts</strong>.</li>+ <li>an Anthropic, OpenAI or xAI API key, which you add in the app under <strong>Settings → This space → Accounts</strong>.</li></ul></li><li>Optional: <strong>Docker</strong> for VM mode and the bots' shared browser, and <a href="https://docs.astral.sh/uv/" rel="noopener"><code>uv</code></a> or <code>python3</code> for the Laya router.</li>@@ -87,7 +87,7 @@ make run <span class="c"># builds the web app, then runs `cargo run -- serve`<<ul><li><strong>Claude:</strong> click <strong>Sign in with Claude</strong>, open the link and paste the code shown back into kwant.</li><li><strong>Codex or Grok:</strong> sign the CLI in on this machine, and kwant uses it as is.</li>- <li><strong>API key:</strong> open <strong>Space settings → Accounts</strong> and add an Anthropic, OpenAI or xAI key. Keys are write-only: the app never shows them again.</li>+ <li><strong>API key:</strong> open <strong>Settings → This space → Accounts</strong> and add an Anthropic, OpenAI or xAI key. Keys are write-only: the app never shows them again.</li></ul><p>You can add several accounts per engine, such as a work and a personal one. See <a href="/docs/accounts">Accounts & profiles</a>.</p>@@ -165,7 +165,7 @@ cd frontend && npm test <span class="c"># web app tests</span></code></</footer><script src="../assets/js/site.js?v=c490c973ba" defer></script><script src="../assets/js/pixel.js?v=ce88473d7b" defer></script>-<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/quickstart#article","headline":"Quickstart: run a team of AI agents locally","description":"Build kwant from a fresh clone, add a Claude, Codex or Grok login or an API key, and ask your first team of AI bots a question.","url":"https://kwant.si/docs/quickstart","mainEntityOfPage":"https://kwant.si/docs/quickstart","image":"https://kwant.si/assets/og/docs-quickstart.png?v=c651993171","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-10-29","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Quickstart","item":"https://kwant.si/docs/quickstart"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script>+<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/quickstart#article","headline":"Quickstart: run a team of AI agents locally","description":"Build kwant from a fresh clone, add a Claude, Codex or Grok login or an API key, and ask your first team of AI bots a question.","url":"https://kwant.si/docs/quickstart","mainEntityOfPage":"https://kwant.si/docs/quickstart","image":"https://kwant.si/assets/og/docs-quickstart.png?v=c651993171","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-11-01","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Quickstart","item":"https://kwant.si/docs/quickstart"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script><!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "7f6ed395033a43eea3885ad0943890c2"}'></script><!-- End Cloudflare Web Analytics --></body></html>diff --git a/site/docs/routines.html b/site/docs/routines.htmlindex 46cb3703..f26a5eac 100644--- a/site/docs/routines.html+++ b/site/docs/routines.html@@ -20,7 +20,7 @@<meta property="og:image:height" content="630"><meta property="og:image:alt" content="Routines & bot actions: Schedule work, let bots set things up with an Undo, and decide who hires."><meta property="article:published_time" content="2026-10-22">-<meta property="article:modified_time" content="2026-10-31">+<meta property="article:modified_time" content="2026-11-01"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="Scheduled AI agents: routines & cron · kwant"><meta name="twitter:description" content="Schedule bot work with routines, cron rules and follow-ups that run on your own machine, with an Undo on every change bots make.">@@ -62,7 +62,7 @@<div class="note"><strong>Not Anthropic's Routines.</strong> kwant routines run inside kwant on your own machine or server. They aren't the Routines feature of Anthropic's Claude Code, and kwant isn't affiliated with Anthropic.</div><h2 id="routines">Routines</h2>-<p>A routine sends a prompt to a bot on a schedule and posts the answer in a channel, the bot's direct chat or a thread. Create one with <strong>New routine</strong> in a bot's Routines tab or under <strong>Space settings → Routines</strong>, or ask a bot to do it.</p>+<p>A routine sends a prompt to a bot on a schedule and posts the answer in a channel, the bot's direct chat or a thread. Create one with <strong>New routine</strong> in a bot's Routines tab or under <strong>Settings → This space → Routines</strong>, or ask a bot to do it.</p><figure><div class="frame"><a class="zoom" href="../assets/media/v2-routines-2880.webp?v=168ab24be4" data-caption="The routines panel: a Monday metrics digest, a paused competitor price scan whose last run failed, a weekday morning release check and a follow-up, each with Run now, History, Edit and Delete."><img src="../assets/media/v2-routines-1440.webp?v=34b043d179" srcset="../assets/media/v2-routines-1440.webp?v=34b043d179 1440w, ../assets/media/v2-routines-2880.webp?v=168ab24be4 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="The routines panel: a Monday metrics digest, a paused competitor price scan whose last run failed, a weekday morning release check and a follow-up, each with Run now, History, Edit and Delete."></a></div></figure>@@ -86,7 +86,7 @@<p>A routine can carry a <a href="/docs/flight-school">Flight School</a> class, a description of a good result and checks. Each run's board task gets them, with the checks already approved, so a run that passes its checks is verified on its own. Only you set the class and the checks. Routines without them run as before.</p><h2 id="suggested">Suggested routines</h2>-<p>kwant can notice tasks you ask for on a rhythm and offer a routine for them. It's <strong>off by default</strong>: turn on <strong>Suggest routines from repeated tasks</strong> in <strong>Settings → Mission board</strong>, and pick how many new suggestions a day (0–10, 2 by default).</p>+<p>kwant can notice tasks you ask for on a rhythm and offer a routine for them. It's <strong>off by default</strong>: turn on <strong>Suggest routines from repeated tasks</strong> in <strong>Settings → All spaces → Mission board</strong>, and pick how many new suggestions a day (0–10, 2 by default).</p><ul><li><strong>What it looks at:</strong> the board tasks you made over the last 120 days, asked for daily, on weekdays, weekly on up to three days or monthly, in your time zone. Tasks made by bots, routines, hand-offs or chats never count.</li><li><strong>What qualifies:</strong> habits that were mostly verified, mostly done by one bot and not already covered by a routine.</li>@@ -119,11 +119,11 @@<li>Each space sets its rule: <strong>Ask me each time</strong>, or <strong>Hire at once</strong> with at most 3 automatic hires per 24 hours.</li></ul><figure>- <div class="frame"><a class="zoom" href="../assets/media/v2-hire-policy-2880.webp?v=e878d9dcba" data-caption="Space settings, Kwant bots tab: the bot list with Export and Edit, and the hiring rule, Ask me each time or Hire at once, with 0 of 3 automatic hires used in 24 hours."><img src="../assets/media/v2-hire-policy-1440.webp?v=da0ca814b1" srcset="../assets/media/v2-hire-policy-1440.webp?v=da0ca814b1 1440w, ../assets/media/v2-hire-policy-2880.webp?v=e878d9dcba 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="Space settings, Kwant bots tab: the bot list with Export and Edit, and the hiring rule, Ask me each time or Hire at once, with 0 of 3 automatic hires used in 24 hours."></a></div>+ <div class="frame"><a class="zoom" href="../assets/media/v2-hire-policy-2880.webp?v=e878d9dcba" data-caption="Settings, This space, Kwant bots tab: the bot list with Export and Edit, and the hiring rule, Ask me each time or Hire at once, with 0 of 3 automatic hires used in 24 hours."><img src="../assets/media/v2-hire-policy-1440.webp?v=da0ca814b1" srcset="../assets/media/v2-hire-policy-1440.webp?v=da0ca814b1 1440w, ../assets/media/v2-hire-policy-2880.webp?v=e878d9dcba 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="Settings, This space, Kwant bots tab: the bot list with Export and Edit, and the hiring rule, Ask me each time or Hire at once, with 0 of 3 automatic hires used in 24 hours."></a></div></figure>-<h2 id="away">While you were away</h2>-<p>Open <strong>While you were away</strong> from the sidebar (the badge counts what's new) or the inbox tab on a phone. It lists what changed since you last marked it seen, or the last 7 days the first time.</p>+<h2 id="away">Inbox: what happened while you were away</h2>+<p>Open <strong>Inbox</strong> from the sidebar (the badge counts what's new) or the Inbox tab on a phone. Its <strong>New</strong> tab lists what changed since you last marked it seen, or the last 7 days the first time; <strong>Loose ends</strong> is the second tab (see <a href="/docs/loose-ends">Loose ends & letters</a>).</p><ul><li><strong>Waiting on you:</strong> questions and approvals, which you can answer right there.</li><li><strong>Finished:</strong> handoffs and routine runs that are done.</li>@@ -179,7 +179,7 @@</footer><script src="../assets/js/site.js?v=c490c973ba" defer></script><script src="../assets/js/pixel.js?v=ce88473d7b" defer></script>-<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/routines#article","headline":"Scheduled AI agents: routines & cron","description":"Schedule bot work with routines, cron rules and follow-ups that run on your own machine, with an Undo on every change bots make.","url":"https://kwant.si/docs/routines","mainEntityOfPage":"https://kwant.si/docs/routines","image":"https://kwant.si/assets/og/docs-routines.png?v=7be758aed4","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-10-31","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Routines & bot actions","item":"https://kwant.si/docs/routines"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script>+<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/routines#article","headline":"Scheduled AI agents: routines & cron","description":"Schedule bot work with routines, cron rules and follow-ups that run on your own machine, with an Undo on every change bots make.","url":"https://kwant.si/docs/routines","mainEntityOfPage":"https://kwant.si/docs/routines","image":"https://kwant.si/assets/og/docs-routines.png?v=7be758aed4","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-11-01","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Routines & bot actions","item":"https://kwant.si/docs/routines"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script><!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "7f6ed395033a43eea3885ad0943890c2"}'></script><!-- End Cloudflare Web Analytics --></body></html>diff --git a/site/docs/spaces.html b/site/docs/spaces.htmlindex e96e6b01..78aad212 100644--- a/site/docs/spaces.html+++ b/site/docs/spaces.html@@ -20,7 +20,7 @@<meta property="og:image:height" content="630"><meta property="og:image:alt" content="Spaces: Keep work, side projects and home apart, each with its own bots and rules."><meta property="article:published_time" content="2026-10-22">-<meta property="article:modified_time" content="2026-10-29">+<meta property="article:modified_time" content="2026-11-01"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="Spaces: separate AI agents for work and home · kwant"><meta name="twitter:description" content="Keep work, side projects and home apart. Each space has its own bots, teams, channels, routines, skills, tool servers, accounts and approval rules.">@@ -72,23 +72,25 @@<li>Accounts, including custom API servers (see <a href="/docs/accounts">Accounts & profiles</a>)</li><li>Its approval rule and hiring rule</li></ul>-<p>Search, "While you were away" and Loose ends always show the space you have open.</p>+<p>Search, the Inbox (with its Loose ends tab) and the Mission board always show the space you have open.</p><h2 id="create">Creating and switching</h2><p>Create a space from the rail. Give it a name of up to 60 characters, one of 8 icons and one of 8 colours. Every install starts with a <strong>Default</strong> space, which you can rename but not archive.</p>-<p>Switch spaces by clicking the rail, from the space menu, or with <code>Ctrl</code> + <code>1</code>–<code>9</code> (<code>⌘</code> on a Mac). Each space has its own address, <code>/s/<space>/…</code>, so you can bookmark one or keep it in its own tab.</p>+<p>Switch spaces by clicking the rail (on a phone, tap the space name at the top), or with <code>Ctrl</code> + <code>1</code>–<code>9</code> (<code>⌘</code> on a Mac). Each space has its own address, <code>/s/<space>/…</code>, so you can bookmark one or keep it in its own tab.</p>-<h2 id="settings">Space settings</h2>+<h2 id="settings">Settings: This space and All spaces</h2>+<p>There is one Settings screen with two tabs. <strong>This space</strong> holds what belongs to the open space; open it with the gear next to the space name. <strong>All spaces</strong> holds the app-wide settings: where you are, Usage, the Mission board, Notifications, Flight School, the computer bots use, signed-in devices and <strong>Install app</strong>; open it with the gear at the bottom of the rail. Every tab has its own address, such as <code>/s/<space>/settings/accounts</code>.</p><figure>- <div class="frame"><a class="zoom" href="../assets/media/v2-space-settings-2880.webp?v=8a13b8dd7b" data-caption="Space settings for a space, General tab: name, icon, colour, the approval rule with Ask before running commands, Ask only when risky and Don't ask, and Archive space."><img src="../assets/media/v2-space-settings-1440.webp?v=822d315d39" srcset="../assets/media/v2-space-settings-1440.webp?v=822d315d39 1440w, ../assets/media/v2-space-settings-2880.webp?v=8a13b8dd7b 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="Space settings for a space, General tab: name, icon, colour, the approval rule with Ask before running commands, Ask only when risky and Don't ask, and Archive space."></a></div>+ <div class="frame"><a class="zoom" href="../assets/media/v2-space-settings-2880.webp?v=8a13b8dd7b" data-caption="Settings for one space (This space), General tab: name, icon, colour, the approval rule with Ask before running commands, Ask only when risky and Don't ask, and Archive space."><img src="../assets/media/v2-space-settings-1440.webp?v=822d315d39" srcset="../assets/media/v2-space-settings-1440.webp?v=822d315d39 1440w, ../assets/media/v2-space-settings-2880.webp?v=8a13b8dd7b 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="Settings for one space (This space), General tab: name, icon, colour, the approval rule with Ask before running commands, Ask only when risky and Don't ask, and Archive space."></a></div></figure><div class="table-wrap"><table>- <thead><tr><th>Tab</th><th>What's there</th></tr></thead>+ <thead><tr><th>This space tab</th><th>What's there</th></tr></thead><tbody><tr><td>General</td><td>Name, icon, colour, the approval rule, and <strong>Archive space</strong></td></tr>- <tr><td>Accounts</td><td>This space's accounts for each engine</td></tr>+ <tr><td>Accounts</td><td>This space's accounts for each engine, plus API keys and the Ollama address</td></tr><tr><td>Kwant bots</td><td>The bots in this space, and the hiring rule</td></tr><tr><td>Teams</td><td>Teams and their leads</td></tr>+ <tr><td>Connections</td><td>Connected apps such as GitHub and Composio, and the logins bots may use</td></tr><tr><td>Tools</td><td>MCP servers and which bots can use them</td></tr><tr><td>Skills</td><td>Skills for the whole space</td></tr><tr><td>Routines</td><td>Every routine in the space</td></tr>@@ -165,7 +167,7 @@</footer><script src="../assets/js/site.js?v=c490c973ba" defer></script><script src="../assets/js/pixel.js?v=ce88473d7b" defer></script>-<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/spaces#article","headline":"Spaces: separate AI agents for work and home","description":"Keep work, side projects and home apart. Each space has its own bots, teams, channels, routines, skills, tool servers, accounts and approval rules.","url":"https://kwant.si/docs/spaces","mainEntityOfPage":"https://kwant.si/docs/spaces","image":"https://kwant.si/assets/og/docs-spaces.png?v=619ff76f9a","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-10-29","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Spaces","item":"https://kwant.si/docs/spaces"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script>+<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/spaces#article","headline":"Spaces: separate AI agents for work and home","description":"Keep work, side projects and home apart. Each space has its own bots, teams, channels, routines, skills, tool servers, accounts and approval rules.","url":"https://kwant.si/docs/spaces","mainEntityOfPage":"https://kwant.si/docs/spaces","image":"https://kwant.si/assets/og/docs-spaces.png?v=619ff76f9a","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-11-01","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Spaces","item":"https://kwant.si/docs/spaces"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script><!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "7f6ed395033a43eea3885ad0943890c2"}'></script><!-- End Cloudflare Web Analytics --></body></html>diff --git a/site/features.html b/site/features.htmlindex 5c9cec82..1bffd03f 100644--- a/site/features.html+++ b/site/features.html@@ -136,7 +136,7 @@<p>kwant notices tasks you ask for on a rhythm and offers a routine for them. Nothing is made until you press Accept. Off by default.</p></div><ul class="flist">- <li id="suggested"><h3>Suggested routines (off by default)</h3><p>Turn on "Suggest routines from repeated tasks" in Settings → Mission board. kwant looks at the board tasks you made over the last 120 days and finds ones you ask for daily, on weekdays, weekly or monthly. At most 2 new suggestions a day, each with its schedule, first run, checks and the tasks it came from.</p></li>+ <li id="suggested"><h3>Suggested routines (off by default)</h3><p>Turn on "Suggest routines from repeated tasks" in Settings → All spaces → Mission board. kwant looks at the board tasks you made over the last 120 days and finds ones you ask for daily, on weekdays, weekly or monthly. At most 2 new suggestions a day, each with its schedule, first run, checks and the tasks it came from.</p></li><li id="accept"><h3>Accept or dismiss</h3><p>Accept opens the routine form so you can change it first. Dismiss hides a suggestion for 30 days. Routines made this way carry a "Suggested for you" badge.</p></li><li id="good-run"><h3>Routines know what a good run is</h3><p>A routine can carry a Flight School class, a description of a good result and checks. A run that passes its checks is verified on its own. Only you set the class and the checks.</p></li><li id="truth-ledger"><h3>Truth Ledger (off by default)</h3><p>A preview in 0.5. Since 0.6, when you turn it on, bots read their notes from the shared list of facts. Notes a bot wrote after reading a web page, a file or another tool stay Unconfirmed until you confirm them, and conflicting facts wait for you. <a href="/docs/truth-ledger">Truth Ledger docs</a>.</p></li>@@ -159,7 +159,7 @@<li id="relayed"><h3>@mentions in a result hand work on</h3><p>When QA's result says "@Frontend could switch the header", Frontend gets that task even if the lead doesn't pass it on. The lead hears back once, with every result.</p></li><li id="one-mention"><h3>One @mention picks who answers</h3><p>"@Frontend why didn't you answer QA" goes to Frontend, even though it names QA. Two @mentions still go to the lead.</p></li><li id="screenshots"><h3>Bots see the page</h3><p>A <code>browser_screenshot</code> tool hands Claude and Codex bots a real picture of the page, at a width they choose (390 for a phone, 1280 for a desktop), so a designer can check layout, colours and spacing.</p></li>- <li id="no-limits"><h3>No token limits by default</h3><p>Tasks, missions and hand-offs no longer stop at a hidden token budget. Set one in Settings → Usage if you want it. Hand-off caps (4 per bot, 16 per request) still stop loops, with a Continue button.</p></li>+ <li id="no-limits"><h3>No token limits by default</h3><p>Tasks, missions and hand-offs no longer stop at a hidden token budget. Set one in Settings → All spaces → Usage if you want it. Hand-off caps (4 per bot, 16 per request) still stop loops, with a Continue button.</p></li></ul><p class="section-foot"><a class="more-link" href="/docs/mission-board#lead-review">How lead review works →</a></p></div>@@ -346,11 +346,11 @@</div><div class="grid two"><article class="card">- <span class="shot"><a class="zoom" href="assets/media/v2-space-settings-2880.webp?v=8a13b8dd7b" data-caption="Space settings for a space, General tab: name, icon, colour, the approval rule with Ask before running commands, Ask only when risky and Don't ask, and Archive space."><img src="assets/media/v2-space-settings-1440.webp?v=822d315d39" srcset="assets/media/v2-space-settings-1440.webp?v=822d315d39 1440w, assets/media/v2-space-settings-2880.webp?v=8a13b8dd7b 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px" width="1440" height="900" loading="lazy" decoding="async" alt="Space settings for a space, General tab: name, icon, colour, the approval rule with Ask before running commands, Ask only when risky and Don't ask, and Archive space."></a></span>+ <span class="shot"><a class="zoom" href="assets/media/v2-space-settings-2880.webp?v=8a13b8dd7b" data-caption="Settings for one space (This space), General tab: name, icon, colour, the approval rule with Ask before running commands, Ask only when risky and Don't ask, and Archive space."><img src="assets/media/v2-space-settings-1440.webp?v=822d315d39" srcset="assets/media/v2-space-settings-1440.webp?v=822d315d39 1440w, assets/media/v2-space-settings-2880.webp?v=8a13b8dd7b 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px" width="1440" height="900" loading="lazy" decoding="async" alt="Settings for one space (This space), General tab: name, icon, colour, the approval rule with Ask before running commands, Ask only when risky and Don't ask, and Archive space."></a></span><div class="card-body"><h3>Rules per space</h3><p>Each space has its own approval rule and hiring rule.</p></div></article><article class="card">- <span class="shot"><a class="zoom" href="assets/media/v2-accounts-2880.webp?v=eb3b831a35" data-caption="Space settings, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in."><img src="assets/media/v2-accounts-1440.webp?v=5936fa5894" srcset="assets/media/v2-accounts-1440.webp?v=5936fa5894 1440w, assets/media/v2-accounts-2880.webp?v=eb3b831a35 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px" width="1440" height="900" loading="lazy" decoding="async" alt="Space settings, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in."></a></span>+ <span class="shot"><a class="zoom" href="assets/media/v2-accounts-2880.webp?v=eb3b831a35" data-caption="Settings, This space, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in."><img src="assets/media/v2-accounts-1440.webp?v=5936fa5894" srcset="assets/media/v2-accounts-1440.webp?v=5936fa5894 1440w, assets/media/v2-accounts-2880.webp?v=eb3b831a35 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px" width="1440" height="900" loading="lazy" decoding="async" alt="Settings, This space, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in."></a></span><div class="card-body"><h3>Accounts per space</h3><p>See every account at a glance: which is the default, which is in use, and which ran out and when it's back.</p></div></article></div>@@ -387,7 +387,7 @@</div><ul class="flist"><li><h3>Follow-ups</h3><p>A bot can set itself a one-off check-in, like looking at a deploy in an hour.</p></li>- <li><h3>While you were away</h3><p>What is waiting on you, what finished and what failed or got stuck, with questions and approvals answered in place.</p></li>+ <li><h3>Inbox</h3><p>What happened while you were away: what is waiting on you, what finished and what failed or got stuck, with questions and approvals answered in place.</p></li><li><h3>Letters</h3><p>Photograph a bill or notice. kwant reads the sender, the ask, the deadline and amounts, and reminds you before it is due.</p></li><li><h3>Never sends</h3><p>Loose ends and letters draft the reply. You copy it or open it in your mail app.</p></li><li><h3>Notifications</h3><p>Browser notifications, or an HTTPS webhook such as ntfy for your phone.</p></li>@@ -418,7 +418,7 @@<li><h3>Three approval modes</h3><p>Ask only when risky, the default for new spaces. Or ask before running commands, or don't ask. Per space, and per bot.</p></li><li><h3>Changes with an Undo</h3><p>Bots create routines, channels and bots when asked, each with an Undo. Deletions ask first.</p></li><li><h3>Things bots can't change</h3><p>Keys and secrets, sign-ins, approval rules and computer mode stay yours.</p></li>- <li><h3>Sign in your phone with a QR code</h3><p>Settings → Signed-in devices shows a one-time QR code for a new phone or browser, and lists your signed-in browsers with Sign out.</p></li>+ <li><h3>Sign in your phone with a QR code</h3><p>Settings → All spaces → Signed-in devices shows a one-time QR code for a new phone or browser, and lists your signed-in browsers with Sign out.</p></li><li><h3>Approve a new device</h3><p>A new browser can ask for access with a 10-minute code. Your signed-in browsers show the code, the browser and its IP, with Approve or Deny.</p></li><li><h3>kwant's secrets are off limits</h3><p>In every mode, tool calls that name kwant's own secret files are refused.</p></li><li><h3>Safe imports</h3><p>Imported bots arrive with no tools and no keys. Their skills wait for approval and their routines start paused.</p></li>@@ -517,7 +517,7 @@</dl><div class="grid two"><article class="card">- <span class="shot"><a class="zoom" href="assets/media/v2-computer-mode-2880.webp?v=7d3248a5a5" data-caption="App settings: the Laya router status and the choice of computer for browsing and commands, Local computer or VM."><img src="assets/media/v2-computer-mode-1440.webp?v=efa3a7186e" srcset="assets/media/v2-computer-mode-1440.webp?v=efa3a7186e 1440w, assets/media/v2-computer-mode-2880.webp?v=7d3248a5a5 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px" width="1440" height="900" loading="lazy" decoding="async" alt="App settings: the Laya router status and the choice of computer for browsing and commands, Local computer or VM."></a></span>+ <span class="shot"><a class="zoom" href="assets/media/v2-computer-mode-2880.webp?v=7d3248a5a5" data-caption="Settings, All spaces: the Laya router status and the choice of computer for browsing and commands, Local computer or VM."><img src="assets/media/v2-computer-mode-1440.webp?v=efa3a7186e" srcset="assets/media/v2-computer-mode-1440.webp?v=efa3a7186e 1440w, assets/media/v2-computer-mode-2880.webp?v=7d3248a5a5 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px" width="1440" height="900" loading="lazy" decoding="async" alt="Settings, All spaces: the Laya router status and the choice of computer for browsing and commands, Local computer or VM."></a></span><div class="card-body"><h3>Local or VM</h3><p>Bots browse and run commands on your computer, or in Docker containers kept away from your files.</p></div></article><article class="card">@@ -530,7 +530,7 @@<li><h3>Laptop or VPS</h3><p>Nothing to sign in to locally. On a server, open the link it prints once. Docker Compose and a systemd unit are included.</p></li><li><h3>Any CLI or API</h3><p>The <code>claude</code>, <code>codex</code> or <code>grok</code> CLI, or Anthropic, OpenAI or xAI keys.</p></li><li><h3>MCP tools</h3><p>Add any MCP server and pick which bots can use it. OAuth for servers that need a sign-in.</p></li>- <li><h3>Composio, optional</h3><p>Under <strong>Connections</strong>, add Composio to reach Gmail, Slack, Notion, Linear and more. It's off until you switch it on, and those sign-ins live on Composio's servers, not in kwant's vault.</p></li>+ <li><h3>Composio, optional</h3><p>Under <strong>Settings → This space → Connections</strong>, add Composio to reach Gmail, Slack, Notion, Linear and more. It's off until you switch it on, and those sign-ins live on Composio's servers, not in kwant's vault.</p></li><li><h3>A shared browser</h3><p>Bots browse in kwant's own browser profile, or in a container in VM mode.</p></li><li><h3>Your data, one folder</h3><p>Chats, bots and settings live in <code>~/.kwnt</code> by default.</p></li></ul>diff --git a/site/index.html b/site/index.htmlindex a8410209..b32441d5 100644--- a/site/index.html+++ b/site/index.html@@ -153,7 +153,7 @@<p>Claude, Codex or Grok logins, API keys and your own server. When one runs out of usage, the turn moves to the next and the chat says so.</p><a class="more-link" href="/docs/accounts">Accounts & profiles →</a></div>- <div class="frame"><a class="zoom" href="assets/media/v2-accounts-2880.webp?v=eb3b831a35" data-caption="Space settings, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in."><img src="assets/media/v2-accounts-1440.webp?v=5936fa5894" srcset="assets/media/v2-accounts-1440.webp?v=5936fa5894 1440w, assets/media/v2-accounts-2880.webp?v=eb3b831a35 2880w" sizes="(max-width: 1024px) 100vw, 680px" width="1440" height="900" loading="lazy" decoding="async" alt="Space settings, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in."></a></div>+ <div class="frame"><a class="zoom" href="assets/media/v2-accounts-2880.webp?v=eb3b831a35" data-caption="Settings, This space, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in."><img src="assets/media/v2-accounts-1440.webp?v=5936fa5894" srcset="assets/media/v2-accounts-1440.webp?v=5936fa5894 1440w, assets/media/v2-accounts-2880.webp?v=eb3b831a35 2880w" sizes="(max-width: 1024px) 100vw, 680px" width="1440" height="900" loading="lazy" decoding="async" alt="Settings, This space, Accounts tab. The Work login is the default, in use and ready. Personal Max is out of usage and back in 3 hours. This machine needs a sign-in."></a></div></div></div></section>@@ -235,7 +235,7 @@<div class="tiles three"><figure class="tile"><div class="frame"><a class="zoom" href="assets/media/v2-away-2880.webp?v=a14d8f3178" data-caption="While you were away. Waiting on you: Designer's question about a hero image, with answer buttons. Finished: a handoff and a weekly digest. Failed or stuck: a price scan blocked with a 403 and a smoke test that stopped at 9 of 22."><img src="assets/media/v2-away-1440.webp?v=fce9c3cdb1" srcset="assets/media/v2-away-1440.webp?v=fce9c3cdb1 1440w, assets/media/v2-away-2880.webp?v=a14d8f3178 2880w" sizes="(max-width: 860px) 100vw, 380px" width="1440" height="900" loading="lazy" decoding="async" alt="While you were away. Waiting on you: Designer's question about a hero image, with answer buttons. Finished: a handoff and a weekly digest. Failed or stuck: a price scan blocked with a 403 and a smoke test that stopped at 9 of 22."></a></div>- <figcaption><h3>While you were away</h3><p>What's waiting on you, what finished and what got stuck, on one page.</p></figcaption>+ <figcaption><h3>Inbox</h3><p>What happened while you were away: what's waiting on you, what finished and what got stuck, on one page.</p></figcaption></figure><figure class="tile"><div class="frame"><a class="zoom" href="assets/media/v2-loose-ends-stalled-2880.webp?v=b0d62d6eaa" data-caption="Loose ends. Designer has waited four days for your pick of a hero image, and you promised Mara a press kit by email. Each case quotes the message it is based on and has a draft reply."><img src="assets/media/v2-loose-ends-stalled-1440.webp?v=be69cd9a8a" srcset="assets/media/v2-loose-ends-stalled-1440.webp?v=be69cd9a8a 1440w, assets/media/v2-loose-ends-stalled-2880.webp?v=b0d62d6eaa 2880w" sizes="(max-width: 860px) 100vw, 380px" width="1440" height="900" loading="lazy" decoding="async" alt="Loose ends. Designer has waited four days for your pick of a hero image, and you promised Mara a press kit by email. Each case quotes the message it is based on and has a draft reply."></a></div>diff --git a/site/sitemap.xml b/site/sitemap.xmlindex b0bb99ed..b26baba5 100644--- a/site/sitemap.xml+++ b/site/sitemap.xml@@ -1,21 +1,21 @@<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>https://kwant.si/alternatives/grok-bot</loc><lastmod>2026-10-29</lastmod></url>- <url><loc>https://kwant.si/docs/accounts</loc><lastmod>2026-10-29</lastmod></url>+ <url><loc>https://kwant.si/docs/accounts</loc><lastmod>2026-11-01</lastmod></url><url><loc>https://kwant.si/docs/approvals</loc><lastmod>2026-10-29</lastmod></url>- <url><loc>https://kwant.si/docs/bots-and-teams</loc><lastmod>2026-10-31</lastmod></url>- <url><loc>https://kwant.si/docs/browser</loc><lastmod>2026-10-31</lastmod></url>+ <url><loc>https://kwant.si/docs/bots-and-teams</loc><lastmod>2026-11-01</lastmod></url>+ <url><loc>https://kwant.si/docs/browser</loc><lastmod>2026-11-01</lastmod></url><url><loc>https://kwant.si/docs/flight-school</loc><lastmod>2026-11-01</lastmod></url><url><loc>https://kwant.si/docs/install</loc><lastmod>2026-11-01</lastmod></url><url><loc>https://kwant.si/docs/loose-ends</loc><lastmod>2026-10-22</lastmod></url>- <url><loc>https://kwant.si/docs/mcp</loc><lastmod>2026-10-29</lastmod></url>+ <url><loc>https://kwant.si/docs/mcp</loc><lastmod>2026-11-01</lastmod></url><url><loc>https://kwant.si/docs/memory-skills</loc><lastmod>2026-11-01</lastmod></url><url><loc>https://kwant.si/docs/mission-board</loc><lastmod>2026-11-01</lastmod></url>- <url><loc>https://kwant.si/docs/models</loc><lastmod>2026-10-29</lastmod></url>+ <url><loc>https://kwant.si/docs/models</loc><lastmod>2026-11-01</lastmod></url><url><loc>https://kwant.si/docs/parallel-universe</loc><lastmod>2026-10-29</lastmod></url>- <url><loc>https://kwant.si/docs/quickstart</loc><lastmod>2026-10-29</lastmod></url>- <url><loc>https://kwant.si/docs/routines</loc><lastmod>2026-10-31</lastmod></url>- <url><loc>https://kwant.si/docs/spaces</loc><lastmod>2026-10-29</lastmod></url>+ <url><loc>https://kwant.si/docs/quickstart</loc><lastmod>2026-11-01</lastmod></url>+ <url><loc>https://kwant.si/docs/routines</loc><lastmod>2026-11-01</lastmod></url>+ <url><loc>https://kwant.si/docs/spaces</loc><lastmod>2026-11-01</lastmod></url><url><loc>https://kwant.si/docs/truth-ledger</loc><lastmod>2026-11-01</lastmod></url><url><loc>https://kwant.si/features</loc><lastmod>2026-11-01</lastmod></url><url><loc>https://kwant.si/</loc><lastmod>2026-11-01</lastmod></url>diff --git a/src/server/profile_turn.rs b/src/server/profile_turn.rsindex 4117f109..f2e9d9e5 100644--- a/src/server/profile_turn.rs+++ b/src/server/profile_turn.rs@@ -397,7 +397,7 @@ fn reason(failure: &ProviderFailure) -> String {/// Shown while the turn moves on: "Work ran out of usage until 17:00 UTC; switching to Personal."pub fn switch_notice(from: &LlmProfile, to: &LlmProfile, failure: &ProviderFailure) -> String {format!(- "🔁 {} profile \"{}\" {}; switching to \"{}\".",+ "🔁 {} account \"{}\" {}; switching to \"{}\".",from.engine,from.name,reason(failure),@@ -405,7 +405,7 @@ pub fn switch_notice(from: &LlmProfile, to: &LlmProfile, failure: &ProviderFailu)}-/// The reply when every profile tried refused the turn.+/// The reply when every account tried refused the turn.pub fn give_up_notice(kwant_name: &str,last: &LlmProfile,@@ -413,16 +413,16 @@ pub fn give_up_notice(tried: usize,) -> String {let fix = match failure.class {- FailClass::Quota => "Add another profile or wait for the limit to reset.",- _ => "Sign in again (or update the key) under Settings → Profiles.",+ FailClass::Quota => "Add another account under Settings › This space › Accounts, or wait for the limit to reset.",+ _ => "Sign in again (or update the key) under Settings › This space › Accounts.",};let which = if tried > 1 {format!(- "All {tried} {} profiles tried are unavailable; the last, \"{}\",",+ "All {tried} {} accounts tried are unavailable; the last, \"{}\",",last.engine, last.name)} else {- format!("The {} profile \"{}\"", last.engine, last.name)+ format!("The {} account \"{}\"", last.engine, last.name)};format!("⚠️ [{kwant_name}] {which} {}. {fix}", reason(failure))}@@ -453,6 +453,25 @@ mod tests {}}+ #[test]+ fn give_up_points_to_where_accounts_and_keys_live() {+ // QA d: the old Profiles page is gone; keys and sign-ins are in Settings › This space › Accounts+ let p = profile("p1", "Work", "api", 0, true);+ let auth = ProviderFailure { class: FailClass::Auth, retry_at: None, detail: "401".into() };+ let quota = ProviderFailure { class: FailClass::Quota, retry_at: None, detail: String::new() };+ for t in [+ give_up_notice("Ann", &p, &auth, 1),+ give_up_notice("Ann", &p, &auth, 2),+ give_up_notice("Ann", &p, "a, 1),+ switch_notice(&p, &profile("p2", "Personal", "subscription", 1, false), &auth),+ ] {+ assert!(!t.to_lowercase().contains("profile"), "{t}");+ }+ let wrong_key = give_up_notice("Ann", &p, &auth, 1);+ assert!(wrong_key.contains("Settings › This space › Accounts"), "{wrong_key}");+ assert!(give_up_notice("Ann", &p, "a, 1).contains("Settings › This space › Accounts"));+ }+fn report(id: EngineId, enabled: bool, status: EngineStatus) -> EngineReport {EngineReport {id,