Skip to content

armgit / kwant

Public Imported from GitHub
0

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.

31.0 KB
Raw Blame
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Multiple Claude, Codex &amp; Grok accounts · kwant</title>
<meta name="description" content="Add several logins or API keys per engine, plus OpenAI- or Anthropic-compatible servers, in one order to use, with automatic failover across engines when one runs out of usage.">
<meta name="theme-color" content="#0d0a1f">
<meta name="color-scheme" content="dark">
<link rel="canonical" href="https://kwant.si/docs/accounts">
<meta property="og:type" content="article">
<meta property="og:site_name" content="kwant">
<meta property="og:locale" content="en_US">
<meta property="og:title" content="Multiple Claude, Codex &amp; Grok accounts · kwant">
<meta property="og:description" content="Add several logins or API keys per engine, plus OpenAI- or Anthropic-compatible servers, in one order to use, with automatic failover across engines when one runs out of usage.">
<meta property="og:url" content="https://kwant.si/docs/accounts">
<meta property="og:image" content="https://kwant.si/assets/og/docs-accounts.png?v=4f7b1b0e06">
<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="Accounts &amp; profiles: Several accounts per engine, one order to use, and failover across engines.">
<meta property="article:published_time" content="2026-10-22">
<meta property="article:modified_time" content="2026-11-13">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@kwantbot">
<meta name="twitter:title" content="Multiple Claude, Codex &amp; Grok accounts · kwant">
<meta name="twitter:description" content="Add several logins or API keys per engine, plus OpenAI- or Anthropic-compatible servers, in one order to use, with automatic failover across engines when one runs out of usage.">
<meta name="twitter:image" content="https://kwant.si/assets/og/docs-accounts.png?v=4f7b1b0e06">
<meta name="twitter:image:alt" content="Accounts &amp; profiles: Several accounts per engine, one order to use, and failover across engines.">
<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=4840ba0cdf" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="../assets/fonts/inter-var.woff2?v=977e43492e" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="../assets/fonts/jetbrains-mono.woff2?v=8247becaf0" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="../assets/css/site.css?v=9c69cd7fc5">
</head>
<body class="page-docs">
<a class="skip" href="#main">Skip to content</a>
<header class="topbar">
  <nav class="pill px" aria-label="Main">
    <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>
    <a class="nl" href="/features">Features</a>
    <a class="nl" href="/docs/quickstart" aria-current="page">Docs</a>
    <a class="nl" href="/blog/">Blog</a>
    <a class="nl stars" href="https://github.com/alexsergivan/kwant" rel="noopener" aria-label="kwant on GitHub, 683 stars"><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><b>★ 683</b></a>
    <a class="btn btn-solid btn-get px" href="/docs/quickstart">Get started</a>
  </nav>
</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">Quickstart</a></li><li><a href="/docs/install">Install &amp; run</a></li><li><a href="/docs/phone">On your phone</a></li></ul></div>
    <div class="docs-group"><h3>Using kwant</h3><ul><li><a href="/docs/spaces">Spaces</a></li><li><a href="/docs/bots-and-teams">Bots &amp; teams</a></li><li><a href="/docs/accounts" aria-current="page">Accounts &amp; profiles</a></li><li><a href="/docs/models">Models &amp; routing</a></li><li><a href="/docs/approvals">Approvals &amp; passwords</a></li><li><a href="/docs/agents-in-vm">Run Claude in the VM</a></li><li><a href="/docs/flight-school">Flight School</a></li><li><a href="/docs/smart-results">Smart Results</a></li><li><a href="/docs/dev-mode">Dev mode</a></li></ul></div>
    <div class="docs-group"><h3>Works on its own</h3><ul><li><a href="/docs/mission-board">Mission board</a></li><li><a href="/docs/goals">Goals</a></li><li><a href="/docs/idea-jar">Idea jar</a></li><li><a href="/docs/routines">Routines &amp; bot actions</a></li><li><a href="/docs/memory-skills">Memory, skills &amp; search</a></li><li><a href="/docs/lessons">Lessons</a></li><li><a href="/docs/truth-ledger">Truth Ledger</a></li><li><a href="/docs/loose-ends">Loose ends &amp; letters</a></li><li><a href="/docs/parallel-universe">Parallel Universe</a></li></ul></div>
    <div class="docs-group"><h3>Connect</h3><ul><li><a href="/docs/mcp">MCP tools</a></li><li><a href="/docs/home-assistant">Home Assistant</a></li><li><a href="/docs/agents-connect">Coding agents</a></li><li><a href="/docs/telegram">Telegram</a></li><li><a href="/docs/browser">Browser</a></li><li><a href="/docs/browser-proxy">Browser proxy</a></li></ul></div>
  </nav>
  <article class="prose">
    <details class="crumb-mobile">
      <summary class="px">Accounts &amp; profiles <span>Docs menu</span></summary>
      <nav aria-label="Docs (menu)">
    <div class="docs-group"><p class="docs-h">Get started</p><ul><li><a href="/docs/quickstart">Quickstart</a></li><li><a href="/docs/install">Install &amp; run</a></li><li><a href="/docs/phone">On your phone</a></li></ul></div>
    <div class="docs-group"><p class="docs-h">Using kwant</p><ul><li><a href="/docs/spaces">Spaces</a></li><li><a href="/docs/bots-and-teams">Bots &amp; teams</a></li><li><a href="/docs/accounts" aria-current="page">Accounts &amp; profiles</a></li><li><a href="/docs/models">Models &amp; routing</a></li><li><a href="/docs/approvals">Approvals &amp; passwords</a></li><li><a href="/docs/agents-in-vm">Run Claude in the VM</a></li><li><a href="/docs/flight-school">Flight School</a></li><li><a href="/docs/smart-results">Smart Results</a></li><li><a href="/docs/dev-mode">Dev mode</a></li></ul></div>
    <div class="docs-group"><p class="docs-h">Works on its own</p><ul><li><a href="/docs/mission-board">Mission board</a></li><li><a href="/docs/goals">Goals</a></li><li><a href="/docs/idea-jar">Idea jar</a></li><li><a href="/docs/routines">Routines &amp; bot actions</a></li><li><a href="/docs/memory-skills">Memory, skills &amp; search</a></li><li><a href="/docs/lessons">Lessons</a></li><li><a href="/docs/truth-ledger">Truth Ledger</a></li><li><a href="/docs/loose-ends">Loose ends &amp; letters</a></li><li><a href="/docs/parallel-universe">Parallel Universe</a></li></ul></div>
    <div class="docs-group"><p class="docs-h">Connect</p><ul><li><a href="/docs/mcp">MCP tools</a></li><li><a href="/docs/home-assistant">Home Assistant</a></li><li><a href="/docs/agents-connect">Coding agents</a></li><li><a href="/docs/telegram">Telegram</a></li><li><a href="/docs/browser">Browser</a></li><li><a href="/docs/browser-proxy">Browser proxy</a></li></ul></div>
      </nav>
    </details>
<p class="kicker">Docs</p>
<h1>Multiple Claude, Codex and Grok accounts</h1>
<p class="intro">Use every account you have. A space can hold several accounts per engine, for example a work Claude subscription, a personal one and an API key. When one runs out of usage, kwant moves the turn to the next account in your order, on any engine.</p>
<figure>
  <div class="frame"><a class="zoom" href="../assets/media/v2-accounts-2880.webp?v=a01af163de" data-caption="Settings, This space, Apps and accounts, AI accounts: Claude is used first, ready and used by Ann and Ben. If it runs out: Codex, ready, which Cody uses first, a Personal Max Claude login out until 06:34, and Ollama on the Mac, which can&#x27;t connect, each with Use first. Grok isn&#x27;t used and isn&#x27;t installed. Below: Sign-ins and settings, and Advanced."><img class="app" src="../assets/media/v2-accounts-1440.webp?v=e7b6e93baf" srcset="../assets/media/v2-accounts-1440.webp?v=e7b6e93baf 1440w, ../assets/media/v2-accounts-2880.webp?v=a01af163de 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="Settings, This space, Apps and accounts, AI accounts: Claude is used first, ready and used by Ann and Ben. If it runs out: Codex, ready, which Cody uses first, a Personal Max Claude login out until 06:34, and Ollama on the Mac, which can&#x27;t connect, each with Use first. Grok isn&#x27;t used and isn&#x27;t installed. Below: Sign-ins and settings, and Advanced."></a></div>
  <figcaption>Accounts live under <strong>Settings → This space → Accounts</strong>, and belong to that space.</figcaption>
</figure>

<h2 id="profiles">Account profiles</h2>
<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>

<h2 id="order">Order to use</h2>
<p>Settings → This space → Accounts starts with <strong>Order to use</strong>: every account in the space, across Claude, Codex, Grok and Custom API, in one list. When one runs out, kwant bots move to the next that still works, in this order. Use the arrows, or drag a row, to move an account earlier or later. Each row shows its engine and whether it's Ready or out until its reset, for example "Out until 03:00". Accounts that are signed out or not installed are listed below, under <strong>Not in the order</strong>, with no number or arrows. They join the order at the bottom once they're ready.</p>
<figure>
  <div class="frame"><a class="zoom" href="../assets/media/v66-order-to-use-2880.webp?v=81eadab3e2" data-caption="Settings, This space, Accounts: the Order to use list. &quot;When one runs out, kwant bots move to the next that still works, in this order.&quot; Work, a Claude login, is out until 03:00. Personal, another Claude login, is ready, then Codex on an API key and a Custom API account, each numbered, with up and down buttons. Under Not in the order, with no number or arrows, are This machine&#x27;s Claude, Codex and Grok and a Grok login, all signed out."><img class="app" src="../assets/media/v66-order-to-use-1440.webp?v=149b528e97" srcset="../assets/media/v66-order-to-use-1440.webp?v=149b528e97 1440w, ../assets/media/v66-order-to-use-2880.webp?v=81eadab3e2 2880w" sizes="(max-width: 860px) 100vw, 760px" width="1440" height="900" loading="lazy" decoding="async" alt="Settings, This space, Accounts: the Order to use list. &quot;When one runs out, kwant bots move to the next that still works, in this order.&quot; Work, a Claude login, is out until 03:00. Personal, another Claude login, is ready, then Codex on an API key and a Custom API account, each numbered, with up and down buttons. Under Not in the order, with no number or arrows, are This machine&#x27;s Claude, Codex and Grok and a Grok login, all signed out."></a></div>
  <figcaption>One order for the whole space. Updated in 0.6.6.</figcaption>
</figure>

<h3 id="failover">Failover</h3>
<p>A turn starts on its bot's account: the one it's pinned to, or its engine's default. When that account is out of usage or signed out, and nothing has been shown or done yet in the turn, kwant moves the turn to the next account in the order that still works, on any engine, up to 6 attempts. An account known to be out is skipped until its reset, and bots go back to it after the reset on their own.</p>
<ul>
  <li><strong>The same kind of model.</strong> On another engine, the turn uses that engine's model of the same tier. A Custom API account uses a model its server offers.</li>
  <li><strong>One quiet line.</strong> Under the bot's name, the reply says once per outage what happened, for example "Claude is out until 03:00 · answered on Codex (GPT-6.1)".</li>
  <li><strong>A limit message is never the reply.</strong> A line like "You've hit your session limit · resets 3am (Europe/Berlin)" counts as the account running out, with its reset time. It's never saved as the bot's answer.</li>
  <li><strong>When every account is out,</strong> the message waits for the earliest reset, and the chat says "Every model is out until 03:00 CET; I'll answer then." The time is in your saved time zone, with its abbreviation.</li>
  <li><strong>Overloads and rate limits</strong> are retried, not failed over.</li>
</ul>
<p>Turn failover off for a bot to keep it on its own account.</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?v=61c2fb64bf" data-caption="Editing QA: engine, model and the account Team gateway, ready, with the switch to move to the engine&#x27;s next account when this one runs out, and the approval override."><img class="app" src="../assets/media/v2-bot-account-pin-1440.webp?v=d486107479" srcset="../assets/media/v2-bot-account-pin-1440.webp?v=d486107479 1440w, ../assets/media/v2-bot-account-pin-2880.webp?v=61c2fb64bf 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&#x27;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 px" href="/docs/bots-and-teams"><small>Previous</small>Bots &amp; teams</a><a class="next px" href="/docs/models"><small>Next</small>Models &amp; routing</a></nav>
  </article>
</div>
</main>
<footer class="site-footer">
  <div class="ground" aria-hidden="true"><div class="crew"><svg class="char-svg" viewBox="5 1 16 20" shape-rendering="crispEdges" aria-hidden="true"><rect x="7" y="20" width="12" height="1" fill="#261d4a"/><rect x="12" y="2" width="2" height="1" fill="#ffe066"/><rect x="11" y="3" width="4" height="2" fill="#ffe066"/><rect x="12" y="3" width="1" height="1" fill="#ffffff"/><rect x="12" y="5" width="2" height="1" fill="#8a8aa8"/><rect x="12" y="6" width="2" height="1" fill="#1b1033"/><rect x="9" y="7" width="8" height="1" fill="#9be564"/><rect x="8" y="8" width="10" height="1" fill="#9be564"/><rect x="7" y="9" width="12" height="7" fill="#9be564"/><rect x="8" y="16" width="10" height="1" fill="#9be564"/><rect x="9" y="17" width="8" height="1" fill="#5e9e33"/><rect x="18" y="9" width="1" height="7" fill="#5e9e33"/><rect x="17" y="16" width="1" height="1" fill="#5e9e33"/><rect x="7" y="15" width="1" height="1" fill="#5e9e33"/><rect x="8" y="16" width="1" height="1" fill="#5e9e33"/><rect x="10" y="8" width="2" height="1" fill="#e2ffc7"/><rect x="9" y="9" width="1" height="1" fill="#e2ffc7"/><rect x="10" y="10" width="2" height="3" fill="#1b1033"/><rect x="14" y="10" width="2" height="3" fill="#1b1033"/><rect x="10" y="10" width="1" height="1" fill="#f5f2ff"/><rect x="14" y="10" width="1" height="1" fill="#f5f2ff"/><rect x="8" y="13" width="2" height="1" fill="#ff6b81"/><rect x="16" y="13" width="2" height="1" fill="#ff6b81"/><rect x="11" y="14" width="1" height="1" fill="#1b1033"/><rect x="14" y="14" width="1" height="1" fill="#1b1033"/><rect x="12" y="15" width="2" height="1" fill="#1b1033"/><rect x="9" y="18" width="2" height="1" fill="#1b1033"/><rect x="15" y="18" width="2" height="1" fill="#1b1033"/></svg><svg class="char-svg" viewBox="5 1 16 20" shape-rendering="crispEdges" aria-hidden="true"><rect x="7" y="20" width="12" height="1" fill="#261d4a"/><rect x="9" y="5" width="8" height="2" fill="#6d4fd6"/><rect x="8" y="6" width="1" height="1" fill="#6d4fd6"/><rect x="13" y="4" width="1" height="1" fill="#6d4fd6"/><rect x="10" y="5" width="2" height="1" fill="#9a7cff"/><rect x="9" y="7" width="8" height="1" fill="#ff8a7a"/><rect x="8" y="8" width="10" height="1" fill="#ff8a7a"/><rect x="7" y="9" width="12" height="7" fill="#ff8a7a"/><rect x="8" y="16" width="10" height="1" fill="#ff8a7a"/><rect x="9" y="17" width="8" height="1" fill="#cf5446"/><rect x="18" y="9" width="1" height="7" fill="#cf5446"/><rect x="17" y="16" width="1" height="1" fill="#cf5446"/><rect x="7" y="15" width="1" height="1" fill="#cf5446"/><rect x="8" y="16" width="1" height="1" fill="#cf5446"/><rect x="10" y="8" width="2" height="1" fill="#ffd6cf"/><rect x="9" y="9" width="1" height="1" fill="#ffd6cf"/><rect x="10" y="10" width="2" height="3" fill="#1b1033"/><rect x="14" y="10" width="2" height="3" fill="#1b1033"/><rect x="10" y="10" width="1" height="1" fill="#f5f2ff"/><rect x="14" y="10" width="1" height="1" fill="#f5f2ff"/><rect x="8" y="13" width="2" height="1" fill="#ff6b81"/><rect x="16" y="13" width="2" height="1" fill="#ff6b81"/><rect x="11" y="14" width="1" height="1" fill="#1b1033"/><rect x="14" y="14" width="1" height="1" fill="#1b1033"/><rect x="12" y="15" width="2" height="1" fill="#1b1033"/><rect x="9" y="18" width="2" height="1" fill="#1b1033"/><rect x="15" y="18" width="2" height="1" fill="#1b1033"/></svg><svg class="char-svg" viewBox="5 1 16 20" shape-rendering="crispEdges" aria-hidden="true"><rect x="7" y="20" width="12" height="1" fill="#261d4a"/><rect x="15" y="6" width="1" height="1" fill="#1b1033"/><rect x="15" y="3" width="2" height="2" fill="#5ce1ff"/><rect x="15" y="3" width="1" height="1" fill="#ffffff"/><rect x="9" y="7" width="8" height="1" fill="#fdc934"/><rect x="8" y="8" width="10" height="1" fill="#fdc934"/><rect x="7" y="9" width="12" height="7" fill="#fdc934"/><rect x="8" y="16" width="10" height="1" fill="#fdc934"/><rect x="9" y="17" width="8" height="1" fill="#d98a1f"/><rect x="18" y="9" width="1" height="7" fill="#d98a1f"/><rect x="17" y="16" width="1" height="1" fill="#d98a1f"/><rect x="7" y="15" width="1" height="1" fill="#d98a1f"/><rect x="8" y="16" width="1" height="1" fill="#d98a1f"/><rect x="10" y="8" width="2" height="1" fill="#fff0a0"/><rect x="9" y="9" width="1" height="1" fill="#fff0a0"/><rect x="10" y="10" width="2" height="3" fill="#1b1033"/><rect x="14" y="10" width="2" height="3" fill="#1b1033"/><rect x="10" y="10" width="1" height="1" fill="#f5f2ff"/><rect x="14" y="10" width="1" height="1" fill="#f5f2ff"/><rect x="8" y="13" width="2" height="1" fill="#ff6b81"/><rect x="16" y="13" width="2" height="1" fill="#ff6b81"/><rect x="11" y="14" width="1" height="1" fill="#1b1033"/><rect x="14" y="14" width="1" height="1" fill="#1b1033"/><rect x="12" y="15" width="2" height="1" fill="#1b1033"/><rect x="9" y="18" width="2" height="1" fill="#1b1033"/><rect x="15" y="18" width="2" height="1" fill="#1b1033"/></svg><svg class="char-svg" viewBox="5 1 16 20" shape-rendering="crispEdges" aria-hidden="true"><rect x="7" y="20" width="12" height="1" fill="#261d4a"/><rect x="9" y="5" width="8" height="1" fill="#ff6b81"/><rect x="8" y="6" width="1" height="3" fill="#ff6b81"/><rect x="17" y="6" width="1" height="3" fill="#ff6b81"/><rect x="6" y="10" width="2" height="3" fill="#ff6b81"/><rect x="18" y="10" width="2" height="3" fill="#ff6b81"/><rect x="9" y="7" width="8" height="1" fill="#5ce1ff"/><rect x="8" y="8" width="10" height="1" fill="#5ce1ff"/><rect x="7" y="9" width="12" height="7" fill="#5ce1ff"/><rect x="8" y="16" width="10" height="1" fill="#5ce1ff"/><rect x="9" y="17" width="8" height="1" fill="#2a92c9"/><rect x="18" y="9" width="1" height="7" fill="#2a92c9"/><rect x="17" y="16" width="1" height="1" fill="#2a92c9"/><rect x="7" y="15" width="1" height="1" fill="#2a92c9"/><rect x="8" y="16" width="1" height="1" fill="#2a92c9"/><rect x="10" y="8" width="2" height="1" fill="#d2f7ff"/><rect x="9" y="9" width="1" height="1" fill="#d2f7ff"/><rect x="10" y="10" width="2" height="3" fill="#1b1033"/><rect x="14" y="10" width="2" height="3" fill="#1b1033"/><rect x="10" y="10" width="1" height="1" fill="#f5f2ff"/><rect x="14" y="10" width="1" height="1" fill="#f5f2ff"/><rect x="8" y="13" width="2" height="1" fill="#ff6b81"/><rect x="16" y="13" width="2" height="1" fill="#ff6b81"/><rect x="11" y="14" width="1" height="1" fill="#1b1033"/><rect x="14" y="14" width="1" height="1" fill="#1b1033"/><rect x="12" y="15" width="2" height="1" fill="#1b1033"/><rect x="9" y="18" width="2" height="1" fill="#1b1033"/><rect x="15" y="18" width="2" height="1" fill="#1b1033"/></svg><svg class="char-svg" viewBox="5 1 16 20" shape-rendering="crispEdges" aria-hidden="true"><rect x="7" y="20" width="12" height="1" fill="#261d4a"/><rect x="9" y="7" width="8" height="1" fill="#ff6b6b"/><rect x="8" y="8" width="10" height="1" fill="#ff6b6b"/><rect x="7" y="9" width="12" height="7" fill="#ff6b6b"/><rect x="8" y="16" width="10" height="1" fill="#ff6b6b"/><rect x="9" y="17" width="8" height="1" fill="#c43c4c"/><rect x="18" y="9" width="1" height="7" fill="#c43c4c"/><rect x="17" y="16" width="1" height="1" fill="#c43c4c"/><rect x="7" y="15" width="1" height="1" fill="#c43c4c"/><rect x="8" y="16" width="1" height="1" fill="#c43c4c"/><rect x="10" y="8" width="2" height="1" fill="#ffc9c9"/><rect x="9" y="9" width="1" height="1" fill="#ffc9c9"/><rect x="10" y="10" width="2" height="3" fill="#1b1033"/><rect x="14" y="10" width="2" height="3" fill="#1b1033"/><rect x="10" y="10" width="1" height="1" fill="#f5f2ff"/><rect x="14" y="10" width="1" height="1" fill="#f5f2ff"/><rect x="8" y="13" width="2" height="1" fill="#ff6b81"/><rect x="16" y="13" width="2" height="1" fill="#ff6b81"/><rect x="11" y="14" width="1" height="1" fill="#1b1033"/><rect x="14" y="14" width="1" height="1" fill="#1b1033"/><rect x="12" y="15" width="2" height="1" fill="#1b1033"/><rect x="9" y="18" width="2" height="1" fill="#1b1033"/><rect x="15" y="18" width="2" height="1" fill="#1b1033"/><rect x="7" y="8" width="12" height="1" fill="#1b1033"/><rect x="9" y="7" width="3" height="2" fill="#5ce1ff"/><rect x="14" y="7" width="3" height="2" fill="#5ce1ff"/><rect x="9" y="7" width="1" height="1" fill="#ffffff"/><rect x="14" y="7" width="1" height="1" fill="#ffffff"/></svg></div></div>
  <div class="wrap">
    <div class="foot-grid">
    <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>
      <p class="foot-star">kwant runs on coffee and GitHub stars. <a href="https://github.com/alexsergivan/kwant" rel="noopener">Toss one our way <svg class="pi" viewBox="0 0 9 8" shape-rendering="crispEdges" fill="currentColor" aria-hidden="true"><rect x="4" y="0" width="1" height="1"/><rect x="3" y="1" width="3" height="1"/><rect x="0" y="2" width="9" height="1"/><rect x="1" y="3" width="7" height="1"/><rect x="2" y="4" width="5" height="1"/><rect x="2" y="5" width="2" height="1"/><rect x="5" y="5" width="2" height="1"/><rect x="1" y="6" width="2" height="1"/><rect x="6" y="6" width="2" height="1"/></svg></a></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 &amp; run</a>
      <a href="/docs/phone">On your phone</a>
      <a href="/self-hosted-ai-agents">Self-hosted AI agents</a>
      <a href="/blog/">Blog</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>
      <a href="/contact">Contact</a>
      <a href="https://x.com/kwantbot" rel="noopener">X (@kwantbot)</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>
    </div>
    <div class="foot-base">
      <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>
      <p class="foot-notice"><strong>kwant has no token.</strong> Official X account is <a href="https://x.com/kwantbot" rel="noopener">@kwantbot</a>.</p>
      <p class="foot-made">Made in Germany with <svg class="pi" viewBox="0 0 7 6" shape-rendering="crispEdges" fill="currentColor" role="img" aria-label="love"><rect x="1" y="0" width="2" height="1"/><rect x="4" y="0" width="2" height="1"/><rect x="0" y="1" width="7" height="1"/><rect x="0" y="2" width="7" height="1"/><rect x="1" y="3" width="5" height="1"/><rect x="2" y="4" width="3" height="1"/><rect x="3" y="5" width="1" height="1"/></svg></p>
    </div>
  </div>
</footer>
<script src="../assets/js/site.js?v=02a491b838" defer></script>
<script src="../assets/js/pixel.js?v=0a1a3bf1e2" defer></script>
<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://kwant.si/docs/accounts#article","headline":"Multiple Claude, Codex & Grok accounts","description":"Add several logins or API keys per engine, plus OpenAI- or Anthropic-compatible servers, in one order to use, with automatic failover across engines when one runs out of usage.","url":"https://kwant.si/docs/accounts","mainEntityOfPage":"https://kwant.si/docs/accounts","image":"https://kwant.si/assets/og/docs-accounts.png?v=4f7b1b0e06","inLanguage":"en","datePublished":"2026-10-22","dateModified":"2026-11-13","author":{"@id":"https://kwant.si/#org"},"publisher":{"@id":"https://kwant.si/#org"},"about":{"@id":"https://kwant.si/#app"},"isPartOf":{"@id":"https://kwant.si/#website"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://kwant.si/docs/quickstart"},{"@type":"ListItem","position":3,"name":"Accounts & profiles","item":"https://kwant.si/docs/accounts"}]},{"@type":"Organization","@id":"https://kwant.si/#org","name":"kwant","alternateName":"kwnt","url":"https://kwant.si/","logo":"https://kwant.si/apple-touch-icon.png","sameAs":["https://github.com/alexsergivan/kwant"]}]}</script>
<script type="application/json" id="cf-beacon">{"token": "7f6ed395033a43eea3885ad0943890c2"}</script>
</body>
</html>