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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Connect Home Assistant to your AI agents · kwant</title>
<meta name="description" content="Let kwant bots read and control your home through Home Assistant's MCP server, with an access token, a ready-made Home team, and locks, doors and alarms that always ask.">
<meta name="theme-color" content="#0d0a1f">
<meta name="color-scheme" content="dark">
<link rel="canonical" href="https://kwant.si/docs/home-assistant">
<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="Connect Home Assistant to your AI agents · kwant">
<meta property="og:description" content="Let kwant bots read and control your home through Home Assistant's MCP server, with an access token, a ready-made Home team, and locks, doors and alarms that always ask.">
<meta property="og:url" content="https://kwant.si/docs/home-assistant">
<meta property="og:image" content="https://kwant.si/assets/og/docs-home-assistant.png?v=710c72d553">
<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="Home Assistant: Connect Home Assistant with an address and a token. Locks, doors and alarms always ask.">
<meta property="article:published_time" content="2026-11-17">
<meta property="article:modified_time" content="2026-11-17">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@kwantbot">
<meta name="twitter:title" content="Connect Home Assistant to your AI agents · kwant">
<meta name="twitter:description" content="Let kwant bots read and control your home through Home Assistant's MCP server, with an access token, a ready-made Home team, and locks, doors and alarms that always ask.">
<meta name="twitter:image" content="https://kwant.si/assets/og/docs-home-assistant.png?v=710c72d553">
<meta name="twitter:image:alt" content="Home Assistant: Connect Home Assistant with an address and a token. Locks, doors and alarms always ask.">
<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 & 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 & teams</a></li><li><a href="/docs/accounts">Accounts & profiles</a></li><li><a href="/docs/models">Models & routing</a></li><li><a href="/docs/approvals">Approvals & 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 & bot actions</a></li><li><a href="/docs/memory-skills">Memory, skills & 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 & 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" aria-current="page">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">Home Assistant <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 & 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 & teams</a></li><li><a href="/docs/accounts">Accounts & profiles</a></li><li><a href="/docs/models">Models & routing</a></li><li><a href="/docs/approvals">Approvals & 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 & bot actions</a></li><li><a href="/docs/memory-skills">Memory, skills & 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 & 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" aria-current="page">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>Connect Home Assistant</h1>
<p class="intro">kwant connects to <a href="https://www.home-assistant.io" rel="noopener">Home Assistant</a> through Home Assistant's own MCP server. Bots can then read the state of your home and switch things, and every change follows your approvals. Locks, doors, garage doors, gates and alarms always ask.</p>
<p>A longer walkthrough, with screenshots and notes from a live 7B local model, is in the blog: <a href="/blog/control-home-assistant-with-a-self-hosted-bot">Control Home Assistant from a self-hosted AI bot</a>.</p>
<h2 id="need">What you need</h2>
<ul>
<li><strong>Home Assistant 2025.2 or later</strong>, with its Model Context Protocol integration added. In Home Assistant, open <strong>Settings › Devices & services › Add integration</strong> and pick <strong>Model Context Protocol</strong>. Before 2026.11 it's listed as <strong>Model Context Protocol Server</strong>.</li>
<li><strong>A long-lived access token.</strong> In Home Assistant, open your profile, then <strong>Security › Long-lived access tokens › Create token</strong>, and copy it: Home Assistant shows it once. kwant uses this token, not Home Assistant's sign-in page.</li>
<li><strong>An address kwant can reach</strong>, the one you open Home Assistant at, such as <code>homeassistant.local:8123</code>, <code>http://192.168.1.20:8123</code> or your <code>https://…</code> remote address.</li>
</ul>
<p>Home Assistant's own setup steps, options and limits are on its <a href="https://www.home-assistant.io/integrations/mcp_server/" rel="noopener">Model Context Protocol page</a>. Two of its options change what your bots get. Both are under <strong>Settings › Devices & services › Model Context Protocol › Configure</strong> (Home Assistant 2026.10 and later):</p>
<ul>
<li><strong>Expose all AI tools</strong> is on for a new setup. Then the address kwant uses (Home Assistant's <strong>Main URL</strong>, <code>/api/mcp</code>) also offers the <strong>Home Assistant</strong> set of tools, which can read every entity and run any action. To give bots only the devices you expose to Assist (<strong>Settings › Voice assistants › Expose</strong>), turn it off and pick only <strong>Device control</strong> (called Assist in older versions).</li>
<li><strong>Require an administrator account</strong> is on for a new setup. Then the token has to belong to an administrator, or Home Assistant refuses it and kwant shows the token error below.</li>
</ul>
<h2 id="connect">Connect in kwant</h2>
<p>The same <strong>Connect Home Assistant</strong> sheet opens from two places:</p>
<ul>
<li><strong>The Home team.</strong> Its chat shows what the team needs. Press <strong>Connect</strong> on <strong>Connect Home Assistant</strong>, or <strong>Fix</strong> after a failed check.</li>
<li><strong>Tools.</strong> Open <strong>Settings › This space › Apps & accounts › Advanced › Manage tools › Add server</strong>, then <strong>Home Assistant</strong> under <strong>Home</strong>. With no tool server yet, there is no <strong>Manage tools</strong>: use <strong>+ Add connection › Tool server (MCP)</strong> instead. Searching for "Home Assistant" or "hass" finds it too.</li>
</ul>
<div class="table-wrap"><table>
<thead><tr><th>Field</th><th>What to put there</th></tr></thead>
<tbody>
<tr><td><strong>Address</strong></td><td>Where you open Home Assistant. With no <code>http://</code> or <code>https://</code>, kwant uses <code>http://</code>, and plain <code>http</code> with no port gets Home Assistant's <code>8123</code>. Any path is replaced: kwant connects to <code><address>/api/mcp</code>.</td></tr>
<tr><td><strong>Access token</strong></td><td>The long-lived access token. Once the address is in, <strong>Make one in Home Assistant</strong> next to the label opens your profile's Security page. kwant sends it as <code>Authorization: Bearer <token></code> and keeps it masked, like every <a href="/docs/mcp#secrets">tool server secret</a>.</td></tr>
</tbody>
</table></div>
<p>Press <strong>Connect</strong>. kwant saves the server in Tools (named <code>home-assistant</code>, or <code>home-assistant-2</code> and so on if that name is taken), checks it, and shows <strong>Connected · N actions</strong> when Home Assistant answers and lists what it can do. From the Home team, kwant gives it to the team's bots, so House can use it at once. From Tools, it's saved in Tools: start a Home team (<strong>Start a Home team</strong>, shown while you have none), or turn it on for any bot in that bot's settings.</p>
<p>The token field empties as soon as you press Connect. If the check fails after the save, leaving the field empty on <strong>Try again</strong> keeps the saved token, so you can fix only the address. Closing the sheet after a failed check removes the server it just saved, so nothing broken stays in Tools.</p>
<h2 id="errors">When the check fails</h2>
<div class="table-wrap"><table>
<thead><tr><th>The sheet says</th><th>What to do</th></tr></thead>
<tbody>
<tr><td>Home Assistant didn’t accept this access token.</td><td>Make a new token in Home Assistant and paste all of it. With <strong>Require an administrator account</strong> on, the token must be an administrator's.</td></tr>
<tr><td>Home Assistant answered, but its MCP Server is off.</td><td>Add the Model Context Protocol integration in Home Assistant (<strong>Open integrations in Home Assistant</strong>), then press <strong>Try again</strong>.</td></tr>
<tr><td>kwant can’t reach <code><host></code>.</td><td>Check that Home Assistant is on and the address is right. If kwant runs on another computer or in Docker, <code>homeassistant.local</code> may not work there: use Home Assistant's IP address, like <code>http://192.168.1.20:8123</code></td></tr>
<tr><td>This address answered, but it isn’t Home Assistant.</td><td>The server answered under another name. Use the address you open Home Assistant at.</td></tr>
<tr><td>Couldn’t connect to Home Assistant.</td><td>Check that the address opens your Home Assistant in a browser, then try again. The server's own message is shown under it.</td></tr>
</tbody>
</table></div>
<h2 id="home-team">The Home team</h2>
<p><a href="/docs/bots-and-teams#ready-made"><strong>New team › From a template</strong></a> › <strong>Home</strong> makes:</p>
<ul>
<li><strong>House</strong>, the lead and only bot. It answers what's on, open or warm, turns things on and off when you ask, and names each device and the result. It never unlocks a door, opens a garage door or gate, or turns off an alarm on its own, and never changes automations, scenes or schedules.</li>
<li><strong>Check the house</strong>, House's skill: one short list of what's on, open or running.</li>
<li><strong>Lights out</strong>, a <a href="/docs/routines#routines">routine</a> every day at 22:00 that turns off the lights still on and says which. It's <strong>off</strong> until you turn it on.</li>
</ul>
<p>The team needs Home Assistant. A local model is optional, to keep what happens at home on your own computer.</p>
<h2 id="approvals">What asks and what doesn't</h2>
<p>Home Assistant's tools follow the bot's <a href="/docs/approvals#modes">approval mode</a>, with one rule on top:</p>
<ul>
<li><strong>Reads.</strong> Under <strong>Ask only when risky</strong>, tools Home Assistant marks read-only, like looking at the live state of your home, run without a card. Under <strong>Ask before running commands</strong>, they ask like every tool.</li>
<li><strong>Switching things</strong> (lights, heating, blinds, media) asks or runs as your approval mode says. <strong>Always allow</strong> on such a card lets that bot run that tool without a card in that conversation only, and it still holds after kwant restarts. <strong>Bot settings › Approvals › Allowed without asking</strong> lists these, with <strong>Take back</strong> on each, and <strong>Take back all</strong> when there are two or more.</li>
<li><strong>Locks, doors, garage doors, gates and alarms always ask</strong>, in every mode, approvals off included. A call counts when its arguments name the <code>lock</code> or <code>alarm_control_panel</code> domain or a <code>cover</code> that is a garage, door or gate (or doesn't say), or contain the word lock, unlock, door, garage, gate, alarm or disarm. The card says "Locks, doors, garage doors, gates and alarms always ask. Always allow isn’t offered for them." Allowing it covers that one call.</li>
</ul>
<div class="note">kwant applies the lock rule to any server that calls itself <code>home-assistant</code> when it connects, and to a server it hasn't heard from yet, never by its address.</div>
<h2 id="tested">Tested</h2>
<p>kwant was tested against its own Home Assistant-shaped test server, not against every Home Assistant setup.</p>
<nav class="pager" aria-label="Docs pages"><a class="prev px" href="/docs/mcp"><small>Previous</small>MCP tools</a><a class="next px" href="/docs/agents-connect"><small>Next</small>Coding agents</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 & 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/home-assistant#article","headline":"Connect Home Assistant to your AI agents","description":"Let kwant bots read and control your home through Home Assistant's MCP server, with an access token, a ready-made Home team, and locks, doors and alarms that always ask.","url":"https://kwant.si/docs/home-assistant","mainEntityOfPage":"https://kwant.si/docs/home-assistant","image":"https://kwant.si/assets/og/docs-home-assistant.png?v=710c72d553","inLanguage":"en","datePublished":"2026-11-17","dateModified":"2026-11-17","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":"Home Assistant","item":"https://kwant.si/docs/home-assistant"}]},{"@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>