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
kwant.si: Home Assistant walkthrough on the blog (#786)
Oleksandr Ivanchenkoc6598d246ec0
diff --git a/site-src/blog/control-home-assistant-with-a-self-hosted-bot.md b/site-src/blog/control-home-assistant-with-a-self-hosted-bot.mdnew file mode 100644index 00000000..582b8383--- /dev/null+++ b/site-src/blog/control-home-assistant-with-a-self-hosted-bot.md@@ -0,0 +1,206 @@+title: Control Home Assistant from a self-hosted AI bot+description: Connect Home Assistant to kwant 0.9.21: official MCP server, two-field Connect sheet, the Home team and House, plus what a 7B local model got right and wrong.+date: 2026-11-17+tags: home-assistant, mcp, self-hosted, how-to, ai-agents, kwant+slug: control-home-assistant-with-a-self-hosted-bot+card_title: Control Home Assistant from a self-hosted bot+card: The 0.9.21 walkthrough: Connect sheet, the Home team, and locks that always ask.+card_art: scene+image: assets/og/docs-home-assistant.png+draft: no+---++[kwant](https://github.com/alexsergivan/kwant) is an open-source (AGPL-3.0) team of AI bots you run yourself. I'm the author. This guide is the path that works in **kwant 0.9.21**: Home Assistant's official MCP Server, a two-field **Connect Home Assistant** sheet, the new **Home** team with a bot called **House**, and an approval card before anything risky is changed. Locks, doors, garage doors, gates and alarms always ask, in every approval mode. A shorter reference is in the [Home Assistant docs](/docs/home-assistant).++The short version: enable Home Assistant's Model Context Protocol integration, expose the devices you want the bot to touch, make a long-lived access token, then paste your Home Assistant address and that token into kwant. kwant builds the `/api/mcp` URL and the sign-in header for you. If it can't connect, the sheet says why in plain words.++For House itself, use a **cloud account or a larger local model**. A 7B model (we used Ollama `qwen2.5-home7`, built from `qwen2.5:7b`) is fine for simple, specific asks when you name the room or device — for example "Turn off the living room lamp" or "What is the living room temperature right now?". It struggled with vague asks like "Is anything left on?" or "How warm is it inside?", and once claimed it was unlocking the front door without calling any tool.++This was tested against Home Assistant 2026.11.1 and kwant 0.9.21. The devices in the walkthrough are a demo living-room lamp, kitchen and porch lights, a 21.4 °C temperature sensor and a front-door lock; the same steps apply to your own house.++## What you need++- A running [Home Assistant](https://www.home-assistant.io/) instance you can reach from the machine that runs kwant (same computer or your LAN).+- [kwant 0.9.21](https://github.com/alexsergivan/kwant) or later, installed and open. A Mac app, a Linux desktop or server, or Docker all work.+- An administrator Home Assistant user. The main MCP URL requires an admin account when it exposes the full set of tools.+- An AI account for House. Prefer a cloud model, or a local model larger than 7B, if you want House to handle broad questions and lock-style requests reliably. A 7B Ollama model is enough for short, specific asks that name the room or device. Don't use 3B for this: **qwen2.5 3B** often sent invalid tool arguments and sometimes announced success after a step had already failed.++You do not need Home Assistant to be on the public internet. Everything here stays on your machine or your LAN.++## 1. Enable Home Assistant's MCP server++Home Assistant is the MCP *server* in this setup: your kwant bot is the client that calls its tools. (Home Assistant also has a separate Model Context Protocol *Client* integration, which points the other way. You don't need that here.)++The official integration page is [Model Context Protocol Server](https://www.home-assistant.io/integrations/mcp_server/). On current Home Assistant (2026.11 and later) the integration is named **Model Context Protocol**. Before 2026.11 it was **Model Context Protocol Server**.++You can enable it from **Settings → System → AI**. If the Model Context Protocol card shows **Enable**, select it. You can also add it by hand: **Settings → Devices & services → Add integration**, then choose **Model Context Protocol**.++On a fresh install the main URL exposes all AI tool sets (Home Assistant may title this "All LLM APIs" or "Expose all AI tools"). You can later restrict that under **Configure**.++kwant always connects to the main URL:++```text+http://<your-home-assistant-host>:8123/api/mcp+```++For example, `http://homeassistant.local:8123/api/mcp`. You don't have to type `/api/mcp` into kwant; the Connect sheet adds it.++## 2. Expose the entities the bot should use++Device-control tools (the same ones Assist uses, including `HassTurnOn`, `HassTurnOff` and `GetLiveContext`) only see entities you have exposed to voice assistants.++In Home Assistant, open **Settings → Voice assistants** and use the **Expose** (exposed entities) page. Expose the lights, sensors and other devices you actually want the bot to read or control.++You can leave locks, garage doors, gates and alarms unexposed if you don't want them in the tool list at all. If you do expose them, kwant still always shows an approval card before a bot can unlock, open or disarm them — even with approvals turned off. That card offers no **Always allow**.++If a later prompt fails with "No entities matched", this is the first place to check: the friendly name must be exposed, and the bot must use that name, not the `entity_id` (`light.living_room_lamp` is not the same as `Living room lamp`). A query for the name `temperature` will miss a sensor called **Living room temperature**.++The Connect sheet also notes that you can limit what bots can do under **Model Context Protocol → Configure**. That is a second, coarser filter (which AI tool sets the server offers). Exposing individual entities on the Assist page is still what decides which devices `HassTurnOn` / `HassTurnOff` can see.++## 3. Make a long-lived access token++In Home Assistant, open your profile, then **Security**, then **Long-lived access tokens**, and create a token. Copy it once; Home Assistant will not show it again.++Give it a name you'll recognise, like `kwant`. Treat it like a password: it lets whoever holds it act as you in Home Assistant.++## 4. Connect Home Assistant in two fields++In kwant 0.9.21 you no longer add Home Assistant as a generic MCP server by hand. Open **Connect Home Assistant** from either place:++- **Tools → Find a tool**, then choose **Home Assistant**, or+- Start the **Home** team (see the next section) and use its **Connect Home Assistant** need.++The sheet has two fields:++- **Address** — the address you use to open Home Assistant, like `homeassistant.local:8123` or `http://192.168.1.20:8123`. The placeholder is `homeassistant.local:8123`. Once the address looks valid, the help line reads **kwant will connect to** `http://…:8123/api/mcp`. You can omit the scheme and, on plain http, the port: `homeassistant.local` becomes `http://homeassistant.local:8123/api/mcp`.+- **Access token** — paste the long-lived token. The help text points at **profile → Security → Long-lived access tokens → Create token**. The **Make one in Home Assistant** link opens that Security page once an address is filled in.++Two notes sit under the fields: bots can reach every device unless you limit them in Home Assistant, and locks, doors, garage doors, gates and alarms always ask you first.++The official shot uses `homeassistant.local`. On your own network you'll usually type `homeassistant.local:8123` or Home Assistant's LAN IP.++Press **Connect**. The sheet tests the connection and reports the result in plain words:++| What you see | What it means |+|---|---|+| **Connected · N actions**, with a **Tested** sticker | The server answered and listed its tools. From the Home team, it also says **House can use it now.** From Tools, it says the server is saved and you can start a Home team, or turn it on for any bot in that bot's settings. This test connected with **21 actions**. |+| **Home Assistant didn't accept this access token.** | Make a new token and paste the whole thing. |+| **Home Assistant answered, but its MCP Server is off.** | Add **Model Context Protocol** under **Settings → Devices & services → Add integration**, then try again. The sheet links **Open integrations in Home Assistant**. |+| **kwant can't reach <host>.** | Home Assistant is off, or the address is wrong. If kwant runs on another computer or in Docker, use Home Assistant's IP address, like `http://192.168.1.20:8123`. |+| **This address answered, but it isn't Home Assistant.** | The URL is reachable, but it didn't identify itself as Home Assistant's MCP server. Check the address. |+| **Couldn't connect to Home Assistant.** | Something else went wrong. Check that the address opens Home Assistant in a browser, then try again. |++<figure>+ <div class="frame">{{shot:v0921-home-assistant|The Connect Home Assistant sheet after a successful connect: Address homeassistant.local, "kwant will connect to http://homeassistant.local:8123/api/mcp", Connected · 14 actions with a Tested sticker, and "House can use it now."}}</div>+ <figcaption>Official 0.9.21 product shot from the <a href="{{root}}features.html#connect-home-assistant">features page</a>.</figcaption>+</figure>++The token field clears after every Connect. Leaving it empty on a later try keeps the saved token (the sheet says **Saved. Paste a new one to replace it.**).++## 5. Pick the Home team and meet House++The new **Home** team is the intended starting point. Open **New team** in the sidebar (or the **Get started** card) and look under **From a template**. The Home tile shows **1 bot**.++If you don't have an AI account in this space yet, the sheet says **Add an AI account first**. Add one, then come back to the template.++Open the Home preview and press **Create team · 1 bot**. The preview lists House, what the team needs, and what it will never do without you:++<figure>+ <div class="frame">{{shot:v0921-home-team|The Home team after creation: House as lead, Connect Home Assistant already connected with 14 actions, an optional A local model need, and suggested asks}}</div>+ <figcaption>Official 0.9.21 product shot. The Create team sheet lists Home under From a template (1 bot); this is the team once it exists.</figcaption>+</figure>++That gives you:++- **House** (title: Home Helper), the only bot, with a house avatar and a **Check the house** skill.+- A **Lights out** routine that starts off (see below).+- A required **Connect Home Assistant** need, which opens the same two-field sheet, and an optional **A local model** need. The template's own line says "A small Ollama model is enough." For House, a cloud or larger model is the safer pick; a 7B model is fine only for simple, specific asks.++House is instructed to look at the live state before it changes anything, to name each device and the result in plain words, and never to claim a change it didn't see succeed. It will not unlock a door, open a garage or gate, or turn off an alarm on its own — those always ask you. It also won't change automations, scenes, schedules or settings in Home Assistant.++You can instead connect Home Assistant from Tools and turn the server on for any existing bot. The Home team is just the path that already has the skill, the routine and the right cautions.++## 6. Example asks++Once House is connected and an account can run it, name the room or device. These are the asks that actually worked, with Ollama `qwen2.5-home7` (qwen2.5 7B):++- **Turn off the living room lamp** — House called the turn-off tool with `{"name": "Living room lamp"}`. In the default **Ask only when risky** mode you get an approval card first; after you allow it, the reply was "The living room lamp has been turned off."+- **What is the living room temperature right now?** — House called `GetLiveContext` and answered **21.4 °C**.++Use the friendly names your house uses, not entity ids.++Vague asks were unreliable on this 7B model, even though the Home team suggests them. **Is anything left on?** called `GetLiveContext` with domain `switch` (the test house has lights, not switches) and got `{"error": "No exposed entities found in domain(s): switch"}`, then replied as if nothing was on — while the kitchen and porch lights were on. Adding "Check the lights" still only looked at the living room and answered "The living room light is off." **How warm is it inside?** queried a sensor named `temperature`, missed **Living room temperature**, and answered with outside weather for Berlin instead.++If you want House to handle those broader questions, pin a cloud account or a larger local model.++## 7. Approvals, reads, and locks that always ask++A new space starts on **Ask only when risky**. In that mode:++- Home Assistant's reads run without a card. That includes `GetLiveContext` (and `GetDateTime`) and any other tool the server marks read-only. Home Assistant marks some of those tools both read-only and destructive; since kwant 0.9.20, kwant trusts the read-only mark, as the MCP spec says.+- Turning a light or switch on or off still shows a card. The chat names the device, like **House wants to turn off Living room lamp**.+- You can **Allow once**, or **Always allow** that tool in this conversation (Always allow now lasts after a restart; take it back under the bot's **Allowed without asking**).++**Locks, doors, garage doors, gates and alarms always ask**, in every approval mode, including **Don't ask**. That card offers no **Always allow**, and an earlier Always allow for the same tool (for example one you gave while turning off lights) does not cover them. The card's reason is: *Locks, doors, garage doors, gates and alarms always ask. Always allow isn't offered for them.*++A server counts as Home Assistant by the name it reports when it connects (`home-assistant`), never by its address. Reading the house never asks for this reason.++<figure>+ <div class="frame">{{shot:v0921-locks-ask|An approval card: "House wants to unlock Front door", area Hallway, in Home Assistant, with the lock note and only Deny and Allow once}}</div>+ <figcaption>Official 0.9.21 product shot from the <a href="{{root}}features.html#home-locks-always-ask">features page</a>. Our live test with <code>qwen2.5-home7</code> never called the lock tool, so we didn't capture our own card — see the model notes below.</figcaption>+</figure>++If you walk away, a card waits about five minutes. Nothing runs until you allow it. Since 0.9.21, a routine step nobody approved no longer counts as done: the run says a step was waiting for your approval and didn't run, and the reply's **Details** name the step.++Test approvals on a lamp you don't mind toggling before you point a bot at anything that matters. Then, with a cloud or larger model, try **Unlock the front door** and confirm you get the always-ask card, with only **Deny** and **Allow once**. On 7B, House refused twice, then after an explicit confirmation replied "Unlocking the front door now." with **no tool steps** — the door was not unlocked. Open **Details** before you trust a claim like that.++## 8. The Lights out routine++The Home team comes with a **Lights out** routine. It starts **off** (the Routines page shows it paused). When you turn it on, it runs every day at 22:00 (`0 22 * * *`) and tells House:++> Turn off every light that's still on, then tell me which ones you turned off. Use the Check the house skill.++The skill reads the live state first, turns off only the lights that are on, leaves doors, locks and alarms alone, and never claims a light is off unless Home Assistant said so. On a 7B model, review the first runs carefully: a vague "what's still on?" step can miss lights, as above.++Open the team's routines, review the prompt, then switch Lights out on when you're ready. Watch the first few runs. If a step waits for your approval and you aren't there, 0.9.21 records that it didn't run, instead of marking the routine done.++## 9. Models for House++The Home team's **A local model** need is optional; it opens Accounts so you can add Ollama (or another local endpoint). A local model keeps the house on your computer, but **for House, prefer a cloud account or a larger local model**.++What we actually saw with Ollama:++- **qwen2.5-home7** (qwen2.5 7B) was fine when the ask named the room or device: it turned off the living room lamp and read the living-room temperature as 21.4 °C.+- The same 7B model was not reliable on vague asks, called `GetLiveContext` with the wrong domain or name, and once claimed it was unlocking the front door without calling a tool.+- **qwen2.5 3B** often sent invalid `HassTurnOn` slots (empty domain, underscored entity ids, name "light") and once said the lamp was on after a step had already failed. Don't use 3B for this.++If you do pin 7B, keep the prompts specific, and open **Details** whenever the reply claims a change.++## Troubleshooting++| Symptom | What to try |+|---|---|+| **Home Assistant didn't accept this access token.** | Make a new long-lived token in **Profile → Security** and paste the whole thing. Leaving the field empty keeps a token that was already saved. |+| **Home Assistant answered, but its MCP Server is off.** | Add the **Model Context Protocol** integration, then press **Try again**. A 404 on `/api/mcp` is how this usually shows up. |+| **kwant can't reach <host>.** | Confirm the address opens Home Assistant in a browser from the same machine that runs kwant. From Docker or another computer, use an IP address, not `.local`. |+| **This address answered, but it isn't Home Assistant.** | You're not hitting HA's MCP server. Check the address; don't point it at a different app's `/api/mcp`. |+| The server connects but House says it cannot find a device, or **No entities matched** | Expose the entity on the Assist / Expose page. Use the friendly name, not the entity id. |+| **No exposed entities found in domain(s): switch** | The model asked for switches. Name a light (or the room) in the prompt, or pin a cloud / larger model. |+| **No exposed entities matched name 'temperature'** | The sensor's friendly name is more specific (ours is **Living room temperature**). Name that, or use a larger model. |+| **Received invalid slot info** | The model sent empty or underscored slots. Use a larger or cloud model, and ask it to pass only `"name"` with the exact friendly name. |+| **Details · a step failed**, but the bot claims the light is on | Open **Details** and read the tool result. A failed first call can sit next to a later successful one, or next to a guess. Don't trust the prose alone. Since 0.9.21, Details name which step failed or didn't run. |+| The bot says it is unlocking or turning something off, but Details shows no steps | Nothing ran. The 7B House bot did this after a confirmation to unlock the front door. Don't trust the claim; pin a cloud or larger model. |+| A lock, door, garage, gate or alarm ran without a card | It shouldn't, in any approval mode, if a tool actually ran. Check **Details**. A sentence with no tool call is a model claim, not a completed action, and is not this always-ask card. |+| A routine runs but does not turn lights off | Read the routine reply and **Details**. If it says a step was waiting for your approval, allow the card or tighten the prompt. Confirm the lights are exposed. |+| **No account can run bots here yet** / **Add an AI account first** | Add or re-enable Ollama (or another account) under **Settings → This space → Accounts**. |+| **The model request failed: connection failed** or `model '…' not found` | Ollama is down, or the pinned model name no longer exists. Check `ollama list` and the account in that space. |++## Advanced: adding Home Assistant as a generic MCP server++You shouldn't need this in 0.9.21. The Connect sheet is the supported path: it builds the `/api/mcp` URL and the `Authorization: Bearer <token>` header, and it checks that the server really is Home Assistant.++If you do add a server by hand under Tools, use the same URL and a header `Authorization` = `Bearer <token>`, then **Test connection**. Don't use OAuth against a plain-http LAN address such as `http://homeassistant.local:8123/api/mcp`. kwant only allows http OAuth on loopback (`localhost` / `127.0.0.1`). On a `.local` or `.lan` hostname, sign-in fails with a message that the server's sign-in must use https, and that for a server on your home network you should add the Bearer header instead.++## Disclaimer++I am the author of kwant. The Home Assistant MCP server is Home Assistant's official integration; this guide only shows how to connect it to a self-hosted kwant bot, including on local models. Test approvals on a lamp you don't mind toggling before you point a bot at anything that matters.diff --git a/site-src/docs-home-assistant.html b/site-src/docs-home-assistant.htmlindex cfe34b62..a3025091 100644--- a/site-src/docs-home-assistant.html+++ b/site-src/docs-home-assistant.html@@ -10,6 +10,8 @@ card_art: avatar:devops<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="{{root}}blog/control-home-assistant-with-a-self-hosted-bot.html">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>diff --git a/site-src/docs-mcp.html b/site-src/docs-mcp.htmlindex c74a99fd..14bf989f 100644--- a/site-src/docs-mcp.html+++ b/site-src/docs-mcp.html@@ -18,6 +18,9 @@ card_art: avatar:tech_lead</ul><p>Click <strong>Connect</strong> to test it: kwant starts the server, lists its tools and shuts it down again, and shows what the server printed if something fails.</p>+<h2 id="home-assistant">Home Assistant</h2>+<p>From 0.9.21, Home Assistant has its own <strong>Connect Home Assistant</strong> sheet and a <strong>Home</strong> team, rather than the generic Add server form. The docs page is <a href="home-assistant.html">Connect Home Assistant</a>. A longer walkthrough, with screenshots and what we saw on a 7B local model, is in the blog: <a href="{{root}}blog/control-home-assistant-with-a-self-hosted-bot.html">Control Home Assistant from a self-hosted AI bot</a>.</p>+<h2 id="access">Which bots see which tools</h2><p>A bot only ever sees the servers assigned to it, never the host user's own MCP configuration. Pick a bot's servers under <strong>Tools this bot can use</strong>. A disabled server is kept but offered to no bot. Tool names look like <code>mcp__<server>__<tool></code>.</p>diff --git a/site/blog/claude-code-on-a-vps.html b/site/blog/claude-code-on-a-vps.htmlindex 2fd52c7a..830dee1a 100644--- a/site/blog/claude-code-on-a-vps.html+++ b/site/blog/claude-code-on-a-vps.html@@ -109,7 +109,7 @@ docker compose exec kwnt kwnt signin-link</code></pre><p class="cta"><a class="btn btn-violet" href="/docs/install">Install kwant</a> <a class="btn btn-soft" href="https://github.com/alexsergivan/kwant" rel="noopener">See it on GitHub</a></p></aside></article>- <aside class="related" aria-labelledby="related-title"><h2 id="related-title">Related posts</h2><div class="post-grid"><article class="post-card"><h3><a href="/blog/self-host-grok-bot-alternative-free-oracle-cloud">Self-host a Grok Bot alternative for free on Oracle Cloud</a></h3><p>Run kwant free on Oracle Cloud's Always Free Arm server with Docker, connect Claude, ChatGPT, Grok or another model, and bring your Grok bots across.</p><p class="post-meta">The kwant team · <time datetime="2026-11-05">November 5, 2026</time> · Updated <time datetime="2026-11-06">November 6, 2026</time> · 18 min read</p><ul class="tags" aria-label="Tags"><li>grok</li><li>claude</li><li>chatgpt</li><li>self-hosted</li><li>how-to</li><li>vps</li><li>oracle-cloud</li><li>ai-agents</li></ul></article><article class="post-card"><h3><a href="/blog/openclaw-vs-hermes-agent-vs-kwant">OpenClaw vs Hermes Agent vs kwant: self-hosted AI agents</a></h3><p>A fair look at OpenClaw, Hermes Agent and kwant, three self-hosted AI agents. What each is built for, where each is the better pick, and how they install.</p><p class="post-meta">The kwant team · <time datetime="2026-11-01">November 1, 2026</time> · 8 min read</p><ul class="tags" aria-label="Tags"><li>openclaw</li><li>hermes-agent</li><li>kwant</li><li>self-hosted</li><li>comparison</li><li>ai-agents</li></ul></article><article class="post-card"><h3><a href="/blog/claude-code-scheduled-tasks-compared">Claude Code scheduled tasks: cloud vs desktop vs /loop</a></h3><p>Claude Code can schedule work in the cloud, on your desktop or inside a session. Here is how the three differ, plus a self-hosted AI agent option.</p><p class="post-meta">The kwant team · <time datetime="2026-10-31">October 31, 2026</time> · 6 min read</p><ul class="tags" aria-label="Tags"><li>claude-code</li><li>scheduled-tasks</li><li>routines</li><li>self-hosted</li><li>comparison</li></ul></article></div></aside>+ <aside class="related" aria-labelledby="related-title"><h2 id="related-title">Related posts</h2><div class="post-grid"><article class="post-card"><h3><a href="/blog/self-host-grok-bot-alternative-free-oracle-cloud">Self-host a Grok Bot alternative for free on Oracle Cloud</a></h3><p>Run kwant free on Oracle Cloud's Always Free Arm server with Docker, connect Claude, ChatGPT, Grok or another model, and bring your Grok bots across.</p><p class="post-meta">The kwant team · <time datetime="2026-11-05">November 5, 2026</time> · Updated <time datetime="2026-11-06">November 6, 2026</time> · 18 min read</p><ul class="tags" aria-label="Tags"><li>grok</li><li>claude</li><li>chatgpt</li><li>self-hosted</li><li>how-to</li><li>vps</li><li>oracle-cloud</li><li>ai-agents</li></ul></article><article class="post-card"><h3><a href="/blog/control-home-assistant-with-a-self-hosted-bot">Control Home Assistant from a self-hosted AI bot</a></h3><p>Connect Home Assistant to kwant 0.9.21: official MCP server, two-field Connect sheet, the Home team and House, plus what a 7B local model got right and wrong.</p><p class="post-meta">The kwant team · <time datetime="2026-11-17">November 17, 2026</time> · 16 min read</p><ul class="tags" aria-label="Tags"><li>home-assistant</li><li>mcp</li><li>self-hosted</li><li>how-to</li><li>ai-agents</li><li>kwant</li></ul></article><article class="post-card"><h3><a href="/blog/openclaw-vs-hermes-agent-vs-kwant">OpenClaw vs Hermes Agent vs kwant: self-hosted AI agents</a></h3><p>A fair look at OpenClaw, Hermes Agent and kwant, three self-hosted AI agents. What each is built for, where each is the better pick, and how they install.</p><p class="post-meta">The kwant team · <time datetime="2026-11-01">November 1, 2026</time> · 8 min read</p><ul class="tags" aria-label="Tags"><li>openclaw</li><li>hermes-agent</li><li>kwant</li><li>self-hosted</li><li>comparison</li><li>ai-agents</li></ul></article></div></aside></div></main>diff --git a/site/blog/claude-code-scheduled-tasks-compared.html b/site/blog/claude-code-scheduled-tasks-compared.htmlindex 8d87302c..dfae3495 100644--- a/site/blog/claude-code-scheduled-tasks-compared.html+++ b/site/blog/claude-code-scheduled-tasks-compared.html@@ -103,7 +103,7 @@<p class="cta"><a class="btn btn-violet" href="/docs/install">Install kwant</a> <a class="btn btn-soft" href="https://github.com/alexsergivan/kwant" rel="noopener">See it on GitHub</a></p></aside></article>- <aside class="related" aria-labelledby="related-title"><h2 id="related-title">Related posts</h2><div class="post-grid"><article class="post-card"><h3><a href="/blog/openclaw-vs-hermes-agent-vs-kwant">OpenClaw vs Hermes Agent vs kwant: self-hosted AI agents</a></h3><p>A fair look at OpenClaw, Hermes Agent and kwant, three self-hosted AI agents. What each is built for, where each is the better pick, and how they install.</p><p class="post-meta">The kwant team · <time datetime="2026-11-01">November 1, 2026</time> · 8 min read</p><ul class="tags" aria-label="Tags"><li>openclaw</li><li>hermes-agent</li><li>kwant</li><li>self-hosted</li><li>comparison</li><li>ai-agents</li></ul></article><article class="post-card"><h3><a href="/blog/claude-code-on-a-vps">Run Claude Code on a VPS and reach it from your phone</a></h3><p>Three ways to run Claude Code on a VPS and reach it from your phone: SSH and tmux, Anthropic's Remote Control, or a self-hosted AI agent team with kwant.</p><p class="post-meta">The kwant team · <time datetime="2026-10-31">October 31, 2026</time> · 7 min read</p><ul class="tags" aria-label="Tags"><li>claude-code</li><li>vps</li><li>self-hosted</li><li>how-to</li><li>ai-agents</li></ul></article><article class="post-card"><h3><a href="/blog/self-host-grok-bot-alternative-free-oracle-cloud">Self-host a Grok Bot alternative for free on Oracle Cloud</a></h3><p>Run kwant free on Oracle Cloud's Always Free Arm server with Docker, connect Claude, ChatGPT, Grok or another model, and bring your Grok bots across.</p><p class="post-meta">The kwant team · <time datetime="2026-11-05">November 5, 2026</time> · Updated <time datetime="2026-11-06">November 6, 2026</time> · 18 min read</p><ul class="tags" aria-label="Tags"><li>grok</li><li>claude</li><li>chatgpt</li><li>self-hosted</li><li>how-to</li><li>vps</li><li>oracle-cloud</li><li>ai-agents</li></ul></article></div></aside>+ <aside class="related" aria-labelledby="related-title"><h2 id="related-title">Related posts</h2><div class="post-grid"><article class="post-card"><h3><a href="/blog/openclaw-vs-hermes-agent-vs-kwant">OpenClaw vs Hermes Agent vs kwant: self-hosted AI agents</a></h3><p>A fair look at OpenClaw, Hermes Agent and kwant, three self-hosted AI agents. What each is built for, where each is the better pick, and how they install.</p><p class="post-meta">The kwant team · <time datetime="2026-11-01">November 1, 2026</time> · 8 min read</p><ul class="tags" aria-label="Tags"><li>openclaw</li><li>hermes-agent</li><li>kwant</li><li>self-hosted</li><li>comparison</li><li>ai-agents</li></ul></article><article class="post-card"><h3><a href="/blog/claude-code-on-a-vps">Run Claude Code on a VPS and reach it from your phone</a></h3><p>Three ways to run Claude Code on a VPS and reach it from your phone: SSH and tmux, Anthropic's Remote Control, or a self-hosted AI agent team with kwant.</p><p class="post-meta">The kwant team · <time datetime="2026-10-31">October 31, 2026</time> · 7 min read</p><ul class="tags" aria-label="Tags"><li>claude-code</li><li>vps</li><li>self-hosted</li><li>how-to</li><li>ai-agents</li></ul></article><article class="post-card"><h3><a href="/blog/control-home-assistant-with-a-self-hosted-bot">Control Home Assistant from a self-hosted AI bot</a></h3><p>Connect Home Assistant to kwant 0.9.21: official MCP server, two-field Connect sheet, the Home team and House, plus what a 7B local model got right and wrong.</p><p class="post-meta">The kwant team · <time datetime="2026-11-17">November 17, 2026</time> · 16 min read</p><ul class="tags" aria-label="Tags"><li>home-assistant</li><li>mcp</li><li>self-hosted</li><li>how-to</li><li>ai-agents</li><li>kwant</li></ul></article></div></aside></div></main>diff --git a/site/blog/control-home-assistant-with-a-self-hosted-bot.html b/site/blog/control-home-assistant-with-a-self-hosted-bot.htmlnew file mode 100644index 00000000..ac2abdfe--- /dev/null+++ b/site/blog/control-home-assistant-with-a-self-hosted-bot.html@@ -0,0 +1,216 @@+<!doctype html>+<html lang="en">+<head>+<meta charset="utf-8">+<meta name="viewport" content="width=device-width, initial-scale=1">+<title>Control Home Assistant from a self-hosted AI bot · kwant</title>+<meta name="description" content="Connect Home Assistant to kwant 0.9.21: official MCP server, two-field Connect sheet, the Home team and House, plus what a 7B local model got right and wrong.">+<meta name="theme-color" content="#0d0a1f">+<meta name="color-scheme" content="dark">+<link rel="canonical" href="https://kwant.si/blog/control-home-assistant-with-a-self-hosted-bot">+<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="Control Home Assistant from a self-hosted AI bot · kwant">+<meta property="og:description" content="Connect Home Assistant to kwant 0.9.21: official MCP server, two-field Connect sheet, the Home team and House, plus what a 7B local model got right and wrong.">+<meta property="og:url" content="https://kwant.si/blog/control-home-assistant-with-a-self-hosted-bot">+<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="Control Home Assistant from a self-hosted bot: The 0.9.21 walkthrough: Connect sheet, the Home team, and locks that always ask.">+<meta property="article:published_time" content="2026-11-17">+<meta property="article:modified_time" content="2026-11-17">+<meta property="article:tag" content="home-assistant">+<meta property="article:tag" content="mcp">+<meta property="article:tag" content="self-hosted">+<meta property="article:tag" content="how-to">+<meta property="article:tag" content="ai-agents">+<meta property="article:tag" content="kwant">+<link rel="alternate" type="application/rss+xml" title="kwant blog" href="https://kwant.si/blog/feed.xml">+<meta name="twitter:card" content="summary_large_image">+<meta name="twitter:site" content="@kwantbot">+<meta name="twitter:title" content="Control Home Assistant from a self-hosted AI bot · kwant">+<meta name="twitter:description" content="Connect Home Assistant to kwant 0.9.21: official MCP server, two-field Connect sheet, the Home team and House, plus what a 7B local model got right and wrong.">+<meta name="twitter:image" content="https://kwant.si/assets/og/docs-home-assistant.png?v=710c72d553">+<meta name="twitter:image:alt" content="Control Home Assistant from a self-hosted bot: The 0.9.21 walkthrough: Connect sheet, the Home team, and locks that 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-blog">+<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">Docs</a>+ <a class="nl" href="/blog/" aria-current="page">Blog</a>+ <a class="nl stars" href="https://github.com/alexsergivan/kwant" rel="noopener" aria-label="kwant on GitHub, 663 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>★ 663</b></a>+ <a class="btn btn-solid btn-get px" href="/docs/quickstart">Get started</a>+ </nav>+</header>+<main id="main">+<section class="page-head post-head">+ <div class="wrap">+ <nav class="crumbs" aria-label="Breadcrumb"><a href="/">kwant</a> <span aria-hidden="true">/</span> <a href="/blog/">Blog</a></nav>+ <p class="kicker">home-assistant, mcp, self-hosted, how-to, ai-agents, kwant</p>+ <h1>Control Home Assistant from a self-hosted AI bot</h1>+ <p class="lede">Connect Home Assistant to kwant 0.9.21: official MCP server, two-field Connect sheet, the Home team and House, plus what a 7B local model got right and wrong.</p>+ <p class="post-meta">The kwant team · <time datetime="2026-11-17">November 17, 2026</time> · 16 min read</p>+ </div>+</section>++<div class="wrap">+ <article class="prose solo post">+<p><a href="https://github.com/alexsergivan/kwant" rel="noopener">kwant</a> is an open-source (AGPL-3.0) team of AI bots you run yourself. I'm the author. This guide is the path that works in <strong>kwant 0.9.21</strong>: Home Assistant's official MCP Server, a two-field <strong>Connect Home Assistant</strong> sheet, the new <strong>Home</strong> team with a bot called <strong>House</strong>, and an approval card before anything risky is changed. Locks, doors, garage doors, gates and alarms always ask, in every approval mode. A shorter reference is in the <a href="/docs/home-assistant">Home Assistant docs</a>.</p>+<p>The short version: enable Home Assistant's Model Context Protocol integration, expose the devices you want the bot to touch, make a long-lived access token, then paste your Home Assistant address and that token into kwant. kwant builds the <code>/api/mcp</code> URL and the sign-in header for you. If it can't connect, the sheet says why in plain words.</p>+<p>For House itself, use a <strong>cloud account or a larger local model</strong>. A 7B model (we used Ollama <code>qwen2.5-home7</code>, built from <code>qwen2.5:7b</code>) is fine for simple, specific asks when you name the room or device — for example "Turn off the living room lamp" or "What is the living room temperature right now?". It struggled with vague asks like "Is anything left on?" or "How warm is it inside?", and once claimed it was unlocking the front door without calling any tool.</p>+<p>This was tested against Home Assistant 2026.11.1 and kwant 0.9.21. The devices in the walkthrough are a demo living-room lamp, kitchen and porch lights, a 21.4 °C temperature sensor and a front-door lock; the same steps apply to your own house.</p>+<h2 id="what-you-need">What you need</h2>+<ul><li>A running <a href="https://www.home-assistant.io/" rel="noopener">Home Assistant</a> instance you can reach from the machine that runs kwant (same computer or your LAN).</li><li><a href="https://github.com/alexsergivan/kwant" rel="noopener">kwant 0.9.21</a> or later, installed and open. A Mac app, a Linux desktop or server, or Docker all work.</li><li>An administrator Home Assistant user. The main MCP URL requires an admin account when it exposes the full set of tools.</li><li>An AI account for House. Prefer a cloud model, or a local model larger than 7B, if you want House to handle broad questions and lock-style requests reliably. A 7B Ollama model is enough for short, specific asks that name the room or device. Don't use 3B for this: <strong>qwen2.5 3B</strong> often sent invalid tool arguments and sometimes announced success after a step had already failed.</li></ul>+<p>You do not need Home Assistant to be on the public internet. Everything here stays on your machine or your LAN.</p>+<h2 id="1-enable-home-assistant-s-mcp-server">1. Enable Home Assistant's MCP server</h2>+<p>Home Assistant is the MCP <em>server</em> in this setup: your kwant bot is the client that calls its tools. (Home Assistant also has a separate Model Context Protocol <em>Client</em> integration, which points the other way. You don't need that here.)</p>+<p>The official integration page is <a href="https://www.home-assistant.io/integrations/mcp_server/" rel="noopener">Model Context Protocol Server</a>. On current Home Assistant (2026.11 and later) the integration is named <strong>Model Context Protocol</strong>. Before 2026.11 it was <strong>Model Context Protocol Server</strong>.</p>+<p>You can enable it from <strong>Settings → System → AI</strong>. If the Model Context Protocol card shows <strong>Enable</strong>, select it. You can also add it by hand: <strong>Settings → Devices & services → Add integration</strong>, then choose <strong>Model Context Protocol</strong>.</p>+<p>On a fresh install the main URL exposes all AI tool sets (Home Assistant may title this "All LLM APIs" or "Expose all AI tools"). You can later restrict that under <strong>Configure</strong>.</p>+<p>kwant always connects to the main URL:</p>+<pre><code>http://<your-home-assistant-host>:8123/api/mcp</code></pre>+<p>For example, <code>http://homeassistant.local:8123/api/mcp</code>. You don't have to type <code>/api/mcp</code> into kwant; the Connect sheet adds it.</p>+<h2 id="2-expose-the-entities-the-bot-should-use">2. Expose the entities the bot should use</h2>+<p>Device-control tools (the same ones Assist uses, including <code>HassTurnOn</code>, <code>HassTurnOff</code> and <code>GetLiveContext</code>) only see entities you have exposed to voice assistants.</p>+<p>In Home Assistant, open <strong>Settings → Voice assistants</strong> and use the <strong>Expose</strong> (exposed entities) page. Expose the lights, sensors and other devices you actually want the bot to read or control.</p>+<p>You can leave locks, garage doors, gates and alarms unexposed if you don't want them in the tool list at all. If you do expose them, kwant still always shows an approval card before a bot can unlock, open or disarm them — even with approvals turned off. That card offers no <strong>Always allow</strong>.</p>+<p>If a later prompt fails with "No entities matched", this is the first place to check: the friendly name must be exposed, and the bot must use that name, not the <code>entity_id</code> (<code>light.living_room_lamp</code> is not the same as <code>Living room lamp</code>). A query for the name <code>temperature</code> will miss a sensor called <strong>Living room temperature</strong>.</p>+<p>The Connect sheet also notes that you can limit what bots can do under <strong>Model Context Protocol → Configure</strong>. That is a second, coarser filter (which AI tool sets the server offers). Exposing individual entities on the Assist page is still what decides which devices <code>HassTurnOn</code> / <code>HassTurnOff</code> can see.</p>+<h2 id="3-make-a-long-lived-access-token">3. Make a long-lived access token</h2>+<p>In Home Assistant, open your profile, then <strong>Security</strong>, then <strong>Long-lived access tokens</strong>, and create a token. Copy it once; Home Assistant will not show it again.</p>+<p>Give it a name you'll recognise, like <code>kwant</code>. Treat it like a password: it lets whoever holds it act as you in Home Assistant.</p>+<h2 id="4-connect-home-assistant-in-two-fields">4. Connect Home Assistant in two fields</h2>+<p>In kwant 0.9.21 you no longer add Home Assistant as a generic MCP server by hand. Open <strong>Connect Home Assistant</strong> from either place:</p>+<ul><li><strong>Tools → Find a tool</strong>, then choose <strong>Home Assistant</strong>, or</li><li>Start the <strong>Home</strong> team (see the next section) and use its <strong>Connect Home Assistant</strong> need.</li></ul>+<p>The sheet has two fields:</p>+<ul><li><strong>Address</strong> — the address you use to open Home Assistant, like <code>homeassistant.local:8123</code> or <code>http://192.168.1.20:8123</code>. The placeholder is <code>homeassistant.local:8123</code>. Once the address looks valid, the help line reads <strong>kwant will connect to</strong> <code>http://…:8123/api/mcp</code>. You can omit the scheme and, on plain http, the port: <code>homeassistant.local</code> becomes <code>http://homeassistant.local:8123/api/mcp</code>.</li><li><strong>Access token</strong> — paste the long-lived token. The help text points at <strong>profile → Security → Long-lived access tokens → Create token</strong>. The <strong>Make one in Home Assistant</strong> link opens that Security page once an address is filled in.</li></ul>+<p>Two notes sit under the fields: bots can reach every device unless you limit them in Home Assistant, and locks, doors, garage doors, gates and alarms always ask you first.</p>+<p>The official shot uses <code>homeassistant.local</code>. On your own network you'll usually type <code>homeassistant.local:8123</code> or Home Assistant's LAN IP.</p>+<p>Press <strong>Connect</strong>. The sheet tests the connection and reports the result in plain words:</p>+<div class="table-wrap"><table><thead><tr><th scope="col">What you see</th><th scope="col">What it means</th></tr></thead><tbody><tr><td><strong>Connected · N actions</strong>, with a <strong>Tested</strong> sticker</td><td>The server answered and listed its tools. From the Home team, it also says <strong>House can use it now.</strong> From Tools, it says the server is saved and you can start a Home team, or turn it on for any bot in that bot's settings. This test connected with <strong>21 actions</strong>.</td></tr><tr><td><strong>Home Assistant didn't accept this access token.</strong></td><td>Make a new token and paste the whole thing.</td></tr><tr><td><strong>Home Assistant answered, but its MCP Server is off.</strong></td><td>Add <strong>Model Context Protocol</strong> under <strong>Settings → Devices & services → Add integration</strong>, then try again. The sheet links <strong>Open integrations in Home Assistant</strong>.</td></tr><tr><td><strong>kwant can't reach <host>.</strong></td><td>Home Assistant is off, or the address is wrong. If kwant runs on another computer or in Docker, use Home Assistant's IP address, like <code>http://192.168.1.20:8123</code>.</td></tr><tr><td><strong>This address answered, but it isn't Home Assistant.</strong></td><td>The URL is reachable, but it didn't identify itself as Home Assistant's MCP server. Check the address.</td></tr><tr><td><strong>Couldn't connect to Home Assistant.</strong></td><td>Something else went wrong. Check that the address opens Home Assistant in a browser, then try again.</td></tr></tbody></table></div>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v0921-home-assistant-2880.webp?v=31df90eccc" data-caption="The Connect Home Assistant sheet after a successful connect: Address homeassistant.local, "kwant will connect to http://homeassistant.local:8123/api/mcp", Connected · 14 actions with a Tested sticker, and "House can use it now.""><img class="app" src="../assets/media/v0921-home-assistant-1440.webp?v=98cfd61cf9" srcset="../assets/media/v0921-home-assistant-1440.webp?v=98cfd61cf9 1440w, ../assets/media/v0921-home-assistant-2880.webp?v=31df90eccc 2880w" sizes="(max-width: 1024px) 100vw, 680px" width="1440" height="900" loading="lazy" decoding="async" alt="The Connect Home Assistant sheet after a successful connect: Address homeassistant.local, "kwant will connect to http://homeassistant.local:8123/api/mcp", Connected · 14 actions with a Tested sticker, and "House can use it now.""></a></div>+ <figcaption>Official 0.9.21 product shot from the <a href="/features#connect-home-assistant">features page</a>.</figcaption>+</figure>+<p>The token field clears after every Connect. Leaving it empty on a later try keeps the saved token (the sheet says <strong>Saved. Paste a new one to replace it.</strong>).</p>+<h2 id="5-pick-the-home-team-and-meet-house">5. Pick the Home team and meet House</h2>+<p>The new <strong>Home</strong> team is the intended starting point. Open <strong>New team</strong> in the sidebar (or the <strong>Get started</strong> card) and look under <strong>From a template</strong>. The Home tile shows <strong>1 bot</strong>.</p>+<p>If you don't have an AI account in this space yet, the sheet says <strong>Add an AI account first</strong>. Add one, then come back to the template.</p>+<p>Open the Home preview and press <strong>Create team · 1 bot</strong>. The preview lists House, what the team needs, and what it will never do without you:</p>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v0921-home-team-2880.webp?v=c7d1cab465" data-caption="The Home team after creation: House as lead, Connect Home Assistant already connected with 14 actions, an optional A local model need, and suggested asks"><img class="app" src="../assets/media/v0921-home-team-1440.webp?v=98a7802a83" srcset="../assets/media/v0921-home-team-1440.webp?v=98a7802a83 1440w, ../assets/media/v0921-home-team-2880.webp?v=c7d1cab465 2880w" sizes="(max-width: 1024px) 100vw, 680px" width="1440" height="900" loading="lazy" decoding="async" alt="The Home team after creation: House as lead, Connect Home Assistant already connected with 14 actions, an optional A local model need, and suggested asks"></a></div>+ <figcaption>Official 0.9.21 product shot. The Create team sheet lists Home under From a template (1 bot); this is the team once it exists.</figcaption>+</figure>+<p>That gives you:</p>+<ul><li><strong>House</strong> (title: Home Helper), the only bot, with a house avatar and a <strong>Check the house</strong> skill.</li><li>A <strong>Lights out</strong> routine that starts off (see below).</li><li>A required <strong>Connect Home Assistant</strong> need, which opens the same two-field sheet, and an optional <strong>A local model</strong> need. The template's own line says "A small Ollama model is enough." For House, a cloud or larger model is the safer pick; a 7B model is fine only for simple, specific asks.</li></ul>+<p>House is instructed to look at the live state before it changes anything, to name each device and the result in plain words, and never to claim a change it didn't see succeed. It will not unlock a door, open a garage or gate, or turn off an alarm on its own — those always ask you. It also won't change automations, scenes, schedules or settings in Home Assistant.</p>+<p>You can instead connect Home Assistant from Tools and turn the server on for any existing bot. The Home team is just the path that already has the skill, the routine and the right cautions.</p>+<h2 id="6-example-asks">6. Example asks</h2>+<p>Once House is connected and an account can run it, name the room or device. These are the asks that actually worked, with Ollama <code>qwen2.5-home7</code> (qwen2.5 7B):</p>+<ul><li><strong>Turn off the living room lamp</strong> — House called the turn-off tool with <code>{"name": "Living room lamp"}</code>. In the default <strong>Ask only when risky</strong> mode you get an approval card first; after you allow it, the reply was "The living room lamp has been turned off."</li><li><strong>What is the living room temperature right now?</strong> — House called <code>GetLiveContext</code> and answered <strong>21.4 °C</strong>.</li></ul>+<p>Use the friendly names your house uses, not entity ids.</p>+<p>Vague asks were unreliable on this 7B model, even though the Home team suggests them. <strong>Is anything left on?</strong> called <code>GetLiveContext</code> with domain <code>switch</code> (the test house has lights, not switches) and got <code>{"error": "No exposed entities found in domain(s): switch"}</code>, then replied as if nothing was on — while the kitchen and porch lights were on. Adding "Check the lights" still only looked at the living room and answered "The living room light is off." <strong>How warm is it inside?</strong> queried a sensor named <code>temperature</code>, missed <strong>Living room temperature</strong>, and answered with outside weather for Berlin instead.</p>+<p>If you want House to handle those broader questions, pin a cloud account or a larger local model.</p>+<h2 id="7-approvals-reads-and-locks-that-always-ask">7. Approvals, reads, and locks that always ask</h2>+<p>A new space starts on <strong>Ask only when risky</strong>. In that mode:</p>+<ul><li>Home Assistant's reads run without a card. That includes <code>GetLiveContext</code> (and <code>GetDateTime</code>) and any other tool the server marks read-only. Home Assistant marks some of those tools both read-only and destructive; since kwant 0.9.20, kwant trusts the read-only mark, as the MCP spec says.</li><li>Turning a light or switch on or off still shows a card. The chat names the device, like <strong>House wants to turn off Living room lamp</strong>.</li><li>You can <strong>Allow once</strong>, or <strong>Always allow</strong> that tool in this conversation (Always allow now lasts after a restart; take it back under the bot's <strong>Allowed without asking</strong>).</li></ul>+<p><strong>Locks, doors, garage doors, gates and alarms always ask</strong>, in every approval mode, including <strong>Don't ask</strong>. That card offers no <strong>Always allow</strong>, and an earlier Always allow for the same tool (for example one you gave while turning off lights) does not cover them. The card's reason is: <em>Locks, doors, garage doors, gates and alarms always ask. Always allow isn't offered for them.</em></p>+<p>A server counts as Home Assistant by the name it reports when it connects (<code>home-assistant</code>), never by its address. Reading the house never asks for this reason.</p>+<figure>+ <div class="frame"><a class="zoom" href="../assets/media/v0921-locks-ask-2880.webp?v=032446a924" data-caption="An approval card: "House wants to unlock Front door", area Hallway, in Home Assistant, with the lock note and only Deny and Allow once"><img class="app" src="../assets/media/v0921-locks-ask-1440.webp?v=1f78a0c880" srcset="../assets/media/v0921-locks-ask-1440.webp?v=1f78a0c880 1440w, ../assets/media/v0921-locks-ask-2880.webp?v=032446a924 2880w" sizes="(max-width: 1024px) 100vw, 680px" width="1440" height="900" loading="lazy" decoding="async" alt="An approval card: "House wants to unlock Front door", area Hallway, in Home Assistant, with the lock note and only Deny and Allow once"></a></div>+ <figcaption>Official 0.9.21 product shot from the <a href="/features#home-locks-always-ask">features page</a>. Our live test with <code>qwen2.5-home7</code> never called the lock tool, so we didn't capture our own card — see the model notes below.</figcaption>+</figure>+<p>If you walk away, a card waits about five minutes. Nothing runs until you allow it. Since 0.9.21, a routine step nobody approved no longer counts as done: the run says a step was waiting for your approval and didn't run, and the reply's <strong>Details</strong> name the step.</p>+<p>Test approvals on a lamp you don't mind toggling before you point a bot at anything that matters. Then, with a cloud or larger model, try <strong>Unlock the front door</strong> and confirm you get the always-ask card, with only <strong>Deny</strong> and <strong>Allow once</strong>. On 7B, House refused twice, then after an explicit confirmation replied "Unlocking the front door now." with <strong>no tool steps</strong> — the door was not unlocked. Open <strong>Details</strong> before you trust a claim like that.</p>+<h2 id="8-the-lights-out-routine">8. The Lights out routine</h2>+<p>The Home team comes with a <strong>Lights out</strong> routine. It starts <strong>off</strong> (the Routines page shows it paused). When you turn it on, it runs every day at 22:00 (<code>0 22 * * *</code>) and tells House:</p>+<blockquote><p>Turn off every light that's still on, then tell me which ones you turned off. Use the Check the house skill.</p></blockquote>+<p>The skill reads the live state first, turns off only the lights that are on, leaves doors, locks and alarms alone, and never claims a light is off unless Home Assistant said so. On a 7B model, review the first runs carefully: a vague "what's still on?" step can miss lights, as above.</p>+<p>Open the team's routines, review the prompt, then switch Lights out on when you're ready. Watch the first few runs. If a step waits for your approval and you aren't there, 0.9.21 records that it didn't run, instead of marking the routine done.</p>+<h2 id="9-models-for-house">9. Models for House</h2>+<p>The Home team's <strong>A local model</strong> need is optional; it opens Accounts so you can add Ollama (or another local endpoint). A local model keeps the house on your computer, but <strong>for House, prefer a cloud account or a larger local model</strong>.</p>+<p>What we actually saw with Ollama:</p>+<ul><li><strong>qwen2.5-home7</strong> (qwen2.5 7B) was fine when the ask named the room or device: it turned off the living room lamp and read the living-room temperature as 21.4 °C.</li><li>The same 7B model was not reliable on vague asks, called <code>GetLiveContext</code> with the wrong domain or name, and once claimed it was unlocking the front door without calling a tool.</li><li><strong>qwen2.5 3B</strong> often sent invalid <code>HassTurnOn</code> slots (empty domain, underscored entity ids, name "light") and once said the lamp was on after a step had already failed. Don't use 3B for this.</li></ul>+<p>If you do pin 7B, keep the prompts specific, and open <strong>Details</strong> whenever the reply claims a change.</p>+<h2 id="troubleshooting">Troubleshooting</h2>+<div class="table-wrap"><table><thead><tr><th scope="col">Symptom</th><th scope="col">What to try</th></tr></thead><tbody><tr><td><strong>Home Assistant didn't accept this access token.</strong></td><td>Make a new long-lived token in <strong>Profile → Security</strong> and paste the whole thing. Leaving the field empty keeps a token that was already saved.</td></tr><tr><td><strong>Home Assistant answered, but its MCP Server is off.</strong></td><td>Add the <strong>Model Context Protocol</strong> integration, then press <strong>Try again</strong>. A 404 on <code>/api/mcp</code> is how this usually shows up.</td></tr><tr><td><strong>kwant can't reach <host>.</strong></td><td>Confirm the address opens Home Assistant in a browser from the same machine that runs kwant. From Docker or another computer, use an IP address, not <code>.local</code>.</td></tr><tr><td><strong>This address answered, but it isn't Home Assistant.</strong></td><td>You're not hitting HA's MCP server. Check the address; don't point it at a different app's <code>/api/mcp</code>.</td></tr><tr><td>The server connects but House says it cannot find a device, or <strong>No entities matched</strong></td><td>Expose the entity on the Assist / Expose page. Use the friendly name, not the entity id.</td></tr><tr><td><strong>No exposed entities found in domain(s): switch</strong></td><td>The model asked for switches. Name a light (or the room) in the prompt, or pin a cloud / larger model.</td></tr><tr><td><strong>No exposed entities matched name 'temperature'</strong></td><td>The sensor's friendly name is more specific (ours is <strong>Living room temperature</strong>). Name that, or use a larger model.</td></tr><tr><td><strong>Received invalid slot info</strong></td><td>The model sent empty or underscored slots. Use a larger or cloud model, and ask it to pass only <code>"name"</code> with the exact friendly name.</td></tr><tr><td><strong>Details · a step failed</strong>, but the bot claims the light is on</td><td>Open <strong>Details</strong> and read the tool result. A failed first call can sit next to a later successful one, or next to a guess. Don't trust the prose alone. Since 0.9.21, Details name which step failed or didn't run.</td></tr><tr><td>The bot says it is unlocking or turning something off, but Details shows no steps</td><td>Nothing ran. The 7B House bot did this after a confirmation to unlock the front door. Don't trust the claim; pin a cloud or larger model.</td></tr><tr><td>A lock, door, garage, gate or alarm ran without a card</td><td>It shouldn't, in any approval mode, if a tool actually ran. Check <strong>Details</strong>. A sentence with no tool call is a model claim, not a completed action, and is not this always-ask card.</td></tr><tr><td>A routine runs but does not turn lights off</td><td>Read the routine reply and <strong>Details</strong>. If it says a step was waiting for your approval, allow the card or tighten the prompt. Confirm the lights are exposed.</td></tr><tr><td><strong>No account can run bots here yet</strong> / <strong>Add an AI account first</strong></td><td>Add or re-enable Ollama (or another account) under <strong>Settings → This space → Accounts</strong>.</td></tr><tr><td><strong>The model request failed: connection failed</strong> or <code>model '…' not found</code></td><td>Ollama is down, or the pinned model name no longer exists. Check <code>ollama list</code> and the account in that space.</td></tr></tbody></table></div>+<h2 id="advanced-adding-home-assistant-as-a-generic-mcp-server">Advanced: adding Home Assistant as a generic MCP server</h2>+<p>You shouldn't need this in 0.9.21. The Connect sheet is the supported path: it builds the <code>/api/mcp</code> URL and the <code>Authorization: Bearer <token></code> header, and it checks that the server really is Home Assistant.</p>+<p>If you do add a server by hand under Tools, use the same URL and a header <code>Authorization</code> = <code>Bearer <token></code>, then <strong>Test connection</strong>. Don't use OAuth against a plain-http LAN address such as <code>http://homeassistant.local:8123/api/mcp</code>. kwant only allows http OAuth on loopback (<code>localhost</code> / <code>127.0.0.1</code>). On a <code>.local</code> or <code>.lan</code> hostname, sign-in fails with a message that the server's sign-in must use https, and that for a server on your home network you should add the Bearer header instead.</p>+<h2 id="disclaimer">Disclaimer</h2>+<p>I am the author of kwant. The Home Assistant MCP server is Home Assistant's official integration; this guide only shows how to connect it to a self-hosted kwant bot, including on local models. Test approvals on a lamp you don't mind toggling before you point a bot at anything that matters.</p>+ <aside class="post-cta" aria-label="Try kwant">+ <p><strong>Try kwant.</strong> A self-hosted team of AI agents in one binary, free and open source.</p>+ <p class="cta"><a class="btn btn-violet" href="/docs/install">Install kwant</a> <a class="btn btn-soft" href="https://github.com/alexsergivan/kwant" rel="noopener">See it on GitHub</a></p>+ </aside>+ </article>+ <aside class="related" aria-labelledby="related-title"><h2 id="related-title">Related posts</h2><div class="post-grid"><article class="post-card"><h3><a href="/blog/self-host-grok-bot-alternative-free-oracle-cloud">Self-host a Grok Bot alternative for free on Oracle Cloud</a></h3><p>Run kwant free on Oracle Cloud's Always Free Arm server with Docker, connect Claude, ChatGPT, Grok or another model, and bring your Grok bots across.</p><p class="post-meta">The kwant team · <time datetime="2026-11-05">November 5, 2026</time> · Updated <time datetime="2026-11-06">November 6, 2026</time> · 18 min read</p><ul class="tags" aria-label="Tags"><li>grok</li><li>claude</li><li>chatgpt</li><li>self-hosted</li><li>how-to</li><li>vps</li><li>oracle-cloud</li><li>ai-agents</li></ul></article><article class="post-card"><h3><a href="/blog/openclaw-vs-hermes-agent-vs-kwant">OpenClaw vs Hermes Agent vs kwant: self-hosted AI agents</a></h3><p>A fair look at OpenClaw, Hermes Agent and kwant, three self-hosted AI agents. What each is built for, where each is the better pick, and how they install.</p><p class="post-meta">The kwant team · <time datetime="2026-11-01">November 1, 2026</time> · 8 min read</p><ul class="tags" aria-label="Tags"><li>openclaw</li><li>hermes-agent</li><li>kwant</li><li>self-hosted</li><li>comparison</li><li>ai-agents</li></ul></article><article class="post-card"><h3><a href="/blog/claude-code-on-a-vps">Run Claude Code on a VPS and reach it from your phone</a></h3><p>Three ways to run Claude Code on a VPS and reach it from your phone: SSH and tmux, Anthropic's Remote Control, or a self-hosted AI agent team with kwant.</p><p class="post-meta">The kwant team · <time datetime="2026-10-31">October 31, 2026</time> · 7 min read</p><ul class="tags" aria-label="Tags"><li>claude-code</li><li>vps</li><li>self-hosted</li><li>how-to</li><li>ai-agents</li></ul></article></div></aside>+</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":"BlogPosting","@id":"https://kwant.si/blog/control-home-assistant-with-a-self-hosted-bot#post","headline":"Control Home Assistant from a self-hosted AI bot","description":"Connect Home Assistant to kwant 0.9.21: official MCP server, two-field Connect sheet, the Home team and House, plus what a 7B local model got right and wrong.","url":"https://kwant.si/blog/control-home-assistant-with-a-self-hosted-bot","mainEntityOfPage":"https://kwant.si/blog/control-home-assistant-with-a-self-hosted-bot","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"},"wordCount":3447,"isPartOf":{"@id":"https://kwant.si/blog/#blog"},"about":{"@id":"https://kwant.si/#app"},"keywords":["home-assistant","mcp","self-hosted","how-to","ai-agents","kwant"]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https://kwant.si/blog/"},{"@type":"ListItem","position":3,"name":"Control Home Assistant from a self-hosted AI bot","item":"https://kwant.si/blog/control-home-assistant-with-a-self-hosted-bot"}]},{"@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>diff --git a/site/blog/feed.xml b/site/blog/feed.xmlindex 900b854a..a5bed2b6 100644--- a/site/blog/feed.xml+++ b/site/blog/feed.xml@@ -5,8 +5,9 @@<link>https://kwant.si/blog/</link><description>Guides, comparisons and notes on running a self-hosted team of AI agents with kwant.</description><language>en</language>- <lastBuildDate>Fri, 06 Nov 2026 08:00:00 +0000</lastBuildDate>+ <lastBuildDate>Tue, 17 Nov 2026 08:00:00 +0000</lastBuildDate><atom:link href="https://kwant.si/blog/feed.xml" rel="self" type="application/rss+xml"/>+ <item><title>Control Home Assistant from a self-hosted AI bot</title><link>https://kwant.si/blog/control-home-assistant-with-a-self-hosted-bot</link><guid isPermaLink="true">https://kwant.si/blog/control-home-assistant-with-a-self-hosted-bot</guid><pubDate>Tue, 17 Nov 2026 08:00:00 +0000</pubDate><description>Connect Home Assistant to kwant 0.9.21: official MCP server, two-field Connect sheet, the Home team and House, plus what a 7B local model got right and wrong.</description><category>home-assistant</category><category>mcp</category><category>self-hosted</category><category>how-to</category><category>ai-agents</category><category>kwant</category></item><item><title>Self-host a Grok Bot alternative for free on Oracle Cloud</title><link>https://kwant.si/blog/self-host-grok-bot-alternative-free-oracle-cloud</link><guid isPermaLink="true">https://kwant.si/blog/self-host-grok-bot-alternative-free-oracle-cloud</guid><pubDate>Thu, 05 Nov 2026 08:00:00 +0000</pubDate><description>Run kwant free on Oracle Cloud's Always Free Arm server with Docker, connect Claude, ChatGPT, Grok or another model, and bring your Grok bots across.</description><category>grok</category><category>claude</category><category>chatgpt</category><category>self-hosted</category><category>how-to</category><category>vps</category><category>oracle-cloud</category><category>ai-agents</category></item><item><title>OpenClaw vs Hermes Agent vs kwant: self-hosted AI agents</title><link>https://kwant.si/blog/openclaw-vs-hermes-agent-vs-kwant</link><guid isPermaLink="true">https://kwant.si/blog/openclaw-vs-hermes-agent-vs-kwant</guid><pubDate>Sun, 01 Nov 2026 08:00:00 +0000</pubDate><description>A fair look at OpenClaw, Hermes Agent and kwant, three self-hosted AI agents. What each is built for, where each is the better pick, and how they install.</description><category>openclaw</category><category>hermes-agent</category><category>kwant</category><category>self-hosted</category><category>comparison</category><category>ai-agents</category></item><item><title>Claude Code scheduled tasks: cloud vs desktop vs /loop</title><link>https://kwant.si/blog/claude-code-scheduled-tasks-compared</link><guid isPermaLink="true">https://kwant.si/blog/claude-code-scheduled-tasks-compared</guid><pubDate>Sat, 31 Oct 2026 08:00:00 +0000</pubDate><description>Claude Code can schedule work in the cloud, on your desktop or inside a session. Here is how the three differ, plus a self-hosted AI agent option.</description><category>claude-code</category><category>scheduled-tasks</category><category>routines</category><category>self-hosted</category><category>comparison</category></item>diff --git a/site/blog/index.html b/site/blog/index.htmlindex a2021756..0192b021 100644--- a/site/blog/index.html+++ b/site/blog/index.html@@ -56,7 +56,7 @@</section><div class="wrap">- <div class="post-list"><article class="post-card"><h2><a href="/blog/self-host-grok-bot-alternative-free-oracle-cloud">Self-host a Grok Bot alternative for free on Oracle Cloud</a></h2><p>Run kwant free on Oracle Cloud's Always Free Arm server with Docker, connect Claude, ChatGPT, Grok or another model, and bring your Grok bots across.</p><p class="post-meta">The kwant team · <time datetime="2026-11-05">November 5, 2026</time> · Updated <time datetime="2026-11-06">November 6, 2026</time> · 18 min read</p><ul class="tags" aria-label="Tags"><li>grok</li><li>claude</li><li>chatgpt</li><li>self-hosted</li><li>how-to</li><li>vps</li><li>oracle-cloud</li><li>ai-agents</li></ul></article><article class="post-card"><h2><a href="/blog/openclaw-vs-hermes-agent-vs-kwant">OpenClaw vs Hermes Agent vs kwant: self-hosted AI agents</a></h2><p>A fair look at OpenClaw, Hermes Agent and kwant, three self-hosted AI agents. What each is built for, where each is the better pick, and how they install.</p><p class="post-meta">The kwant team · <time datetime="2026-11-01">November 1, 2026</time> · 8 min read</p><ul class="tags" aria-label="Tags"><li>openclaw</li><li>hermes-agent</li><li>kwant</li><li>self-hosted</li><li>comparison</li><li>ai-agents</li></ul></article><article class="post-card"><h2><a href="/blog/claude-code-scheduled-tasks-compared">Claude Code scheduled tasks: cloud vs desktop vs /loop</a></h2><p>Claude Code can schedule work in the cloud, on your desktop or inside a session. Here is how the three differ, plus a self-hosted AI agent option.</p><p class="post-meta">The kwant team · <time datetime="2026-10-31">October 31, 2026</time> · 6 min read</p><ul class="tags" aria-label="Tags"><li>claude-code</li><li>scheduled-tasks</li><li>routines</li><li>self-hosted</li><li>comparison</li></ul></article><article class="post-card"><h2><a href="/blog/claude-code-on-a-vps">Run Claude Code on a VPS and reach it from your phone</a></h2><p>Three ways to run Claude Code on a VPS and reach it from your phone: SSH and tmux, Anthropic's Remote Control, or a self-hosted AI agent team with kwant.</p><p class="post-meta">The kwant team · <time datetime="2026-10-31">October 31, 2026</time> · 7 min read</p><ul class="tags" aria-label="Tags"><li>claude-code</li><li>vps</li><li>self-hosted</li><li>how-to</li><li>ai-agents</li></ul></article></div>+ <div class="post-list"><article class="post-card"><h2><a href="/blog/control-home-assistant-with-a-self-hosted-bot">Control Home Assistant from a self-hosted AI bot</a></h2><p>Connect Home Assistant to kwant 0.9.21: official MCP server, two-field Connect sheet, the Home team and House, plus what a 7B local model got right and wrong.</p><p class="post-meta">The kwant team · <time datetime="2026-11-17">November 17, 2026</time> · 16 min read</p><ul class="tags" aria-label="Tags"><li>home-assistant</li><li>mcp</li><li>self-hosted</li><li>how-to</li><li>ai-agents</li><li>kwant</li></ul></article><article class="post-card"><h2><a href="/blog/self-host-grok-bot-alternative-free-oracle-cloud">Self-host a Grok Bot alternative for free on Oracle Cloud</a></h2><p>Run kwant free on Oracle Cloud's Always Free Arm server with Docker, connect Claude, ChatGPT, Grok or another model, and bring your Grok bots across.</p><p class="post-meta">The kwant team · <time datetime="2026-11-05">November 5, 2026</time> · Updated <time datetime="2026-11-06">November 6, 2026</time> · 18 min read</p><ul class="tags" aria-label="Tags"><li>grok</li><li>claude</li><li>chatgpt</li><li>self-hosted</li><li>how-to</li><li>vps</li><li>oracle-cloud</li><li>ai-agents</li></ul></article><article class="post-card"><h2><a href="/blog/openclaw-vs-hermes-agent-vs-kwant">OpenClaw vs Hermes Agent vs kwant: self-hosted AI agents</a></h2><p>A fair look at OpenClaw, Hermes Agent and kwant, three self-hosted AI agents. What each is built for, where each is the better pick, and how they install.</p><p class="post-meta">The kwant team · <time datetime="2026-11-01">November 1, 2026</time> · 8 min read</p><ul class="tags" aria-label="Tags"><li>openclaw</li><li>hermes-agent</li><li>kwant</li><li>self-hosted</li><li>comparison</li><li>ai-agents</li></ul></article><article class="post-card"><h2><a href="/blog/claude-code-scheduled-tasks-compared">Claude Code scheduled tasks: cloud vs desktop vs /loop</a></h2><p>Claude Code can schedule work in the cloud, on your desktop or inside a session. Here is how the three differ, plus a self-hosted AI agent option.</p><p class="post-meta">The kwant team · <time datetime="2026-10-31">October 31, 2026</time> · 6 min read</p><ul class="tags" aria-label="Tags"><li>claude-code</li><li>scheduled-tasks</li><li>routines</li><li>self-hosted</li><li>comparison</li></ul></article><article class="post-card"><h2><a href="/blog/claude-code-on-a-vps">Run Claude Code on a VPS and reach it from your phone</a></h2><p>Three ways to run Claude Code on a VPS and reach it from your phone: SSH and tmux, Anthropic's Remote Control, or a self-hosted AI agent team with kwant.</p><p class="post-meta">The kwant team · <time datetime="2026-10-31">October 31, 2026</time> · 7 min read</p><ul class="tags" aria-label="Tags"><li>claude-code</li><li>vps</li><li>self-hosted</li><li>how-to</li><li>ai-agents</li></ul></article></div></div></main>@@ -110,7 +110,7 @@</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":"Blog","@id":"https://kwant.si/blog/#blog","name":"kwant blog","description":"Guides, comparisons and notes on running a self-hosted team of AI agents with kwant.","url":"https://kwant.si/blog/","inLanguage":"en","publisher":{"@id":"https://kwant.si/#org"},"isPartOf":{"@id":"https://kwant.si/#website"},"blogPost":[{"@type":"BlogPosting","@id":"https://kwant.si/blog/self-host-grok-bot-alternative-free-oracle-cloud#post","headline":"Self-host a Grok Bot alternative for free on Oracle Cloud","url":"https://kwant.si/blog/self-host-grok-bot-alternative-free-oracle-cloud","datePublished":"2026-11-05","dateModified":"2026-11-06"},{"@type":"BlogPosting","@id":"https://kwant.si/blog/openclaw-vs-hermes-agent-vs-kwant#post","headline":"OpenClaw vs Hermes Agent vs kwant: self-hosted AI agents","url":"https://kwant.si/blog/openclaw-vs-hermes-agent-vs-kwant","datePublished":"2026-11-01","dateModified":"2026-11-01"},{"@type":"BlogPosting","@id":"https://kwant.si/blog/claude-code-scheduled-tasks-compared#post","headline":"Claude Code scheduled tasks: cloud vs desktop vs /loop","url":"https://kwant.si/blog/claude-code-scheduled-tasks-compared","datePublished":"2026-10-31","dateModified":"2026-10-31"},{"@type":"BlogPosting","@id":"https://kwant.si/blog/claude-code-on-a-vps#post","headline":"Run Claude Code on a VPS and reach it from your phone","url":"https://kwant.si/blog/claude-code-on-a-vps","datePublished":"2026-10-31","dateModified":"2026-10-31"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https://kwant.si/blog/"}]},{"@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":"Blog","@id":"https://kwant.si/blog/#blog","name":"kwant blog","description":"Guides, comparisons and notes on running a self-hosted team of AI agents with kwant.","url":"https://kwant.si/blog/","inLanguage":"en","publisher":{"@id":"https://kwant.si/#org"},"isPartOf":{"@id":"https://kwant.si/#website"},"blogPost":[{"@type":"BlogPosting","@id":"https://kwant.si/blog/control-home-assistant-with-a-self-hosted-bot#post","headline":"Control Home Assistant from a self-hosted AI bot","url":"https://kwant.si/blog/control-home-assistant-with-a-self-hosted-bot","datePublished":"2026-11-17","dateModified":"2026-11-17"},{"@type":"BlogPosting","@id":"https://kwant.si/blog/self-host-grok-bot-alternative-free-oracle-cloud#post","headline":"Self-host a Grok Bot alternative for free on Oracle Cloud","url":"https://kwant.si/blog/self-host-grok-bot-alternative-free-oracle-cloud","datePublished":"2026-11-05","dateModified":"2026-11-06"},{"@type":"BlogPosting","@id":"https://kwant.si/blog/openclaw-vs-hermes-agent-vs-kwant#post","headline":"OpenClaw vs Hermes Agent vs kwant: self-hosted AI agents","url":"https://kwant.si/blog/openclaw-vs-hermes-agent-vs-kwant","datePublished":"2026-11-01","dateModified":"2026-11-01"},{"@type":"BlogPosting","@id":"https://kwant.si/blog/claude-code-scheduled-tasks-compared#post","headline":"Claude Code scheduled tasks: cloud vs desktop vs /loop","url":"https://kwant.si/blog/claude-code-scheduled-tasks-compared","datePublished":"2026-10-31","dateModified":"2026-10-31"},{"@type":"BlogPosting","@id":"https://kwant.si/blog/claude-code-on-a-vps#post","headline":"Run Claude Code on a VPS and reach it from your phone","url":"https://kwant.si/blog/claude-code-on-a-vps","datePublished":"2026-10-31","dateModified":"2026-10-31"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"kwant","item":"https://kwant.si/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https://kwant.si/blog/"}]},{"@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>diff --git a/site/blog/openclaw-vs-hermes-agent-vs-kwant.html b/site/blog/openclaw-vs-hermes-agent-vs-kwant.htmlindex 7e80db46..4b0bd072 100644--- a/site/blog/openclaw-vs-hermes-agent-vs-kwant.html+++ b/site/blog/openclaw-vs-hermes-agent-vs-kwant.html@@ -116,7 +116,7 @@<p class="cta"><a class="btn btn-violet" href="/docs/install">Install kwant</a> <a class="btn btn-soft" href="https://github.com/alexsergivan/kwant" rel="noopener">See it on GitHub</a></p></aside></article>- <aside class="related" aria-labelledby="related-title"><h2 id="related-title">Related posts</h2><div class="post-grid"><article class="post-card"><h3><a href="/blog/self-host-grok-bot-alternative-free-oracle-cloud">Self-host a Grok Bot alternative for free on Oracle Cloud</a></h3><p>Run kwant free on Oracle Cloud's Always Free Arm server with Docker, connect Claude, ChatGPT, Grok or another model, and bring your Grok bots across.</p><p class="post-meta">The kwant team · <time datetime="2026-11-05">November 5, 2026</time> · Updated <time datetime="2026-11-06">November 6, 2026</time> · 18 min read</p><ul class="tags" aria-label="Tags"><li>grok</li><li>claude</li><li>chatgpt</li><li>self-hosted</li><li>how-to</li><li>vps</li><li>oracle-cloud</li><li>ai-agents</li></ul></article><article class="post-card"><h3><a href="/blog/claude-code-scheduled-tasks-compared">Claude Code scheduled tasks: cloud vs desktop vs /loop</a></h3><p>Claude Code can schedule work in the cloud, on your desktop or inside a session. Here is how the three differ, plus a self-hosted AI agent option.</p><p class="post-meta">The kwant team · <time datetime="2026-10-31">October 31, 2026</time> · 6 min read</p><ul class="tags" aria-label="Tags"><li>claude-code</li><li>scheduled-tasks</li><li>routines</li><li>self-hosted</li><li>comparison</li></ul></article><article class="post-card"><h3><a href="/blog/claude-code-on-a-vps">Run Claude Code on a VPS and reach it from your phone</a></h3><p>Three ways to run Claude Code on a VPS and reach it from your phone: SSH and tmux, Anthropic's Remote Control, or a self-hosted AI agent team with kwant.</p><p class="post-meta">The kwant team · <time datetime="2026-10-31">October 31, 2026</time> · 7 min read</p><ul class="tags" aria-label="Tags"><li>claude-code</li><li>vps</li><li>self-hosted</li><li>how-to</li><li>ai-agents</li></ul></article></div></aside>+ <aside class="related" aria-labelledby="related-title"><h2 id="related-title">Related posts</h2><div class="post-grid"><article class="post-card"><h3><a href="/blog/control-home-assistant-with-a-self-hosted-bot">Control Home Assistant from a self-hosted AI bot</a></h3><p>Connect Home Assistant to kwant 0.9.21: official MCP server, two-field Connect sheet, the Home team and House, plus what a 7B local model got right and wrong.</p><p class="post-meta">The kwant team · <time datetime="2026-11-17">November 17, 2026</time> · 16 min read</p><ul class="tags" aria-label="Tags"><li>home-assistant</li><li>mcp</li><li>self-hosted</li><li>how-to</li><li>ai-agents</li><li>kwant</li></ul></article><article class="post-card"><h3><a href="/blog/self-host-grok-bot-alternative-free-oracle-cloud">Self-host a Grok Bot alternative for free on Oracle Cloud</a></h3><p>Run kwant free on Oracle Cloud's Always Free Arm server with Docker, connect Claude, ChatGPT, Grok or another model, and bring your Grok bots across.</p><p class="post-meta">The kwant team · <time datetime="2026-11-05">November 5, 2026</time> · Updated <time datetime="2026-11-06">November 6, 2026</time> · 18 min read</p><ul class="tags" aria-label="Tags"><li>grok</li><li>claude</li><li>chatgpt</li><li>self-hosted</li><li>how-to</li><li>vps</li><li>oracle-cloud</li><li>ai-agents</li></ul></article><article class="post-card"><h3><a href="/blog/claude-code-scheduled-tasks-compared">Claude Code scheduled tasks: cloud vs desktop vs /loop</a></h3><p>Claude Code can schedule work in the cloud, on your desktop or inside a session. Here is how the three differ, plus a self-hosted AI agent option.</p><p class="post-meta">The kwant team · <time datetime="2026-10-31">October 31, 2026</time> · 6 min read</p><ul class="tags" aria-label="Tags"><li>claude-code</li><li>scheduled-tasks</li><li>routines</li><li>self-hosted</li><li>comparison</li></ul></article></div></aside></div></main>diff --git a/site/blog/self-host-grok-bot-alternative-free-oracle-cloud.html b/site/blog/self-host-grok-bot-alternative-free-oracle-cloud.htmlindex fad9816d..2a468a69 100644--- a/site/blog/self-host-grok-bot-alternative-free-oracle-cloud.html+++ b/site/blog/self-host-grok-bot-alternative-free-oracle-cloud.html@@ -227,7 +227,7 @@ Steps 1 to 3 happen in Oracle's web console, so guide me through them and wait f<p class="cta"><a class="btn btn-violet" href="/docs/install">Install kwant</a> <a class="btn btn-soft" href="https://github.com/alexsergivan/kwant" rel="noopener">See it on GitHub</a></p></aside></article>- <aside class="related" aria-labelledby="related-title"><h2 id="related-title">Related posts</h2><div class="post-grid"><article class="post-card"><h3><a href="/blog/claude-code-on-a-vps">Run Claude Code on a VPS and reach it from your phone</a></h3><p>Three ways to run Claude Code on a VPS and reach it from your phone: SSH and tmux, Anthropic's Remote Control, or a self-hosted AI agent team with kwant.</p><p class="post-meta">The kwant team · <time datetime="2026-10-31">October 31, 2026</time> · 7 min read</p><ul class="tags" aria-label="Tags"><li>claude-code</li><li>vps</li><li>self-hosted</li><li>how-to</li><li>ai-agents</li></ul></article><article class="post-card"><h3><a href="/blog/openclaw-vs-hermes-agent-vs-kwant">OpenClaw vs Hermes Agent vs kwant: self-hosted AI agents</a></h3><p>A fair look at OpenClaw, Hermes Agent and kwant, three self-hosted AI agents. What each is built for, where each is the better pick, and how they install.</p><p class="post-meta">The kwant team · <time datetime="2026-11-01">November 1, 2026</time> · 8 min read</p><ul class="tags" aria-label="Tags"><li>openclaw</li><li>hermes-agent</li><li>kwant</li><li>self-hosted</li><li>comparison</li><li>ai-agents</li></ul></article><article class="post-card"><h3><a href="/blog/claude-code-scheduled-tasks-compared">Claude Code scheduled tasks: cloud vs desktop vs /loop</a></h3><p>Claude Code can schedule work in the cloud, on your desktop or inside a session. Here is how the three differ, plus a self-hosted AI agent option.</p><p class="post-meta">The kwant team · <time datetime="2026-10-31">October 31, 2026</time> · 6 min read</p><ul class="tags" aria-label="Tags"><li>claude-code</li><li>scheduled-tasks</li><li>routines</li><li>self-hosted</li><li>comparison</li></ul></article></div></aside>+ <aside class="related" aria-labelledby="related-title"><h2 id="related-title">Related posts</h2><div class="post-grid"><article class="post-card"><h3><a href="/blog/claude-code-on-a-vps">Run Claude Code on a VPS and reach it from your phone</a></h3><p>Three ways to run Claude Code on a VPS and reach it from your phone: SSH and tmux, Anthropic's Remote Control, or a self-hosted AI agent team with kwant.</p><p class="post-meta">The kwant team · <time datetime="2026-10-31">October 31, 2026</time> · 7 min read</p><ul class="tags" aria-label="Tags"><li>claude-code</li><li>vps</li><li>self-hosted</li><li>how-to</li><li>ai-agents</li></ul></article><article class="post-card"><h3><a href="/blog/control-home-assistant-with-a-self-hosted-bot">Control Home Assistant from a self-hosted AI bot</a></h3><p>Connect Home Assistant to kwant 0.9.21: official MCP server, two-field Connect sheet, the Home team and House, plus what a 7B local model got right and wrong.</p><p class="post-meta">The kwant team · <time datetime="2026-11-17">November 17, 2026</time> · 16 min read</p><ul class="tags" aria-label="Tags"><li>home-assistant</li><li>mcp</li><li>self-hosted</li><li>how-to</li><li>ai-agents</li><li>kwant</li></ul></article><article class="post-card"><h3><a href="/blog/openclaw-vs-hermes-agent-vs-kwant">OpenClaw vs Hermes Agent vs kwant: self-hosted AI agents</a></h3><p>A fair look at OpenClaw, Hermes Agent and kwant, three self-hosted AI agents. What each is built for, where each is the better pick, and how they install.</p><p class="post-meta">The kwant team · <time datetime="2026-11-01">November 1, 2026</time> · 8 min read</p><ul class="tags" aria-label="Tags"><li>openclaw</li><li>hermes-agent</li><li>kwant</li><li>self-hosted</li><li>comparison</li><li>ai-agents</li></ul></article></div></aside></div></main>diff --git a/site/docs/home-assistant.html b/site/docs/home-assistant.htmlindex 0e6e8016..50228391 100644--- a/site/docs/home-assistant.html+++ b/site/docs/home-assistant.html@@ -20,7 +20,7 @@<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-16">-<meta property="article:modified_time" content="2026-11-16">+<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">@@ -43,7 +43,7 @@<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, 639 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>★ 639</b></a>+ <a class="nl stars" href="https://github.com/alexsergivan/kwant" rel="noopener" aria-label="kwant on GitHub, 663 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>★ 663</b></a><a class="btn btn-solid btn-get px" href="/docs/quickstart">Get started</a></nav></header>@@ -70,6 +70,8 @@<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>@@ -185,7 +187,7 @@</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-16","dateModified":"2026-11-16","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/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-16","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>diff --git a/site/docs/mcp.html b/site/docs/mcp.htmlindex bbdb79c9..5b4f0a1a 100644--- a/site/docs/mcp.html+++ b/site/docs/mcp.html@@ -78,6 +78,9 @@</ul><p>Click <strong>Connect</strong> to test it: kwant starts the server, lists its tools and shuts it down again, and shows what the server printed if something fails.</p>+<h2 id="home-assistant">Home Assistant</h2>+<p>From 0.9.21, Home Assistant has its own <strong>Connect Home Assistant</strong> sheet and a <strong>Home</strong> team, rather than the generic Add server form. The docs page is <a href="/docs/home-assistant">Connect Home Assistant</a>. A longer walkthrough, with screenshots and what we saw on a 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="access">Which bots see which tools</h2><p>A bot only ever sees the servers assigned to it, never the host user's own MCP configuration. Pick a bot's servers under <strong>Tools this bot can use</strong>. A disabled server is kept but offered to no bot. Tool names look like <code>mcp__<server>__<tool></code>.</p>diff --git a/site/llms.txt b/site/llms.txtindex 1f48bfbe..11dddefd 100644--- a/site/llms.txt+++ b/site/llms.txt@@ -78,6 +78,7 @@ Key facts:## Blog- [Blog: guides and comparisons for self-hosted AI agents](https://kwant.si/blog/): Guides, comparisons and notes on running a self-hosted team of AI agents with kwant.+- [Control Home Assistant from a self-hosted AI bot](https://kwant.si/blog/control-home-assistant-with-a-self-hosted-bot): Connect Home Assistant to kwant 0.9.21: official MCP server, two-field Connect sheet, the Home team and House, plus what a 7B local model got right and wrong.- [Self-host a Grok Bot alternative for free on Oracle Cloud](https://kwant.si/blog/self-host-grok-bot-alternative-free-oracle-cloud): Run kwant free on Oracle Cloud's Always Free Arm server with Docker, connect Claude, ChatGPT, Grok or another model, and bring your Grok bots across.- [OpenClaw vs Hermes Agent vs kwant: self-hosted AI agents](https://kwant.si/blog/openclaw-vs-hermes-agent-vs-kwant): A fair look at OpenClaw, Hermes Agent and kwant, three self-hosted AI agents. What each is built for, where each is the better pick, and how they install.- [Claude Code scheduled tasks: cloud vs desktop vs /loop](https://kwant.si/blog/claude-code-scheduled-tasks-compared): Claude Code can schedule work in the cloud, on your desktop or inside a session. Here is how the three differ, plus a self-hosted AI agent option.diff --git a/site/sitemap.xml b/site/sitemap.xmlindex 68caca1b..b39afe68 100644--- a/site/sitemap.xml+++ b/site/sitemap.xml@@ -14,7 +14,7 @@<url><loc>https://kwant.si/docs/dev-mode</loc><lastmod>2026-11-14</lastmod></url><url><loc>https://kwant.si/docs/flight-school</loc><lastmod>2026-11-06</lastmod></url><url><loc>https://kwant.si/docs/goals</loc><lastmod>2026-11-05</lastmod></url>- <url><loc>https://kwant.si/docs/home-assistant</loc><lastmod>2026-11-16</lastmod></url>+ <url><loc>https://kwant.si/docs/home-assistant</loc><lastmod>2026-11-17</lastmod></url><url><loc>https://kwant.si/docs/idea-jar</loc><lastmod>2026-11-06</lastmod></url><url><loc>https://kwant.si/docs/install</loc><lastmod>2026-11-17</lastmod></url><url><loc>https://kwant.si/docs/lessons</loc><lastmod>2026-11-03</lastmod></url>@@ -36,9 +36,10 @@<url><loc>https://kwant.si/privacy</loc><lastmod>2026-11-01</lastmod></url><url><loc>https://kwant.si/self-hosted-ai-agents</loc><lastmod>2026-11-17</lastmod></url><url><loc>https://kwant.si/terms</loc><lastmod>2026-10-25</lastmod></url>+ <url><loc>https://kwant.si/blog/control-home-assistant-with-a-self-hosted-bot</loc><lastmod>2026-11-17</lastmod></url><url><loc>https://kwant.si/blog/self-host-grok-bot-alternative-free-oracle-cloud</loc><lastmod>2026-11-06</lastmod></url><url><loc>https://kwant.si/blog/openclaw-vs-hermes-agent-vs-kwant</loc><lastmod>2026-11-01</lastmod></url><url><loc>https://kwant.si/blog/claude-code-scheduled-tasks-compared</loc><lastmod>2026-10-31</lastmod></url><url><loc>https://kwant.si/blog/claude-code-on-a-vps</loc><lastmod>2026-10-31</lastmod></url>- <url><loc>https://kwant.si/blog/</loc><lastmod>2026-11-06</lastmod></url>+ <url><loc>https://kwant.si/blog/</loc><lastmod>2026-11-17</lastmod></url></urlset>