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
site: lead with spaces, accounts and work that runs on its own
Lin (kwant bot)d850e7a15527
diff --git a/site-src/docs-accounts.html b/site-src/docs-accounts.htmlnew file mode 100644index 00000000..936d883f--- /dev/null+++ b/site-src/docs-accounts.html@@ -0,0 +1,46 @@+title: Accounts & profiles+description: Add several accounts per engine in kwant: CLI logins, API keys and your own OpenAI- or Anthropic-compatible server, with a default, a priority order and automatic failover.+path: docs/accounts.html+nav: accounts+---+<p class="kicker">Docs</p>+<h1>Accounts & profiles</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>+</figure>++<h2 id="profiles">Account profiles</h2>+<p>A profile is one account for an engine, for example a work Claude subscription and a personal one. Every engine starts with a <strong>This machine</strong> profile, which uses the CLI's own login, or the key from Settings or the environment.</p>+<div class="table-wrap"><table>+ <thead><tr><th>Kind</th><th>Runs with</th><th>Signed in by</th></tr></thead>+ <tbody>+ <tr><td><code>system</code></td><td>The CLI's default config folder, or the Settings or environment key</td><td>Whatever you did on the host</td></tr>+ <tr><td><code>cli_home</code></td><td>Its own config folder; host credential variables are removed</td><td>The in-app sign-in, or your own folder</td></tr>+ <tr><td><code>api_key</code></td><td>The provider's API, with only the profile's key</td><td>The key you paste</td></tr>+ <tr><td><code>custom_api</code></td><td>Your own server, with its key if it has one</td><td>A check of the server's model list</td></tr>+ </tbody>+</table></div>+<p>Keys are write-only: no API response ever contains one, only whether it's set.</p>++<h3 id="sign-in">Signing in a CLI profile</h3>+<p>kwant runs the CLI's own login with the profile's folder. For Claude, open the link and paste the code shown back into kwant. For Codex and Grok, open the link and enter the code. A sign-in expires after 10 minutes.</p>++<h3 id="failover">Failover</h3>+<p>A bot can be pinned to a profile; otherwise the engine's default profile runs. When that profile is out of usage or signed out, and nothing has been shown or done yet in the turn, kwant moves the turn to the engine's next enabled profile by priority, up to 3 attempts, and the chat says so. A profile that ran out is skipped until its reset time. Overloads and rate limits are retried, not failed over. Turn failover off for a bot to keep it on its profile.</p>++<h2 id="pin">Pinning a bot</h2>+<p>In a bot's settings, pick the account it should use, or leave it on the engine's default. Clear <strong>Switch to the engine's next account when this one runs out of usage or is signed out</strong> to keep the bot on its account.</p>+<figure>+ <div class="frame">{{shot:v2-bot-account-pin|Editing QA: engine, model and the account Team gateway, ready, with the switch to move to the engine's next account when this one runs out, and the approval override.|(max-width: 860px) 100vw, 760px}}</div>+</figure>++<h2 id="custom">Custom API accounts</h2>+<p>Add an account with the server's base URL and, if needed, a key. kwant checks the server's model list when you save it and shows whether it's ready, unreachable or rejected the key. A space can have several custom accounts, and they belong to that space only.</p>+<ul>+ <li>Paste the base URL with or without <code>/chat/completions</code> or <code>/messages</code>: kwant trims it to the API root.</li>+ <li>MCP tools are offered on OpenAI-chat servers. Anthropic-Messages servers run without tools and say so.</li>+ <li>Custom API never falls back to the host's accounts.</li>+</ul>+<div class="note"><strong>Keep a space off this machine.</strong> Each space has a <strong>Use This machine</strong> switch. Turn it off to keep the space on its own accounts: its bots never fall back to the CLIs signed in on the computer running kwant.</div>diff --git a/site-src/docs-bots-and-teams.html b/site-src/docs-bots-and-teams.htmlindex e3cf48a9..2d1b3c12 100644--- a/site-src/docs-bots-and-teams.html+++ b/site-src/docs-bots-and-teams.html@@ -72,4 +72,4 @@ nav: bots-and-teams<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.</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>diff --git a/site-src/docs-install.html b/site-src/docs-install.htmlindex aa1685bd..53b68af6 100644--- a/site-src/docs-install.html+++ b/site-src/docs-install.html@@ -87,4 +87,4 @@ docker compose exec kwnt kwnt token <span class="c"># print it again l<tr><td><code>KWNT_LAYA_MANAGED=0</code></td><td>Don't install or run Laya; use your own. <code>kwnt serve --no-laya</code> skips it.</td></tr></tbody></table></div>-<p><code>~/.kwnt/config.toml</code> can also set <code>host</code>, <code>port</code>, <code>data_dir</code> and the Laya options (<code>laya_url</code>, <code>laya_managed</code>, <code>laya_models</code>). More on Laya is in <a href="models.html#laya">Models & accounts</a>.</p>+<p><code>~/.kwnt/config.toml</code> can also set <code>host</code>, <code>port</code>, <code>data_dir</code> and the Laya options (<code>laya_url</code>, <code>laya_managed</code>, <code>laya_models</code>). More on Laya is in <a href="models.html#laya">Models & routing</a>.</p>diff --git a/site-src/docs-loose-ends.html b/site-src/docs-loose-ends.htmlnew file mode 100644index 00000000..13c5463d--- /dev/null+++ b/site-src/docs-loose-ends.html@@ -0,0 +1,46 @@+title: Loose ends & letters+description: kwant finds what you started and never finished in your chats, email and GitHub, and reads letters you photograph. It drafts the next step and never sends anything.+path: docs/loose-ends.html+nav: loose-ends+---+<p class="kicker">Docs</p>+<h1>Loose ends & letters</h1>+<p class="intro">Loose ends looks for things that went quiet: a question nobody answered, a promise that lapsed, a reply you owe. It shows the quote each case is based on and drafts the next step. It never sends anything.</p>+<figure>+ <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, 760px}}</div>+</figure>++<h2 id="sources">Sources</h2>+<ul>+ <li><strong>Your bot chats, tasks and questions</strong> are always read: kwant's own threads, open questions and failed handoffs.</li>+ <li><strong>Email (IMAP)</strong>, optional: a mail server with TLS or STARTTLS.</li>+ <li><strong>GitHub</strong>, optional: your issues and pull requests. A GitHub Enterprise address works too.</li>+</ul>+<p>Add a source with <strong>Add a source</strong>. kwant tests the connection first, and the login goes into the password vault. Sources are read-only: email is opened without marking, moving or deleting anything, and GitHub is only read.</p>+<figure>+ <div class="frame">{{shot:v2-loose-ends|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.|(max-width: 860px) 100vw, 760px}}</div>+</figure>++<h2 id="cases">Cases</h2>+<p>A case opens when something has been quiet for 14 days, or 3 days in a kwant chat. kwant looks for:</p>+<ul>+ <li>someone waiting for your reply, or you waiting for theirs</li>+ <li>a promise someone made you that lapsed, or one you made</li>+ <li>a stale issue, a failed task, or an unanswered question</li>+</ul>+<p>Each case shows the quote it's based on and a draft: an email you open in your mail app or copy, a link to the GitHub issue, or the kwant chat. Then mark it done, say you followed up, snooze it for 3 days, a week or a month, or dismiss it, just this one or everything from that sender. Cases sit in the <strong>Open</strong>, <strong>Waiting</strong>, <strong>Snoozed</strong> and <strong>Done</strong> tabs. <strong>Scan now</strong> checks right away.</p>+<p>Message text is never written to logs, and cases are kept for 90 days.</p>+<div class="note"><strong>API only:</strong> an extra model check of each case and a weekly review are settings in kwant's API, not in the app. Both are off by default.</div>++<h2 id="letters">Letters</h2>+<p>Use <strong>Add a letter</strong> to photograph or upload a bill, form or notice: up to 5 pages of PNG, JPEG, WebP or PDF, 20 MB each.</p>+<figure>+ <div class="frame">{{shot:v2-letter|A scanned letter from a fictional water company next to what kwant read from it: who it's from, what they want and the deadline of November 5, each with the quote it came from and editable.|(max-width: 860px) 100vw, 760px}}</div>+</figure>+<p>kwant reads who it's from, what they want, the deadline, where to reply, references, amounts and a checklist. Every field shows the line it came from and you can edit it. Fields kwant isn't sure of are marked for you to check.</p>+<ul>+ <li>Once the deadline is confirmed, kwant reminds you 7 days before, the day before and on the day, at 09:00. Notifications carry only counts, not the letter.</li>+ <li>Reading photos needs a Claude account. A PDF with a text layer is read without a model.</li>+ <li>The reply is a draft to copy or open in your mail app. Nothing is sent for you.</li>+ <li>Deleting a letter removes its pages and everything read from them.</li>+</ul>diff --git a/site-src/docs-memory-skills.html b/site-src/docs-memory-skills.htmlnew file mode 100644index 00000000..feefc1a4--- /dev/null+++ b/site-src/docs-memory-skills.html@@ -0,0 +1,38 @@+title: Memory, skills & search+description: What kwant bots remember and how you edit it, skills that bots propose and you approve, and search across every chat in a space.+path: docs/memory-skills.html+nav: memory-skills+---+<p class="kicker">Docs</p>+<h1>Memory, skills & search</h1>+<p class="intro">Bots remember what matters and learn how you like things done. You can read all of it, change it, and nothing a bot writes for itself is used without your OK.</p>++<h2 id="memory">Memory</h2>+<p>Each bot has a Memory tab. You can add memories there, and the bot can add, update and remove its own. Each one is marked <strong>You</strong> or <strong>Bot</strong>, and you can edit or delete any of them.</p>+<figure>+ <div class="frame">{{shot:v2-memory|QA's Memory tab with an add box and four memories, each marked as written by the bot or by you, with edit and delete.|(max-width: 860px) 100vw, 760px}}</div>+</figure>+<ul>+ <li>Up to 100 memories per bot, each up to 500 characters.</li>+ <li>They go into every turn under <em>What you remember</em>, up to 6 KB.</li>+</ul>++<h2 id="skills">Skills</h2>+<p>A skill is a written procedure, like "how we write a release checklist". It's plain text: a skill never gives a bot new tools.</p>+<figure>+ <div class="frame">{{shot:v2-skills|QA's Skills tab with a release-checklist skill waiting for review, with Approve, Edit then approve, and Reject, above a bug-report skill already in use.|(max-width: 860px) 100vw, 760px}}</div>+</figure>+<ul>+ <li>A bot can propose a skill, or a change to one. You <strong>Approve</strong>, <strong>Edit, then approve</strong>, or <strong>Reject</strong> it, and can undo that. A proposed change shows what's different.</li>+ <li>Approved skills have an on/off switch. Only skills that are on go into the bot's prompt.</li>+ <li>Use <strong>Write a skill</strong> in a bot's Skills tab to add one yourself.</li>+ <li>Skills for a whole space come from an import.</li>+ <li>A skill can be up to 8,000 characters, and a bot can have up to 20 waiting for review.</li>+</ul>++<h2 id="search">Search</h2>+<p>Press <code>Ctrl K</code> (<code>⌘K</code> on a Mac) to search every channel and direct chat in the space you have open. Use the arrow keys and <code>Enter</code> to jump to a result.</p>+<figure>+ <div class="frame">{{shot:v2-search|Search for "waitlist" across every chat in the space, with highlighted hits grouped by chat.|(max-width: 860px) 100vw, 760px}}</div>+</figure>+<p>Search covers one space at a time. Switch spaces to search another.</p>diff --git a/site-src/docs-models.html b/site-src/docs-models.htmlindex 2732a52d..a701f963 100644--- a/site-src/docs-models.html+++ b/site-src/docs-models.html@@ -1,11 +1,11 @@-title: Models & accounts-description: The engines kwant runs on, account profiles with automatic failover, custom OpenAI- or Anthropic-compatible servers, and the Laya model router.+title: Models & routing+description: The engines kwant runs on, the auto model setting, and the Laya router that picks which bot answers and with which model.path: docs/models.htmlnav: models---<p class="kicker">Docs</p>-<h1>Models & accounts</h1>-<p class="intro">Bots run on the CLIs you already use or on API keys. Add several accounts per engine, and kwant moves a turn to the next one when an account runs out of usage.</p>+<h1>Models & routing</h1>+<p class="intro">Bots run on the CLIs you already use, on API keys or on your own server. The Laya router picks who answers in a channel, and which model and effort a bot set to auto uses.</p><h2 id="engines">Engines</h2><ul>@@ -15,32 +15,8 @@ nav: models</ul><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="profiles">Account profiles</h2>-<p>A profile is one account for an engine, for example a work Claude subscription and a personal one. Every engine starts with a <strong>This machine</strong> profile, which uses the CLI's own login, or the key from Settings or the environment.</p>-<div class="table-wrap"><table>- <thead><tr><th>Kind</th><th>Runs with</th><th>Signed in by</th></tr></thead>- <tbody>- <tr><td><code>system</code></td><td>The CLI's default config folder, or the Settings or environment key</td><td>Whatever you did on the host</td></tr>- <tr><td><code>cli_home</code></td><td>Its own config folder; host credential variables are removed</td><td>The in-app sign-in, or your own folder</td></tr>- <tr><td><code>api_key</code></td><td>The provider's API, with only the profile's key</td><td>The key you paste</td></tr>- <tr><td><code>custom_api</code></td><td>Your own server, with its key if it has one</td><td>A check of the server's model list</td></tr>- </tbody>-</table></div>-<p>Keys are write-only: no API response ever contains one, only whether it's set.</p>--<h3 id="sign-in">Signing in a CLI profile</h3>-<p>kwant runs the CLI's own login with the profile's folder. For Claude, open the link and paste the code shown back into kwant. For Codex and Grok, open the link and enter the code. A sign-in expires after 10 minutes.</p>--<h3 id="failover">Failover</h3>-<p>A bot can be pinned to a profile; otherwise the engine's default profile runs. When that profile is out of usage or signed out, and nothing has been shown or done yet in the turn, kwant moves the turn to the engine's next enabled profile by priority, up to 3 attempts, and the chat says so. A profile that ran out is skipped until its reset time. Overloads and rate limits are retried, not failed over. Turn failover off for a bot to keep it on its profile.</p>--<h2 id="custom">Custom API accounts</h2>-<p>Add an account with the server's base URL and, if needed, a key. kwant checks the server's model list when you save it and shows whether it's ready, unreachable or rejected the key. A space can have several custom accounts, and they belong to that space only.</p>-<ul>- <li>Paste the base URL with or without <code>/chat/completions</code> or <code>/messages</code>: kwant trims it to the API root.</li>- <li>MCP tools are offered on OpenAI-chat servers. Anthropic-Messages servers run without tools and say so.</li>- <li>Custom API never falls back to the host's accounts.</li>-</ul>+<h2 id="accounts">Accounts</h2>+<p>Each engine can have several accounts, with a default, a priority order and automatic failover when one runs out of usage. See <a href="accounts.html">Accounts & profiles</a>.</p><h2 id="laya">The Laya router</h2><p><a href="https://huggingface.co/convaiinnovations/laya" rel="noopener">Laya</a> picks which bot answers in a channel, and which model and effort a bot set to auto uses. It's a small Python service, and <code>kwnt serve</code> manages it for you:</p>diff --git a/site-src/docs-parallel-universe.html b/site-src/docs-parallel-universe.htmlnew file mode 100644index 00000000..403cd150--- /dev/null+++ b/site-src/docs-parallel-universe.html@@ -0,0 +1,45 @@+title: Parallel Universe+description: Compare up to three ways to deploy an app before you pick one. kwant load-tests each option in a sealed Docker container and sets it next to a dated price estimate, with no cloud account and no spending.+path: docs/parallel-universe.html+nav: parallel-universe+---+<p class="kicker">Docs</p>+<h1>Parallel Universe</h1>+<p class="intro">Managed hosting, a VPS or serverless? Describe your app and up to three ways to run it. kwant runs each option on your own server, load-tests it and compares it with a price estimate, so you can pick before you spend anything.</p>+<figure>+ <div class="frame">{{shot:v2-parallel-universe|Parallel Universe comparing three ways to host an API on cost, p95 latency, ops burden and rollback, with the fastest and cheapest option marked. The figures are sample data.|(max-width: 860px) 100vw, 760px}}</div>+ <figcaption>A comparison of three options. The figures in this screenshot are sample data.</figcaption>+</figure>++<h2 id="options">Options</h2>+<p>Each option is a Docker image or a build context, with:</p>+<ul>+ <li>a health path kwant waits for before testing</li>+ <li>your expected traffic</li>+ <li>load-test settings</li>+</ul>++<h2 id="run">How a run works</h2>+<ol>+ <li>Options run one after another, each in its own container with resource limits.</li>+ <li>The container is on an internal network with no internet and no access to the host. Builds are offline by default.</li>+ <li>kwant load-tests it with <code>oha</code>, then removes the container.</li>+ <li>Results are set next to price estimates for your traffic.</li>+</ol>+<p>Only one run happens at a time.</p>++<h2 id="honest">What the numbers mean</h2>+<p>Every figure is tagged:</p>+<ul>+ <li><strong>Verified:</strong> measured in this run.</li>+ <li><strong>Estimate:</strong> worked out from a listed price.</li>+ <li><strong>Speculation:</strong> a guess, and labelled as one.</li>+</ul>+<p>Prices come from a table built into kwant, with dated sources for Hetzner, DigitalOcean, Fly.io and AWS Lambda. A price older than 180 days is flagged as stale.</p>+<div class="note"><strong>Latency is this server's.</strong> Tests run on the machine running kwant, not at the provider, so latency tells you how the options compare, not what you'd see in production.</div>++<h2 id="needs">What it needs</h2>+<ul>+ <li>Docker on the machine that runs kwant.</li>+ <li>No cloud account. kwant never creates anything at a provider and never spends money.</li>+</ul>diff --git a/site-src/docs-quickstart.html b/site-src/docs-quickstart.htmlindex 21f282ff..17065bd0 100644--- a/site-src/docs-quickstart.html+++ b/site-src/docs-quickstart.html@@ -36,7 +36,7 @@ make run <span class="c"># builds the web app, then runs `cargo run -- serve`<<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></ul>-<p>You can add several accounts per engine, such as a work and a personal one. See <a href="models.html">Models & accounts</a>.</p>+<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><h2 id="first-question">3. Ask your first question</h2><p>A fresh install's Default space starts with three bots in <strong>#general</strong>, on the <code>@core-engineering</code> team:</p>diff --git a/site-src/docs-routines.html b/site-src/docs-routines.htmlnew file mode 100644index 00000000..e582c4fc--- /dev/null+++ b/site-src/docs-routines.html@@ -0,0 +1,68 @@+title: Routines & bot actions+description: Schedule work in kwant with routines and follow-ups, let bots set things up for you with an Undo on every change, and decide how bots may hire new teammates.+path: docs/routines.html+nav: routines+---+<p class="kicker">Docs</p>+<h1>Routines & bot actions</h1>+<p class="intro">Bots keep working when you're not there. A routine runs a prompt on a schedule, a follow-up checks back once, and bots can set either up for you, with an Undo on every change.</p>++<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>+<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>+<div class="table-wrap"><table>+ <thead><tr><th>Schedule</th><th>Runs</th></tr></thead>+ <tbody>+ <tr><td>Once</td><td>At one date and time</td></tr>+ <tr><td>Daily</td><td>Every day at a time</td></tr>+ <tr><td>Weekly</td><td>On the days you pick</td></tr>+ <tr><td>Monthly</td><td>On a day of the month</td></tr>+ <tr><td>Every…</td><td>Every 5 minutes up to every week</td></tr>+ <tr><td>Custom</td><td>A cron rule</td></tr>+ </tbody>+</table></div>+<p>Each routine has <strong>Run now</strong>, a history of its last 200 runs, edit, delete and an on/off switch. Archiving a space pauses its routines.</p>++<h3 id="follow-ups">Follow-ups</h3>+<p>A bot can set itself a one-off follow-up, for example to check a deploy in an hour. Only bots create follow-ups.</p>++<h2 id="actions">Bots that set things up</h2>+<p>Ask a bot for a routine, a channel or a new bot and it makes the change itself. Each change shows a card with what was done and an <strong>Undo</strong> button.</p>+<figure>+ <div class="frame">{{shot:v2-action-undo|TechLead created the channel #launch-waitlist when asked. The card says Done and has an Undo button.|(max-width: 860px) 100vw, 760px}}</div>+</figure>+<ul>+ <li>Bots can create bots, spaces and channels, change settings, and create, update, pause, resume, run or delete routines.</li>+ <li>At most 10 changes per turn, and only in the bot's own space.</li>+ <li>Deleting a bot, deleting an account and archiving a space wait until you confirm.</li>+ <li>Bots can't touch keys or secrets, engines or sign-ins, approval rules, computer mode, or install MCP servers.</li>+</ul>++<h2 id="hiring">Hiring</h2>+<p>When a specialist would do a job better, a bot can propose hiring one. The card shows why, what the proposal is based on, and the new bot's model and tools.</p>+<figure>+ <div class="frame">{{shot:v2-hire-card|TechLead proposes hiring a Support bot, with the reason, what it is based on, its model and tools, and Deny, Accept once and Always accept buttons.|(max-width: 860px) 100vw, 760px}}</div>+</figure>+<ul>+ <li><strong>Deny</strong>, <strong>Accept once</strong> or <strong>Always accept</strong>. You can undo a hire afterwards.</li>+ <li>A proposal for a whole team has <strong>Approve all</strong>.</li>+ <li>A bot can make one proposal per turn, and kwant remembers what you denied.</li>+ <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>+</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>+<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>+ <li><strong>Failed or stuck:</strong> failed runs, and handoffs with no reply after 30 minutes.</li>+</ul>+<figure>+ <div class="frame">{{shot:v2-away|While you were away, with a question waiting for an answer, two finished items and two failed or stuck ones.|(max-width: 860px) 100vw, 760px}}</div>+</figure>+<p>For a ping when something needs you, turn on browser notifications or add an HTTPS webhook such as ntfy in settings. Webhook messages carry only a title and one line.</p>diff --git a/site-src/docs-spaces.html b/site-src/docs-spaces.htmlnew file mode 100644index 00000000..8450403bb--- /dev/null+++ b/site-src/docs-spaces.html@@ -0,0 +1,68 @@+title: Spaces+description: kwant spaces keep work, side projects and home apart. Each space has its own bots, teams, channels, routines, skills, tool servers, accounts and approval rules.+path: docs/spaces.html+nav: spaces+---+<p class="kicker">Docs</p>+<h1>Spaces</h1>+<p class="intro">A space is a separate area of kwant with its own bots and everything they use. Keep one for work, one for a side project and one for home, and nothing leaks between them.</p>+<figure>+ <div class="frame">{{shot:v2-spaces-rail|The space rail with three spaces, Trailhead, Pixel Quest and Home, each with its own icon and colour. Trailhead is open on #general.|(max-width: 860px) 100vw, 760px}}</div>+ <figcaption>The rail on the left shows every space. The open one is highlighted.</figcaption>+</figure>++<h2 id="contents">What belongs to a space</h2>+<ul>+ <li>Bots and teams, with their channels and direct chats</li>+ <li>Routines and skills</li>+ <li>MCP tool servers</li>+ <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>++<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>++<h2 id="settings">Space settings</h2>+<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>+</figure>+<div class="table-wrap"><table>+ <thead><tr><th>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>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>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>+ <tr><td>Import & export</td><td>Bring bots in, or export the space</td></tr>+ </tbody>+</table></div>++<h3 id="rules">Approval and hiring rules</h3>+<p>Each space picks how bots ask before acting: <strong>Ask before running commands</strong>, <strong>Ask only when risky</strong> or <strong>Don't ask</strong>. A bot can follow the space or override it. See <a href="approvals.html">Approvals & passwords</a>.</p>+<p>The hiring rule decides what happens when a bot proposes a new teammate: <strong>Ask me each time</strong>, or <strong>Hire at once</strong> with at most 3 automatic hires in 24 hours. See <a href="routines.html#hiring">hiring</a>.</p>++<h3 id="this-machine">Use This machine</h3>+<p>When it's on, bots in the space can use the CLIs signed in on the computer running kwant. Turn it off to keep the space on its own accounts only. Bots never fall back to it.</p>++<h2 id="archive">Archiving</h2>+<p>Archive a space to put it away. Its routines pause and its bots, chats and settings are kept. Restore it any time from <strong>Archived spaces</strong>. kwant has no hard delete for spaces. When a bot asks to archive a space, it waits for your OK.</p>++<h2 id="import">Import & export</h2>+<p><strong>Bring a bot from…</strong> Grok, ChatGPT, Claude or another app: kwant gives you a prompt to paste into that app, and you paste its reply back. Or upload a file: <code>.json</code>, <code>.md</code>, <code>.png</code>, <code>.zip</code> or <code>.txt</code> up to 20 MB, such as a Claude Code subagent, a <code>SKILL.md</code>, a character card, an OpenMausBot export or a <code>.kwant.json</code> file. A pasted reply can be up to 256 KB.</p>+<figure>+ <div class="frame">{{shot:v2-import|The import dialog: Bring a bot from Grok, ChatGPT, Claude or another app, or upload a file.|(max-width: 860px) 100vw, 760px}}</div>+</figure>+<p>Imports start safe:</p>+<ul>+ <li>Imported bots have no tools until you give them some.</li>+ <li>Imported skills wait for your approval.</li>+ <li>Imported routines start paused.</li>+ <li>Any keys in the file are removed.</li>+</ul>+<p>You can undo an import. Export a whole space or one bot as a file. Exports leave out chat history, files, tools and keys.</p>diff --git a/site-src/features.html b/site-src/features.htmlnew file mode 100644index 00000000..b98b6543--- /dev/null+++ b/site-src/features.html@@ -0,0 +1,207 @@+title: Features: everything kwant does+description: Every kwant feature in one place: teams and handoffs, spaces, several accounts per engine, routines, loose ends, letters, Parallel Universe, approvals, memory, skills and more.+path: features.html+active: features+---+<section class="page-head">+ <div class="wrap">+ <p class="kicker">Features</p>+ <h1>Everything kwant does</h1>+ <p class="lede">A self-hosted team of AI bots, with separate spaces, every account you have, and work that keeps going while you're away.</p>+ <ul class="jump" aria-label="Jump to a group">+ <li><a href="#teams">Teams & chat</a></li>+ <li><a href="#spaces">Spaces & accounts</a></li>+ <li><a href="#own">Works on its own</a></li>+ <li><a href="#safety">Safety & control</a></li>+ <li><a href="#knowledge">Bots & knowledge</a></li>+ <li><a href="#running">Running it</a></li>+ </ul>+ </div>+</section>++<section id="teams" class="fgroup">+ <div class="wrap">+ <div class="section-head">+ <p class="kicker">Teams & chat</p>+ <h2>A team of bots that talk to each other</h2>+ <p>Each bot has a role, a voice and a model, and knows who else is in the room.</p>+ </div>+ <div class="grid two">+ <article class="card">+ <span class="shot">{{shot:desktop-manage-team|The Manage Team dialog with the team handle, mission, pinned team instructions, workspace, lead and roster.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px}}</span>+ <div class="card-body"><h3>Teams with a lead</h3><p>Give a team a mission, pinned instructions every member follows, a lead and a shared workspace.</p></div>+ </article>+ <article class="card">+ <span class="shot">{{shot:desktop-presets|The New bot dialog with the Security preset picked, showing Tech, Non-tech and Lifestyle tabs and the avatar grid.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px}}</span>+ <div class="card-body"><h3>Personas and souls</h3><p>Start from a preset. Every bot has a persona for what it does, a soul for how it speaks, and a pixel avatar.</p></div>+ </article>+ </div>+ <ul class="flist">+ <li><h3>Handoffs with an @mention</h3><p>Mention a teammate, or <code>@everyone</code>, and they answer next in the same chat, up to four handoffs per message.</p></li>+ <li><h3>Team discussions</h3><p>Ask a team and the lead runs a short discussion, then posts one summary. Teammates can pass when they have nothing to add.</p></li>+ <li><h3>Channels and direct chats</h3><p>Talk to the whole team in a channel or to one bot directly. Threads keep side topics apart.</p></li>+ <li><h3>The Laya router</h3><p>Picks which bot answers in a channel, and the model and effort for bots set to auto. If it is offline, kwant routes by keyword.</p></li>+ <li><h3>A receipt for every tool</h3><p>Replies list the tools a bot used and how each call ended.</p></li>+ <li><h3>Works on a phone</h3><p>The web app fits a phone screen, with an inbox tab for what needs you.</p></li>+ </ul>+ <p class="section-foot"><a class="more-link" href="docs/bots-and-teams.html">Bots & teams →</a></p>+ </div>+</section>++<section id="spaces" class="fgroup alt">+ <div class="wrap">+ <div class="section-head">+ <p class="kicker">Spaces & accounts</p>+ <h2>Separate spaces, every account</h2>+ <p>Keep work, side projects and home apart, and use all the accounts you pay for.</p>+ </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>+ <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>+ <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>+ <ul class="flist">+ <li><h3>Spaces</h3><p>Each space has its own bots, teams, channels, routines, skills, tool servers and accounts.</p></li>+ <li><h3>Quick switching</h3><p>Switch from the rail or with <code>Ctrl</code>/<code>⌘</code> + <code>1</code>–<code>9</code>. Every space has its own address.</p></li>+ <li><h3>Archive, not delete</h3><p>Archiving a space pauses its routines and keeps everything. Restore it from Archived spaces.</p></li>+ <li><h3>Several accounts per engine</h3><p>Claude, Codex and Grok CLI logins, Anthropic, OpenAI and xAI keys, with a default and an order.</p></li>+ <li><h3>Failover</h3><p>When an account runs out of usage or is signed out, the turn moves to the next one, up to three tries, and the chat says so.</p></li>+ <li><h3>Your own server</h3><p>Add any server that speaks the OpenAI chat or Anthropic Messages API, such as OpenRouter or LM Studio.</p></li>+ <li><h3>Sign in from the app</h3><p>Sign in a Claude, Codex or Grok CLI account from kwant itself.</p></li>+ <li><h3>Keys stay hidden</h3><p>Keys are write-only. kwant shows whether one is set, never the key.</p></li>+ </ul>+ <p class="section-foot"><a class="more-link" href="docs/accounts.html">Accounts & profiles →</a></p>+ </div>+</section>++<section id="own" class="fgroup">+ <div class="wrap">+ <div class="section-head">+ <p class="kicker">Works on its own</p>+ <h2>kwant keeps going when you close the tab</h2>+ <p>Scheduled work, check-ins, and a list of everything still open.</p>+ </div>+ <div class="grid two">+ <article class="card">+ <span class="shot">{{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: 720px) 100vw, (max-width: 1024px) 50vw, 570px}}</span>+ <div class="card-body"><h3>Routines</h3><p>Once, daily, weekly, monthly, every few minutes or hours, or a cron rule. Run now, history and pause for each.</p></div>+ </article>+ <article class="card">+ <span class="shot">{{shot:v2-loose-ends|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.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px}}</span>+ <div class="card-body"><h3>Loose ends</h3><p>Finds questions, promises and replies that went quiet in your chats, email and GitHub.</p></div>+ </article>+ </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>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>Parallel Universe</h3><p>Load-test up to three ways to deploy in sealed containers on your server, next to dated price estimates. No cloud account and no spending.</p></li>+ <li><h3>Notifications</h3><p>Browser notifications, or an HTTPS webhook such as ntfy for your phone.</p></li>+ </ul>+ <p class="section-foot"><a class="more-link" href="docs/routines.html">Routines & bot actions →</a></p>+ </div>+</section>++<section id="safety" class="fgroup alt">+ <div class="wrap">+ <div class="section-head">+ <p class="kicker">Safety & control</p>+ <h2>You decide what bots may do</h2>+ <p>Every risky step waits for you, and every change can be undone.</p>+ </div>+ <div class="grid two">+ <article class="card">+ <span class="shot">{{shot:v2-hire-card|TechLead proposes hiring a Support bot, with the reason, what it is based on, its model and tools, and Deny, Accept once and Always accept buttons.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px}}</span>+ <div class="card-body"><h3>Hiring you approve</h3><p>Bots can propose a new teammate. Accept once, always, or deny. Each space sets its rule.</p></div>+ </article>+ <article class="card">+ <span class="shot">{{shot:v2-passwords-bitwarden|The warning shown when turning off approvals for every bot in a space, offering to move 3 saved passwords to Bitwarden first or keep asking.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px}}</span>+ <div class="card-body"><h3>Saved passwords</h3><p>Website logins in kwant's encrypted vault or your own Bitwarden. Turning approvals off requires Bitwarden.</p></div>+ </article>+ </div>+ <ul class="flist">+ <li><h3>Approval cards</h3><p>Allow once, Always allow or Deny, with the exact command or arguments.</p></li>+ <li><h3>Three approval modes</h3><p>Ask before running commands, ask only when risky, 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 wait for your OK.</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>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>+ </ul>+ <p class="section-foot"><a class="more-link" href="docs/approvals.html">Approvals & passwords →</a></p>+ </div>+</section>++<section id="knowledge" class="fgroup">+ <div class="wrap">+ <div class="section-head">+ <p class="kicker">Your bots and knowledge</p>+ <h2>Bots that learn your way of working</h2>+ <p>And you can read, change or switch off everything they learn.</p>+ </div>+ <div class="grid two">+ <article class="card">+ <span class="shot">{{shot:v2-memory|QA's Memory tab with an add box and four memories, each marked as written by the bot or by you, with edit and delete.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px}}</span>+ <div class="card-body"><h3>Memory</h3><p>Up to 100 short memories per bot, written by you or the bot, all editable.</p></div>+ </article>+ <article class="card">+ <span class="shot">{{shot:v2-skills|QA's Skills tab with a release-checklist skill waiting for review, with Approve, Edit then approve, and Reject, above a bug-report skill already in use.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px}}</span>+ <div class="card-body"><h3>Skills</h3><p>Written procedures a bot proposes and you approve. Turn each on or off.</p></div>+ </article>+ </div>+ <ul class="flist">+ <li><h3>Search</h3><p><code>Ctrl K</code> or <code>⌘K</code> searches every channel and direct chat in the open space.</p></li>+ <li><h3>Bring your bots</h3><p>Import from Grok, ChatGPT, Claude or a file such as a Claude Code subagent or a <code>SKILL.md</code>.</p></li>+ <li><h3>Export</h3><p>Export a space or one bot as a file, without chat history, files, tools or keys.</p></li>+ <li><h3>Write your own skill</h3><p>Add a skill to a bot yourself, from its Skills tab.</p></li>+ </ul>+ <p class="section-foot"><a class="more-link" href="docs/memory-skills.html">Memory, skills & search →</a></p>+ </div>+</section>++<section id="running" class="fgroup alt">+ <div class="wrap">+ <div class="section-head">+ <p class="kicker">Running it</p>+ <h2>One binary, on your laptop or a server</h2>+ <p>No cloud service to sign up for.</p>+ </div>+ <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>+ <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">+ <span class="shot">{{shot:desktop-usage|A bot's Usage tab showing calls, cache share, fresh, cached and output tokens, a breakdown by purpose and recent calls.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px}}</span>+ <div class="card-body"><h3>Usage</h3><p>For API-key and custom-API bots, a Usage tab breaks tokens down by purpose, cache and call.</p></div>+ </article>+ </div>+ <ul class="flist">+ <li><h3>One binary</h3><p><code>kwnt</code> has the web app and an SQLite database built in. No Node.js at runtime.</p></li>+ <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>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>+ <p class="section-foot"><a class="more-link" href="docs/install.html">Install & run →</a></p>+ </div>+</section>++<section aria-labelledby="closing-title">+ <div class="wrap">+ <div class="closing">+ <h2 id="closing-title">Put your team to work</h2>+ <p>Clone it, run <code>make run</code> and ask your first question in a few minutes.</p>+ <div class="cta">+ <a class="btn btn-primary" href="docs/quickstart.html">Read the quickstart</a>+ <a class="btn btn-ghost" href="docs/install.html">Run it on a server</a>+ </div>+ </div>+ </div>+</section>diff --git a/site-src/index.html b/site-src/index.htmlindex 6ca2619e..830db7fb 100644--- a/site-src/index.html+++ b/site-src/index.html@@ -1,5 +1,5 @@title: kwant: your own team of AI bots, in one binary-description: kwant is a self-hosted team of AI bots. They run on the Claude, Codex or Grok CLIs or your API keys, hand work to each other, and ask before anything risky. One binary, on your laptop or a VPS.+description: kwant is a self-hosted team of AI bots with separate spaces, every account you have, routines that run while you're away, and approvals before anything risky. One binary, on your laptop or a VPS.path: index.html---<section class="hero">@@ -7,7 +7,7 @@ path: index.html<div class="hero-copy"><p class="eyebrow"><span class="dot" aria-hidden="true"></span>Self-hosted · one binary · your data</p><h1>Your own team of <span class="grad">AI bots</span>, working together.</h1>- <p class="lede">kwant gives you a team of bots that share chats, hand work to each other with an @mention and wait for your OK before anything risky. Run it on your laptop or a server, with the Claude, Codex or Grok CLI you already use, or your own API keys.</p>+ <p class="lede">kwant gives you a team of bots that share chats, hand work to each other with an @mention, keep working on a schedule and wait for your OK before anything risky. Keep separate spaces for work and home, each with its own bots and accounts. Run it on your laptop or a server, with the Claude, Codex or Grok CLI you already use, or your own API keys.</p><div class="cta"><a class="btn btn-primary" href="docs/quickstart.html">Get started<svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 10h12M11 5l5 5-5 5"/></svg></a>@@ -25,54 +25,102 @@ path: index.html</div></section>-<section id="benefits" class="alt">+<section id="different" class="alt"><div class="wrap"><div class="section-head center">- <p class="kicker">Why kwant</p>- <h2>A real team, not another chat tab</h2>- <p>Each bot has its own role, voice and model. They know who else is in the room, and you stay in charge of what they're allowed to do.</p>+ <p class="kicker">What makes kwant different</p>+ <h2>More than a chat with a bot</h2>+ <p>kwant runs a whole working setup on your own machine: separate spaces, every account you have, and bots that keep going when you close the tab.</p></div><div class="benefits">- <article class="benefit">- <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 8l-9-5-9 5 9 5 9-5z"/><path d="M3 8v8l9 5 9-5V8"/><path d="M12 13v8"/></svg></span>- <h3>One binary</h3>- <p><code>kwnt</code> is a single program with the web app and an SQLite database built in. No Node.js at runtime and no database server to set up.</p>- </article>- <article class="benefit">- <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="12" rx="2"/><path d="M8 20h8M12 16v4"/></svg></span>- <h3>Your laptop or a VPS</h3>- <p>On your own computer there's nothing to sign in to. On a server, open the link it prints at startup once. Docker Compose and a systemd unit are included.</p>- </article>- <article class="benefit">- <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 17l6-6-6-6"/><path d="M12 19h8"/></svg></span>- <h3>Any model, any CLI</h3>- <p>Use the <code>claude</code>, <code>codex</code> or <code>grok</code> CLI, Anthropic, OpenAI or xAI API keys, or any OpenAI-compatible server like OpenRouter or LM Studio.</p>- </article>- <article class="benefit">+ <a class="benefit link" href="#spaces">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="3" width="7" height="7" rx="2"/><rect x="14" y="3" width="7" height="7" rx="2"/><rect x="3" y="14" width="7" height="7" rx="2"/><rect x="14" y="14" width="7" height="7" rx="2"/></svg></span>+ <h3>Spaces</h3>+ <p>Separate spaces for work, a side project and home. Each has its own bots, teams, channels, routines, accounts and approval rules.</p>+ <span class="more">See spaces →</span>+ </a>+ <a class="benefit link" href="#accounts">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="9" cy="8" r="3.5"/><path d="M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6"/><path d="M16 4.5a3.5 3.5 0 010 7M18 14.5c1.8.9 3 2.9 3 5.5"/></svg></span>+ <h3>Every account you have</h3>+ <p>Two Claude logins, a ChatGPT plan, an API key and your own server, side by side. When one runs out, kwant moves the turn to the next.</p>+ <span class="more">See accounts →</span>+ </a>+ <a class="benefit link" href="#team"><span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="8" cy="8" r="3"/><circle cx="17" cy="16" r="3"/><path d="M10.5 10.5l4 4"/><path d="M17 5v4M15 7h4"/></svg></span>- <h3>Bots that hand off</h3>- <p>When a reply @mentions a teammate, that teammate answers next in the same chat. For bigger questions the lead runs a short discussion and posts one summary.</p>- </article>- <article class="benefit">- <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3l8 3v6c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V6l8-3z"/><path d="M9 12l2 2 4-4"/></svg></span>- <h3>You approve risky actions</h3>- <p>Commands and edits outside a bot's own folder wait for Allow once, Always allow or Deny. Or let kwant ask only when something looks risky.</p>- </article>- <article class="benefit">- <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="5" y="11" width="14" height="10" rx="2"/><path d="M8 11V8a4 4 0 018 0v3"/></svg></span>- <h3>Your data stays yours</h3>- <p>Chats, bots and settings live in kwant's data folder on your machine. Saved website logins can live in your own Bitwarden.</p>- </article>+ <h3>A team that hands off</h3>+ <p>Bots @mention each other, a lead runs short discussions and posts one summary, and the Laya router picks who answers and with which model.</p>+ <span class="more">See the team →</span>+ </a>+ <a class="benefit link" href="#away">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg></span>+ <h3>Works while you're away</h3>+ <p>Routines on a schedule, bots that check back on their own, and one page with what finished, what failed and what's waiting on you.</p>+ <span class="more">See routines →</span>+ </a>+ <a class="benefit link" href="#loose-ends">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 6h16v12H4z"/><path d="M4 7l8 6 8-6"/></svg></span>+ <h3>Loose ends and letters</h3>+ <p>Finds what you started and never finished in your chats, email and GitHub, and reads the letters you photograph. It drafts the reply. It never sends.</p>+ <span class="more">See loose ends →</span>+ </a>+ <a class="benefit link" href="#more">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 12a9 9 0 109-9"/><path d="M3 4v5h5"/></svg></span>+ <h3>Bots that set things up</h3>+ <p>Ask for a routine or a channel and the bot makes it, with an Undo button. Bots can even propose hiring a teammate. You decide.</p>+ <span class="more">See bot actions →</span>+ </a>+ </div>+ <p class="section-foot"><a class="btn btn-ghost" href="features.html">See every feature</a></p>+ </div>+</section>++<section id="spaces">+ <div class="wrap">+ <div class="section-head">+ <p class="kicker">Spaces & accounts</p>+ <h2>Keep work, side projects and home apart</h2>+ <p>One kwant, as many spaces as you need. Nothing leaks from one to the next: not the bots, not the chats, not the accounts.</p>+ </div>+ <div class="showcase">+ <div class="row">+ <div class="row-copy">+ <h3>A space for each part of your life</h3>+ <p>Give each space a name, an icon and a colour. Its bots, teams, channels, tool servers, skills and routines stay inside it.</p>+ <ul class="checks">+ <li>Its own approval rule: ask every time, ask only when risky, or don't ask</li>+ <li>Its own hiring rule for bots that propose new teammates</li>+ <li>Switch from the rail or with <code>Ctrl</code>/<code>⌘</code> + <code>1</code>–<code>9</code>. Each space reopens where you left it</li>+ <li>Archive a space to pause it. Its bots and chats are kept</li>+ </ul>+ <a class="more-link" href="docs/spaces.html">How spaces work →</a>+ </div>+ <div class="frame">{{shot:v2-spaces-rail|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.}}</div>+ </div>++ <div class="row flip" id="accounts">+ <div class="row-copy">+ <h3>Every account, side by side</h3>+ <p>Add as many accounts per engine as you have: Claude or Codex or Grok CLI logins, Anthropic, OpenAI or xAI keys, and your own server that speaks the OpenAI or Anthropic API.</p>+ <ul class="checks">+ <li>A default and a priority order for each engine</li>+ <li>Out of usage? The turn moves to the next account, and the chat says so</li>+ <li>Pin a bot to one account, or keep it from switching</li>+ <li>Keys are write-only: kwant never shows them again</li>+ </ul>+ <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></div></div></section>-<section id="features">+<section id="team" class="alt"><div class="wrap"><div class="section-head">- <p class="kicker">Features</p>- <h2>Everything a small team needs</h2>- <p>These are real screens from kwant, running a sample space called Trailhead with a four-bot product team.</p>+ <p class="kicker">Your team</p>+ <h2>A real team, not another chat tab</h2>+ <p>Each bot has its own role, voice and model. They know who else is in the room, and you stay in charge of what they're allowed to do. These screens come from a sample space called Trailhead with a four-bot product team.</p></div><div class="showcase">@@ -118,38 +166,140 @@ path: index.html</div></section>-<section class="alt" aria-labelledby="more-title">+<section id="away">+ <div class="wrap">+ <div class="section-head">+ <p class="kicker">Works while you're away</p>+ <h2>kwant keeps going when you close the tab</h2>+ <p>Routines run on a schedule, bots check back on their own, and kwant keeps track of everything that's still open.</p>+ </div>+ <div class="showcase">+ <div class="row">+ <div class="row-copy">+ <h3>Say "every morning". Get a routine.</h3>+ <p>Ask a bot to check something every morning and it sets up the routine itself, with an Undo button on the card. Or make one yourself: once, daily, weekly, monthly, every few minutes or hours, or a cron rule.</p>+ <ul class="checks">+ <li>Run now, history, pause and edit for every routine</li>+ <li>Results post in a channel, the bot's direct chat or a thread</li>+ <li>Bots can set a one-off follow-up to check back later</li>+ </ul>+ <a class="more-link" href="docs/routines.html">Routines & bot actions →</a>+ </div>+ <div class="frame">{{video:clip-spaces-routine|Demo: switching from the Trailhead space to Home and back, then asking QA to check overnight checkout errors every morning. QA sets up a weekday routine and a follow-up, each with Undo, Edit and Pause.}}</div>+ </div>++ <div class="row flip">+ <div class="row-copy">+ <h3>Come back to what changed</h3>+ <p>"While you were away" collects what happened since you last looked, instead of a wall of chat.</p>+ <ul class="checks">+ <li><strong>Waiting on you:</strong> answer questions and approvals right there</li>+ <li><strong>Finished:</strong> handoffs and routine runs that are done</li>+ <li><strong>Failed or stuck:</strong> including a handoff with no reply after 30 minutes</li>+ <li>Optional notifications in your browser, or to your phone through an HTTPS webhook such as ntfy</li>+ </ul>+ </div>+ <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.}}</div>+ </div>++ <div class="row" id="loose-ends">+ <div class="row-copy">+ <h3>Nothing you started gets lost</h3>+ <p>Loose ends reads your kwant chats and, if you add them, an email inbox over IMAP and your GitHub issues and pull requests. It finds what's still hanging: a question nobody answered, a promise that lapsed, a reply you owe.</p>+ <ul class="checks">+ <li>Every case shows the quote it's based on and a drafted next step</li>+ <li>Read-only: no email is marked, moved or deleted</li>+ <li>It never sends. Copy the draft or open it in your mail app</li>+ <li>Snooze it, dismiss it, or mark it done</li>+ </ul>+ <a class="more-link" href="docs/loose-ends.html">Loose ends & letters →</a>+ </div>+ <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.}}</div>+ </div>++ <div class="row flip">+ <div class="row-copy">+ <h3>Snap a letter. Get the deadline.</h3>+ <p>Photograph or upload a bill, form or notice, up to five pages. kwant pulls out who sent it, what they want, the deadline, references and amounts, each next to the line it came from, and drafts a reply.</p>+ <ul class="checks">+ <li>Anything kwant isn't sure of is marked for you to check</li>+ <li>Reminders 7 days before, the day before and on the day</li>+ <li>Reading photos needs a Claude account</li>+ <li>Nothing is ever sent for you</li>+ </ul>+ </div>+ <div class="frame">{{shot:v2-letter|A scanned letter from a fictional water company next to what kwant read from it: who it's from, what they want and the deadline of November 5, each with the quote it came from and editable.}}</div>+ </div>+ </div>+ </div>+</section>++<section id="parallel" class="alt">+ <div class="wrap">+ <div class="row">+ <div class="row-copy">+ <p class="kicker">Parallel Universe</p>+ <h3>Try every way to deploy before you pick one</h3>+ <p>Managed hosting, a VPS or serverless? Describe your app and up to three ways to run it. kwant runs each one in a sealed-off container on your own server, load-tests it, and sets it next to a price estimate from a dated price table.</p>+ <ul class="checks">+ <li>Every number says where it came from: measured here, estimated from a price, or a guess</li>+ <li>No cloud account and no spending. The test containers have no internet</li>+ <li>Latency is measured on your server, not the provider's, and the report says so</li>+ <li>Needs Docker on the machine that runs kwant</li>+ </ul>+ <a class="more-link" href="docs/parallel-universe.html">How Parallel Universe works →</a>+ </div>+ <div class="frame">{{shot:v2-parallel-universe|Parallel Universe comparing three ways to host an API on cost, p95 latency, ops burden and rollback, with the fastest and cheapest option marked. The figures are sample data.}}</div>+ </div>+ </div>+</section>++<section id="more" aria-labelledby="more-title"><div class="wrap"><div class="section-head"><p class="kicker">And more</p>- <h2 id="more-title">Built for day-to-day work</h2>+ <h2 id="more-title">Bots that grow with you</h2>+ <p>They set things up when you ask, remember what matters, and learn your way of working, with you approving each step.</p></div><div class="grid"><article class="card">- <span class="shot">{{shot:desktop-handoff|The design-review channel. Designer answers a question about empty states, then @mentions QA, and QA checks it on a 360 pixel screen.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px}}</span>- <div class="card-body"><h3>Handoffs with an @mention</h3><p>Mention a teammate, or <code>@everyone</code>, and they pick it up right after, up to four handoffs per message.</p></div>+ <span class="shot">{{shot:v2-action-undo|TechLead created the channel #launch-waitlist when asked. The card says Done and has an Undo button.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px}}</span>+ <div class="card-body"><h3>Changes with an Undo</h3><p>Bots create routines, channels and bots when you ask, up to 10 changes a turn. Deleting a bot or archiving a space waits for your OK.</p></div></article><article class="card">- <span class="shot">{{shot:desktop-reasoning|The general channel. kwant routes a Postgres or queue question to Architect and shows why, plus the model and effort it used.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px}}</span>- <div class="card-body"><h3>The right bot and model</h3><p>The Laya router picks who answers in a channel, and the model and effort for bots set to auto. If it's offline, kwant routes by keyword.</p></div>+ <span class="shot">{{shot:v2-hire-card|TechLead proposes hiring a Support bot, with the reason, what it is based on, its model and tools, and Deny, Accept once and Always accept buttons.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px}}</span>+ <div class="card-body"><h3>Bots that propose a hire</h3><p>When a specialist would do better, a bot can propose a new teammate. Accept it once, always, or deny it. Each space sets its own rule.</p></div>+ </article>+ <article class="card">+ <span class="shot">{{shot:v2-skills|QA's Skills tab with a release-checklist skill waiting for review, with Approve, Edit then approve, and Reject, above a bug-report skill already in use.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px}}</span>+ <div class="card-body"><h3>Skills you approve</h3><p>A bot can write down how it does a task as a skill. Nothing is used until you approve it, edit it or turn it off.</p></div></article><article class="card">- <span class="shot">{{shot:desktop-manage-team|The Manage Team dialog with the team handle, mission, pinned team instructions, workspace, lead and roster.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px}}</span>- <div class="card-body"><h3>Teams with a lead</h3><p>Give a team a mission, pinned instructions every member follows, a lead and a shared workspace.</p></div>+ <span class="shot">{{shot:v2-memory|QA's Memory tab with an add box and four memories, each marked as written by the bot or by you, with edit and delete.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px}}</span>+ <div class="card-body"><h3>Memory you can read</h3><p>Each bot keeps up to 100 short memories. You see every one, who wrote it, and can edit or delete it.</p></div></article><article class="card">- <span class="shot">{{shot:desktop-usage|A bot's Usage tab showing calls, cache share, fresh, cached and output tokens, a breakdown by purpose and recent calls.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px}}</span>- <div class="card-body"><h3>See what each bot uses</h3><p>For API-key bots, a Usage tab breaks tokens down by purpose, cache and call.</p></div>+ <span class="shot">{{shot:v2-search|Search for "waitlist" across every chat in the space, with highlighted hits grouped by chat.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px}}</span>+ <div class="card-body"><h3>Search every chat</h3><p>Press <code>Ctrl K</code> or <code>⌘K</code> to search every channel and direct chat in a space.</p></div></article><article class="card">- <span class="shot">{{shot:desktop-approval-done|After Allow Once, TechLead reports that pull request 482 is open, with a receipt: used 1 tool, create pull request, done.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px}}</span>- <div class="card-body"><h3>A receipt for every tool</h3><p>Replies list the tools a bot used and how each call ended, so nothing happens out of sight.</p></div>+ <span class="shot">{{shot:v2-import|The import dialog: Bring a bot from Grok, ChatGPT, Claude or another app, or upload a file.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px}}</span>+ <div class="card-body"><h3>Bring your bots</h3><p>Import bots from Grok, ChatGPT, Claude or a file. They arrive with no tools and no keys, and their skills and routines wait for you.</p></div></article><article class="card">- <span class="shot">{{shot:desktop-presets|The New bot dialog with the Security preset picked, showing Tech, Non-tech and Lifestyle tabs and the avatar grid.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px}}</span>- <div class="card-body"><h3>Personas and souls</h3><p>Every bot has a persona for what it does, a soul for how it speaks, and a pixel avatar.</p></div>+ <span class="shot">{{shot:desktop-handoff|The design-review channel. Designer answers a question about empty states, then @mentions QA, and QA checks it on a 360 pixel screen.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px}}</span>+ <div class="card-body"><h3>Handoffs with an @mention</h3><p>Mention a teammate, or <code>@everyone</code>, and they pick it up right after, up to four handoffs per message.</p></div>+ </article>+ <article class="card">+ <span class="shot">{{shot:desktop-reasoning|The general channel. kwant routes a Postgres or queue question to Architect and shows why, plus the model and effort it used.|(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px}}</span>+ <div class="card-body"><h3>The right bot and model</h3><p>The Laya router picks who answers in a channel, and the model and effort for bots set to auto. If it's offline, kwant routes by keyword.</p></div>+ </article>+ <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, 370px}}</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></div>+ <p class="section-foot"><a class="btn btn-ghost" href="features.html">See every feature</a></p></div></section>@@ -165,6 +315,48 @@ path: index.html</div></section>+<section id="basics" class="alt">+ <div class="wrap">+ <div class="section-head center">+ <p class="kicker">The basics</p>+ <h2>Simple to run, yours to keep</h2>+ <p>No cloud service to sign up for. kwant runs where you put it and keeps everything in one folder.</p>+ </div>+ <div class="benefits">+ <article class="benefit">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 8l-9-5-9 5 9 5 9-5z"/><path d="M3 8v8l9 5 9-5V8"/><path d="M12 13v8"/></svg></span>+ <h3>One binary</h3>+ <p><code>kwnt</code> is a single program with the web app and an SQLite database built in. No Node.js at runtime and no database server to set up.</p>+ </article>+ <article class="benefit">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="12" rx="2"/><path d="M8 20h8M12 16v4"/></svg></span>+ <h3>Your laptop or a VPS</h3>+ <p>On your own computer there's nothing to sign in to. On a server, open the link it prints at startup once. Docker Compose and a systemd unit are included.</p>+ </article>+ <article class="benefit">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 17l6-6-6-6"/><path d="M12 19h8"/></svg></span>+ <h3>Any model, any CLI</h3>+ <p>Use the <code>claude</code>, <code>codex</code> or <code>grok</code> CLI, Anthropic, OpenAI or xAI API keys, or any OpenAI-compatible server like OpenRouter or LM Studio.</p>+ </article>+ <article class="benefit">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M14 7l3-3 3 3-3 3"/><path d="M10 17l-3 3-3-3 3-3"/><path d="M17 4v6a4 4 0 01-4 4h-2a4 4 0 00-4 4v2"/></svg></span>+ <h3>Tools through MCP</h3>+ <p>Give bots GitHub, Notion or any other MCP server. Paste a command or URL from its README, then pick which bots can use it.</p>+ </article>+ <article class="benefit">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3l8 3v6c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V6l8-3z"/><path d="M9 12l2 2 4-4"/></svg></span>+ <h3>You approve risky actions</h3>+ <p>Commands and edits outside a bot's own folder wait for Allow once, Always allow or Deny. Or let kwant ask only when something looks risky.</p>+ </article>+ <article class="benefit">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="5" y="11" width="14" height="10" rx="2"/><path d="M8 11V8a4 4 0 018 0v3"/></svg></span>+ <h3>Your data stays yours</h3>+ <p>Chats, bots and settings live in kwant's data folder on your machine. Saved website logins can live in your own Bitwarden.</p>+ </article>+ </div>+ </div>+</section>+<section id="how" class="alt"><div class="wrap"><div class="section-head center">@@ -226,6 +418,34 @@ make run</code></pre><summary>Can bots use other tools, like GitHub or Notion?</summary><div><p>Yes, through MCP servers. Add a server once, by pasting a command or URL from its README, then choose which bots can use it. A bot only ever sees the servers you gave it. Servers that need a sign-in use OAuth.</p></div></details>+ <details>+ <summary>What is a space?</summary>+ <div><p>A separate area with its own bots, teams, channels, routines, skills, tool servers and accounts. Use one for work and another for home, and switch with <code>Ctrl</code>/<code>⌘</code> + a number. Each space has its own approval and hiring rules.</p></div>+ </details>+ <details>+ <summary>Can I use more than one Claude account?</summary>+ <div><p>Yes. Add as many accounts per engine as you like: CLI logins, API keys, or your own OpenAI- or Anthropic-compatible server. Set a default and an order, and pin a bot to one account if you want.</p></div>+ </details>+ <details>+ <summary>What happens when an account runs out of usage?</summary>+ <div><p>If nothing has been shown yet in that turn, kwant moves it to the next account in your order, up to three tries, and says so in the chat. The account that ran out is skipped until it resets. You can turn this off for a bot.</p></div>+ </details>+ <details>+ <summary>Can kwant send email or reply for me?</summary>+ <div><p>No. Loose ends reads your inbox and GitHub without changing anything, and letters are read from photos you upload. kwant drafts the reply, and you copy it or open it in your mail app.</p></div>+ </details>+ <details>+ <summary>Does Parallel Universe spend money or need a cloud account?</summary>+ <div><p>No. It runs each option in a sealed-off Docker container on your own server and estimates prices from a dated table built into kwant. It needs Docker, and runs one comparison at a time.</p></div>+ </details>+ <details>+ <summary>Can bots change settings or create other bots?</summary>+ <div><p>Yes, when you ask: routines, channels, bots and more, up to 10 changes a turn, each on a card with Undo. Deleting a bot or archiving a space waits for your OK. Bots can't touch keys, sign-ins, approval rules or computer mode.</p></div>+ </details>+ <details>+ <summary>Can I bring my bots from ChatGPT, Claude or Grok?</summary>+ <div><p>Yes. kwant gives you a prompt to paste into the other app, and you paste its reply back, or upload a file such as a Claude Code subagent or a <code>SKILL.md</code>. Imported bots start with no tools and no keys, and their skills and routines wait for you.</p></div>+ </details></div></div></section>diff --git a/site/404.html b/site/404.htmlindex 9a02436d..2e9d0a3b 100644--- a/site/404.html+++ b/site/404.html@@ -31,7 +31,7 @@<div class="wrap"><a class="brand" href="/" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-h" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-h)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a><nav class="nav" aria-label="Main">- <a class="hide-sm" href="/#features">Features</a>+ <a class="hide-sm" href="/features.html">Features</a><a class="hide-sm" href="/#how">How it works</a><a class="hide-sm" href="/#faq">FAQ</a><a href="/docs/quickstart.html">Docs</a>@@ -62,8 +62,10 @@<nav aria-label="Footer"><a href="/docs/quickstart.html">Quickstart</a><a href="/docs/install.html">Install & run</a>+ <a href="/features.html">All features</a>+ <a href="/docs/spaces.html">Spaces</a>+ <a href="/docs/accounts.html">Accounts</a><a href="/docs/approvals.html">Approvals</a>- <a href="/docs/models.html">Models</a><a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a></nav></div>diff --git a/site/docs/accounts.html b/site/docs/accounts.htmlnew file mode 100644index 00000000..dc405137--- /dev/null+++ b/site/docs/accounts.html@@ -0,0 +1,116 @@+<!doctype html>+<html lang="en">+<head>+<meta charset="utf-8">+<meta name="viewport" content="width=device-width, initial-scale=1">+<title>Accounts & profiles · kwant</title>+<meta name="description" content="Add several accounts per engine in kwant: CLI logins, API keys and your own OpenAI- or Anthropic-compatible server, with a default, a priority order and automatic failover.">+<meta name="theme-color" content="#0d0a1d">+<meta name="color-scheme" content="dark">+<link rel="canonical" href="https://kwant.si/docs/accounts">+<meta property="og:type" content="website">+<meta property="og:site_name" content="kwant">+<meta property="og:title" content="Accounts & profiles · kwant">+<meta property="og:description" content="Add several accounts per engine in kwant: CLI logins, API keys and your own OpenAI- or Anthropic-compatible server, with a default, a priority order and automatic failover.">+<meta property="og:url" content="https://kwant.si/docs/accounts">+<meta property="og:image" content="https://kwant.si/assets/og.png">+<meta property="og:image:width" content="1200">+<meta property="og:image:height" content="630">+<meta property="og:image:alt" content="kwant: a team of AI bots discussing a feature and posting one summary">+<meta name="twitter:card" content="summary_large_image">+<link rel="icon" href="../favicon.svg" type="image/svg+xml">+<link rel="icon" href="../favicon-32.png" sizes="32x32" type="image/png">+<link rel="apple-touch-icon" href="../apple-touch-icon.png">+<link rel="preload" href="../assets/fonts/inter-var.woff2" as="font" type="font/woff2" crossorigin>+<link rel="stylesheet" href="../assets/css/site.css">+</head>+<body>+<a class="skip" href="#main">Skip to content</a>+<header class="site-header">+ <div class="wrap">+ <a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-h" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-h)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a>+ <nav class="nav" aria-label="Main">+ <a class="hide-sm" href="../features.html">Features</a>+ <a class="hide-sm" href="../#how">How it works</a>+ <a class="hide-sm" href="../#faq">FAQ</a>+ <a href="../docs/quickstart.html" aria-current="page">Docs</a>+ <a class="btn btn-ghost" href="https://github.com/alexsergivan/kwant" rel="noopener"><svg viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg><span>GitHub</span></a>+ </nav>+ </div>+</header>+<main id="main">+<div class="wrap docs">+ <nav class="docs-nav" aria-label="Docs">+ <h2>Docs</h2>+ <div class="docs-group"><h3>Get started</h3><ul><li><a href="../docs/quickstart.html">Quickstart</a></li><li><a href="../docs/install.html">Install & run</a></li></ul></div>+ <div class="docs-group"><h3>Using kwant</h3><ul><li><a href="../docs/spaces.html">Spaces</a></li><li><a href="../docs/bots-and-teams.html">Bots & teams</a></li><li><a href="../docs/accounts.html" aria-current="page">Accounts & profiles</a></li><li><a href="../docs/models.html">Models & routing</a></li><li><a href="../docs/approvals.html">Approvals & passwords</a></li></ul></div>+ <div class="docs-group"><h3>Works on its own</h3><ul><li><a href="../docs/routines.html">Routines & bot actions</a></li><li><a href="../docs/memory-skills.html">Memory, skills & search</a></li><li><a href="../docs/loose-ends.html">Loose ends & letters</a></li><li><a href="../docs/parallel-universe.html">Parallel Universe</a></li></ul></div>+ <div class="docs-group"><h3>Connect</h3><ul><li><a href="../docs/mcp.html">MCP tools</a></li><li><a href="../docs/browser.html">Browser</a></li></ul></div>+ </nav>+ <article class="prose">+<p class="kicker">Docs</p>+<h1>Accounts & profiles</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" 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" srcset="../assets/media/v2-accounts-1440.webp 1440w, ../assets/media/v2-accounts-2880.webp 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>+</figure>++<h2 id="profiles">Account profiles</h2>+<p>A profile is one account for an engine, for example a work Claude subscription and a personal one. Every engine starts with a <strong>This machine</strong> profile, which uses the CLI's own login, or the key from Settings or the environment.</p>+<div class="table-wrap"><table>+ <thead><tr><th>Kind</th><th>Runs with</th><th>Signed in by</th></tr></thead>+ <tbody>+ <tr><td><code>system</code></td><td>The CLI's default config folder, or the Settings or environment key</td><td>Whatever you did on the host</td></tr>+ <tr><td><code>cli_home</code></td><td>Its own config folder; host credential variables are removed</td><td>The in-app sign-in, or your own folder</td></tr>+ <tr><td><code>api_key</code></td><td>The provider's API, with only the profile's key</td><td>The key you paste</td></tr>+ <tr><td><code>custom_api</code></td><td>Your own server, with its key if it has one</td><td>A check of the server's model list</td></tr>+ </tbody>+</table></div>+<p>Keys are write-only: no API response ever contains one, only whether it's set.</p>++<h3 id="sign-in">Signing in a CLI profile</h3>+<p>kwant runs the CLI's own login with the profile's folder. For Claude, open the link and paste the code shown back into kwant. For Codex and Grok, open the link and enter the code. A sign-in expires after 10 minutes.</p>++<h3 id="failover">Failover</h3>+<p>A bot can be pinned to a profile; otherwise the engine's default profile runs. When that profile is out of usage or signed out, and nothing has been shown or done yet in the turn, kwant moves the turn to the engine's next enabled profile by priority, up to 3 attempts, and the chat says so. A profile that ran out is skipped until its reset time. Overloads and rate limits are retried, not failed over. Turn failover off for a bot to keep it on its profile.</p>++<h2 id="pin">Pinning a bot</h2>+<p>In a bot's settings, pick the account it should use, or leave it on the engine's default. Clear <strong>Switch to the engine's next account when this one runs out of usage or is signed out</strong> to keep the bot on its account.</p>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v2-bot-account-pin-2880.webp" data-caption="Editing QA: engine, model and the account Team gateway, ready, with the switch to move to the engine's next account when this one runs out, and the approval override."><img src="../assets/media/v2-bot-account-pin-1440.webp" srcset="../assets/media/v2-bot-account-pin-1440.webp 1440w, ../assets/media/v2-bot-account-pin-2880.webp 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="Editing QA: engine, model and the account Team gateway, ready, with the switch to move to the engine's next account when this one runs out, and the approval override."></a></div>+</figure>++<h2 id="custom">Custom API accounts</h2>+<p>Add an account with the server's base URL and, if needed, a key. kwant checks the server's model list when you save it and shows whether it's ready, unreachable or rejected the key. A space can have several custom accounts, and they belong to that space only.</p>+<ul>+ <li>Paste the base URL with or without <code>/chat/completions</code> or <code>/messages</code>: kwant trims it to the API root.</li>+ <li>MCP tools are offered on OpenAI-chat servers. Anthropic-Messages servers run without tools and say so.</li>+ <li>Custom API never falls back to the host's accounts.</li>+</ul>+<div class="note"><strong>Keep a space off this machine.</strong> Each space has a <strong>Use This machine</strong> switch. Turn it off to keep the space on its own accounts: its bots never fall back to the CLIs signed in on the computer running kwant.</div>++ <nav class="pager" aria-label="Docs pages"><a class="prev" href="../docs/bots-and-teams.html"><small>Previous</small>Bots & teams</a><a class="next" href="../docs/models.html"><small>Next</small>Models & routing</a></nav>+ </article>+</div>+</main>+<footer class="site-footer">+ <div class="wrap">+ <div>+ <a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-f" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-f)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a>+ <p>A self-hosted team of AI bots in one binary. Screens and clips on this site come from a real kwant build running sample data.</p>+ </div>+ <nav aria-label="Footer">+ <a href="../docs/quickstart.html">Quickstart</a>+ <a href="../docs/install.html">Install & run</a>+ <a href="../features.html">All features</a>+ <a href="../docs/spaces.html">Spaces</a>+ <a href="../docs/accounts.html">Accounts</a>+ <a href="../docs/approvals.html">Approvals</a>+ <a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a>+ </nav>+ </div>+</footer>+<script src="../assets/js/site.js" defer></script>+</body>+</html>diff --git a/site/docs/approvals.html b/site/docs/approvals.htmlindex bbb91b39..b2788716 100644--- a/site/docs/approvals.html+++ b/site/docs/approvals.html@@ -30,7 +30,7 @@<div class="wrap"><a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-h" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-h)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a><nav class="nav" aria-label="Main">- <a class="hide-sm" href="../#features">Features</a>+ <a class="hide-sm" href="../features.html">Features</a><a class="hide-sm" href="../#how">How it works</a><a class="hide-sm" href="../#faq">FAQ</a><a href="../docs/quickstart.html" aria-current="page">Docs</a>@@ -42,15 +42,10 @@<div class="wrap docs"><nav class="docs-nav" aria-label="Docs"><h2>Docs</h2>- <ul>- <li><a href="../docs/quickstart.html">Quickstart</a></li>- <li><a href="../docs/install.html">Install & run</a></li>- <li><a href="../docs/bots-and-teams.html">Bots & teams</a></li>- <li><a href="../docs/approvals.html" aria-current="page">Approvals & passwords</a></li>- <li><a href="../docs/models.html">Models & accounts</a></li>- <li><a href="../docs/mcp.html">MCP tools</a></li>- <li><a href="../docs/browser.html">Browser</a></li>- </ul>+ <div class="docs-group"><h3>Get started</h3><ul><li><a href="../docs/quickstart.html">Quickstart</a></li><li><a href="../docs/install.html">Install & run</a></li></ul></div>+ <div class="docs-group"><h3>Using kwant</h3><ul><li><a href="../docs/spaces.html">Spaces</a></li><li><a href="../docs/bots-and-teams.html">Bots & teams</a></li><li><a href="../docs/accounts.html">Accounts & profiles</a></li><li><a href="../docs/models.html">Models & routing</a></li><li><a href="../docs/approvals.html" aria-current="page">Approvals & passwords</a></li></ul></div>+ <div class="docs-group"><h3>Works on its own</h3><ul><li><a href="../docs/routines.html">Routines & bot actions</a></li><li><a href="../docs/memory-skills.html">Memory, skills & search</a></li><li><a href="../docs/loose-ends.html">Loose ends & letters</a></li><li><a href="../docs/parallel-universe.html">Parallel Universe</a></li></ul></div>+ <div class="docs-group"><h3>Connect</h3><ul><li><a href="../docs/mcp.html">MCP tools</a></li><li><a href="../docs/browser.html">Browser</a></li></ul></div></nav><article class="prose"><p class="kicker">Docs</p>@@ -116,7 +111,7 @@</ul><div class="note warn"><strong>Known gap.</strong> Autofill stays on while approvals are off. Chrome's debugging port listens on loopback without authentication, so a bot with a shell could read a field kwant has just filled. This applies to both stores. A fix that removes the port is planned.</div>- <nav class="pager" aria-label="Docs pages"><a class="prev" href="../docs/bots-and-teams.html"><small>Previous</small>Bots & teams</a><a class="next" href="../docs/models.html"><small>Next</small>Models & accounts</a></nav>+ <nav class="pager" aria-label="Docs pages"><a class="prev" href="../docs/models.html"><small>Previous</small>Models & routing</a><a class="next" href="../docs/routines.html"><small>Next</small>Routines & bot actions</a></nav></article></div></main>@@ -129,8 +124,10 @@<nav aria-label="Footer"><a href="../docs/quickstart.html">Quickstart</a><a href="../docs/install.html">Install & run</a>+ <a href="../features.html">All features</a>+ <a href="../docs/spaces.html">Spaces</a>+ <a href="../docs/accounts.html">Accounts</a><a href="../docs/approvals.html">Approvals</a>- <a href="../docs/models.html">Models</a><a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a></nav></div>diff --git a/site/docs/bots-and-teams.html b/site/docs/bots-and-teams.htmlindex bd3776c9..ccd4cc05 100644--- a/site/docs/bots-and-teams.html+++ b/site/docs/bots-and-teams.html@@ -30,7 +30,7 @@<div class="wrap"><a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-h" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-h)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a><nav class="nav" aria-label="Main">- <a class="hide-sm" href="../#features">Features</a>+ <a class="hide-sm" href="../features.html">Features</a><a class="hide-sm" href="../#how">How it works</a><a class="hide-sm" href="../#faq">FAQ</a><a href="../docs/quickstart.html" aria-current="page">Docs</a>@@ -42,15 +42,10 @@<div class="wrap docs"><nav class="docs-nav" aria-label="Docs"><h2>Docs</h2>- <ul>- <li><a href="../docs/quickstart.html">Quickstart</a></li>- <li><a href="../docs/install.html">Install & run</a></li>- <li><a href="../docs/bots-and-teams.html" aria-current="page">Bots & teams</a></li>- <li><a href="../docs/approvals.html">Approvals & passwords</a></li>- <li><a href="../docs/models.html">Models & accounts</a></li>- <li><a href="../docs/mcp.html">MCP tools</a></li>- <li><a href="../docs/browser.html">Browser</a></li>- </ul>+ <div class="docs-group"><h3>Get started</h3><ul><li><a href="../docs/quickstart.html">Quickstart</a></li><li><a href="../docs/install.html">Install & run</a></li></ul></div>+ <div class="docs-group"><h3>Using kwant</h3><ul><li><a href="../docs/spaces.html">Spaces</a></li><li><a href="../docs/bots-and-teams.html" aria-current="page">Bots & teams</a></li><li><a href="../docs/accounts.html">Accounts & profiles</a></li><li><a href="../docs/models.html">Models & routing</a></li><li><a href="../docs/approvals.html">Approvals & passwords</a></li></ul></div>+ <div class="docs-group"><h3>Works on its own</h3><ul><li><a href="../docs/routines.html">Routines & bot actions</a></li><li><a href="../docs/memory-skills.html">Memory, skills & search</a></li><li><a href="../docs/loose-ends.html">Loose ends & letters</a></li><li><a href="../docs/parallel-universe.html">Parallel Universe</a></li></ul></div>+ <div class="docs-group"><h3>Connect</h3><ul><li><a href="../docs/mcp.html">MCP tools</a></li><li><a href="../docs/browser.html">Browser</a></li></ul></div></nav><article class="prose"><p class="kicker">Docs</p>@@ -122,9 +117,9 @@<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.</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>- <nav class="pager" aria-label="Docs pages"><a class="prev" href="../docs/install.html"><small>Previous</small>Install & run</a><a class="next" href="../docs/approvals.html"><small>Next</small>Approvals & passwords</a></nav>+ <nav class="pager" aria-label="Docs pages"><a class="prev" href="../docs/spaces.html"><small>Previous</small>Spaces</a><a class="next" href="../docs/accounts.html"><small>Next</small>Accounts & profiles</a></nav></article></div></main>@@ -137,8 +132,10 @@<nav aria-label="Footer"><a href="../docs/quickstart.html">Quickstart</a><a href="../docs/install.html">Install & run</a>+ <a href="../features.html">All features</a>+ <a href="../docs/spaces.html">Spaces</a>+ <a href="../docs/accounts.html">Accounts</a><a href="../docs/approvals.html">Approvals</a>- <a href="../docs/models.html">Models</a><a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a></nav></div>diff --git a/site/docs/browser.html b/site/docs/browser.htmlindex 436d837a..33fda60e 100644--- a/site/docs/browser.html+++ b/site/docs/browser.html@@ -30,7 +30,7 @@<div class="wrap"><a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-h" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-h)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a><nav class="nav" aria-label="Main">- <a class="hide-sm" href="../#features">Features</a>+ <a class="hide-sm" href="../features.html">Features</a><a class="hide-sm" href="../#how">How it works</a><a class="hide-sm" href="../#faq">FAQ</a><a href="../docs/quickstart.html" aria-current="page">Docs</a>@@ -42,15 +42,10 @@<div class="wrap docs"><nav class="docs-nav" aria-label="Docs"><h2>Docs</h2>- <ul>- <li><a href="../docs/quickstart.html">Quickstart</a></li>- <li><a href="../docs/install.html">Install & run</a></li>- <li><a href="../docs/bots-and-teams.html">Bots & teams</a></li>- <li><a href="../docs/approvals.html">Approvals & passwords</a></li>- <li><a href="../docs/models.html">Models & accounts</a></li>- <li><a href="../docs/mcp.html">MCP tools</a></li>- <li><a href="../docs/browser.html" aria-current="page">Browser</a></li>- </ul>+ <div class="docs-group"><h3>Get started</h3><ul><li><a href="../docs/quickstart.html">Quickstart</a></li><li><a href="../docs/install.html">Install & run</a></li></ul></div>+ <div class="docs-group"><h3>Using kwant</h3><ul><li><a href="../docs/spaces.html">Spaces</a></li><li><a href="../docs/bots-and-teams.html">Bots & teams</a></li><li><a href="../docs/accounts.html">Accounts & profiles</a></li><li><a href="../docs/models.html">Models & routing</a></li><li><a href="../docs/approvals.html">Approvals & passwords</a></li></ul></div>+ <div class="docs-group"><h3>Works on its own</h3><ul><li><a href="../docs/routines.html">Routines & bot actions</a></li><li><a href="../docs/memory-skills.html">Memory, skills & search</a></li><li><a href="../docs/loose-ends.html">Loose ends & letters</a></li><li><a href="../docs/parallel-universe.html">Parallel Universe</a></li></ul></div>+ <div class="docs-group"><h3>Connect</h3><ul><li><a href="../docs/mcp.html">MCP tools</a></li><li><a href="../docs/browser.html" aria-current="page">Browser</a></li></ul></div></nav><article class="prose"><p class="kicker">Docs</p>@@ -114,8 +109,10 @@ docker build -t kwnt-executor:v1 -f docker/executor.Dockerfile docker</code></pr<nav aria-label="Footer"><a href="../docs/quickstart.html">Quickstart</a><a href="../docs/install.html">Install & run</a>+ <a href="../features.html">All features</a>+ <a href="../docs/spaces.html">Spaces</a>+ <a href="../docs/accounts.html">Accounts</a><a href="../docs/approvals.html">Approvals</a>- <a href="../docs/models.html">Models</a><a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a></nav></div>diff --git a/site/docs/install.html b/site/docs/install.htmlindex 6e444d22..9d628498 100644--- a/site/docs/install.html+++ b/site/docs/install.html@@ -30,7 +30,7 @@<div class="wrap"><a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-h" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-h)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a><nav class="nav" aria-label="Main">- <a class="hide-sm" href="../#features">Features</a>+ <a class="hide-sm" href="../features.html">Features</a><a class="hide-sm" href="../#how">How it works</a><a class="hide-sm" href="../#faq">FAQ</a><a href="../docs/quickstart.html" aria-current="page">Docs</a>@@ -42,15 +42,10 @@<div class="wrap docs"><nav class="docs-nav" aria-label="Docs"><h2>Docs</h2>- <ul>- <li><a href="../docs/quickstart.html">Quickstart</a></li>- <li><a href="../docs/install.html" aria-current="page">Install & run</a></li>- <li><a href="../docs/bots-and-teams.html">Bots & teams</a></li>- <li><a href="../docs/approvals.html">Approvals & passwords</a></li>- <li><a href="../docs/models.html">Models & accounts</a></li>- <li><a href="../docs/mcp.html">MCP tools</a></li>- <li><a href="../docs/browser.html">Browser</a></li>- </ul>+ <div class="docs-group"><h3>Get started</h3><ul><li><a href="../docs/quickstart.html">Quickstart</a></li><li><a href="../docs/install.html" aria-current="page">Install & run</a></li></ul></div>+ <div class="docs-group"><h3>Using kwant</h3><ul><li><a href="../docs/spaces.html">Spaces</a></li><li><a href="../docs/bots-and-teams.html">Bots & teams</a></li><li><a href="../docs/accounts.html">Accounts & profiles</a></li><li><a href="../docs/models.html">Models & routing</a></li><li><a href="../docs/approvals.html">Approvals & passwords</a></li></ul></div>+ <div class="docs-group"><h3>Works on its own</h3><ul><li><a href="../docs/routines.html">Routines & bot actions</a></li><li><a href="../docs/memory-skills.html">Memory, skills & search</a></li><li><a href="../docs/loose-ends.html">Loose ends & letters</a></li><li><a href="../docs/parallel-universe.html">Parallel Universe</a></li></ul></div>+ <div class="docs-group"><h3>Connect</h3><ul><li><a href="../docs/mcp.html">MCP tools</a></li><li><a href="../docs/browser.html">Browser</a></li></ul></div></nav><article class="prose"><p class="kicker">Docs</p>@@ -137,9 +132,9 @@ docker compose exec kwnt kwnt token <span class="c"># print it again l<tr><td><code>KWNT_LAYA_MANAGED=0</code></td><td>Don't install or run Laya; use your own. <code>kwnt serve --no-laya</code> skips it.</td></tr></tbody></table></div>-<p><code>~/.kwnt/config.toml</code> can also set <code>host</code>, <code>port</code>, <code>data_dir</code> and the Laya options (<code>laya_url</code>, <code>laya_managed</code>, <code>laya_models</code>). More on Laya is in <a href="models.html#laya">Models & accounts</a>.</p>+<p><code>~/.kwnt/config.toml</code> can also set <code>host</code>, <code>port</code>, <code>data_dir</code> and the Laya options (<code>laya_url</code>, <code>laya_managed</code>, <code>laya_models</code>). More on Laya is in <a href="models.html#laya">Models & routing</a>.</p>- <nav class="pager" aria-label="Docs pages"><a class="prev" href="../docs/quickstart.html"><small>Previous</small>Quickstart</a><a class="next" href="../docs/bots-and-teams.html"><small>Next</small>Bots & teams</a></nav>+ <nav class="pager" aria-label="Docs pages"><a class="prev" href="../docs/quickstart.html"><small>Previous</small>Quickstart</a><a class="next" href="../docs/spaces.html"><small>Next</small>Spaces</a></nav></article></div></main>@@ -152,8 +147,10 @@ docker compose exec kwnt kwnt token <span class="c"># print it again l<nav aria-label="Footer"><a href="../docs/quickstart.html">Quickstart</a><a href="../docs/install.html">Install & run</a>+ <a href="../features.html">All features</a>+ <a href="../docs/spaces.html">Spaces</a>+ <a href="../docs/accounts.html">Accounts</a><a href="../docs/approvals.html">Approvals</a>- <a href="../docs/models.html">Models</a><a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a></nav></div>diff --git a/site/docs/loose-ends.html b/site/docs/loose-ends.htmlnew file mode 100644index 00000000..03306da2--- /dev/null+++ b/site/docs/loose-ends.html@@ -0,0 +1,116 @@+<!doctype html>+<html lang="en">+<head>+<meta charset="utf-8">+<meta name="viewport" content="width=device-width, initial-scale=1">+<title>Loose ends & letters · kwant</title>+<meta name="description" content="kwant finds what you started and never finished in your chats, email and GitHub, and reads letters you photograph. It drafts the next step and never sends anything.">+<meta name="theme-color" content="#0d0a1d">+<meta name="color-scheme" content="dark">+<link rel="canonical" href="https://kwant.si/docs/loose-ends">+<meta property="og:type" content="website">+<meta property="og:site_name" content="kwant">+<meta property="og:title" content="Loose ends & letters · kwant">+<meta property="og:description" content="kwant finds what you started and never finished in your chats, email and GitHub, and reads letters you photograph. It drafts the next step and never sends anything.">+<meta property="og:url" content="https://kwant.si/docs/loose-ends">+<meta property="og:image" content="https://kwant.si/assets/og.png">+<meta property="og:image:width" content="1200">+<meta property="og:image:height" content="630">+<meta property="og:image:alt" content="kwant: a team of AI bots discussing a feature and posting one summary">+<meta name="twitter:card" content="summary_large_image">+<link rel="icon" href="../favicon.svg" type="image/svg+xml">+<link rel="icon" href="../favicon-32.png" sizes="32x32" type="image/png">+<link rel="apple-touch-icon" href="../apple-touch-icon.png">+<link rel="preload" href="../assets/fonts/inter-var.woff2" as="font" type="font/woff2" crossorigin>+<link rel="stylesheet" href="../assets/css/site.css">+</head>+<body>+<a class="skip" href="#main">Skip to content</a>+<header class="site-header">+ <div class="wrap">+ <a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-h" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-h)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a>+ <nav class="nav" aria-label="Main">+ <a class="hide-sm" href="../features.html">Features</a>+ <a class="hide-sm" href="../#how">How it works</a>+ <a class="hide-sm" href="../#faq">FAQ</a>+ <a href="../docs/quickstart.html" aria-current="page">Docs</a>+ <a class="btn btn-ghost" href="https://github.com/alexsergivan/kwant" rel="noopener"><svg viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg><span>GitHub</span></a>+ </nav>+ </div>+</header>+<main id="main">+<div class="wrap docs">+ <nav class="docs-nav" aria-label="Docs">+ <h2>Docs</h2>+ <div class="docs-group"><h3>Get started</h3><ul><li><a href="../docs/quickstart.html">Quickstart</a></li><li><a href="../docs/install.html">Install & run</a></li></ul></div>+ <div class="docs-group"><h3>Using kwant</h3><ul><li><a href="../docs/spaces.html">Spaces</a></li><li><a href="../docs/bots-and-teams.html">Bots & teams</a></li><li><a href="../docs/accounts.html">Accounts & profiles</a></li><li><a href="../docs/models.html">Models & routing</a></li><li><a href="../docs/approvals.html">Approvals & passwords</a></li></ul></div>+ <div class="docs-group"><h3>Works on its own</h3><ul><li><a href="../docs/routines.html">Routines & bot actions</a></li><li><a href="../docs/memory-skills.html">Memory, skills & search</a></li><li><a href="../docs/loose-ends.html" aria-current="page">Loose ends & letters</a></li><li><a href="../docs/parallel-universe.html">Parallel Universe</a></li></ul></div>+ <div class="docs-group"><h3>Connect</h3><ul><li><a href="../docs/mcp.html">MCP tools</a></li><li><a href="../docs/browser.html">Browser</a></li></ul></div>+ </nav>+ <article class="prose">+<p class="kicker">Docs</p>+<h1>Loose ends & letters</h1>+<p class="intro">Loose ends looks for things that went quiet: a question nobody answered, a promise that lapsed, a reply you owe. It shows the quote each case is based on and drafts the next step. It never sends anything.</p>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v2-loose-ends-stalled-2880.webp" 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" srcset="../assets/media/v2-loose-ends-stalled-1440.webp 1440w, ../assets/media/v2-loose-ends-stalled-2880.webp 2880w" sizes="(max-width: 860px) 100vw, 760px" 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>+</figure>++<h2 id="sources">Sources</h2>+<ul>+ <li><strong>Your bot chats, tasks and questions</strong> are always read: kwant's own threads, open questions and failed handoffs.</li>+ <li><strong>Email (IMAP)</strong>, optional: a mail server with TLS or STARTTLS.</li>+ <li><strong>GitHub</strong>, optional: your issues and pull requests. A GitHub Enterprise address works too.</li>+</ul>+<p>Add a source with <strong>Add a source</strong>. kwant tests the connection first, and the login goes into the password vault. Sources are read-only: email is opened without marking, moving or deleting anything, and GitHub is only read.</p>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v2-loose-ends-2880.webp" data-caption="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."><img src="../assets/media/v2-loose-ends-1440.webp" srcset="../assets/media/v2-loose-ends-1440.webp 1440w, ../assets/media/v2-loose-ends-2880.webp 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" 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."></a></div>+</figure>++<h2 id="cases">Cases</h2>+<p>A case opens when something has been quiet for 14 days, or 3 days in a kwant chat. kwant looks for:</p>+<ul>+ <li>someone waiting for your reply, or you waiting for theirs</li>+ <li>a promise someone made you that lapsed, or one you made</li>+ <li>a stale issue, a failed task, or an unanswered question</li>+</ul>+<p>Each case shows the quote it's based on and a draft: an email you open in your mail app or copy, a link to the GitHub issue, or the kwant chat. Then mark it done, say you followed up, snooze it for 3 days, a week or a month, or dismiss it, just this one or everything from that sender. Cases sit in the <strong>Open</strong>, <strong>Waiting</strong>, <strong>Snoozed</strong> and <strong>Done</strong> tabs. <strong>Scan now</strong> checks right away.</p>+<p>Message text is never written to logs, and cases are kept for 90 days.</p>+<div class="note"><strong>API only:</strong> an extra model check of each case and a weekly review are settings in kwant's API, not in the app. Both are off by default.</div>++<h2 id="letters">Letters</h2>+<p>Use <strong>Add a letter</strong> to photograph or upload a bill, form or notice: up to 5 pages of PNG, JPEG, WebP or PDF, 20 MB each.</p>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v2-letter-2880.webp" data-caption="A scanned letter from a fictional water company next to what kwant read from it: who it's from, what they want and the deadline of November 5, each with the quote it came from and editable."><img src="../assets/media/v2-letter-1440.webp" srcset="../assets/media/v2-letter-1440.webp 1440w, ../assets/media/v2-letter-2880.webp 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="A scanned letter from a fictional water company next to what kwant read from it: who it's from, what they want and the deadline of November 5, each with the quote it came from and editable."></a></div>+</figure>+<p>kwant reads who it's from, what they want, the deadline, where to reply, references, amounts and a checklist. Every field shows the line it came from and you can edit it. Fields kwant isn't sure of are marked for you to check.</p>+<ul>+ <li>Once the deadline is confirmed, kwant reminds you 7 days before, the day before and on the day, at 09:00. Notifications carry only counts, not the letter.</li>+ <li>Reading photos needs a Claude account. A PDF with a text layer is read without a model.</li>+ <li>The reply is a draft to copy or open in your mail app. Nothing is sent for you.</li>+ <li>Deleting a letter removes its pages and everything read from them.</li>+</ul>++ <nav class="pager" aria-label="Docs pages"><a class="prev" href="../docs/memory-skills.html"><small>Previous</small>Memory, skills & search</a><a class="next" href="../docs/parallel-universe.html"><small>Next</small>Parallel Universe</a></nav>+ </article>+</div>+</main>+<footer class="site-footer">+ <div class="wrap">+ <div>+ <a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-f" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-f)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a>+ <p>A self-hosted team of AI bots in one binary. Screens and clips on this site come from a real kwant build running sample data.</p>+ </div>+ <nav aria-label="Footer">+ <a href="../docs/quickstart.html">Quickstart</a>+ <a href="../docs/install.html">Install & run</a>+ <a href="../features.html">All features</a>+ <a href="../docs/spaces.html">Spaces</a>+ <a href="../docs/accounts.html">Accounts</a>+ <a href="../docs/approvals.html">Approvals</a>+ <a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a>+ </nav>+ </div>+</footer>+<script src="../assets/js/site.js" defer></script>+</body>+</html>diff --git a/site/docs/mcp.html b/site/docs/mcp.htmlindex e21110f6..b57a553f 100644--- a/site/docs/mcp.html+++ b/site/docs/mcp.html@@ -30,7 +30,7 @@<div class="wrap"><a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-h" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-h)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a><nav class="nav" aria-label="Main">- <a class="hide-sm" href="../#features">Features</a>+ <a class="hide-sm" href="../features.html">Features</a><a class="hide-sm" href="../#how">How it works</a><a class="hide-sm" href="../#faq">FAQ</a><a href="../docs/quickstart.html" aria-current="page">Docs</a>@@ -42,15 +42,10 @@<div class="wrap docs"><nav class="docs-nav" aria-label="Docs"><h2>Docs</h2>- <ul>- <li><a href="../docs/quickstart.html">Quickstart</a></li>- <li><a href="../docs/install.html">Install & run</a></li>- <li><a href="../docs/bots-and-teams.html">Bots & teams</a></li>- <li><a href="../docs/approvals.html">Approvals & passwords</a></li>- <li><a href="../docs/models.html">Models & accounts</a></li>- <li><a href="../docs/mcp.html" aria-current="page">MCP tools</a></li>- <li><a href="../docs/browser.html">Browser</a></li>- </ul>+ <div class="docs-group"><h3>Get started</h3><ul><li><a href="../docs/quickstart.html">Quickstart</a></li><li><a href="../docs/install.html">Install & run</a></li></ul></div>+ <div class="docs-group"><h3>Using kwant</h3><ul><li><a href="../docs/spaces.html">Spaces</a></li><li><a href="../docs/bots-and-teams.html">Bots & teams</a></li><li><a href="../docs/accounts.html">Accounts & profiles</a></li><li><a href="../docs/models.html">Models & routing</a></li><li><a href="../docs/approvals.html">Approvals & passwords</a></li></ul></div>+ <div class="docs-group"><h3>Works on its own</h3><ul><li><a href="../docs/routines.html">Routines & bot actions</a></li><li><a href="../docs/memory-skills.html">Memory, skills & search</a></li><li><a href="../docs/loose-ends.html">Loose ends & letters</a></li><li><a href="../docs/parallel-universe.html">Parallel Universe</a></li></ul></div>+ <div class="docs-group"><h3>Connect</h3><ul><li><a href="../docs/mcp.html" aria-current="page">MCP tools</a></li><li><a href="../docs/browser.html">Browser</a></li></ul></div></nav><article class="prose"><p class="kicker">Docs</p>@@ -101,7 +96,7 @@ curl -X POST http://127.0.0.1:8799/api/mcp/servers \"env":{"GITHUB_TOKEN":"…"}}'</code></pre><p>The full contract, including the server object and error codes, is in <a href="https://github.com/alexsergivan/kwant/blob/main/docs/mcp-api.md" rel="noopener">docs/mcp-api.md</a>.</p>- <nav class="pager" aria-label="Docs pages"><a class="prev" href="../docs/models.html"><small>Previous</small>Models & accounts</a><a class="next" href="../docs/browser.html"><small>Next</small>Browser</a></nav>+ <nav class="pager" aria-label="Docs pages"><a class="prev" href="../docs/parallel-universe.html"><small>Previous</small>Parallel Universe</a><a class="next" href="../docs/browser.html"><small>Next</small>Browser</a></nav></article></div></main>@@ -114,8 +109,10 @@ curl -X POST http://127.0.0.1:8799/api/mcp/servers \<nav aria-label="Footer"><a href="../docs/quickstart.html">Quickstart</a><a href="../docs/install.html">Install & run</a>+ <a href="../features.html">All features</a>+ <a href="../docs/spaces.html">Spaces</a>+ <a href="../docs/accounts.html">Accounts</a><a href="../docs/approvals.html">Approvals</a>- <a href="../docs/models.html">Models</a><a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a></nav></div>diff --git a/site/docs/memory-skills.html b/site/docs/memory-skills.htmlnew file mode 100644index 00000000..596c0d2e--- /dev/null+++ b/site/docs/memory-skills.html@@ -0,0 +1,108 @@+<!doctype html>+<html lang="en">+<head>+<meta charset="utf-8">+<meta name="viewport" content="width=device-width, initial-scale=1">+<title>Memory, skills & search · kwant</title>+<meta name="description" content="What kwant bots remember and how you edit it, skills that bots propose and you approve, and search across every chat in a space.">+<meta name="theme-color" content="#0d0a1d">+<meta name="color-scheme" content="dark">+<link rel="canonical" href="https://kwant.si/docs/memory-skills">+<meta property="og:type" content="website">+<meta property="og:site_name" content="kwant">+<meta property="og:title" content="Memory, skills & search · kwant">+<meta property="og:description" content="What kwant bots remember and how you edit it, skills that bots propose and you approve, and search across every chat in a space.">+<meta property="og:url" content="https://kwant.si/docs/memory-skills">+<meta property="og:image" content="https://kwant.si/assets/og.png">+<meta property="og:image:width" content="1200">+<meta property="og:image:height" content="630">+<meta property="og:image:alt" content="kwant: a team of AI bots discussing a feature and posting one summary">+<meta name="twitter:card" content="summary_large_image">+<link rel="icon" href="../favicon.svg" type="image/svg+xml">+<link rel="icon" href="../favicon-32.png" sizes="32x32" type="image/png">+<link rel="apple-touch-icon" href="../apple-touch-icon.png">+<link rel="preload" href="../assets/fonts/inter-var.woff2" as="font" type="font/woff2" crossorigin>+<link rel="stylesheet" href="../assets/css/site.css">+</head>+<body>+<a class="skip" href="#main">Skip to content</a>+<header class="site-header">+ <div class="wrap">+ <a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-h" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-h)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a>+ <nav class="nav" aria-label="Main">+ <a class="hide-sm" href="../features.html">Features</a>+ <a class="hide-sm" href="../#how">How it works</a>+ <a class="hide-sm" href="../#faq">FAQ</a>+ <a href="../docs/quickstart.html" aria-current="page">Docs</a>+ <a class="btn btn-ghost" href="https://github.com/alexsergivan/kwant" rel="noopener"><svg viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg><span>GitHub</span></a>+ </nav>+ </div>+</header>+<main id="main">+<div class="wrap docs">+ <nav class="docs-nav" aria-label="Docs">+ <h2>Docs</h2>+ <div class="docs-group"><h3>Get started</h3><ul><li><a href="../docs/quickstart.html">Quickstart</a></li><li><a href="../docs/install.html">Install & run</a></li></ul></div>+ <div class="docs-group"><h3>Using kwant</h3><ul><li><a href="../docs/spaces.html">Spaces</a></li><li><a href="../docs/bots-and-teams.html">Bots & teams</a></li><li><a href="../docs/accounts.html">Accounts & profiles</a></li><li><a href="../docs/models.html">Models & routing</a></li><li><a href="../docs/approvals.html">Approvals & passwords</a></li></ul></div>+ <div class="docs-group"><h3>Works on its own</h3><ul><li><a href="../docs/routines.html">Routines & bot actions</a></li><li><a href="../docs/memory-skills.html" aria-current="page">Memory, skills & search</a></li><li><a href="../docs/loose-ends.html">Loose ends & letters</a></li><li><a href="../docs/parallel-universe.html">Parallel Universe</a></li></ul></div>+ <div class="docs-group"><h3>Connect</h3><ul><li><a href="../docs/mcp.html">MCP tools</a></li><li><a href="../docs/browser.html">Browser</a></li></ul></div>+ </nav>+ <article class="prose">+<p class="kicker">Docs</p>+<h1>Memory, skills & search</h1>+<p class="intro">Bots remember what matters and learn how you like things done. You can read all of it, change it, and nothing a bot writes for itself is used without your OK.</p>++<h2 id="memory">Memory</h2>+<p>Each bot has a Memory tab. You can add memories there, and the bot can add, update and remove its own. Each one is marked <strong>You</strong> or <strong>Bot</strong>, and you can edit or delete any of them.</p>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v2-memory-2880.webp" data-caption="QA's Memory tab with an add box and four memories, each marked as written by the bot or by you, with edit and delete."><img src="../assets/media/v2-memory-1440.webp" srcset="../assets/media/v2-memory-1440.webp 1440w, ../assets/media/v2-memory-2880.webp 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="QA's Memory tab with an add box and four memories, each marked as written by the bot or by you, with edit and delete."></a></div>+</figure>+<ul>+ <li>Up to 100 memories per bot, each up to 500 characters.</li>+ <li>They go into every turn under <em>What you remember</em>, up to 6 KB.</li>+</ul>++<h2 id="skills">Skills</h2>+<p>A skill is a written procedure, like "how we write a release checklist". It's plain text: a skill never gives a bot new tools.</p>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v2-skills-2880.webp" data-caption="QA's Skills tab with a release-checklist skill waiting for review, with Approve, Edit then approve, and Reject, above a bug-report skill already in use."><img src="../assets/media/v2-skills-1440.webp" srcset="../assets/media/v2-skills-1440.webp 1440w, ../assets/media/v2-skills-2880.webp 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="QA's Skills tab with a release-checklist skill waiting for review, with Approve, Edit then approve, and Reject, above a bug-report skill already in use."></a></div>+</figure>+<ul>+ <li>A bot can propose a skill, or a change to one. You <strong>Approve</strong>, <strong>Edit, then approve</strong>, or <strong>Reject</strong> it, and can undo that. A proposed change shows what's different.</li>+ <li>Approved skills have an on/off switch. Only skills that are on go into the bot's prompt.</li>+ <li>Use <strong>Write a skill</strong> in a bot's Skills tab to add one yourself.</li>+ <li>Skills for a whole space come from an import.</li>+ <li>A skill can be up to 8,000 characters, and a bot can have up to 20 waiting for review.</li>+</ul>++<h2 id="search">Search</h2>+<p>Press <code>Ctrl K</code> (<code>⌘K</code> on a Mac) to search every channel and direct chat in the space you have open. Use the arrow keys and <code>Enter</code> to jump to a result.</p>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v2-search-2880.webp" data-caption="Search for "waitlist" across every chat in the space, with highlighted hits grouped by chat."><img src="../assets/media/v2-search-1440.webp" srcset="../assets/media/v2-search-1440.webp 1440w, ../assets/media/v2-search-2880.webp 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="Search for "waitlist" across every chat in the space, with highlighted hits grouped by chat."></a></div>+</figure>+<p>Search covers one space at a time. Switch spaces to search another.</p>++ <nav class="pager" aria-label="Docs pages"><a class="prev" href="../docs/routines.html"><small>Previous</small>Routines & bot actions</a><a class="next" href="../docs/loose-ends.html"><small>Next</small>Loose ends & letters</a></nav>+ </article>+</div>+</main>+<footer class="site-footer">+ <div class="wrap">+ <div>+ <a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-f" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-f)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a>+ <p>A self-hosted team of AI bots in one binary. Screens and clips on this site come from a real kwant build running sample data.</p>+ </div>+ <nav aria-label="Footer">+ <a href="../docs/quickstart.html">Quickstart</a>+ <a href="../docs/install.html">Install & run</a>+ <a href="../features.html">All features</a>+ <a href="../docs/spaces.html">Spaces</a>+ <a href="../docs/accounts.html">Accounts</a>+ <a href="../docs/approvals.html">Approvals</a>+ <a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a>+ </nav>+ </div>+</footer>+<script src="../assets/js/site.js" defer></script>+</body>+</html>diff --git a/site/docs/models.html b/site/docs/models.htmlindex 08fb5244..c93eb23a 100644--- a/site/docs/models.html+++ b/site/docs/models.html@@ -3,15 +3,15 @@<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">-<title>Models & accounts · kwant</title>-<meta name="description" content="The engines kwant runs on, account profiles with automatic failover, custom OpenAI- or Anthropic-compatible servers, and the Laya model router.">+<title>Models & routing · kwant</title>+<meta name="description" content="The engines kwant runs on, the auto model setting, and the Laya router that picks which bot answers and with which model."><meta name="theme-color" content="#0d0a1d"><meta name="color-scheme" content="dark"><link rel="canonical" href="https://kwant.si/docs/models"><meta property="og:type" content="website"><meta property="og:site_name" content="kwant">-<meta property="og:title" content="Models & accounts · kwant">-<meta property="og:description" content="The engines kwant runs on, account profiles with automatic failover, custom OpenAI- or Anthropic-compatible servers, and the Laya model router.">+<meta property="og:title" content="Models & routing · kwant">+<meta property="og:description" content="The engines kwant runs on, the auto model setting, and the Laya router that picks which bot answers and with which model."><meta property="og:url" content="https://kwant.si/docs/models"><meta property="og:image" content="https://kwant.si/assets/og.png"><meta property="og:image:width" content="1200">@@ -30,7 +30,7 @@<div class="wrap"><a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-h" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-h)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a><nav class="nav" aria-label="Main">- <a class="hide-sm" href="../#features">Features</a>+ <a class="hide-sm" href="../features.html">Features</a><a class="hide-sm" href="../#how">How it works</a><a class="hide-sm" href="../#faq">FAQ</a><a href="../docs/quickstart.html" aria-current="page">Docs</a>@@ -42,20 +42,15 @@<div class="wrap docs"><nav class="docs-nav" aria-label="Docs"><h2>Docs</h2>- <ul>- <li><a href="../docs/quickstart.html">Quickstart</a></li>- <li><a href="../docs/install.html">Install & run</a></li>- <li><a href="../docs/bots-and-teams.html">Bots & teams</a></li>- <li><a href="../docs/approvals.html">Approvals & passwords</a></li>- <li><a href="../docs/models.html" aria-current="page">Models & accounts</a></li>- <li><a href="../docs/mcp.html">MCP tools</a></li>- <li><a href="../docs/browser.html">Browser</a></li>- </ul>+ <div class="docs-group"><h3>Get started</h3><ul><li><a href="../docs/quickstart.html">Quickstart</a></li><li><a href="../docs/install.html">Install & run</a></li></ul></div>+ <div class="docs-group"><h3>Using kwant</h3><ul><li><a href="../docs/spaces.html">Spaces</a></li><li><a href="../docs/bots-and-teams.html">Bots & teams</a></li><li><a href="../docs/accounts.html">Accounts & profiles</a></li><li><a href="../docs/models.html" aria-current="page">Models & routing</a></li><li><a href="../docs/approvals.html">Approvals & passwords</a></li></ul></div>+ <div class="docs-group"><h3>Works on its own</h3><ul><li><a href="../docs/routines.html">Routines & bot actions</a></li><li><a href="../docs/memory-skills.html">Memory, skills & search</a></li><li><a href="../docs/loose-ends.html">Loose ends & letters</a></li><li><a href="../docs/parallel-universe.html">Parallel Universe</a></li></ul></div>+ <div class="docs-group"><h3>Connect</h3><ul><li><a href="../docs/mcp.html">MCP tools</a></li><li><a href="../docs/browser.html">Browser</a></li></ul></div></nav><article class="prose"><p class="kicker">Docs</p>-<h1>Models & accounts</h1>-<p class="intro">Bots run on the CLIs you already use or on API keys. Add several accounts per engine, and kwant moves a turn to the next one when an account runs out of usage.</p>+<h1>Models & routing</h1>+<p class="intro">Bots run on the CLIs you already use, on API keys or on your own server. The Laya router picks who answers in a channel, and which model and effort a bot set to auto uses.</p><h2 id="engines">Engines</h2><ul>@@ -65,32 +60,8 @@</ul><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="profiles">Account profiles</h2>-<p>A profile is one account for an engine, for example a work Claude subscription and a personal one. Every engine starts with a <strong>This machine</strong> profile, which uses the CLI's own login, or the key from Settings or the environment.</p>-<div class="table-wrap"><table>- <thead><tr><th>Kind</th><th>Runs with</th><th>Signed in by</th></tr></thead>- <tbody>- <tr><td><code>system</code></td><td>The CLI's default config folder, or the Settings or environment key</td><td>Whatever you did on the host</td></tr>- <tr><td><code>cli_home</code></td><td>Its own config folder; host credential variables are removed</td><td>The in-app sign-in, or your own folder</td></tr>- <tr><td><code>api_key</code></td><td>The provider's API, with only the profile's key</td><td>The key you paste</td></tr>- <tr><td><code>custom_api</code></td><td>Your own server, with its key if it has one</td><td>A check of the server's model list</td></tr>- </tbody>-</table></div>-<p>Keys are write-only: no API response ever contains one, only whether it's set.</p>--<h3 id="sign-in">Signing in a CLI profile</h3>-<p>kwant runs the CLI's own login with the profile's folder. For Claude, open the link and paste the code shown back into kwant. For Codex and Grok, open the link and enter the code. A sign-in expires after 10 minutes.</p>--<h3 id="failover">Failover</h3>-<p>A bot can be pinned to a profile; otherwise the engine's default profile runs. When that profile is out of usage or signed out, and nothing has been shown or done yet in the turn, kwant moves the turn to the engine's next enabled profile by priority, up to 3 attempts, and the chat says so. A profile that ran out is skipped until its reset time. Overloads and rate limits are retried, not failed over. Turn failover off for a bot to keep it on its profile.</p>--<h2 id="custom">Custom API accounts</h2>-<p>Add an account with the server's base URL and, if needed, a key. kwant checks the server's model list when you save it and shows whether it's ready, unreachable or rejected the key. A space can have several custom accounts, and they belong to that space only.</p>-<ul>- <li>Paste the base URL with or without <code>/chat/completions</code> or <code>/messages</code>: kwant trims it to the API root.</li>- <li>MCP tools are offered on OpenAI-chat servers. Anthropic-Messages servers run without tools and say so.</li>- <li>Custom API never falls back to the host's accounts.</li>-</ul>+<h2 id="accounts">Accounts</h2>+<p>Each engine can have several accounts, with a default, a priority order and automatic failover when one runs out of usage. See <a href="accounts.html">Accounts & profiles</a>.</p><h2 id="laya">The Laya router</h2><p><a href="https://huggingface.co/convaiinnovations/laya" rel="noopener">Laya</a> picks which bot answers in a channel, and which model and effort a bot set to auto uses. It's a small Python service, and <code>kwnt serve</code> manages it for you:</p>@@ -112,7 +83,7 @@<p>kwant only starts Laya for loopback URLs. If Laya already answers, for example from Docker, kwant uses it as is.</p><div class="note"><strong>Behind a proxy that blocks Hugging Face?</strong> Start kwant once on an open network, or copy an existing <code>~/.kwnt/laya/hf</code> from another machine. After that, Laya starts offline.</div>- <nav class="pager" aria-label="Docs pages"><a class="prev" href="../docs/approvals.html"><small>Previous</small>Approvals & passwords</a><a class="next" href="../docs/mcp.html"><small>Next</small>MCP tools</a></nav>+ <nav class="pager" aria-label="Docs pages"><a class="prev" href="../docs/accounts.html"><small>Previous</small>Accounts & profiles</a><a class="next" href="../docs/approvals.html"><small>Next</small>Approvals & passwords</a></nav></article></div></main>@@ -125,8 +96,10 @@<nav aria-label="Footer"><a href="../docs/quickstart.html">Quickstart</a><a href="../docs/install.html">Install & run</a>+ <a href="../features.html">All features</a>+ <a href="../docs/spaces.html">Spaces</a>+ <a href="../docs/accounts.html">Accounts</a><a href="../docs/approvals.html">Approvals</a>- <a href="../docs/models.html">Models</a><a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a></nav></div>diff --git a/site/docs/parallel-universe.html b/site/docs/parallel-universe.htmlnew file mode 100644index 00000000..c755474b--- /dev/null+++ b/site/docs/parallel-universe.html@@ -0,0 +1,115 @@+<!doctype html>+<html lang="en">+<head>+<meta charset="utf-8">+<meta name="viewport" content="width=device-width, initial-scale=1">+<title>Parallel Universe · kwant</title>+<meta name="description" content="Compare up to three ways to deploy an app before you pick one. kwant load-tests each option in a sealed Docker container and sets it next to a dated price estimate, with no cloud account and no spending.">+<meta name="theme-color" content="#0d0a1d">+<meta name="color-scheme" content="dark">+<link rel="canonical" href="https://kwant.si/docs/parallel-universe">+<meta property="og:type" content="website">+<meta property="og:site_name" content="kwant">+<meta property="og:title" content="Parallel Universe · kwant">+<meta property="og:description" content="Compare up to three ways to deploy an app before you pick one. kwant load-tests each option in a sealed Docker container and sets it next to a dated price estimate, with no cloud account and no spending.">+<meta property="og:url" content="https://kwant.si/docs/parallel-universe">+<meta property="og:image" content="https://kwant.si/assets/og.png">+<meta property="og:image:width" content="1200">+<meta property="og:image:height" content="630">+<meta property="og:image:alt" content="kwant: a team of AI bots discussing a feature and posting one summary">+<meta name="twitter:card" content="summary_large_image">+<link rel="icon" href="../favicon.svg" type="image/svg+xml">+<link rel="icon" href="../favicon-32.png" sizes="32x32" type="image/png">+<link rel="apple-touch-icon" href="../apple-touch-icon.png">+<link rel="preload" href="../assets/fonts/inter-var.woff2" as="font" type="font/woff2" crossorigin>+<link rel="stylesheet" href="../assets/css/site.css">+</head>+<body>+<a class="skip" href="#main">Skip to content</a>+<header class="site-header">+ <div class="wrap">+ <a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-h" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-h)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a>+ <nav class="nav" aria-label="Main">+ <a class="hide-sm" href="../features.html">Features</a>+ <a class="hide-sm" href="../#how">How it works</a>+ <a class="hide-sm" href="../#faq">FAQ</a>+ <a href="../docs/quickstart.html" aria-current="page">Docs</a>+ <a class="btn btn-ghost" href="https://github.com/alexsergivan/kwant" rel="noopener"><svg viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg><span>GitHub</span></a>+ </nav>+ </div>+</header>+<main id="main">+<div class="wrap docs">+ <nav class="docs-nav" aria-label="Docs">+ <h2>Docs</h2>+ <div class="docs-group"><h3>Get started</h3><ul><li><a href="../docs/quickstart.html">Quickstart</a></li><li><a href="../docs/install.html">Install & run</a></li></ul></div>+ <div class="docs-group"><h3>Using kwant</h3><ul><li><a href="../docs/spaces.html">Spaces</a></li><li><a href="../docs/bots-and-teams.html">Bots & teams</a></li><li><a href="../docs/accounts.html">Accounts & profiles</a></li><li><a href="../docs/models.html">Models & routing</a></li><li><a href="../docs/approvals.html">Approvals & passwords</a></li></ul></div>+ <div class="docs-group"><h3>Works on its own</h3><ul><li><a href="../docs/routines.html">Routines & bot actions</a></li><li><a href="../docs/memory-skills.html">Memory, skills & search</a></li><li><a href="../docs/loose-ends.html">Loose ends & letters</a></li><li><a href="../docs/parallel-universe.html" aria-current="page">Parallel Universe</a></li></ul></div>+ <div class="docs-group"><h3>Connect</h3><ul><li><a href="../docs/mcp.html">MCP tools</a></li><li><a href="../docs/browser.html">Browser</a></li></ul></div>+ </nav>+ <article class="prose">+<p class="kicker">Docs</p>+<h1>Parallel Universe</h1>+<p class="intro">Managed hosting, a VPS or serverless? Describe your app and up to three ways to run it. kwant runs each option on your own server, load-tests it and compares it with a price estimate, so you can pick before you spend anything.</p>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v2-parallel-universe-2880.webp" data-caption="Parallel Universe comparing three ways to host an API on cost, p95 latency, ops burden and rollback, with the fastest and cheapest option marked. The figures are sample data."><img src="../assets/media/v2-parallel-universe-1440.webp" srcset="../assets/media/v2-parallel-universe-1440.webp 1440w, ../assets/media/v2-parallel-universe-2880.webp 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="Parallel Universe comparing three ways to host an API on cost, p95 latency, ops burden and rollback, with the fastest and cheapest option marked. The figures are sample data."></a></div>+ <figcaption>A comparison of three options. The figures in this screenshot are sample data.</figcaption>+</figure>++<h2 id="options">Options</h2>+<p>Each option is a Docker image or a build context, with:</p>+<ul>+ <li>a health path kwant waits for before testing</li>+ <li>your expected traffic</li>+ <li>load-test settings</li>+</ul>++<h2 id="run">How a run works</h2>+<ol>+ <li>Options run one after another, each in its own container with resource limits.</li>+ <li>The container is on an internal network with no internet and no access to the host. Builds are offline by default.</li>+ <li>kwant load-tests it with <code>oha</code>, then removes the container.</li>+ <li>Results are set next to price estimates for your traffic.</li>+</ol>+<p>Only one run happens at a time.</p>++<h2 id="honest">What the numbers mean</h2>+<p>Every figure is tagged:</p>+<ul>+ <li><strong>Verified:</strong> measured in this run.</li>+ <li><strong>Estimate:</strong> worked out from a listed price.</li>+ <li><strong>Speculation:</strong> a guess, and labelled as one.</li>+</ul>+<p>Prices come from a table built into kwant, with dated sources for Hetzner, DigitalOcean, Fly.io and AWS Lambda. A price older than 180 days is flagged as stale.</p>+<div class="note"><strong>Latency is this server's.</strong> Tests run on the machine running kwant, not at the provider, so latency tells you how the options compare, not what you'd see in production.</div>++<h2 id="needs">What it needs</h2>+<ul>+ <li>Docker on the machine that runs kwant.</li>+ <li>No cloud account. kwant never creates anything at a provider and never spends money.</li>+</ul>++ <nav class="pager" aria-label="Docs pages"><a class="prev" href="../docs/loose-ends.html"><small>Previous</small>Loose ends & letters</a><a class="next" href="../docs/mcp.html"><small>Next</small>MCP tools</a></nav>+ </article>+</div>+</main>+<footer class="site-footer">+ <div class="wrap">+ <div>+ <a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-f" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-f)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a>+ <p>A self-hosted team of AI bots in one binary. Screens and clips on this site come from a real kwant build running sample data.</p>+ </div>+ <nav aria-label="Footer">+ <a href="../docs/quickstart.html">Quickstart</a>+ <a href="../docs/install.html">Install & run</a>+ <a href="../features.html">All features</a>+ <a href="../docs/spaces.html">Spaces</a>+ <a href="../docs/accounts.html">Accounts</a>+ <a href="../docs/approvals.html">Approvals</a>+ <a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a>+ </nav>+ </div>+</footer>+<script src="../assets/js/site.js" defer></script>+</body>+</html>diff --git a/site/docs/quickstart.html b/site/docs/quickstart.htmlindex e91a25b9..7ab8e940 100644--- a/site/docs/quickstart.html+++ b/site/docs/quickstart.html@@ -30,7 +30,7 @@<div class="wrap"><a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-h" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-h)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a><nav class="nav" aria-label="Main">- <a class="hide-sm" href="../#features">Features</a>+ <a class="hide-sm" href="../features.html">Features</a><a class="hide-sm" href="../#how">How it works</a><a class="hide-sm" href="../#faq">FAQ</a><a href="../docs/quickstart.html" aria-current="page">Docs</a>@@ -42,15 +42,10 @@<div class="wrap docs"><nav class="docs-nav" aria-label="Docs"><h2>Docs</h2>- <ul>- <li><a href="../docs/quickstart.html" aria-current="page">Quickstart</a></li>- <li><a href="../docs/install.html">Install & run</a></li>- <li><a href="../docs/bots-and-teams.html">Bots & teams</a></li>- <li><a href="../docs/approvals.html">Approvals & passwords</a></li>- <li><a href="../docs/models.html">Models & accounts</a></li>- <li><a href="../docs/mcp.html">MCP tools</a></li>- <li><a href="../docs/browser.html">Browser</a></li>- </ul>+ <div class="docs-group"><h3>Get started</h3><ul><li><a href="../docs/quickstart.html" aria-current="page">Quickstart</a></li><li><a href="../docs/install.html">Install & run</a></li></ul></div>+ <div class="docs-group"><h3>Using kwant</h3><ul><li><a href="../docs/spaces.html">Spaces</a></li><li><a href="../docs/bots-and-teams.html">Bots & teams</a></li><li><a href="../docs/accounts.html">Accounts & profiles</a></li><li><a href="../docs/models.html">Models & routing</a></li><li><a href="../docs/approvals.html">Approvals & passwords</a></li></ul></div>+ <div class="docs-group"><h3>Works on its own</h3><ul><li><a href="../docs/routines.html">Routines & bot actions</a></li><li><a href="../docs/memory-skills.html">Memory, skills & search</a></li><li><a href="../docs/loose-ends.html">Loose ends & letters</a></li><li><a href="../docs/parallel-universe.html">Parallel Universe</a></li></ul></div>+ <div class="docs-group"><h3>Connect</h3><ul><li><a href="../docs/mcp.html">MCP tools</a></li><li><a href="../docs/browser.html">Browser</a></li></ul></div></nav><article class="prose"><p class="kicker">Docs</p>@@ -86,7 +81,7 @@ make run <span class="c"># builds the web app, then runs `cargo run -- serve`<<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></ul>-<p>You can add several accounts per engine, such as a work and a personal one. See <a href="models.html">Models & accounts</a>.</p>+<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><h2 id="first-question">3. Ask your first question</h2><p>A fresh install's Default space starts with three bots in <strong>#general</strong>, on the <code>@core-engineering</code> team:</p>@@ -128,8 +123,10 @@ cd frontend && npm test <span class="c"># web app tests</span></code></<nav aria-label="Footer"><a href="../docs/quickstart.html">Quickstart</a><a href="../docs/install.html">Install & run</a>+ <a href="../features.html">All features</a>+ <a href="../docs/spaces.html">Spaces</a>+ <a href="../docs/accounts.html">Accounts</a><a href="../docs/approvals.html">Approvals</a>- <a href="../docs/models.html">Models</a><a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a></nav></div>diff --git a/site/docs/routines.html b/site/docs/routines.htmlnew file mode 100644index 00000000..d332b6d4--- /dev/null+++ b/site/docs/routines.html@@ -0,0 +1,138 @@+<!doctype html>+<html lang="en">+<head>+<meta charset="utf-8">+<meta name="viewport" content="width=device-width, initial-scale=1">+<title>Routines & bot actions · kwant</title>+<meta name="description" content="Schedule work in kwant with routines and follow-ups, let bots set things up for you with an Undo on every change, and decide how bots may hire new teammates.">+<meta name="theme-color" content="#0d0a1d">+<meta name="color-scheme" content="dark">+<link rel="canonical" href="https://kwant.si/docs/routines">+<meta property="og:type" content="website">+<meta property="og:site_name" content="kwant">+<meta property="og:title" content="Routines & bot actions · kwant">+<meta property="og:description" content="Schedule work in kwant with routines and follow-ups, let bots set things up for you with an Undo on every change, and decide how bots may hire new teammates.">+<meta property="og:url" content="https://kwant.si/docs/routines">+<meta property="og:image" content="https://kwant.si/assets/og.png">+<meta property="og:image:width" content="1200">+<meta property="og:image:height" content="630">+<meta property="og:image:alt" content="kwant: a team of AI bots discussing a feature and posting one summary">+<meta name="twitter:card" content="summary_large_image">+<link rel="icon" href="../favicon.svg" type="image/svg+xml">+<link rel="icon" href="../favicon-32.png" sizes="32x32" type="image/png">+<link rel="apple-touch-icon" href="../apple-touch-icon.png">+<link rel="preload" href="../assets/fonts/inter-var.woff2" as="font" type="font/woff2" crossorigin>+<link rel="stylesheet" href="../assets/css/site.css">+</head>+<body>+<a class="skip" href="#main">Skip to content</a>+<header class="site-header">+ <div class="wrap">+ <a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-h" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-h)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a>+ <nav class="nav" aria-label="Main">+ <a class="hide-sm" href="../features.html">Features</a>+ <a class="hide-sm" href="../#how">How it works</a>+ <a class="hide-sm" href="../#faq">FAQ</a>+ <a href="../docs/quickstart.html" aria-current="page">Docs</a>+ <a class="btn btn-ghost" href="https://github.com/alexsergivan/kwant" rel="noopener"><svg viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg><span>GitHub</span></a>+ </nav>+ </div>+</header>+<main id="main">+<div class="wrap docs">+ <nav class="docs-nav" aria-label="Docs">+ <h2>Docs</h2>+ <div class="docs-group"><h3>Get started</h3><ul><li><a href="../docs/quickstart.html">Quickstart</a></li><li><a href="../docs/install.html">Install & run</a></li></ul></div>+ <div class="docs-group"><h3>Using kwant</h3><ul><li><a href="../docs/spaces.html">Spaces</a></li><li><a href="../docs/bots-and-teams.html">Bots & teams</a></li><li><a href="../docs/accounts.html">Accounts & profiles</a></li><li><a href="../docs/models.html">Models & routing</a></li><li><a href="../docs/approvals.html">Approvals & passwords</a></li></ul></div>+ <div class="docs-group"><h3>Works on its own</h3><ul><li><a href="../docs/routines.html" aria-current="page">Routines & bot actions</a></li><li><a href="../docs/memory-skills.html">Memory, skills & search</a></li><li><a href="../docs/loose-ends.html">Loose ends & letters</a></li><li><a href="../docs/parallel-universe.html">Parallel Universe</a></li></ul></div>+ <div class="docs-group"><h3>Connect</h3><ul><li><a href="../docs/mcp.html">MCP tools</a></li><li><a href="../docs/browser.html">Browser</a></li></ul></div>+ </nav>+ <article class="prose">+<p class="kicker">Docs</p>+<h1>Routines & bot actions</h1>+<p class="intro">Bots keep working when you're not there. A routine runs a prompt on a schedule, a follow-up checks back once, and bots can set either up for you, with an Undo on every change.</p>++<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>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v2-routines-2880.webp" 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" srcset="../assets/media/v2-routines-1440.webp 1440w, ../assets/media/v2-routines-2880.webp 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>+<div class="table-wrap"><table>+ <thead><tr><th>Schedule</th><th>Runs</th></tr></thead>+ <tbody>+ <tr><td>Once</td><td>At one date and time</td></tr>+ <tr><td>Daily</td><td>Every day at a time</td></tr>+ <tr><td>Weekly</td><td>On the days you pick</td></tr>+ <tr><td>Monthly</td><td>On a day of the month</td></tr>+ <tr><td>Every…</td><td>Every 5 minutes up to every week</td></tr>+ <tr><td>Custom</td><td>A cron rule</td></tr>+ </tbody>+</table></div>+<p>Each routine has <strong>Run now</strong>, a history of its last 200 runs, edit, delete and an on/off switch. Archiving a space pauses its routines.</p>++<h3 id="follow-ups">Follow-ups</h3>+<p>A bot can set itself a one-off follow-up, for example to check a deploy in an hour. Only bots create follow-ups.</p>++<h2 id="actions">Bots that set things up</h2>+<p>Ask a bot for a routine, a channel or a new bot and it makes the change itself. Each change shows a card with what was done and an <strong>Undo</strong> button.</p>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v2-action-undo-2880.webp" data-caption="TechLead created the channel #launch-waitlist when asked. The card says Done and has an Undo button."><img src="../assets/media/v2-action-undo-1440.webp" srcset="../assets/media/v2-action-undo-1440.webp 1440w, ../assets/media/v2-action-undo-2880.webp 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="TechLead created the channel #launch-waitlist when asked. The card says Done and has an Undo button."></a></div>+</figure>+<ul>+ <li>Bots can create bots, spaces and channels, change settings, and create, update, pause, resume, run or delete routines.</li>+ <li>At most 10 changes per turn, and only in the bot's own space.</li>+ <li>Deleting a bot, deleting an account and archiving a space wait until you confirm.</li>+ <li>Bots can't touch keys or secrets, engines or sign-ins, approval rules, computer mode, or install MCP servers.</li>+</ul>++<h2 id="hiring">Hiring</h2>+<p>When a specialist would do a job better, a bot can propose hiring one. The card shows why, what the proposal is based on, and the new bot's model and tools.</p>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v2-hire-card-2880.webp" data-caption="TechLead proposes hiring a Support bot, with the reason, what it is based on, its model and tools, and Deny, Accept once and Always accept buttons."><img src="../assets/media/v2-hire-card-1440.webp" srcset="../assets/media/v2-hire-card-1440.webp 1440w, ../assets/media/v2-hire-card-2880.webp 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="TechLead proposes hiring a Support bot, with the reason, what it is based on, its model and tools, and Deny, Accept once and Always accept buttons."></a></div>+</figure>+<ul>+ <li><strong>Deny</strong>, <strong>Accept once</strong> or <strong>Always accept</strong>. You can undo a hire afterwards.</li>+ <li>A proposal for a whole team has <strong>Approve all</strong>.</li>+ <li>A bot can make one proposal per turn, and kwant remembers what you denied.</li>+ <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" 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" srcset="../assets/media/v2-hire-policy-1440.webp 1440w, ../assets/media/v2-hire-policy-2880.webp 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>+</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>+<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>+ <li><strong>Failed or stuck:</strong> failed runs, and handoffs with no reply after 30 minutes.</li>+</ul>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v2-away-2880.webp" data-caption="While you were away, with a question waiting for an answer, two finished items and two failed or stuck ones."><img src="../assets/media/v2-away-1440.webp" srcset="../assets/media/v2-away-1440.webp 1440w, ../assets/media/v2-away-2880.webp 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="While you were away, with a question waiting for an answer, two finished items and two failed or stuck ones."></a></div>+</figure>+<p>For a ping when something needs you, turn on browser notifications or add an HTTPS webhook such as ntfy in settings. Webhook messages carry only a title and one line.</p>++ <nav class="pager" aria-label="Docs pages"><a class="prev" href="../docs/approvals.html"><small>Previous</small>Approvals & passwords</a><a class="next" href="../docs/memory-skills.html"><small>Next</small>Memory, skills & search</a></nav>+ </article>+</div>+</main>+<footer class="site-footer">+ <div class="wrap">+ <div>+ <a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-f" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-f)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a>+ <p>A self-hosted team of AI bots in one binary. Screens and clips on this site come from a real kwant build running sample data.</p>+ </div>+ <nav aria-label="Footer">+ <a href="../docs/quickstart.html">Quickstart</a>+ <a href="../docs/install.html">Install & run</a>+ <a href="../features.html">All features</a>+ <a href="../docs/spaces.html">Spaces</a>+ <a href="../docs/accounts.html">Accounts</a>+ <a href="../docs/approvals.html">Approvals</a>+ <a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a>+ </nav>+ </div>+</footer>+<script src="../assets/js/site.js" defer></script>+</body>+</html>diff --git a/site/docs/spaces.html b/site/docs/spaces.htmlnew file mode 100644index 00000000..14f8ca03--- /dev/null+++ b/site/docs/spaces.html@@ -0,0 +1,138 @@+<!doctype html>+<html lang="en">+<head>+<meta charset="utf-8">+<meta name="viewport" content="width=device-width, initial-scale=1">+<title>Spaces · kwant</title>+<meta name="description" content="kwant spaces keep work, side projects and home apart. Each space has its own bots, teams, channels, routines, skills, tool servers, accounts and approval rules.">+<meta name="theme-color" content="#0d0a1d">+<meta name="color-scheme" content="dark">+<link rel="canonical" href="https://kwant.si/docs/spaces">+<meta property="og:type" content="website">+<meta property="og:site_name" content="kwant">+<meta property="og:title" content="Spaces · kwant">+<meta property="og:description" content="kwant spaces keep work, side projects and home apart. Each space has its own bots, teams, channels, routines, skills, tool servers, accounts and approval rules.">+<meta property="og:url" content="https://kwant.si/docs/spaces">+<meta property="og:image" content="https://kwant.si/assets/og.png">+<meta property="og:image:width" content="1200">+<meta property="og:image:height" content="630">+<meta property="og:image:alt" content="kwant: a team of AI bots discussing a feature and posting one summary">+<meta name="twitter:card" content="summary_large_image">+<link rel="icon" href="../favicon.svg" type="image/svg+xml">+<link rel="icon" href="../favicon-32.png" sizes="32x32" type="image/png">+<link rel="apple-touch-icon" href="../apple-touch-icon.png">+<link rel="preload" href="../assets/fonts/inter-var.woff2" as="font" type="font/woff2" crossorigin>+<link rel="stylesheet" href="../assets/css/site.css">+</head>+<body>+<a class="skip" href="#main">Skip to content</a>+<header class="site-header">+ <div class="wrap">+ <a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-h" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-h)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a>+ <nav class="nav" aria-label="Main">+ <a class="hide-sm" href="../features.html">Features</a>+ <a class="hide-sm" href="../#how">How it works</a>+ <a class="hide-sm" href="../#faq">FAQ</a>+ <a href="../docs/quickstart.html" aria-current="page">Docs</a>+ <a class="btn btn-ghost" href="https://github.com/alexsergivan/kwant" rel="noopener"><svg viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg><span>GitHub</span></a>+ </nav>+ </div>+</header>+<main id="main">+<div class="wrap docs">+ <nav class="docs-nav" aria-label="Docs">+ <h2>Docs</h2>+ <div class="docs-group"><h3>Get started</h3><ul><li><a href="../docs/quickstart.html">Quickstart</a></li><li><a href="../docs/install.html">Install & run</a></li></ul></div>+ <div class="docs-group"><h3>Using kwant</h3><ul><li><a href="../docs/spaces.html" aria-current="page">Spaces</a></li><li><a href="../docs/bots-and-teams.html">Bots & teams</a></li><li><a href="../docs/accounts.html">Accounts & profiles</a></li><li><a href="../docs/models.html">Models & routing</a></li><li><a href="../docs/approvals.html">Approvals & passwords</a></li></ul></div>+ <div class="docs-group"><h3>Works on its own</h3><ul><li><a href="../docs/routines.html">Routines & bot actions</a></li><li><a href="../docs/memory-skills.html">Memory, skills & search</a></li><li><a href="../docs/loose-ends.html">Loose ends & letters</a></li><li><a href="../docs/parallel-universe.html">Parallel Universe</a></li></ul></div>+ <div class="docs-group"><h3>Connect</h3><ul><li><a href="../docs/mcp.html">MCP tools</a></li><li><a href="../docs/browser.html">Browser</a></li></ul></div>+ </nav>+ <article class="prose">+<p class="kicker">Docs</p>+<h1>Spaces</h1>+<p class="intro">A space is a separate area of kwant with its own bots and everything they use. Keep one for work, one for a side project and one for home, and nothing leaks between them.</p>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v2-spaces-rail-2880.webp" data-caption="The space rail with three spaces, Trailhead, Pixel Quest and Home, each with its own icon and colour. Trailhead is open on #general."><img src="../assets/media/v2-spaces-rail-1440.webp" srcset="../assets/media/v2-spaces-rail-1440.webp 1440w, ../assets/media/v2-spaces-rail-2880.webp 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="The space rail with three spaces, Trailhead, Pixel Quest and Home, each with its own icon and colour. Trailhead is open on #general."></a></div>+ <figcaption>The rail on the left shows every space. The open one is highlighted.</figcaption>+</figure>++<h2 id="contents">What belongs to a space</h2>+<ul>+ <li>Bots and teams, with their channels and direct chats</li>+ <li>Routines and skills</li>+ <li>MCP tool servers</li>+ <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>++<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>++<h2 id="settings">Space settings</h2>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v2-space-settings-2880.webp" 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" srcset="../assets/media/v2-space-settings-1440.webp 1440w, ../assets/media/v2-space-settings-2880.webp 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>+</figure>+<div class="table-wrap"><table>+ <thead><tr><th>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>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>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>+ <tr><td>Import & export</td><td>Bring bots in, or export the space</td></tr>+ </tbody>+</table></div>++<h3 id="rules">Approval and hiring rules</h3>+<p>Each space picks how bots ask before acting: <strong>Ask before running commands</strong>, <strong>Ask only when risky</strong> or <strong>Don't ask</strong>. A bot can follow the space or override it. See <a href="approvals.html">Approvals & passwords</a>.</p>+<p>The hiring rule decides what happens when a bot proposes a new teammate: <strong>Ask me each time</strong>, or <strong>Hire at once</strong> with at most 3 automatic hires in 24 hours. See <a href="routines.html#hiring">hiring</a>.</p>++<h3 id="this-machine">Use This machine</h3>+<p>When it's on, bots in the space can use the CLIs signed in on the computer running kwant. Turn it off to keep the space on its own accounts only. Bots never fall back to it.</p>++<h2 id="archive">Archiving</h2>+<p>Archive a space to put it away. Its routines pause and its bots, chats and settings are kept. Restore it any time from <strong>Archived spaces</strong>. kwant has no hard delete for spaces. When a bot asks to archive a space, it waits for your OK.</p>++<h2 id="import">Import & export</h2>+<p><strong>Bring a bot from…</strong> Grok, ChatGPT, Claude or another app: kwant gives you a prompt to paste into that app, and you paste its reply back. Or upload a file: <code>.json</code>, <code>.md</code>, <code>.png</code>, <code>.zip</code> or <code>.txt</code> up to 20 MB, such as a Claude Code subagent, a <code>SKILL.md</code>, a character card, an OpenMausBot export or a <code>.kwant.json</code> file. A pasted reply can be up to 256 KB.</p>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v2-import-2880.webp" data-caption="The import dialog: Bring a bot from Grok, ChatGPT, Claude or another app, or upload a file."><img src="../assets/media/v2-import-1440.webp" srcset="../assets/media/v2-import-1440.webp 1440w, ../assets/media/v2-import-2880.webp 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="The import dialog: Bring a bot from Grok, ChatGPT, Claude or another app, or upload a file."></a></div>+</figure>+<p>Imports start safe:</p>+<ul>+ <li>Imported bots have no tools until you give them some.</li>+ <li>Imported skills wait for your approval.</li>+ <li>Imported routines start paused.</li>+ <li>Any keys in the file are removed.</li>+</ul>+<p>You can undo an import. Export a whole space or one bot as a file. Exports leave out chat history, files, tools and keys.</p>++ <nav class="pager" aria-label="Docs pages"><a class="prev" href="../docs/install.html"><small>Previous</small>Install & run</a><a class="next" href="../docs/bots-and-teams.html"><small>Next</small>Bots & teams</a></nav>+ </article>+</div>+</main>+<footer class="site-footer">+ <div class="wrap">+ <div>+ <a class="brand" href="../" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-f" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-f)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a>+ <p>A self-hosted team of AI bots in one binary. Screens and clips on this site come from a real kwant build running sample data.</p>+ </div>+ <nav aria-label="Footer">+ <a href="../docs/quickstart.html">Quickstart</a>+ <a href="../docs/install.html">Install & run</a>+ <a href="../features.html">All features</a>+ <a href="../docs/spaces.html">Spaces</a>+ <a href="../docs/accounts.html">Accounts</a>+ <a href="../docs/approvals.html">Approvals</a>+ <a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a>+ </nav>+ </div>+</footer>+<script src="../assets/js/site.js" defer></script>+</body>+</html>diff --git a/site/features.html b/site/features.htmlnew file mode 100644index 00000000..15997256--- /dev/null+++ b/site/features.html@@ -0,0 +1,265 @@+<!doctype html>+<html lang="en">+<head>+<meta charset="utf-8">+<meta name="viewport" content="width=device-width, initial-scale=1">+<title>Features: everything kwant does · kwant</title>+<meta name="description" content="Every kwant feature in one place: teams and handoffs, spaces, several accounts per engine, routines, loose ends, letters, Parallel Universe, approvals, memory, skills and more.">+<meta name="theme-color" content="#0d0a1d">+<meta name="color-scheme" content="dark">+<link rel="canonical" href="https://kwant.si/features">+<meta property="og:type" content="website">+<meta property="og:site_name" content="kwant">+<meta property="og:title" content="Features: everything kwant does · kwant">+<meta property="og:description" content="Every kwant feature in one place: teams and handoffs, spaces, several accounts per engine, routines, loose ends, letters, Parallel Universe, approvals, memory, skills and more.">+<meta property="og:url" content="https://kwant.si/features">+<meta property="og:image" content="https://kwant.si/assets/og.png">+<meta property="og:image:width" content="1200">+<meta property="og:image:height" content="630">+<meta property="og:image:alt" content="kwant: a team of AI bots discussing a feature and posting one summary">+<meta name="twitter:card" content="summary_large_image">+<link rel="icon" href="favicon.svg" type="image/svg+xml">+<link rel="icon" href="favicon-32.png" sizes="32x32" type="image/png">+<link rel="apple-touch-icon" href="apple-touch-icon.png">+<link rel="preload" href="assets/fonts/inter-var.woff2" as="font" type="font/woff2" crossorigin>+<link rel="stylesheet" href="assets/css/site.css">+</head>+<body>+<a class="skip" href="#main">Skip to content</a>+<header class="site-header">+ <div class="wrap">+ <a class="brand" href="./" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-h" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-h)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a>+ <nav class="nav" aria-label="Main">+ <a class="hide-sm" href="features.html" aria-current="page">Features</a>+ <a class="hide-sm" href="./#how">How it works</a>+ <a class="hide-sm" href="./#faq">FAQ</a>+ <a href="docs/quickstart.html">Docs</a>+ <a class="btn btn-ghost" href="https://github.com/alexsergivan/kwant" rel="noopener"><svg viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg><span>GitHub</span></a>+ </nav>+ </div>+</header>+<main id="main">+<section class="page-head">+ <div class="wrap">+ <p class="kicker">Features</p>+ <h1>Everything kwant does</h1>+ <p class="lede">A self-hosted team of AI bots, with separate spaces, every account you have, and work that keeps going while you're away.</p>+ <ul class="jump" aria-label="Jump to a group">+ <li><a href="#teams">Teams & chat</a></li>+ <li><a href="#spaces">Spaces & accounts</a></li>+ <li><a href="#own">Works on its own</a></li>+ <li><a href="#safety">Safety & control</a></li>+ <li><a href="#knowledge">Bots & knowledge</a></li>+ <li><a href="#running">Running it</a></li>+ </ul>+ </div>+</section>++<section id="teams" class="fgroup">+ <div class="wrap">+ <div class="section-head">+ <p class="kicker">Teams & chat</p>+ <h2>A team of bots that talk to each other</h2>+ <p>Each bot has a role, a voice and a model, and knows who else is in the room.</p>+ </div>+ <div class="grid two">+ <article class="card">+ <span class="shot"><a class="zoom" href="assets/media/desktop-manage-team-2880.webp" data-caption="The Manage Team dialog with the team handle, mission, pinned team instructions, workspace, lead and roster."><img src="assets/media/desktop-manage-team-1440.webp" srcset="assets/media/desktop-manage-team-1440.webp 1440w, assets/media/desktop-manage-team-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px" width="1440" height="900" loading="lazy" decoding="async" alt="The Manage Team dialog with the team handle, mission, pinned team instructions, workspace, lead and roster."></a></span>+ <div class="card-body"><h3>Teams with a lead</h3><p>Give a team a mission, pinned instructions every member follows, a lead and a shared workspace.</p></div>+ </article>+ <article class="card">+ <span class="shot"><a class="zoom" href="assets/media/desktop-presets-2880.webp" data-caption="The New bot dialog with the Security preset picked, showing Tech, Non-tech and Lifestyle tabs and the avatar grid."><img src="assets/media/desktop-presets-1440.webp" srcset="assets/media/desktop-presets-1440.webp 1440w, assets/media/desktop-presets-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px" width="1440" height="900" loading="lazy" decoding="async" alt="The New bot dialog with the Security preset picked, showing Tech, Non-tech and Lifestyle tabs and the avatar grid."></a></span>+ <div class="card-body"><h3>Personas and souls</h3><p>Start from a preset. Every bot has a persona for what it does, a soul for how it speaks, and a pixel avatar.</p></div>+ </article>+ </div>+ <ul class="flist">+ <li><h3>Handoffs with an @mention</h3><p>Mention a teammate, or <code>@everyone</code>, and they answer next in the same chat, up to four handoffs per message.</p></li>+ <li><h3>Team discussions</h3><p>Ask a team and the lead runs a short discussion, then posts one summary. Teammates can pass when they have nothing to add.</p></li>+ <li><h3>Channels and direct chats</h3><p>Talk to the whole team in a channel or to one bot directly. Threads keep side topics apart.</p></li>+ <li><h3>The Laya router</h3><p>Picks which bot answers in a channel, and the model and effort for bots set to auto. If it is offline, kwant routes by keyword.</p></li>+ <li><h3>A receipt for every tool</h3><p>Replies list the tools a bot used and how each call ended.</p></li>+ <li><h3>Works on a phone</h3><p>The web app fits a phone screen, with an inbox tab for what needs you.</p></li>+ </ul>+ <p class="section-foot"><a class="more-link" href="docs/bots-and-teams.html">Bots & teams →</a></p>+ </div>+</section>++<section id="spaces" class="fgroup alt">+ <div class="wrap">+ <div class="section-head">+ <p class="kicker">Spaces & accounts</p>+ <h2>Separate spaces, every account</h2>+ <p>Keep work, side projects and home apart, and use all the accounts you pay for.</p>+ </div>+ <div class="grid two">+ <article class="card">+ <span class="shot"><a class="zoom" href="assets/media/v2-space-settings-2880.webp" 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" srcset="assets/media/v2-space-settings-1440.webp 1440w, assets/media/v2-space-settings-2880.webp 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>+ <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" 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" srcset="assets/media/v2-accounts-1440.webp 1440w, assets/media/v2-accounts-2880.webp 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>+ <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>+ <ul class="flist">+ <li><h3>Spaces</h3><p>Each space has its own bots, teams, channels, routines, skills, tool servers and accounts.</p></li>+ <li><h3>Quick switching</h3><p>Switch from the rail or with <code>Ctrl</code>/<code>⌘</code> + <code>1</code>–<code>9</code>. Every space has its own address.</p></li>+ <li><h3>Archive, not delete</h3><p>Archiving a space pauses its routines and keeps everything. Restore it from Archived spaces.</p></li>+ <li><h3>Several accounts per engine</h3><p>Claude, Codex and Grok CLI logins, Anthropic, OpenAI and xAI keys, with a default and an order.</p></li>+ <li><h3>Failover</h3><p>When an account runs out of usage or is signed out, the turn moves to the next one, up to three tries, and the chat says so.</p></li>+ <li><h3>Your own server</h3><p>Add any server that speaks the OpenAI chat or Anthropic Messages API, such as OpenRouter or LM Studio.</p></li>+ <li><h3>Sign in from the app</h3><p>Sign in a Claude, Codex or Grok CLI account from kwant itself.</p></li>+ <li><h3>Keys stay hidden</h3><p>Keys are write-only. kwant shows whether one is set, never the key.</p></li>+ </ul>+ <p class="section-foot"><a class="more-link" href="docs/accounts.html">Accounts & profiles →</a></p>+ </div>+</section>++<section id="own" class="fgroup">+ <div class="wrap">+ <div class="section-head">+ <p class="kicker">Works on its own</p>+ <h2>kwant keeps going when you close the tab</h2>+ <p>Scheduled work, check-ins, and a list of everything still open.</p>+ </div>+ <div class="grid two">+ <article class="card">+ <span class="shot"><a class="zoom" href="assets/media/v2-routines-2880.webp" 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" srcset="assets/media/v2-routines-1440.webp 1440w, assets/media/v2-routines-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px" 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></span>+ <div class="card-body"><h3>Routines</h3><p>Once, daily, weekly, monthly, every few minutes or hours, or a cron rule. Run now, history and pause for each.</p></div>+ </article>+ <article class="card">+ <span class="shot"><a class="zoom" href="assets/media/v2-loose-ends-2880.webp" data-caption="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."><img src="assets/media/v2-loose-ends-1440.webp" srcset="assets/media/v2-loose-ends-1440.webp 1440w, assets/media/v2-loose-ends-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px" width="1440" height="900" loading="lazy" decoding="async" 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."></a></span>+ <div class="card-body"><h3>Loose ends</h3><p>Finds questions, promises and replies that went quiet in your chats, email and GitHub.</p></div>+ </article>+ </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>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>Parallel Universe</h3><p>Load-test up to three ways to deploy in sealed containers on your server, next to dated price estimates. No cloud account and no spending.</p></li>+ <li><h3>Notifications</h3><p>Browser notifications, or an HTTPS webhook such as ntfy for your phone.</p></li>+ </ul>+ <p class="section-foot"><a class="more-link" href="docs/routines.html">Routines & bot actions →</a></p>+ </div>+</section>++<section id="safety" class="fgroup alt">+ <div class="wrap">+ <div class="section-head">+ <p class="kicker">Safety & control</p>+ <h2>You decide what bots may do</h2>+ <p>Every risky step waits for you, and every change can be undone.</p>+ </div>+ <div class="grid two">+ <article class="card">+ <span class="shot"><a class="zoom" href="assets/media/v2-hire-card-2880.webp" data-caption="TechLead proposes hiring a Support bot, with the reason, what it is based on, its model and tools, and Deny, Accept once and Always accept buttons."><img src="assets/media/v2-hire-card-1440.webp" srcset="assets/media/v2-hire-card-1440.webp 1440w, assets/media/v2-hire-card-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px" width="1440" height="900" loading="lazy" decoding="async" alt="TechLead proposes hiring a Support bot, with the reason, what it is based on, its model and tools, and Deny, Accept once and Always accept buttons."></a></span>+ <div class="card-body"><h3>Hiring you approve</h3><p>Bots can propose a new teammate. Accept once, always, or deny. Each space sets its rule.</p></div>+ </article>+ <article class="card">+ <span class="shot"><a class="zoom" href="assets/media/v2-passwords-bitwarden-2880.webp" data-caption="The warning shown when turning off approvals for every bot in a space, offering to move 3 saved passwords to Bitwarden first or keep asking."><img src="assets/media/v2-passwords-bitwarden-1440.webp" srcset="assets/media/v2-passwords-bitwarden-1440.webp 1440w, assets/media/v2-passwords-bitwarden-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px" width="1440" height="900" loading="lazy" decoding="async" alt="The warning shown when turning off approvals for every bot in a space, offering to move 3 saved passwords to Bitwarden first or keep asking."></a></span>+ <div class="card-body"><h3>Saved passwords</h3><p>Website logins in kwant's encrypted vault or your own Bitwarden. Turning approvals off requires Bitwarden.</p></div>+ </article>+ </div>+ <ul class="flist">+ <li><h3>Approval cards</h3><p>Allow once, Always allow or Deny, with the exact command or arguments.</p></li>+ <li><h3>Three approval modes</h3><p>Ask before running commands, ask only when risky, 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 wait for your OK.</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>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>+ </ul>+ <p class="section-foot"><a class="more-link" href="docs/approvals.html">Approvals & passwords →</a></p>+ </div>+</section>++<section id="knowledge" class="fgroup">+ <div class="wrap">+ <div class="section-head">+ <p class="kicker">Your bots and knowledge</p>+ <h2>Bots that learn your way of working</h2>+ <p>And you can read, change or switch off everything they learn.</p>+ </div>+ <div class="grid two">+ <article class="card">+ <span class="shot"><a class="zoom" href="assets/media/v2-memory-2880.webp" data-caption="QA's Memory tab with an add box and four memories, each marked as written by the bot or by you, with edit and delete."><img src="assets/media/v2-memory-1440.webp" srcset="assets/media/v2-memory-1440.webp 1440w, assets/media/v2-memory-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px" width="1440" height="900" loading="lazy" decoding="async" alt="QA's Memory tab with an add box and four memories, each marked as written by the bot or by you, with edit and delete."></a></span>+ <div class="card-body"><h3>Memory</h3><p>Up to 100 short memories per bot, written by you or the bot, all editable.</p></div>+ </article>+ <article class="card">+ <span class="shot"><a class="zoom" href="assets/media/v2-skills-2880.webp" data-caption="QA's Skills tab with a release-checklist skill waiting for review, with Approve, Edit then approve, and Reject, above a bug-report skill already in use."><img src="assets/media/v2-skills-1440.webp" srcset="assets/media/v2-skills-1440.webp 1440w, assets/media/v2-skills-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px" width="1440" height="900" loading="lazy" decoding="async" alt="QA's Skills tab with a release-checklist skill waiting for review, with Approve, Edit then approve, and Reject, above a bug-report skill already in use."></a></span>+ <div class="card-body"><h3>Skills</h3><p>Written procedures a bot proposes and you approve. Turn each on or off.</p></div>+ </article>+ </div>+ <ul class="flist">+ <li><h3>Search</h3><p><code>Ctrl K</code> or <code>⌘K</code> searches every channel and direct chat in the open space.</p></li>+ <li><h3>Bring your bots</h3><p>Import from Grok, ChatGPT, Claude or a file such as a Claude Code subagent or a <code>SKILL.md</code>.</p></li>+ <li><h3>Export</h3><p>Export a space or one bot as a file, without chat history, files, tools or keys.</p></li>+ <li><h3>Write your own skill</h3><p>Add a skill to a bot yourself, from its Skills tab.</p></li>+ </ul>+ <p class="section-foot"><a class="more-link" href="docs/memory-skills.html">Memory, skills & search →</a></p>+ </div>+</section>++<section id="running" class="fgroup alt">+ <div class="wrap">+ <div class="section-head">+ <p class="kicker">Running it</p>+ <h2>One binary, on your laptop or a server</h2>+ <p>No cloud service to sign up for.</p>+ </div>+ <div class="grid two">+ <article class="card">+ <span class="shot"><a class="zoom" href="assets/media/v2-computer-mode-2880.webp" 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" srcset="assets/media/v2-computer-mode-1440.webp 1440w, assets/media/v2-computer-mode-2880.webp 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>+ <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">+ <span class="shot"><a class="zoom" href="assets/media/desktop-usage-2880.webp" data-caption="A bot's Usage tab showing calls, cache share, fresh, cached and output tokens, a breakdown by purpose and recent calls."><img src="assets/media/desktop-usage-1440.webp" srcset="assets/media/desktop-usage-1440.webp 1440w, assets/media/desktop-usage-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 570px" width="1440" height="900" loading="lazy" decoding="async" alt="A bot's Usage tab showing calls, cache share, fresh, cached and output tokens, a breakdown by purpose and recent calls."></a></span>+ <div class="card-body"><h3>Usage</h3><p>For API-key and custom-API bots, a Usage tab breaks tokens down by purpose, cache and call.</p></div>+ </article>+ </div>+ <ul class="flist">+ <li><h3>One binary</h3><p><code>kwnt</code> has the web app and an SQLite database built in. No Node.js at runtime.</p></li>+ <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>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>+ <p class="section-foot"><a class="more-link" href="docs/install.html">Install & run →</a></p>+ </div>+</section>++<section aria-labelledby="closing-title">+ <div class="wrap">+ <div class="closing">+ <h2 id="closing-title">Put your team to work</h2>+ <p>Clone it, run <code>make run</code> and ask your first question in a few minutes.</p>+ <div class="cta">+ <a class="btn btn-primary" href="docs/quickstart.html">Read the quickstart</a>+ <a class="btn btn-ghost" href="docs/install.html">Run it on a server</a>+ </div>+ </div>+ </div>+</section>++</main>+<footer class="site-footer">+ <div class="wrap">+ <div>+ <a class="brand" href="./" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-f" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-f)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a>+ <p>A self-hosted team of AI bots in one binary. Screens and clips on this site come from a real kwant build running sample data.</p>+ </div>+ <nav aria-label="Footer">+ <a href="docs/quickstart.html">Quickstart</a>+ <a href="docs/install.html">Install & run</a>+ <a href="features.html">All features</a>+ <a href="docs/spaces.html">Spaces</a>+ <a href="docs/accounts.html">Accounts</a>+ <a href="docs/approvals.html">Approvals</a>+ <a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a>+ </nav>+ </div>+</footer>+<script src="assets/js/site.js" defer></script>+</body>+</html>diff --git a/site/index.html b/site/index.htmlindex 546e8457..2db9a3ac 100644--- a/site/index.html+++ b/site/index.html@@ -4,14 +4,14 @@<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>kwant: your own team of AI bots, in one binary</title>-<meta name="description" content="kwant is a self-hosted team of AI bots. They run on the Claude, Codex or Grok CLIs or your API keys, hand work to each other, and ask before anything risky. One binary, on your laptop or a VPS.">+<meta name="description" content="kwant is a self-hosted team of AI bots with separate spaces, every account you have, routines that run while you're away, and approvals before anything risky. One binary, on your laptop or a VPS."><meta name="theme-color" content="#0d0a1d"><meta name="color-scheme" content="dark"><link rel="canonical" href="https://kwant.si/"><meta property="og:type" content="website"><meta property="og:site_name" content="kwant"><meta property="og:title" content="kwant: your own team of AI bots, in one binary">-<meta property="og:description" content="kwant is a self-hosted team of AI bots. They run on the Claude, Codex or Grok CLIs or your API keys, hand work to each other, and ask before anything risky. One binary, on your laptop or a VPS.">+<meta property="og:description" content="kwant is a self-hosted team of AI bots with separate spaces, every account you have, routines that run while you're away, and approvals before anything risky. One binary, on your laptop or a VPS."><meta property="og:url" content="https://kwant.si/"><meta property="og:image" content="https://kwant.si/assets/og.png"><meta property="og:image:width" content="1200">@@ -30,7 +30,7 @@<div class="wrap"><a class="brand" href="./" aria-label="kwant home"><svg viewBox="0 0 32 32" aria-hidden="true"><defs><linearGradient id="kg-h" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8f7dff"/><stop offset="1" stop-color="#5a43d6"/></linearGradient></defs><rect width="32" height="32" rx="9" fill="url(#kg-h)"/><path d="M10.5 21.5L16 11l5.5 10.5" fill="none" stroke="#fff" stroke-opacity=".55" stroke-width="1.8" stroke-linecap="round"/><circle cx="16" cy="10.5" r="3.2" fill="#fff"/><circle cx="10" cy="22" r="3.2" fill="#fff"/><circle cx="22" cy="22" r="3.2" fill="#f6b549"/></svg><span>kwant</span></a><nav class="nav" aria-label="Main">- <a class="hide-sm" href="./#features">Features</a>+ <a class="hide-sm" href="features.html">Features</a><a class="hide-sm" href="./#how">How it works</a><a class="hide-sm" href="./#faq">FAQ</a><a href="docs/quickstart.html">Docs</a>@@ -44,7 +44,7 @@<div class="hero-copy"><p class="eyebrow"><span class="dot" aria-hidden="true"></span>Self-hosted · one binary · your data</p><h1>Your own team of <span class="grad">AI bots</span>, working together.</h1>- <p class="lede">kwant gives you a team of bots that share chats, hand work to each other with an @mention and wait for your OK before anything risky. Run it on your laptop or a server, with the Claude, Codex or Grok CLI you already use, or your own API keys.</p>+ <p class="lede">kwant gives you a team of bots that share chats, hand work to each other with an @mention, keep working on a schedule and wait for your OK before anything risky. Keep separate spaces for work and home, each with its own bots and accounts. Run it on your laptop or a server, with the Claude, Codex or Grok CLI you already use, or your own API keys.</p><div class="cta"><a class="btn btn-primary" href="docs/quickstart.html">Get started<svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 10h12M11 5l5 5-5 5"/></svg></a>@@ -62,54 +62,102 @@</div></section>-<section id="benefits" class="alt">+<section id="different" class="alt"><div class="wrap"><div class="section-head center">- <p class="kicker">Why kwant</p>- <h2>A real team, not another chat tab</h2>- <p>Each bot has its own role, voice and model. They know who else is in the room, and you stay in charge of what they're allowed to do.</p>+ <p class="kicker">What makes kwant different</p>+ <h2>More than a chat with a bot</h2>+ <p>kwant runs a whole working setup on your own machine: separate spaces, every account you have, and bots that keep going when you close the tab.</p></div><div class="benefits">- <article class="benefit">- <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 8l-9-5-9 5 9 5 9-5z"/><path d="M3 8v8l9 5 9-5V8"/><path d="M12 13v8"/></svg></span>- <h3>One binary</h3>- <p><code>kwnt</code> is a single program with the web app and an SQLite database built in. No Node.js at runtime and no database server to set up.</p>- </article>- <article class="benefit">- <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="12" rx="2"/><path d="M8 20h8M12 16v4"/></svg></span>- <h3>Your laptop or a VPS</h3>- <p>On your own computer there's nothing to sign in to. On a server, open the link it prints at startup once. Docker Compose and a systemd unit are included.</p>- </article>- <article class="benefit">- <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 17l6-6-6-6"/><path d="M12 19h8"/></svg></span>- <h3>Any model, any CLI</h3>- <p>Use the <code>claude</code>, <code>codex</code> or <code>grok</code> CLI, Anthropic, OpenAI or xAI API keys, or any OpenAI-compatible server like OpenRouter or LM Studio.</p>- </article>- <article class="benefit">+ <a class="benefit link" href="#spaces">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="3" width="7" height="7" rx="2"/><rect x="14" y="3" width="7" height="7" rx="2"/><rect x="3" y="14" width="7" height="7" rx="2"/><rect x="14" y="14" width="7" height="7" rx="2"/></svg></span>+ <h3>Spaces</h3>+ <p>Separate spaces for work, a side project and home. Each has its own bots, teams, channels, routines, accounts and approval rules.</p>+ <span class="more">See spaces →</span>+ </a>+ <a class="benefit link" href="#accounts">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="9" cy="8" r="3.5"/><path d="M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6"/><path d="M16 4.5a3.5 3.5 0 010 7M18 14.5c1.8.9 3 2.9 3 5.5"/></svg></span>+ <h3>Every account you have</h3>+ <p>Two Claude logins, a ChatGPT plan, an API key and your own server, side by side. When one runs out, kwant moves the turn to the next.</p>+ <span class="more">See accounts →</span>+ </a>+ <a class="benefit link" href="#team"><span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="8" cy="8" r="3"/><circle cx="17" cy="16" r="3"/><path d="M10.5 10.5l4 4"/><path d="M17 5v4M15 7h4"/></svg></span>- <h3>Bots that hand off</h3>- <p>When a reply @mentions a teammate, that teammate answers next in the same chat. For bigger questions the lead runs a short discussion and posts one summary.</p>- </article>- <article class="benefit">- <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3l8 3v6c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V6l8-3z"/><path d="M9 12l2 2 4-4"/></svg></span>- <h3>You approve risky actions</h3>- <p>Commands and edits outside a bot's own folder wait for Allow once, Always allow or Deny. Or let kwant ask only when something looks risky.</p>- </article>- <article class="benefit">- <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="5" y="11" width="14" height="10" rx="2"/><path d="M8 11V8a4 4 0 018 0v3"/></svg></span>- <h3>Your data stays yours</h3>- <p>Chats, bots and settings live in kwant's data folder on your machine. Saved website logins can live in your own Bitwarden.</p>- </article>+ <h3>A team that hands off</h3>+ <p>Bots @mention each other, a lead runs short discussions and posts one summary, and the Laya router picks who answers and with which model.</p>+ <span class="more">See the team →</span>+ </a>+ <a class="benefit link" href="#away">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg></span>+ <h3>Works while you're away</h3>+ <p>Routines on a schedule, bots that check back on their own, and one page with what finished, what failed and what's waiting on you.</p>+ <span class="more">See routines →</span>+ </a>+ <a class="benefit link" href="#loose-ends">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 6h16v12H4z"/><path d="M4 7l8 6 8-6"/></svg></span>+ <h3>Loose ends and letters</h3>+ <p>Finds what you started and never finished in your chats, email and GitHub, and reads the letters you photograph. It drafts the reply. It never sends.</p>+ <span class="more">See loose ends →</span>+ </a>+ <a class="benefit link" href="#more">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 12a9 9 0 109-9"/><path d="M3 4v5h5"/></svg></span>+ <h3>Bots that set things up</h3>+ <p>Ask for a routine or a channel and the bot makes it, with an Undo button. Bots can even propose hiring a teammate. You decide.</p>+ <span class="more">See bot actions →</span>+ </a>+ </div>+ <p class="section-foot"><a class="btn btn-ghost" href="features.html">See every feature</a></p>+ </div>+</section>++<section id="spaces">+ <div class="wrap">+ <div class="section-head">+ <p class="kicker">Spaces & accounts</p>+ <h2>Keep work, side projects and home apart</h2>+ <p>One kwant, as many spaces as you need. Nothing leaks from one to the next: not the bots, not the chats, not the accounts.</p>+ </div>+ <div class="showcase">+ <div class="row">+ <div class="row-copy">+ <h3>A space for each part of your life</h3>+ <p>Give each space a name, an icon and a colour. Its bots, teams, channels, tool servers, skills and routines stay inside it.</p>+ <ul class="checks">+ <li>Its own approval rule: ask every time, ask only when risky, or don't ask</li>+ <li>Its own hiring rule for bots that propose new teammates</li>+ <li>Switch from the rail or with <code>Ctrl</code>/<code>⌘</code> + <code>1</code>–<code>9</code>. Each space reopens where you left it</li>+ <li>Archive a space to pause it. Its bots and chats are kept</li>+ </ul>+ <a class="more-link" href="docs/spaces.html">How spaces work →</a>+ </div>+ <div class="frame"><a class="zoom" href="assets/media/v2-spaces-rail-2880.webp" data-caption="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."><img src="assets/media/v2-spaces-rail-1440.webp" srcset="assets/media/v2-spaces-rail-1440.webp 1440w, assets/media/v2-spaces-rail-2880.webp 2880w" sizes="(max-width: 1024px) 100vw, 680px" width="1440" height="900" loading="lazy" decoding="async" 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."></a></div>+ </div>++ <div class="row flip" id="accounts">+ <div class="row-copy">+ <h3>Every account, side by side</h3>+ <p>Add as many accounts per engine as you have: Claude or Codex or Grok CLI logins, Anthropic, OpenAI or xAI keys, and your own server that speaks the OpenAI or Anthropic API.</p>+ <ul class="checks">+ <li>A default and a priority order for each engine</li>+ <li>Out of usage? The turn moves to the next account, and the chat says so</li>+ <li>Pin a bot to one account, or keep it from switching</li>+ <li>Keys are write-only: kwant never shows them again</li>+ </ul>+ <a class="more-link" href="docs/accounts.html">Accounts & profiles →</a>+ </div>+ <div class="frame"><a class="zoom" href="assets/media/v2-accounts-2880.webp" 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" srcset="assets/media/v2-accounts-1440.webp 1440w, assets/media/v2-accounts-2880.webp 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></div></div></section>-<section id="features">+<section id="team" class="alt"><div class="wrap"><div class="section-head">- <p class="kicker">Features</p>- <h2>Everything a small team needs</h2>- <p>These are real screens from kwant, running a sample space called Trailhead with a four-bot product team.</p>+ <p class="kicker">Your team</p>+ <h2>A real team, not another chat tab</h2>+ <p>Each bot has its own role, voice and model. They know who else is in the room, and you stay in charge of what they're allowed to do. These screens come from a sample space called Trailhead with a four-bot product team.</p></div><div class="showcase">@@ -155,38 +203,140 @@</div></section>-<section class="alt" aria-labelledby="more-title">+<section id="away">+ <div class="wrap">+ <div class="section-head">+ <p class="kicker">Works while you're away</p>+ <h2>kwant keeps going when you close the tab</h2>+ <p>Routines run on a schedule, bots check back on their own, and kwant keeps track of everything that's still open.</p>+ </div>+ <div class="showcase">+ <div class="row">+ <div class="row-copy">+ <h3>Say "every morning". Get a routine.</h3>+ <p>Ask a bot to check something every morning and it sets up the routine itself, with an Undo button on the card. Or make one yourself: once, daily, weekly, monthly, every few minutes or hours, or a cron rule.</p>+ <ul class="checks">+ <li>Run now, history, pause and edit for every routine</li>+ <li>Results post in a channel, the bot's direct chat or a thread</li>+ <li>Bots can set a one-off follow-up to check back later</li>+ </ul>+ <a class="more-link" href="docs/routines.html">Routines & bot actions →</a>+ </div>+ <div class="frame"><video data-autoplay controls muted playsinline loop preload="none" poster="assets/media/clip-spaces-routine-poster.jpg" width="1280" height="800" aria-label="Demo: switching from the Trailhead space to Home and back, then asking QA to check overnight checkout errors every morning. QA sets up a weekday routine and a follow-up, each with Undo, Edit and Pause."><source src="assets/media/clip-spaces-routine.mp4" type="video/mp4"></video></div>+ </div>++ <div class="row flip">+ <div class="row-copy">+ <h3>Come back to what changed</h3>+ <p>"While you were away" collects what happened since you last looked, instead of a wall of chat.</p>+ <ul class="checks">+ <li><strong>Waiting on you:</strong> answer questions and approvals right there</li>+ <li><strong>Finished:</strong> handoffs and routine runs that are done</li>+ <li><strong>Failed or stuck:</strong> including a handoff with no reply after 30 minutes</li>+ <li>Optional notifications in your browser, or to your phone through an HTTPS webhook such as ntfy</li>+ </ul>+ </div>+ <div class="frame"><a class="zoom" href="assets/media/v2-away-2880.webp" 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" srcset="assets/media/v2-away-1440.webp 1440w, assets/media/v2-away-2880.webp 2880w" sizes="(max-width: 1024px) 100vw, 680px" 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>+ </div>++ <div class="row" id="loose-ends">+ <div class="row-copy">+ <h3>Nothing you started gets lost</h3>+ <p>Loose ends reads your kwant chats and, if you add them, an email inbox over IMAP and your GitHub issues and pull requests. It finds what's still hanging: a question nobody answered, a promise that lapsed, a reply you owe.</p>+ <ul class="checks">+ <li>Every case shows the quote it's based on and a drafted next step</li>+ <li>Read-only: no email is marked, moved or deleted</li>+ <li>It never sends. Copy the draft or open it in your mail app</li>+ <li>Snooze it, dismiss it, or mark it done</li>+ </ul>+ <a class="more-link" href="docs/loose-ends.html">Loose ends & letters →</a>+ </div>+ <div class="frame"><a class="zoom" href="assets/media/v2-loose-ends-stalled-2880.webp" 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" srcset="assets/media/v2-loose-ends-stalled-1440.webp 1440w, assets/media/v2-loose-ends-stalled-2880.webp 2880w" sizes="(max-width: 1024px) 100vw, 680px" 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>+ </div>++ <div class="row flip">+ <div class="row-copy">+ <h3>Snap a letter. Get the deadline.</h3>+ <p>Photograph or upload a bill, form or notice, up to five pages. kwant pulls out who sent it, what they want, the deadline, references and amounts, each next to the line it came from, and drafts a reply.</p>+ <ul class="checks">+ <li>Anything kwant isn't sure of is marked for you to check</li>+ <li>Reminders 7 days before, the day before and on the day</li>+ <li>Reading photos needs a Claude account</li>+ <li>Nothing is ever sent for you</li>+ </ul>+ </div>+ <div class="frame"><a class="zoom" href="assets/media/v2-letter-2880.webp" data-caption="A scanned letter from a fictional water company next to what kwant read from it: who it's from, what they want and the deadline of November 5, each with the quote it came from and editable."><img src="assets/media/v2-letter-1440.webp" srcset="assets/media/v2-letter-1440.webp 1440w, assets/media/v2-letter-2880.webp 2880w" sizes="(max-width: 1024px) 100vw, 680px" width="1440" height="900" loading="lazy" decoding="async" alt="A scanned letter from a fictional water company next to what kwant read from it: who it's from, what they want and the deadline of November 5, each with the quote it came from and editable."></a></div>+ </div>+ </div>+ </div>+</section>++<section id="parallel" class="alt">+ <div class="wrap">+ <div class="row">+ <div class="row-copy">+ <p class="kicker">Parallel Universe</p>+ <h3>Try every way to deploy before you pick one</h3>+ <p>Managed hosting, a VPS or serverless? Describe your app and up to three ways to run it. kwant runs each one in a sealed-off container on your own server, load-tests it, and sets it next to a price estimate from a dated price table.</p>+ <ul class="checks">+ <li>Every number says where it came from: measured here, estimated from a price, or a guess</li>+ <li>No cloud account and no spending. The test containers have no internet</li>+ <li>Latency is measured on your server, not the provider's, and the report says so</li>+ <li>Needs Docker on the machine that runs kwant</li>+ </ul>+ <a class="more-link" href="docs/parallel-universe.html">How Parallel Universe works →</a>+ </div>+ <div class="frame"><a class="zoom" href="assets/media/v2-parallel-universe-2880.webp" data-caption="Parallel Universe comparing three ways to host an API on cost, p95 latency, ops burden and rollback, with the fastest and cheapest option marked. The figures are sample data."><img src="assets/media/v2-parallel-universe-1440.webp" srcset="assets/media/v2-parallel-universe-1440.webp 1440w, assets/media/v2-parallel-universe-2880.webp 2880w" sizes="(max-width: 1024px) 100vw, 680px" width="1440" height="900" loading="lazy" decoding="async" alt="Parallel Universe comparing three ways to host an API on cost, p95 latency, ops burden and rollback, with the fastest and cheapest option marked. The figures are sample data."></a></div>+ </div>+ </div>+</section>++<section id="more" aria-labelledby="more-title"><div class="wrap"><div class="section-head"><p class="kicker">And more</p>- <h2 id="more-title">Built for day-to-day work</h2>+ <h2 id="more-title">Bots that grow with you</h2>+ <p>They set things up when you ask, remember what matters, and learn your way of working, with you approving each step.</p></div><div class="grid"><article class="card">- <span class="shot"><a class="zoom" href="assets/media/desktop-handoff-2880.webp" data-caption="The design-review channel. Designer answers a question about empty states, then @mentions QA, and QA checks it on a 360 pixel screen."><img src="assets/media/desktop-handoff-1440.webp" srcset="assets/media/desktop-handoff-1440.webp 1440w, assets/media/desktop-handoff-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px" width="1440" height="900" loading="lazy" decoding="async" alt="The design-review channel. Designer answers a question about empty states, then @mentions QA, and QA checks it on a 360 pixel screen."></a></span>- <div class="card-body"><h3>Handoffs with an @mention</h3><p>Mention a teammate, or <code>@everyone</code>, and they pick it up right after, up to four handoffs per message.</p></div>+ <span class="shot"><a class="zoom" href="assets/media/v2-action-undo-2880.webp" data-caption="TechLead created the channel #launch-waitlist when asked. The card says Done and has an Undo button."><img src="assets/media/v2-action-undo-1440.webp" srcset="assets/media/v2-action-undo-1440.webp 1440w, assets/media/v2-action-undo-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px" width="1440" height="900" loading="lazy" decoding="async" alt="TechLead created the channel #launch-waitlist when asked. The card says Done and has an Undo button."></a></span>+ <div class="card-body"><h3>Changes with an Undo</h3><p>Bots create routines, channels and bots when you ask, up to 10 changes a turn. Deleting a bot or archiving a space waits for your OK.</p></div></article><article class="card">- <span class="shot"><a class="zoom" href="assets/media/desktop-reasoning-2880.webp" data-caption="The general channel. kwant routes a Postgres or queue question to Architect and shows why, plus the model and effort it used."><img src="assets/media/desktop-reasoning-1440.webp" srcset="assets/media/desktop-reasoning-1440.webp 1440w, assets/media/desktop-reasoning-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px" width="1440" height="900" loading="lazy" decoding="async" alt="The general channel. kwant routes a Postgres or queue question to Architect and shows why, plus the model and effort it used."></a></span>- <div class="card-body"><h3>The right bot and model</h3><p>The Laya router picks who answers in a channel, and the model and effort for bots set to auto. If it's offline, kwant routes by keyword.</p></div>+ <span class="shot"><a class="zoom" href="assets/media/v2-hire-card-2880.webp" data-caption="TechLead proposes hiring a Support bot, with the reason, what it is based on, its model and tools, and Deny, Accept once and Always accept buttons."><img src="assets/media/v2-hire-card-1440.webp" srcset="assets/media/v2-hire-card-1440.webp 1440w, assets/media/v2-hire-card-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px" width="1440" height="900" loading="lazy" decoding="async" alt="TechLead proposes hiring a Support bot, with the reason, what it is based on, its model and tools, and Deny, Accept once and Always accept buttons."></a></span>+ <div class="card-body"><h3>Bots that propose a hire</h3><p>When a specialist would do better, a bot can propose a new teammate. Accept it once, always, or deny it. Each space sets its own rule.</p></div>+ </article>+ <article class="card">+ <span class="shot"><a class="zoom" href="assets/media/v2-skills-2880.webp" data-caption="QA's Skills tab with a release-checklist skill waiting for review, with Approve, Edit then approve, and Reject, above a bug-report skill already in use."><img src="assets/media/v2-skills-1440.webp" srcset="assets/media/v2-skills-1440.webp 1440w, assets/media/v2-skills-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px" width="1440" height="900" loading="lazy" decoding="async" alt="QA's Skills tab with a release-checklist skill waiting for review, with Approve, Edit then approve, and Reject, above a bug-report skill already in use."></a></span>+ <div class="card-body"><h3>Skills you approve</h3><p>A bot can write down how it does a task as a skill. Nothing is used until you approve it, edit it or turn it off.</p></div></article><article class="card">- <span class="shot"><a class="zoom" href="assets/media/desktop-manage-team-2880.webp" data-caption="The Manage Team dialog with the team handle, mission, pinned team instructions, workspace, lead and roster."><img src="assets/media/desktop-manage-team-1440.webp" srcset="assets/media/desktop-manage-team-1440.webp 1440w, assets/media/desktop-manage-team-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px" width="1440" height="900" loading="lazy" decoding="async" alt="The Manage Team dialog with the team handle, mission, pinned team instructions, workspace, lead and roster."></a></span>- <div class="card-body"><h3>Teams with a lead</h3><p>Give a team a mission, pinned instructions every member follows, a lead and a shared workspace.</p></div>+ <span class="shot"><a class="zoom" href="assets/media/v2-memory-2880.webp" data-caption="QA's Memory tab with an add box and four memories, each marked as written by the bot or by you, with edit and delete."><img src="assets/media/v2-memory-1440.webp" srcset="assets/media/v2-memory-1440.webp 1440w, assets/media/v2-memory-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px" width="1440" height="900" loading="lazy" decoding="async" alt="QA's Memory tab with an add box and four memories, each marked as written by the bot or by you, with edit and delete."></a></span>+ <div class="card-body"><h3>Memory you can read</h3><p>Each bot keeps up to 100 short memories. You see every one, who wrote it, and can edit or delete it.</p></div></article><article class="card">- <span class="shot"><a class="zoom" href="assets/media/desktop-usage-2880.webp" data-caption="A bot's Usage tab showing calls, cache share, fresh, cached and output tokens, a breakdown by purpose and recent calls."><img src="assets/media/desktop-usage-1440.webp" srcset="assets/media/desktop-usage-1440.webp 1440w, assets/media/desktop-usage-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px" width="1440" height="900" loading="lazy" decoding="async" alt="A bot's Usage tab showing calls, cache share, fresh, cached and output tokens, a breakdown by purpose and recent calls."></a></span>- <div class="card-body"><h3>See what each bot uses</h3><p>For API-key bots, a Usage tab breaks tokens down by purpose, cache and call.</p></div>+ <span class="shot"><a class="zoom" href="assets/media/v2-search-2880.webp" data-caption="Search for "waitlist" across every chat in the space, with highlighted hits grouped by chat."><img src="assets/media/v2-search-1440.webp" srcset="assets/media/v2-search-1440.webp 1440w, assets/media/v2-search-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px" width="1440" height="900" loading="lazy" decoding="async" alt="Search for "waitlist" across every chat in the space, with highlighted hits grouped by chat."></a></span>+ <div class="card-body"><h3>Search every chat</h3><p>Press <code>Ctrl K</code> or <code>⌘K</code> to search every channel and direct chat in a space.</p></div></article><article class="card">- <span class="shot"><a class="zoom" href="assets/media/desktop-approval-done-2880.webp" data-caption="After Allow Once, TechLead reports that pull request 482 is open, with a receipt: used 1 tool, create pull request, done."><img src="assets/media/desktop-approval-done-1440.webp" srcset="assets/media/desktop-approval-done-1440.webp 1440w, assets/media/desktop-approval-done-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px" width="1440" height="900" loading="lazy" decoding="async" alt="After Allow Once, TechLead reports that pull request 482 is open, with a receipt: used 1 tool, create pull request, done."></a></span>- <div class="card-body"><h3>A receipt for every tool</h3><p>Replies list the tools a bot used and how each call ended, so nothing happens out of sight.</p></div>+ <span class="shot"><a class="zoom" href="assets/media/v2-import-2880.webp" data-caption="The import dialog: Bring a bot from Grok, ChatGPT, Claude or another app, or upload a file."><img src="assets/media/v2-import-1440.webp" srcset="assets/media/v2-import-1440.webp 1440w, assets/media/v2-import-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px" width="1440" height="900" loading="lazy" decoding="async" alt="The import dialog: Bring a bot from Grok, ChatGPT, Claude or another app, or upload a file."></a></span>+ <div class="card-body"><h3>Bring your bots</h3><p>Import bots from Grok, ChatGPT, Claude or a file. They arrive with no tools and no keys, and their skills and routines wait for you.</p></div></article><article class="card">- <span class="shot"><a class="zoom" href="assets/media/desktop-presets-2880.webp" data-caption="The New bot dialog with the Security preset picked, showing Tech, Non-tech and Lifestyle tabs and the avatar grid."><img src="assets/media/desktop-presets-1440.webp" srcset="assets/media/desktop-presets-1440.webp 1440w, assets/media/desktop-presets-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px" width="1440" height="900" loading="lazy" decoding="async" alt="The New bot dialog with the Security preset picked, showing Tech, Non-tech and Lifestyle tabs and the avatar grid."></a></span>- <div class="card-body"><h3>Personas and souls</h3><p>Every bot has a persona for what it does, a soul for how it speaks, and a pixel avatar.</p></div>+ <span class="shot"><a class="zoom" href="assets/media/desktop-handoff-2880.webp" data-caption="The design-review channel. Designer answers a question about empty states, then @mentions QA, and QA checks it on a 360 pixel screen."><img src="assets/media/desktop-handoff-1440.webp" srcset="assets/media/desktop-handoff-1440.webp 1440w, assets/media/desktop-handoff-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px" width="1440" height="900" loading="lazy" decoding="async" alt="The design-review channel. Designer answers a question about empty states, then @mentions QA, and QA checks it on a 360 pixel screen."></a></span>+ <div class="card-body"><h3>Handoffs with an @mention</h3><p>Mention a teammate, or <code>@everyone</code>, and they pick it up right after, up to four handoffs per message.</p></div>+ </article>+ <article class="card">+ <span class="shot"><a class="zoom" href="assets/media/desktop-reasoning-2880.webp" data-caption="The general channel. kwant routes a Postgres or queue question to Architect and shows why, plus the model and effort it used."><img src="assets/media/desktop-reasoning-1440.webp" srcset="assets/media/desktop-reasoning-1440.webp 1440w, assets/media/desktop-reasoning-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px" width="1440" height="900" loading="lazy" decoding="async" alt="The general channel. kwant routes a Postgres or queue question to Architect and shows why, plus the model and effort it used."></a></span>+ <div class="card-body"><h3>The right bot and model</h3><p>The Laya router picks who answers in a channel, and the model and effort for bots set to auto. If it's offline, kwant routes by keyword.</p></div>+ </article>+ <article class="card">+ <span class="shot"><a class="zoom" href="assets/media/v2-computer-mode-2880.webp" 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" srcset="assets/media/v2-computer-mode-1440.webp 1440w, assets/media/v2-computer-mode-2880.webp 2880w" sizes="(max-width: 720px) 100vw, (max-width: 1024px) 50vw, 370px" 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>+ <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></div>+ <p class="section-foot"><a class="btn btn-ghost" href="features.html">See every feature</a></p></div></section>@@ -202,6 +352,48 @@</div></section>+<section id="basics" class="alt">+ <div class="wrap">+ <div class="section-head center">+ <p class="kicker">The basics</p>+ <h2>Simple to run, yours to keep</h2>+ <p>No cloud service to sign up for. kwant runs where you put it and keeps everything in one folder.</p>+ </div>+ <div class="benefits">+ <article class="benefit">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 8l-9-5-9 5 9 5 9-5z"/><path d="M3 8v8l9 5 9-5V8"/><path d="M12 13v8"/></svg></span>+ <h3>One binary</h3>+ <p><code>kwnt</code> is a single program with the web app and an SQLite database built in. No Node.js at runtime and no database server to set up.</p>+ </article>+ <article class="benefit">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="12" rx="2"/><path d="M8 20h8M12 16v4"/></svg></span>+ <h3>Your laptop or a VPS</h3>+ <p>On your own computer there's nothing to sign in to. On a server, open the link it prints at startup once. Docker Compose and a systemd unit are included.</p>+ </article>+ <article class="benefit">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 17l6-6-6-6"/><path d="M12 19h8"/></svg></span>+ <h3>Any model, any CLI</h3>+ <p>Use the <code>claude</code>, <code>codex</code> or <code>grok</code> CLI, Anthropic, OpenAI or xAI API keys, or any OpenAI-compatible server like OpenRouter or LM Studio.</p>+ </article>+ <article class="benefit">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M14 7l3-3 3 3-3 3"/><path d="M10 17l-3 3-3-3 3-3"/><path d="M17 4v6a4 4 0 01-4 4h-2a4 4 0 00-4 4v2"/></svg></span>+ <h3>Tools through MCP</h3>+ <p>Give bots GitHub, Notion or any other MCP server. Paste a command or URL from its README, then pick which bots can use it.</p>+ </article>+ <article class="benefit">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3l8 3v6c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V6l8-3z"/><path d="M9 12l2 2 4-4"/></svg></span>+ <h3>You approve risky actions</h3>+ <p>Commands and edits outside a bot's own folder wait for Allow once, Always allow or Deny. Or let kwant ask only when something looks risky.</p>+ </article>+ <article class="benefit">+ <span class="icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="5" y="11" width="14" height="10" rx="2"/><path d="M8 11V8a4 4 0 018 0v3"/></svg></span>+ <h3>Your data stays yours</h3>+ <p>Chats, bots and settings live in kwant's data folder on your machine. Saved website logins can live in your own Bitwarden.</p>+ </article>+ </div>+ </div>+</section>+<section id="how" class="alt"><div class="wrap"><div class="section-head center">@@ -263,6 +455,34 @@ make run</code></pre><summary>Can bots use other tools, like GitHub or Notion?</summary><div><p>Yes, through MCP servers. Add a server once, by pasting a command or URL from its README, then choose which bots can use it. A bot only ever sees the servers you gave it. Servers that need a sign-in use OAuth.</p></div></details>+ <details>+ <summary>What is a space?</summary>+ <div><p>A separate area with its own bots, teams, channels, routines, skills, tool servers and accounts. Use one for work and another for home, and switch with <code>Ctrl</code>/<code>⌘</code> + a number. Each space has its own approval and hiring rules.</p></div>+ </details>+ <details>+ <summary>Can I use more than one Claude account?</summary>+ <div><p>Yes. Add as many accounts per engine as you like: CLI logins, API keys, or your own OpenAI- or Anthropic-compatible server. Set a default and an order, and pin a bot to one account if you want.</p></div>+ </details>+ <details>+ <summary>What happens when an account runs out of usage?</summary>+ <div><p>If nothing has been shown yet in that turn, kwant moves it to the next account in your order, up to three tries, and says so in the chat. The account that ran out is skipped until it resets. You can turn this off for a bot.</p></div>+ </details>+ <details>+ <summary>Can kwant send email or reply for me?</summary>+ <div><p>No. Loose ends reads your inbox and GitHub without changing anything, and letters are read from photos you upload. kwant drafts the reply, and you copy it or open it in your mail app.</p></div>+ </details>+ <details>+ <summary>Does Parallel Universe spend money or need a cloud account?</summary>+ <div><p>No. It runs each option in a sealed-off Docker container on your own server and estimates prices from a dated table built into kwant. It needs Docker, and runs one comparison at a time.</p></div>+ </details>+ <details>+ <summary>Can bots change settings or create other bots?</summary>+ <div><p>Yes, when you ask: routines, channels, bots and more, up to 10 changes a turn, each on a card with Undo. Deleting a bot or archiving a space waits for your OK. Bots can't touch keys, sign-ins, approval rules or computer mode.</p></div>+ </details>+ <details>+ <summary>Can I bring my bots from ChatGPT, Claude or Grok?</summary>+ <div><p>Yes. kwant gives you a prompt to paste into the other app, and you paste its reply back, or upload a file such as a Claude Code subagent or a <code>SKILL.md</code>. Imported bots start with no tools and no keys, and their skills and routines wait for you.</p></div>+ </details></div></div></section>@@ -290,8 +510,10 @@ make run</code></pre><nav aria-label="Footer"><a href="docs/quickstart.html">Quickstart</a><a href="docs/install.html">Install & run</a>+ <a href="features.html">All features</a>+ <a href="docs/spaces.html">Spaces</a>+ <a href="docs/accounts.html">Accounts</a><a href="docs/approvals.html">Approvals</a>- <a href="docs/models.html">Models</a><a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a></nav></div>diff --git a/site/sitemap.xml b/site/sitemap.xmlindex 00a6dba7..53393c70 100644--- a/site/sitemap.xml+++ b/site/sitemap.xml@@ -1,11 +1,18 @@<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">+ <url><loc>https://kwant.si/docs/accounts</loc></url><url><loc>https://kwant.si/docs/approvals</loc></url><url><loc>https://kwant.si/docs/bots-and-teams</loc></url><url><loc>https://kwant.si/docs/browser</loc></url><url><loc>https://kwant.si/docs/install</loc></url>+ <url><loc>https://kwant.si/docs/loose-ends</loc></url><url><loc>https://kwant.si/docs/mcp</loc></url>+ <url><loc>https://kwant.si/docs/memory-skills</loc></url><url><loc>https://kwant.si/docs/models</loc></url>+ <url><loc>https://kwant.si/docs/parallel-universe</loc></url><url><loc>https://kwant.si/docs/quickstart</loc></url>+ <url><loc>https://kwant.si/docs/routines</loc></url>+ <url><loc>https://kwant.si/docs/spaces</loc></url>+ <url><loc>https://kwant.si/features</loc></url><url><loc>https://kwant.si/</loc></url></urlset>