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: add /self-hosted-ai-agents guide page
pixel-botec4b265000ee
diff --git a/scripts/build_site.py b/scripts/build_site.pyindex b9b20d03..9d7e981e 100644--- a/scripts/build_site.py+++ b/scripts/build_site.py@@ -263,6 +263,7 @@ def footer(root):<a href="{root}features.html">Features</a><a href="{root}docs/quickstart.html">Quickstart</a><a href="{root}docs/install.html">Install & run</a>+ <a href="{root}self-hosted-ai-agents.html">Self-hosted AI agents</a><a href="{root}docs/mcp.html">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site-src/docs-bots-and-teams.html b/site-src/docs-bots-and-teams.htmlindex 94493afb..83707b4a 100644--- a/site-src/docs-bots-and-teams.html+++ b/site-src/docs-bots-and-teams.html@@ -8,7 +8,7 @@ card_art: avatar:tech_lead---<p class="kicker">Docs</p><h1>AI agent teams: bots, leads and handoffs</h1>-<p class="intro">A bot is a persona with its own voice, model and folder. Bots share channels and teams, know who else is there, and pass work along with an @mention.</p>+<p class="intro">A bot is a persona with its own voice, model and folder. Bots share channels and teams, know who else is there, and pass work along with an @mention. For the bigger picture, see <a href="../self-hosted-ai-agents.html">running a self-hosted AI agent team</a>.</p><h2 id="new-bot">Create a bot</h2><p>Click <strong>New bot</strong> in the sidebar. Start from a ready-made persona, or start blank:</p>diff --git a/site-src/docs-install.html b/site-src/docs-install.htmlindex 6a25e051..aadfd1fa 100644--- a/site-src/docs-install.html+++ b/site-src/docs-install.html@@ -8,7 +8,7 @@ card_art: avatar:devops---<p class="kicker">Docs</p><h1>Install & run on a laptop, VPS or Docker</h1>-<p class="intro"><code>kwnt</code> is one self-contained binary with the web app and SQLite built in. Build it once, then run it on your own computer or on a server.</p>+<p class="intro"><code>kwnt</code> is one self-contained binary with the web app and SQLite built in. Build it once, then run it on your own computer or on a server. New to this? Read <a href="../self-hosted-ai-agents.html">what self-hosting an AI agent team involves</a>.</p><h2 id="build">Build the release binary</h2><pre><code>make builddiff --git a/site-src/docs-quickstart.html b/site-src/docs-quickstart.htmlindex 8ff9e694..21b98a4d 100644--- a/site-src/docs-quickstart.html+++ b/site-src/docs-quickstart.html@@ -58,6 +58,7 @@ make run <span class="c"># builds the web app, then runs `cargo run -- serve`<<h2 id="next">Next steps</h2><ul>+ <li><a href="../self-hosted-ai-agents.html">Learn what self-hosted AI agents involve</a>: what stays on your machine and where the risks are.</li><li><a href="bots-and-teams.html">Create bots and teams</a> from ready-made personas.</li><li><a href="../alternatives/grok-bot.html">Import a Grok Bot</a> from its export file.</li><li><a href="approvals.html">Choose how often bots ask</a> before running commands.</li>diff --git a/site-src/docs-spaces.html b/site-src/docs-spaces.htmlindex ac782ad5..16f90df5 100644--- a/site-src/docs-spaces.html+++ b/site-src/docs-spaces.html@@ -7,7 +7,7 @@ card_art: avatar:architect---<p class="kicker">Docs</p><h1>Spaces: separate AI agents for work and home</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>+<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. Related: <a href="../self-hosted-ai-agents.html">what a self-hosted AI agent team needs</a>.</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>diff --git a/site-src/index.html b/site-src/index.htmlindex 20fc1cdd..4736e23f 100644--- a/site-src/index.html+++ b/site-src/index.html@@ -295,7 +295,7 @@ card_art: scene<div><dt>API keys</dt><dd>Anthropic, OpenAI, xAI</dd></div><div><dt>Tools</dt><dd>Any MCP server</dd></div><div><dt>Optional</dt><dd><a href="features.html#running">Composio</a> for Gmail, Slack, Notion</dd></div>- <div><dt>Where</dt><dd>Your laptop or a VPS</dd></div>+ <div><dt>Where</dt><dd>Your laptop or a VPS (<a href="self-hosted-ai-agents.html">what is a self-hosted AI agent team?</a>)</dd></div><div><dt>OS</dt><dd>macOS (<a href="https://github.com/alexsergivan/kwant/releases/latest" rel="noopener">app</a> or CLI), Linux, Docker</dd></div></dl></div>diff --git a/site-src/self-hosted-ai-agents.html b/site-src/self-hosted-ai-agents.htmlnew file mode 100644index 00000000..abb72cdc--- /dev/null+++ b/site-src/self-hosted-ai-agents.html@@ -0,0 +1,115 @@+title: Self-Hosted AI Agent Team: Run One Yourself+description: What a self-hosted AI agent team is, what it takes to run one, and what stays on your machine. How kwant does it: one binary, your own logins.+path: self-hosted-ai-agents.html+active: guide+faq: yes+card_title: Self-hosted AI agents+card: What you need, what stays on your machine and where the risks are.+card_art: avatar:brand+---+<section class="page-head">+ <div class="wrap">+ <p class="kicker">Guide · Self-hosting</p>+ <h1>Self-hosted AI agents: run a team on your own machine</h1>+ <p class="lede">What a self-hosted AI agent team is, what you need to run one, what stays on your machine and where the risks are, with kwant as the worked example.</p>+ <div class="cta">+ <a class="btn btn-violet" href="docs/install.html">Install kwant</a>+ <a class="btn btn-soft" href="docs/quickstart.html">Read the quickstart</a>+ </div>+ </div>+</section>++<div class="wrap">+ <article class="prose solo">+<p>A self-hosted AI agent team is a group of AI bots that you run on hardware you control, such as a laptop, a home server or a VPS, instead of in someone else's cloud. The bots share chats, hand work to each other and can keep going on a schedule while you are away. You hold the data, the logins and the settings.</p>+<p><a href="index.html">kwant</a> is an open-source (AGPL-3.0) version of that idea. It ships as one Rust binary called <code>kwnt</code>. This page explains what running a team like that involves, using kwant as the worked example, so you can judge whether it suits you.</p>++<h2 id="what-you-get">What self-hosting gets you, and what it does not</h2>+<p>What you get:</p>+<ul>+ <li><strong>Your data in one place.</strong> kwant's web app and its database are built into the binary, and your data lives in one folder (<code>~/.kwnt</code> by default).</li>+ <li><strong>Your own accounts.</strong> You add the logins you already use (Claude, Codex or Grok CLIs), provider API keys or your own server, and you can add <a href="docs/accounts.html">several accounts per engine</a>.</li>+ <li><strong>Source you can read.</strong> The code is public on <a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a> under the AGPL-3.0, and commercial licenses are available.</li>+ <li><strong>No telemetry.</strong> kwant sends nothing to its developers.</li>+</ul>+<p>What it does not change: a bot that runs on a Claude, Codex or Grok login or an API key still sends its prompts to that provider, because that is where the model runs. To keep a conversation on your own machine, run a model through local Ollama or your own OpenAI-compatible server. kwant can route a message that asks to stay private to Ollama when Ollama is ready. See <a href="docs/models.html">models and routing</a>.</p>++<h2 id="requirements">What you need to run one</h2>+<p>Here is what kwant asks for, from its <a href="docs/install.html">install docs</a>:</p>+<ul>+ <li><strong>A machine that stays on.</strong> A laptop works. If you want routines to run overnight, a small VPS is the better home. Routines run on your own machine or server, so they run while that machine is on.</li>+ <li><strong>Rust and Node.js to build it</strong>, then <code>make build</code> and <code>./target/release/kwnt serve</code>. The binary embeds the web app, so the machine that runs it needs no Node.js. On a Mac you can download the app instead.</li>+ <li><strong>Docker only if you want VM mode or the bots' shared browser.</strong> A Docker Compose route also exists.</li>+ <li><strong>At least one AI account or key</strong>, or a local Ollama with a model pulled.</li>+ <li><strong>Room for the router.</strong> On first start, kwant sets up its Laya router, a small Python service that picks which bot answers, and downloads its routing model (about 420 MB). <code>kwnt serve</code> manages it. Until Laya is ready, bots are picked by keyword.</li>+ <li><strong>On a server, an HTTPS reverse proxy</strong>, so you can reach the web app safely and install it on a phone or in its own window.</li>+</ul>++<h2 id="day-to-day">How a team runs day to day</h2>+<ul>+ <li><strong>Bots and teams.</strong> A bot is a persona with its own voice, model and folder. You group bots into teams with a lead and a shared channel. See <a href="docs/bots-and-teams.html">bots and teams</a>.</li>+ <li><strong>Handoffs.</strong> When a reply @mentions a teammate, that teammate answers right after in the same chat. A message can lead to up to four handoffs, so bots can't keep each other going forever.</li>+ <li><strong>Routines.</strong> A routine sends a prompt to a bot on a schedule (once, daily, weekly, monthly, every few minutes or a cron rule) and posts the answer in a chat. You can also ask a bot to set one up. See <a href="docs/routines.html">routines</a>.</li>+ <li><strong>Several accounts.</strong> When one account runs out of usage, kwant can move the turn to the next account in your priority order, up to three attempts, and the chat says so. See <a href="docs/accounts.html">multiple Claude, Codex and Grok accounts</a>.</li>+ <li><strong>Spaces.</strong> Keep work, a side project and home in separate spaces, each with its own bots, routines, tools and accounts. See <a href="docs/spaces.html">spaces</a>.</li>+ <li><strong>Tools.</strong> Connect Model Context Protocol servers and choose which bots may use each one. See <a href="docs/mcp.html">MCP tools</a>.</li>+ <li><strong>From a phone.</strong> The web app works on a phone, so you can read a summary or answer an approval away from your desk.</li>+</ul>++<h2 id="safety">Keeping it safe</h2>+<p>Running agents yourself means you decide what they may do. kwant's defaults are built around that:</p>+<ul>+ <li><strong>Approval cards.</strong> When a bot wants to run a command, edit a file outside its folder or call a tool, you see a card with the exact command or arguments. You choose Allow once, Always allow or Deny. Only you can answer a card.</li>+ <li><strong>Three modes.</strong> Each space has an approval mode: ask before running commands, ask only when risky (the default for new spaces) or don't ask. A bot can override its space. See <a href="docs/approvals.html">approvals</a>.</li>+ <li><strong>Payments always ask.</strong> Anything that looks like a payment shows a card in every mode.</li>+ <li><strong>Secrets are off limits.</strong> A call that names kwant's own secret files (the vault, its key, the API token) is refused and recorded.</li>+ <li><strong>Per-bot tool access.</strong> A bot only sees the MCP servers assigned to it, and secret values always come back masked.</li>+ <li><strong>Earned freedom.</strong> <a href="docs/flight-school.html">Flight School</a> sets a tier per bot and kind of work: Observe, Sandbox or Act.</li>+ <li><strong>Safe imports.</strong> Imported bots start with no tools, imported skills wait for your approval and imported routines start paused.</li>+</ul>+<p class="note warn"><strong>Know the limit.</strong> kwant's own docs say the "ask only when risky" mode guards against accidents and isn't a sandbox: scripts in a bot's folder, <code>make</code> and <code>npm run</code> run without a card and can do anything the bot's user can do. Use the stricter ask mode for bots or folders you don't trust.</p>+<p>On a server, <code>kwnt serve</code> prints a one-time sign-in link that works once, for 15 minutes. On your own computer, requests from the same machine need no token.</p>++<h2 id="questions">Questions to ask about any self-hosted agent app</h2>+<p>Use this list when you compare tools, kwant included.</p>+<ol>+ <li>Where does the data live, and can you copy or back up one folder?</li>+ <li>Which model accounts does it support, and what happens when one runs out of usage?</li>+ <li>What can a bot do before you are asked, and can you see exactly what it will do first?</li>+ <li>Does anything leave your machine apart from the model calls? Is there telemetry?</li>+ <li>Can you undo what a bot changed?</li>+ <li>What is the license, and can you read the code?</li>+ <li>What does it need running next to it (build tools, Docker, a Python service), and how much disk does that take?</li>+ <li>What happens to scheduled work when your machine is off?</li>+</ol>++<h2 id="fit">Who it fits, and who should pick something else</h2>+<p>kwant fits if you are comfortable building from source or running a binary on a VPS, want several bots with different roles that hand work to each other, and want approvals before risky steps. It is a poorer fit if you want no machine to look after: you run it yourself, the Mac app isn't notarized by Apple yet (macOS asks you to open it once under System Settings), and routines only run while your machine is on.</p>+<p>Coming from Grok Bot? See <a href="alternatives/grok-bot.html">the Grok Bot alternative</a> page for how the import works.</p>++<h2 id="start">Get started</h2>+<p>Build <code>kwnt</code>, add one login or key, and ask your team a question.</p>+<ul>+ <li><a href="docs/install.html">Install kwnt</a> on a laptop, a VPS or with Docker</li>+ <li><a href="docs/quickstart.html">Quickstart</a></li>+ <li>See <a href="features.html">all features</a></li>+ <li><a href="https://github.com/alexsergivan/kwant" rel="noopener">Source and releases on GitHub</a></li>+</ul>++<section class="faq" id="faq" aria-labelledby="faq-title">+<h2 id="faq-title">FAQ</h2>+<h3>What is a self-hosted AI agent team?</h3>+<p>It is a group of AI bots that you run on your own laptop, home server or VPS rather than in a vendor's cloud. The bots share chats, hand work to each other and can run on a schedule. kwant is an open-source (AGPL-3.0) example: one binary, <code>kwnt</code>, with the web app and database built in.</p>+<h3>Does self-hosting mean my data never leaves my machine?</h3>+<p>No. kwant keeps its chats, settings and data in a folder on your machine and sends no telemetry to its developers. But a bot on a Claude, Codex or Grok login or an API key still sends its prompts to that provider. To keep a model on your own hardware, use local Ollama or your own OpenAI-compatible server.</p>+<h3>What do I need to run kwant?</h3>+<p>A computer or VPS that stays on, Rust and Node.js to build it, and at least one AI login, API key or a local Ollama model. Once built, the <code>kwnt</code> binary needs no Node.js. Docker is only needed for VM mode and the bots' shared browser. kwant also sets up a small Python service called Laya to pick which bot answers.</p>+<h3>Can the bots run while I am away?</h3>+<p>Yes. Routines run a prompt on a schedule, such as daily, weekly or a cron rule, and post the answer in a chat. They run on your own machine, so they run while that machine is on. A small VPS keeps them going around the clock.</p>+<h3>How do I stop a bot doing something I did not want?</h3>+<p>kwant shows an approval card with the exact command or arguments before risky steps. You can allow once, always allow or deny. Payments always ask. The default "ask only when risky" mode guards against accidents but is not a sandbox, so use the stricter ask mode for bots or folders you do not trust.</p>+<h3>Is kwant free?</h3>+<p>The software is free under the AGPL-3.0, and commercial licenses are available. You pay for whatever model accounts or API keys you connect. A local Ollama model needs no account or key.</p>+</section>+ </article>+</div>diff --git a/site/404.html b/site/404.htmlindex 1ff26f70..b540ca39 100644--- a/site/404.html+++ b/site/404.html@@ -76,6 +76,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/alternatives/grok-bot.html b/site/alternatives/grok-bot.htmlindex 2c73db77..dcc03844 100644--- a/site/alternatives/grok-bot.html+++ b/site/alternatives/grok-bot.html@@ -156,6 +156,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/assets/og/self-hosted-ai-agents.png b/site/assets/og/self-hosted-ai-agents.pngnew file mode 100644index 00000000..d6bafd5aBinary files /dev/null and b/site/assets/og/self-hosted-ai-agents.png differdiff --git a/site/docs/accounts.html b/site/docs/accounts.htmlindex 9e4892bc..5a876017 100644--- a/site/docs/accounts.html+++ b/site/docs/accounts.html@@ -112,6 +112,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/docs/approvals.html b/site/docs/approvals.htmlindex 24b3b4db..be00f6d8 100644--- a/site/docs/approvals.html+++ b/site/docs/approvals.html@@ -134,6 +134,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/docs/bots-and-teams.html b/site/docs/bots-and-teams.htmlindex b0f5ec6e..d6428aac 100644--- a/site/docs/bots-and-teams.html+++ b/site/docs/bots-and-teams.html@@ -57,7 +57,7 @@<article class="prose"><p class="kicker">Docs</p><h1>AI agent teams: bots, leads and handoffs</h1>-<p class="intro">A bot is a persona with its own voice, model and folder. Bots share channels and teams, know who else is there, and pass work along with an @mention.</p>+<p class="intro">A bot is a persona with its own voice, model and folder. Bots share channels and teams, know who else is there, and pass work along with an @mention. For the bigger picture, see <a href="/self-hosted-ai-agents">running a self-hosted AI agent team</a>.</p><h2 id="new-bot">Create a bot</h2><p>Click <strong>New bot</strong> in the sidebar. Start from a ready-made persona, or start blank:</p>@@ -141,6 +141,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/docs/browser.html b/site/docs/browser.htmlindex 18ce6a22..1bbde825 100644--- a/site/docs/browser.html+++ b/site/docs/browser.html@@ -118,6 +118,7 @@ docker build -t kwnt-executor:v1 -f docker/executor.Dockerfile docker</code></pr<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/docs/flight-school.html b/site/docs/flight-school.htmlindex 2e374ced..7041be75 100644--- a/site/docs/flight-school.html+++ b/site/docs/flight-school.html@@ -129,6 +129,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/docs/install.html b/site/docs/install.htmlindex 0833c07d..ce669fd3 100644--- a/site/docs/install.html+++ b/site/docs/install.html@@ -20,7 +20,7 @@<meta property="og:image:height" content="630"><meta property="og:image:alt" content="Install & run: On your own computer, on a VPS with systemd, or with Docker Compose."><meta property="article:published_time" content="2026-10-22">-<meta property="article:modified_time" content="2026-10-25">+<meta property="article:modified_time" content="2026-10-29"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="Install kwnt: self-host AI agents on a VPS or Docker · kwant"><meta name="twitter:description" content="Build the kwnt binary and run your AI bots on your laptop, on a VPS with systemd, or with Docker Compose behind an HTTPS reverse proxy.">@@ -57,7 +57,7 @@<article class="prose"><p class="kicker">Docs</p><h1>Install & run on a laptop, VPS or Docker</h1>-<p class="intro"><code>kwnt</code> is one self-contained binary with the web app and SQLite built in. Build it once, then run it on your own computer or on a server.</p>+<p class="intro"><code>kwnt</code> is one self-contained binary with the web app and SQLite built in. Build it once, then run it on your own computer or on a server. New to this? Read <a href="/self-hosted-ai-agents">what self-hosting an AI agent team involves</a>.</p><h2 id="build">Build the release binary</h2><pre><code>make build@@ -184,6 +184,7 @@ docker compose exec kwnt kwnt doctor</code></pre><a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">@@ -210,6 +211,6 @@ docker compose exec kwnt kwnt doctor</code></pre></footer><script src="../assets/js/site.js?v=c490c973ba" defer></script><script src="../assets/js/pixel.js?v=ce88473d7b" defer></script>-<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/install#article","headline":"Install kwnt: self-host AI agents on a VPS or Docker","description":"Build the kwnt binary and run your AI bots on your laptop, on a VPS with systemd, or with Docker Compose behind an HTTPS reverse proxy.","url":"https://kwant.si/docs/install","mainEntityOfPage":"https://kwant.si/docs/install","image":"https://kwant.si/assets/og/docs-install.png?v=8675f78476","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-10-25","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Install & run","item":"https://kwant.si/docs/install"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script>+<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/install#article","headline":"Install kwnt: self-host AI agents on a VPS or Docker","description":"Build the kwnt binary and run your AI bots on your laptop, on a VPS with systemd, or with Docker Compose behind an HTTPS reverse proxy.","url":"https://kwant.si/docs/install","mainEntityOfPage":"https://kwant.si/docs/install","image":"https://kwant.si/assets/og/docs-install.png?v=8675f78476","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-10-29","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Install & run","item":"https://kwant.si/docs/install"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script></body></html>diff --git a/site/docs/loose-ends.html b/site/docs/loose-ends.htmlindex 228bea6e..4ab047fe 100644--- a/site/docs/loose-ends.html+++ b/site/docs/loose-ends.html@@ -112,6 +112,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/docs/mcp.html b/site/docs/mcp.htmlindex 9eee9049..8fca3343 100644--- a/site/docs/mcp.html+++ b/site/docs/mcp.html@@ -122,6 +122,7 @@ curl -X POST http://127.0.0.1:8799/api/mcp/servers \<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/docs/memory-skills.html b/site/docs/memory-skills.htmlindex 9978db25..f6a98304 100644--- a/site/docs/memory-skills.html+++ b/site/docs/memory-skills.html@@ -104,6 +104,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/docs/mission-board.html b/site/docs/mission-board.htmlindex 87ff7c9f..e37cd0ec 100644--- a/site/docs/mission-board.html+++ b/site/docs/mission-board.html@@ -154,6 +154,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/docs/models.html b/site/docs/models.htmlindex 5d2ac146..18014793 100644--- a/site/docs/models.html+++ b/site/docs/models.html@@ -110,6 +110,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/docs/parallel-universe.html b/site/docs/parallel-universe.htmlindex 2045ceba..7ec54890 100644--- a/site/docs/parallel-universe.html+++ b/site/docs/parallel-universe.html@@ -111,6 +111,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/docs/quickstart.html b/site/docs/quickstart.htmlindex 93934137..77396167 100644--- a/site/docs/quickstart.html+++ b/site/docs/quickstart.html@@ -108,6 +108,7 @@ make run <span class="c"># builds the web app, then runs `cargo run -- serve`<<h2 id="next">Next steps</h2><ul>+ <li><a href="/self-hosted-ai-agents">Learn what self-hosted AI agents involve</a>: what stays on your machine and where the risks are.</li><li><a href="/docs/bots-and-teams">Create bots and teams</a> from ready-made personas.</li><li><a href="/alternatives/grok-bot">Import a Grok Bot</a> from its export file.</li><li><a href="/docs/approvals">Choose how often bots ask</a> before running commands.</li>@@ -133,6 +134,7 @@ cd frontend && npm test <span class="c"># web app tests</span></code></<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/docs/routines.html b/site/docs/routines.htmlindex e488f59f..602f2318 100644--- a/site/docs/routines.html+++ b/site/docs/routines.html@@ -135,6 +135,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/docs/spaces.html b/site/docs/spaces.htmlindex e78ab9ef..8acbdd19 100644--- a/site/docs/spaces.html+++ b/site/docs/spaces.html@@ -57,7 +57,7 @@<article class="prose"><p class="kicker">Docs</p><h1>Spaces: separate AI agents for work and home</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>+<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. Related: <a href="/self-hosted-ai-agents">what a self-hosted AI agent team needs</a>.</p><figure><div class="frame"><a class="zoom" href="../assets/media/v2-spaces-rail-2880.webp?v=edbdc30f79" 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?v=f6b951802e" srcset="../assets/media/v2-spaces-rail-1440.webp?v=f6b951802e 1440w, ../assets/media/v2-spaces-rail-2880.webp?v=edbdc30f79 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>@@ -134,6 +134,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/features.html b/site/features.htmlindex 2bc1576f..9e4e7c48 100644--- a/site/features.html+++ b/site/features.html@@ -397,6 +397,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/index.html b/site/index.htmlindex 7f82a50c..2bfd2bf0 100644--- a/site/index.html+++ b/site/index.html@@ -334,7 +334,7 @@<div><dt>API keys</dt><dd>Anthropic, OpenAI, xAI</dd></div><div><dt>Tools</dt><dd>Any MCP server</dd></div><div><dt>Optional</dt><dd><a href="/features#running">Composio</a> for Gmail, Slack, Notion</dd></div>- <div><dt>Where</dt><dd>Your laptop or a VPS</dd></div>+ <div><dt>Where</dt><dd>Your laptop or a VPS (<a href="/self-hosted-ai-agents">what is a self-hosted AI agent team?</a>)</dd></div><div><dt>OS</dt><dd>macOS (<a href="https://github.com/alexsergivan/kwant/releases/latest" rel="noopener">app</a> or CLI), Linux, Docker</dd></div></dl></div>@@ -375,6 +375,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/llms.txt b/site/llms.txtindex d959fbe3..c1772a2a 100644--- a/site/llms.txt+++ b/site/llms.txt@@ -17,6 +17,7 @@ Key facts:## Site- [kwant (kwnt): self-hosted AI agent team in one binary](https://kwant.si/): Open-source, self-hosted AI agents that share chats, hand off work and run on a schedule. One Rust binary (kwnt) for your laptop or a VPS.- [Features: self-hosted AI agent orchestration](https://kwant.si/features): Teams and @mention handoffs, spaces, several accounts per engine with failover, routines, approvals, memory, skills, MCP tools and a bot browser.+- [Self-Hosted AI Agent Team: Run One Yourself](https://kwant.si/self-hosted-ai-agents): What a self-hosted AI agent team is, what it takes to run one, and what stays on your machine. How kwant does it: one binary, your own logins.## Docs- [Quickstart: run a team of AI agents locally](https://kwant.si/docs/quickstart): Build kwant from a fresh clone, add a Claude, Codex or Grok login or an API key, and ask your first team of AI bots a question.diff --git a/site/privacy.html b/site/privacy.htmlindex 7c54aea6..40484c83 100644--- a/site/privacy.html+++ b/site/privacy.html@@ -104,6 +104,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">diff --git a/site/self-hosted-ai-agents.html b/site/self-hosted-ai-agents.htmlnew file mode 100644index 00000000..c79ccbb3--- /dev/null+++ b/site/self-hosted-ai-agents.html@@ -0,0 +1,195 @@+<!doctype html>+<html lang="en">+<head>+<meta charset="utf-8">+<meta name="viewport" content="width=device-width, initial-scale=1">+<title>Self-Hosted AI Agent Team: Run One Yourself · kwant</title>+<meta name="description" content="What a self-hosted AI agent team is, what it takes to run one, and what stays on your machine. How kwant does it: one binary, your own logins.">+<meta name="theme-color" content="#f4f1ff">+<meta name="color-scheme" content="light">+<link rel="canonical" href="https://kwant.si/self-hosted-ai-agents">+<meta property="og:type" content="website">+<meta property="og:site_name" content="kwant">+<meta property="og:locale" content="en_US">+<meta property="og:title" content="Self-Hosted AI Agent Team: Run One Yourself · kwant">+<meta property="og:description" content="What a self-hosted AI agent team is, what it takes to run one, and what stays on your machine. How kwant does it: one binary, your own logins.">+<meta property="og:url" content="https://kwant.si/self-hosted-ai-agents">+<meta property="og:image" content="https://kwant.si/assets/og/self-hosted-ai-agents.png?v=1cfc6f7ff2">+<meta property="og:image:type" content="image/png">+<meta property="og:image:width" content="1200">+<meta property="og:image:height" content="630">+<meta property="og:image:alt" content="Self-hosted AI agents: What you need, what stays on your machine and where the risks are.">+<meta name="twitter:card" content="summary_large_image">+<meta name="twitter:title" content="Self-Hosted AI Agent Team: Run One Yourself · kwant">+<meta name="twitter:description" content="What a self-hosted AI agent team is, what it takes to run one, and what stays on your machine. How kwant does it: one binary, your own logins.">+<meta name="twitter:image" content="https://kwant.si/assets/og/self-hosted-ai-agents.png?v=1cfc6f7ff2">+<meta name="twitter:image:alt" content="Self-hosted AI agents: What you need, what stays on your machine and where the risks are.">+<link rel="icon" href="favicon.svg?v=0abbeedab4" type="image/svg+xml">+<link rel="icon" href="favicon-32.png?v=ac1a1e97c4" sizes="32x32" type="image/png">+<link rel="apple-touch-icon" href="apple-touch-icon.png?v=1bc2442f39">+<link rel="preload" href="assets/fonts/pixelify-sans.woff2?v=66e897e155" as="font" type="font/woff2" crossorigin>+<link rel="preload" href="assets/fonts/inter-var.woff2?v=3100e775e8" as="font" type="font/woff2" crossorigin>+<link rel="stylesheet" href="assets/css/site.css?v=f10517b9e3">+</head>+<body class="page-guide">+<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 16 17" width="38" height="38" shape-rendering="crispEdges" aria-hidden="true"><rect x="10" y="4" width="1" height="1" fill="#1d1147"/><rect x="10" y="1" width="2" height="2" fill="#ddd5ff"/><rect x="4" y="5" width="8" height="1" fill="#fff"/><rect x="3" y="6" width="10" height="1" fill="#fff"/><rect x="2" y="7" width="12" height="7" fill="#fff"/><rect x="3" y="14" width="10" height="1" fill="#fff"/><rect x="4" y="15" width="8" height="1" fill="#ddd5ff"/><rect x="13" y="7" width="1" height="7" fill="#ddd5ff"/><rect x="5" y="8" width="2" height="3" fill="#1d1147"/><rect x="9" y="8" width="2" height="3" fill="#1d1147"/><rect x="3" y="11" width="2" height="1" fill="#b8a9fb"/><rect x="11" y="11" width="2" height="1" fill="#b8a9fb"/><rect x="6" y="12" width="1" height="1" fill="#1d1147"/><rect x="9" y="12" width="1" height="1" fill="#1d1147"/><rect x="7" y="13" width="2" height="1" fill="#1d1147"/><rect x="4" y="16" width="2" height="1" fill="#ddd5ff"/><rect x="10" y="16" width="2" height="1" fill="#ddd5ff"/></svg><span>kwant</span></a>+ <nav class="nav" aria-label="Main">+ <a href="/features">Features</a>+ <a href="/docs/quickstart">Docs</a>+ <a class="btn btn-soft" href="https://github.com/alexsergivan/kwant" rel="noopener"><svg viewBox="0 0 16 16" width="17" height="17" 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">Guide · Self-hosting</p>+ <h1>Self-hosted AI agents: run a team on your own machine</h1>+ <p class="lede">What a self-hosted AI agent team is, what you need to run one, what stays on your machine and where the risks are, with kwant as the worked example.</p>+ <div class="cta">+ <a class="btn btn-violet" href="/docs/install">Install kwant</a>+ <a class="btn btn-soft" href="/docs/quickstart">Read the quickstart</a>+ </div>+ </div>+</section>++<div class="wrap">+ <article class="prose solo">+<p>A self-hosted AI agent team is a group of AI bots that you run on hardware you control, such as a laptop, a home server or a VPS, instead of in someone else's cloud. The bots share chats, hand work to each other and can keep going on a schedule while you are away. You hold the data, the logins and the settings.</p>+<p><a href="/">kwant</a> is an open-source (AGPL-3.0) version of that idea. It ships as one Rust binary called <code>kwnt</code>. This page explains what running a team like that involves, using kwant as the worked example, so you can judge whether it suits you.</p>++<h2 id="what-you-get">What self-hosting gets you, and what it does not</h2>+<p>What you get:</p>+<ul>+ <li><strong>Your data in one place.</strong> kwant's web app and its database are built into the binary, and your data lives in one folder (<code>~/.kwnt</code> by default).</li>+ <li><strong>Your own accounts.</strong> You add the logins you already use (Claude, Codex or Grok CLIs), provider API keys or your own server, and you can add <a href="/docs/accounts">several accounts per engine</a>.</li>+ <li><strong>Source you can read.</strong> The code is public on <a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a> under the AGPL-3.0, and commercial licenses are available.</li>+ <li><strong>No telemetry.</strong> kwant sends nothing to its developers.</li>+</ul>+<p>What it does not change: a bot that runs on a Claude, Codex or Grok login or an API key still sends its prompts to that provider, because that is where the model runs. To keep a conversation on your own machine, run a model through local Ollama or your own OpenAI-compatible server. kwant can route a message that asks to stay private to Ollama when Ollama is ready. See <a href="/docs/models">models and routing</a>.</p>++<h2 id="requirements">What you need to run one</h2>+<p>Here is what kwant asks for, from its <a href="/docs/install">install docs</a>:</p>+<ul>+ <li><strong>A machine that stays on.</strong> A laptop works. If you want routines to run overnight, a small VPS is the better home. Routines run on your own machine or server, so they run while that machine is on.</li>+ <li><strong>Rust and Node.js to build it</strong>, then <code>make build</code> and <code>./target/release/kwnt serve</code>. The binary embeds the web app, so the machine that runs it needs no Node.js. On a Mac you can download the app instead.</li>+ <li><strong>Docker only if you want VM mode or the bots' shared browser.</strong> A Docker Compose route also exists.</li>+ <li><strong>At least one AI account or key</strong>, or a local Ollama with a model pulled.</li>+ <li><strong>Room for the router.</strong> On first start, kwant sets up its Laya router, a small Python service that picks which bot answers, and downloads its routing model (about 420 MB). <code>kwnt serve</code> manages it. Until Laya is ready, bots are picked by keyword.</li>+ <li><strong>On a server, an HTTPS reverse proxy</strong>, so you can reach the web app safely and install it on a phone or in its own window.</li>+</ul>++<h2 id="day-to-day">How a team runs day to day</h2>+<ul>+ <li><strong>Bots and teams.</strong> A bot is a persona with its own voice, model and folder. You group bots into teams with a lead and a shared channel. See <a href="/docs/bots-and-teams">bots and teams</a>.</li>+ <li><strong>Handoffs.</strong> When a reply @mentions a teammate, that teammate answers right after in the same chat. A message can lead to up to four handoffs, so bots can't keep each other going forever.</li>+ <li><strong>Routines.</strong> A routine sends a prompt to a bot on a schedule (once, daily, weekly, monthly, every few minutes or a cron rule) and posts the answer in a chat. You can also ask a bot to set one up. See <a href="/docs/routines">routines</a>.</li>+ <li><strong>Several accounts.</strong> When one account runs out of usage, kwant can move the turn to the next account in your priority order, up to three attempts, and the chat says so. See <a href="/docs/accounts">multiple Claude, Codex and Grok accounts</a>.</li>+ <li><strong>Spaces.</strong> Keep work, a side project and home in separate spaces, each with its own bots, routines, tools and accounts. See <a href="/docs/spaces">spaces</a>.</li>+ <li><strong>Tools.</strong> Connect Model Context Protocol servers and choose which bots may use each one. See <a href="/docs/mcp">MCP tools</a>.</li>+ <li><strong>From a phone.</strong> The web app works on a phone, so you can read a summary or answer an approval away from your desk.</li>+</ul>++<h2 id="safety">Keeping it safe</h2>+<p>Running agents yourself means you decide what they may do. kwant's defaults are built around that:</p>+<ul>+ <li><strong>Approval cards.</strong> When a bot wants to run a command, edit a file outside its folder or call a tool, you see a card with the exact command or arguments. You choose Allow once, Always allow or Deny. Only you can answer a card.</li>+ <li><strong>Three modes.</strong> Each space has an approval mode: ask before running commands, ask only when risky (the default for new spaces) or don't ask. A bot can override its space. See <a href="/docs/approvals">approvals</a>.</li>+ <li><strong>Payments always ask.</strong> Anything that looks like a payment shows a card in every mode.</li>+ <li><strong>Secrets are off limits.</strong> A call that names kwant's own secret files (the vault, its key, the API token) is refused and recorded.</li>+ <li><strong>Per-bot tool access.</strong> A bot only sees the MCP servers assigned to it, and secret values always come back masked.</li>+ <li><strong>Earned freedom.</strong> <a href="/docs/flight-school">Flight School</a> sets a tier per bot and kind of work: Observe, Sandbox or Act.</li>+ <li><strong>Safe imports.</strong> Imported bots start with no tools, imported skills wait for your approval and imported routines start paused.</li>+</ul>+<p class="note warn"><strong>Know the limit.</strong> kwant's own docs say the "ask only when risky" mode guards against accidents and isn't a sandbox: scripts in a bot's folder, <code>make</code> and <code>npm run</code> run without a card and can do anything the bot's user can do. Use the stricter ask mode for bots or folders you don't trust.</p>+<p>On a server, <code>kwnt serve</code> prints a one-time sign-in link that works once, for 15 minutes. On your own computer, requests from the same machine need no token.</p>++<h2 id="questions">Questions to ask about any self-hosted agent app</h2>+<p>Use this list when you compare tools, kwant included.</p>+<ol>+ <li>Where does the data live, and can you copy or back up one folder?</li>+ <li>Which model accounts does it support, and what happens when one runs out of usage?</li>+ <li>What can a bot do before you are asked, and can you see exactly what it will do first?</li>+ <li>Does anything leave your machine apart from the model calls? Is there telemetry?</li>+ <li>Can you undo what a bot changed?</li>+ <li>What is the license, and can you read the code?</li>+ <li>What does it need running next to it (build tools, Docker, a Python service), and how much disk does that take?</li>+ <li>What happens to scheduled work when your machine is off?</li>+</ol>++<h2 id="fit">Who it fits, and who should pick something else</h2>+<p>kwant fits if you are comfortable building from source or running a binary on a VPS, want several bots with different roles that hand work to each other, and want approvals before risky steps. It is a poorer fit if you want no machine to look after: you run it yourself, the Mac app isn't notarized by Apple yet (macOS asks you to open it once under System Settings), and routines only run while your machine is on.</p>+<p>Coming from Grok Bot? See <a href="/alternatives/grok-bot">the Grok Bot alternative</a> page for how the import works.</p>++<h2 id="start">Get started</h2>+<p>Build <code>kwnt</code>, add one login or key, and ask your team a question.</p>+<ul>+ <li><a href="/docs/install">Install kwnt</a> on a laptop, a VPS or with Docker</li>+ <li><a href="/docs/quickstart">Quickstart</a></li>+ <li>See <a href="/features">all features</a></li>+ <li><a href="https://github.com/alexsergivan/kwant" rel="noopener">Source and releases on GitHub</a></li>+</ul>++<section class="faq" id="faq" aria-labelledby="faq-title">+<h2 id="faq-title">FAQ</h2>+<h3>What is a self-hosted AI agent team?</h3>+<p>It is a group of AI bots that you run on your own laptop, home server or VPS rather than in a vendor's cloud. The bots share chats, hand work to each other and can run on a schedule. kwant is an open-source (AGPL-3.0) example: one binary, <code>kwnt</code>, with the web app and database built in.</p>+<h3>Does self-hosting mean my data never leaves my machine?</h3>+<p>No. kwant keeps its chats, settings and data in a folder on your machine and sends no telemetry to its developers. But a bot on a Claude, Codex or Grok login or an API key still sends its prompts to that provider. To keep a model on your own hardware, use local Ollama or your own OpenAI-compatible server.</p>+<h3>What do I need to run kwant?</h3>+<p>A computer or VPS that stays on, Rust and Node.js to build it, and at least one AI login, API key or a local Ollama model. Once built, the <code>kwnt</code> binary needs no Node.js. Docker is only needed for VM mode and the bots' shared browser. kwant also sets up a small Python service called Laya to pick which bot answers.</p>+<h3>Can the bots run while I am away?</h3>+<p>Yes. Routines run a prompt on a schedule, such as daily, weekly or a cron rule, and post the answer in a chat. They run on your own machine, so they run while that machine is on. A small VPS keeps them going around the clock.</p>+<h3>How do I stop a bot doing something I did not want?</h3>+<p>kwant shows an approval card with the exact command or arguments before risky steps. You can allow once, always allow or deny. Payments always ask. The default "ask only when risky" mode guards against accidents but is not a sandbox, so use the stricter ask mode for bots or folders you do not trust.</p>+<h3>Is kwant free?</h3>+<p>The software is free under the AGPL-3.0, and commercial licenses are available. You pay for whatever model accounts or API keys you connect. A local Ollama model needs no account or key.</p>+</section>+ </article>+</div>++</main>+<footer class="site-footer">+ <div class="wrap">+ <div class="foot-brand">+ <a class="brand" href="./" aria-label="kwant home"><svg viewBox="0 0 16 17" width="38" height="38" shape-rendering="crispEdges" aria-hidden="true"><rect x="10" y="4" width="1" height="1" fill="#1d1147"/><rect x="10" y="1" width="2" height="2" fill="#ddd5ff"/><rect x="4" y="5" width="8" height="1" fill="#fff"/><rect x="3" y="6" width="10" height="1" fill="#fff"/><rect x="2" y="7" width="12" height="7" fill="#fff"/><rect x="3" y="14" width="10" height="1" fill="#fff"/><rect x="4" y="15" width="8" height="1" fill="#ddd5ff"/><rect x="13" y="7" width="1" height="7" fill="#ddd5ff"/><rect x="5" y="8" width="2" height="3" fill="#1d1147"/><rect x="9" y="8" width="2" height="3" fill="#1d1147"/><rect x="3" y="11" width="2" height="1" fill="#b8a9fb"/><rect x="11" y="11" width="2" height="1" fill="#b8a9fb"/><rect x="6" y="12" width="1" height="1" fill="#1d1147"/><rect x="9" y="12" width="1" height="1" fill="#1d1147"/><rect x="7" y="13" width="2" height="1" fill="#1d1147"/><rect x="4" y="16" width="2" height="1" fill="#ddd5ff"/><rect x="10" y="16" width="2" height="1" fill="#ddd5ff"/></svg><span>kwant</span></a>+ <p>A self-hosted team of AI bots in one binary. Free and open source under AGPL-3.0.</p>+ </div>+ <nav aria-label="Product">+ <h2>Product</h2>+ <a href="/features">Features</a>+ <a href="/docs/quickstart">Quickstart</a>+ <a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a>+ <a href="/docs/mcp">MCP tools</a>+ </nav>+ <nav aria-label="Using kwant">+ <h2>Using kwant</h2>+ <a href="/docs/spaces">Spaces</a>+ <a href="/docs/accounts">Accounts</a>+ <a href="/docs/approvals">Approvals</a>+ <a href="/docs/routines">Routines</a>+ </nav>+ <nav aria-label="Project">+ <h2>Project</h2>+ <a href="https://github.com/alexsergivan/kwant" rel="noopener">GitHub</a>+ <a href="https://github.com/alexsergivan/kwant/issues" rel="noopener">Issues</a>+ <a href="https://github.com/alexsergivan/kwant/blob/main/SECURITY.md" rel="noopener">Security</a>+ </nav>+ <nav aria-label="Legal">+ <h2>Legal</h2>+ <a href="/privacy">Privacy</a>+ <a href="/terms">Terms of use</a>+ <a href="/terms#license">License</a>+ </nav>+ <p class="foot-legal">kwant is not affiliated with or endorsed by Anthropic, OpenAI, xAI, Google or Apple. Their names and products are trademarks of their owners.</p>+ </div>+</footer>+<script src="assets/js/site.js?v=c490c973ba" defer></script>+<script src="assets/js/pixel.js?v=ce88473d7b" defer></script>+<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://kwant.si/self-hosted-ai-agents","name":"Self-Hosted AI Agent Team: Run One Yourself","description":"What a self-hosted AI agent team is, what it takes to run one, and what stays on your machine. How kwant does it: one binary, your own logins.","url":"https://kwant.si/self-hosted-ai-agents","image":"https://kwant.si/assets/og/self-hosted-ai-agents.png?v=1cfc6f7ff2","inLanguage":"en","dateModified":"2026-10-29","about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Self-Hosted AI Agent Team","item":"https://kwant.si/self-hosted-ai-agents"}]},{"@type":"FAQPage","@id":"https://kwant.si/self-hosted-ai-agents#faq","url":"https://kwant.si/self-hosted-ai-agents","mainEntity":[{"@type":"Question","name":"What is a self-hosted AI agent team?","acceptedAnswer":{"@type":"Answer","text":"It is a group of AI bots that you run on your own laptop, home server or VPS rather than in a vendor's cloud. The bots share chats, hand work to each other and can run on a schedule. kwant is an open-source (AGPL-3.0) example: one binary, kwnt, with the web app and database built in."}},{"@type":"Question","name":"Does self-hosting mean my data never leaves my machine?","acceptedAnswer":{"@type":"Answer","text":"No. kwant keeps its chats, settings and data in a folder on your machine and sends no telemetry to its developers. But a bot on a Claude, Codex or Grok login or an API key still sends its prompts to that provider. To keep a model on your own hardware, use local Ollama or your own OpenAI-compatible server."}},{"@type":"Question","name":"What do I need to run kwant?","acceptedAnswer":{"@type":"Answer","text":"A computer or VPS that stays on, Rust and Node.js to build it, and at least one AI login, API key or a local Ollama model. Once built, the kwnt binary needs no Node.js. Docker is only needed for VM mode and the bots' shared browser. kwant also sets up a small Python service called Laya to pick which bot answers."}},{"@type":"Question","name":"Can the bots run while I am away?","acceptedAnswer":{"@type":"Answer","text":"Yes. Routines run a prompt on a schedule, such as daily, weekly or a cron rule, and post the answer in a chat. They run on your own machine, so they run while that machine is on. A small VPS keeps them going around the clock."}},{"@type":"Question","name":"How do I stop a bot doing something I did not want?","acceptedAnswer":{"@type":"Answer","text":"kwant shows an approval card with the exact command or arguments before risky steps. You can allow once, always allow or deny. Payments always ask. The default \"ask only when risky\" mode guards against accidents but is not a sandbox, so use the stricter ask mode for bots or folders you do not trust."}},{"@type":"Question","name":"Is kwant free?","acceptedAnswer":{"@type":"Answer","text":"The software is free under the AGPL-3.0, and commercial licenses are available. You pay for whatever model accounts or API keys you connect. A local Ollama model needs no account or key."}}]}]}</script>+</body>+</html>diff --git a/site/sitemap.xml b/site/sitemap.xmlindex 0fa17e02..d4b26866 100644--- a/site/sitemap.xml+++ b/site/sitemap.xml@@ -6,7 +6,7 @@<url><loc>https://kwant.si/docs/bots-and-teams</loc><lastmod>2026-10-29</lastmod></url><url><loc>https://kwant.si/docs/browser</loc><lastmod>2026-10-29</lastmod></url><url><loc>https://kwant.si/docs/flight-school</loc><lastmod>2026-10-29</lastmod></url>- <url><loc>https://kwant.si/docs/install</loc><lastmod>2026-10-25</lastmod></url>+ <url><loc>https://kwant.si/docs/install</loc><lastmod>2026-10-29</lastmod></url><url><loc>https://kwant.si/docs/loose-ends</loc><lastmod>2026-10-22</lastmod></url><url><loc>https://kwant.si/docs/mcp</loc><lastmod>2026-10-29</lastmod></url><url><loc>https://kwant.si/docs/memory-skills</loc><lastmod>2026-10-29</lastmod></url>@@ -19,5 +19,6 @@<url><loc>https://kwant.si/features</loc><lastmod>2026-10-29</lastmod></url><url><loc>https://kwant.si/</loc><lastmod>2026-10-29</lastmod></url><url><loc>https://kwant.si/privacy</loc><lastmod>2026-10-25</lastmod></url>+ <url><loc>https://kwant.si/self-hosted-ai-agents</loc><lastmod>2026-10-29</lastmod></url><url><loc>https://kwant.si/terms</loc><lastmod>2026-10-25</lastmod></url></urlset>diff --git a/site/terms.html b/site/terms.htmlindex 17158faa..4c70ee31 100644--- a/site/terms.html+++ b/site/terms.html@@ -98,6 +98,7 @@<a href="/features">Features</a><a href="/docs/quickstart">Quickstart</a><a href="/docs/install">Install & run</a>+ <a href="/self-hosted-ai-agents">Self-hosted AI agents</a><a href="/docs/mcp">MCP tools</a></nav><nav aria-label="Using kwant">