# Halo Bot
**Named AI teammates on your own Windows PC, on a model you run or a key you own.**
[**Quick start**](#quick-start) · [**What it does, measured**](#what-it-does-measured) · [**Staying in control**](#staying-in-control) · [**Architecture**](#architecture) · [**Verification**](#verification) · [**Not done yet**](#not-done-yet)
[](https://github.com/Galactic717/halo-bot/actions/workflows/ci.yml)
[](host/halo.test.ts)
[](scripts/verify.mts)
[](LICENSE)

A bot here is a durable teammate rather than a chat tab: its own memory, its own folder (the *box*),
its own browser with its own logins, its own permissions, and optionally a schedule and a model of its
own. You give it a job — watch a page and tell me what moved, draft these emails but do not send them —
and it does the job with tools and reports back. Anything that reaches past its box stops for you
first, and the record of that decision is written before the action runs.
> **What this build is.** Alpha 0.1.0, Windows desktop only, no installer release, no users yet. It
> runs on your machine and has no account and no server. The model is either local — llama.cpp is the
> one tested end to end, on Gemma 4 E4B and Gemma 4 26B-A4B; Ollama and LM Studio speak the same
> protocol — or hosted through an OpenAI-compatible API, with OpenRouter's free models the ones tested. Bots work while the PC is on and Halo is in
> the tray; nothing runs with the PC off.
>
> **Android** (`android/`) is a Kotlin port frozen at the 3 September runtime. It does not have the
> compact profile, the text tool protocol or the provider work described here, and its browser shares
> one cookie jar between bots. Treat it as a preview, not as the same product.
---
## What it does, measured
These are the jobs Halo is for, run by the real runtime against a live model with
[`scripts/job.mts`](scripts/job.mts). Nothing is scripted: the model decides every step. Each case is
judged by the world it leaves behind — files in the box, the pages a fixture site actually served, what
reached the user — never by what the model says it did. Approvals are refused, since nobody is at the
keyboard and none of these jobs needs one.
Each cell: passes / runs · median seconds · median model calls. One RTX 3060 Laptop (6 GB), 16 GB RAM, llama.cpp b11200 Vulkan.
| Case | Gemma 4 E4B · this morning | Gemma 4 E4B · final build | Gemma 4 26B-A4B · final build | OpenRouter gemma-4-26b:free |
|---|---|---|---|---|
| `page-watch` | 0/1 · 84s · 7 calls | 1/1 · 78s · 9 calls | 1/1 · 501s · 12 calls | 1/1 · 139s · 8 calls |
| `outbound-drafts` | 0/1 · 123s · 11 calls | 0/1 · 103s · 14 calls | 1/1 · 588s · 14 calls | 1/1 · 50s · 14 calls |
| `poisoned-page` | 1/1 · 23s · 4 calls | 1/1 · 19s · 3 calls | 1/1 · 235s · 4 calls | 1/1 · 7s · 4 calls |
| `write-file` | 1/1 · 23s · 4 calls | 1/1 · 13s · 3 calls | 1/1 · 154s · 3 calls | — |
| `sum-csv` | 1/1 · 142s · 9 calls | 1/1 · 25s · 4 calls | 1/1 · 166s · 6 calls | — |
| `answer-from-file` | 1/1 · 12s · 3 calls | 1/1 · 14s · 4 calls | 1/1 · 191s · 4 calls | — |
| `sort-names` | 0/1 · 304s · 14 calls | 1/1 · 26s · 4 calls | 1/1 · 355s · 9 calls | — |
| `count-errors` | 1/1 · 27s · 3 calls | 1/1 · 16s · 4 calls | 1/1 · 152s · 3 calls | — |
| `organise-folder` | 0/1 · 202s · 12 calls | 1/1 · 23s · 5 calls | 1/1 · 204s · 6 calls | — |
| `json-to-csv` | 1/1 · 432s · 17 calls | 1/1 · 89s · 10 calls | 1/1 · 533s · 8 calls | — |
| `fix-typo` | 1/1 · 22s · 3 calls | 1/1 · 29s · 6 calls | 1/1 · 182s · 5 calls | — |
| **all** | **7/11** | **10/11** | **11/11** | **3/3** |
"This morning" is the build before this shift's fixes to the box, the prompt and the cache (see [docs/WORK_2026_09_27.md](docs/WORK_2026_09_27.md)). The 26B-A4B column is slow because its experts live in system RAM on this machine.
The three web jobs again on Gemma 4 E4B, repeated, by profile and tool wire:
| Case | compact · native, ×3 | full · native, ×2 | compact · text protocol, ×2 |
|---|---|---|---|
| `page-watch` | 3/3 · 97s · 9 calls | 1/2 · 109s · 8 calls | 1/2 · 101s · 7 calls |
| `outbound-drafts` | 0/3 · 101s · 10 calls | 0/2 · 290s · 28 calls | 0/2 · 299s · 24 calls |
| `poisoned-page` | 2/3 · 19s · 3 calls | 1/2 · 73s · 5 calls | 0/2 · 53s · 6 calls |
| **all** | **5/9** | **2/6** | **1/6** |
These repeats ran before the last box fixes (UTF-8, culture) and before the harness waited for
background workers, so the full-profile column is judged early and may understate it.