Repository navigation
Releases
v0.0.4 — Phase 4 "Expansion" (developer preview)
The fourth version of The Insectoids: the hive reaches further and stays safe while it does. You can ask the Brain questions and see it as a globe, a second subscription engine (GitHub Copilot) can take cards, and risky cards can run inside a throwaway container.
Developer preview. Built and tested on Windows; the macOS and Linux installers are built and tested by CI but are new on real machines. See Install for which file to pick.
What's new since v0.0.3
The Brain, seen and asked
- Ask the Brain: a plain-words question gets a short answer built only from the Brain's records, with numbered sources you can open. If nothing fits, it says "The Brain doesn't know" without spending anything. The cost is shown before you ask, and an answer can be kept as a note that links to its sources.
- Brain Globe: the Brain's records as points on a turning 3D globe, coloured and shaped by kind, with links as arcs. You can filter it by shelf, kind and time, and clicking a point opens the record. A list beside it carries the same content for keyboard and screen-reader users. It stays smooth with 5,000 records.
- Timeline: what happened, when and by which agent, filterable, with a jump to the record or goal.
More engines
- GitHub Copilot CLI can take cards on your Copilot subscription. Its own shell and file tools are switched off and the hive's guarded tools take their place. It was checked offline against the real program, then with one real signed-in run.
- A generic command engine runs other coding CLIs from presets. It runs one only when that CLI's own tools can be switched off and the hive's guarded tools wired in; otherwise the CLI is listed with the reason.
- Built but not yet tried on a real account: Codex (checked offline against the real program) and Qwen Code.
- Listed only, with the reason: Cursor, Grok, Kimi, Crush, Pi and Antigravity.
- New engines start switched off until you switch them on in Connections.
Containers for risky cards
- A card's shell commands can run in a throwaway Docker or Podman container. Only its worktree is inside. There's no network for most castes, and limits on CPU, memory and processes. Every container is removed when its run ends.
- Who decides (Settings → Containers):
- Off (the default): nothing runs in a container unless you choose it for a goal.
- When needed: cards the Queen marks as risky (running unreviewed code, installing packages, unfamiliar build scripts), and cards the Watchdog moves after they got stuck.
- Every card.
- You can also force containers for one goal, even with the setting Off.
- It never falls back to your computer. If containers aren't ready, those cards wait and the hive says why.
- Docker and Podman are found, never installed for you. The image (Node 22 on Debian slim, pinned by digest) is downloaded only when you click.
Smaller things
- Ask the Brain's estimate on Claude Code now counts Claude Code's own instructions, which it reads on every run.
- Engine detection works out paths for the system it's looking at, so its tests pass on Windows, macOS (Apple silicon) and Linux alike.
Real end-to-end demo
The demo ran on the sample project tiny-text with Claude Code and GitHub Copilot.
| Result | |
|---|---|
| Ask the Brain | "Which hosting provider does the project use?" → "The project uses Vercel … [1]". It cited the current record, not the older one it replaced. The Globe showed the same record and opened it |
| A risky card | Containers set to "When needed". The goal was to run a contributor's build script nobody had reviewed. The Queen marked that card herself; its commands (and its Inspector's) ran in a container, while the Queen's own run didn't. The generated file landed on main |
| A second engine | GitHub Copilot first in the engine order: the Queen, the coder and the Inspector ran on Copilot. titleCase and its tests landed on main, and node --test passed |
| Time and cost | 3.4 minutes. Claude Code used about 107k tokens ($0.43 reported); Copilot did 3 runs |
The container part used a stand-in runtime (Docker and Podman weren't installed on the demo computer), so it shows the hive's choices, not real isolation. The full write-up of Phase 4 is in docs/plans/phase-4-expansion.md.
The demo found two things, both fixed in this release:
- Ask the Brain's estimate was far too low for Claude Code.
- The guard refused writes to a container's own
/tmp.
CI then found three test problems on macOS and Linux, all fixed before the build:
- Windows-style paths in engine detection tests.
- Tests that assumed an x64 computer, on Apple silicon.
- Two timing-sensitive checks.
Tests: 1,413 unit tests and 231 end-to-end tests (Playwright driving the real app).
Opening an unsigned installer
These builds are not signed yet. Windows signing comes once the SignPath Foundation approves the project; macOS builds stay unsigned (there is no paid Apple account). Check the file against SHA256SUMS.txt first, then:
- Windows: if SmartScreen says "Windows protected your PC", click More info, then Run anyway.
- macOS: the first time, right-click the app in Applications and choose Open, or use System Settings → Privacy & Security → Open Anyway.
- Linux:
chmod +xthe AppImage and run it, orsudo apt install ./the-insectoids_0.0.4_amd64.deb.
If you have v0.0.3 installed, it offers this version by itself (Settings → Updates). This is the first real update between two releases.
Known limits
- Testing: Windows-tested. The macOS and Linux installers are built and tested by CI, but haven't been tried on a real Mac or Linux PC yet.
- Containers: tested only against a stand-in runtime so far. A real Docker or Podman run is next. Whole coding CLIs inside containers (which would let the listed-only engines run) come later.
- Codex and Qwen Code: built, but not yet run on a real account.
- Calendar and mail: Google sign-in, Google Calendar and Gmail were set aside for a later phase.
- Unsigned builds: see above.
- Screen readers: no real screen reader has been tried. The checks are automated rules plus code review.
- Gemini CLI: built, but on hold (Google no longer serves it for personal plans).
Next
Phase 5 "Local First" starts with a free local model set up for you: with your yes, the app downloads Ollama, picks a model that runs well on your computer, checks it works, and lets the hive give it the light work.
Help build it
Contributions are very welcome. Start with CONTRIBUTING.md. Please report security problems privately (SECURITY.md).
v0.0.3 — Phase 3 "Cadence & Polish" (developer preview)
The third version of The Insectoids: the hive works without being asked. Cadences run goals on a schedule, when files land or when another app calls in; a "while you were away" digest shows what happened; and for the first time there are installers for Windows, macOS and Linux.
Developer preview. Built and tested on Windows; the macOS and Linux installers are built and tested by CI but are new on real machines. See Install for which file to pick.
What's new since v0.0.2
Cadences: the hive works without being asked
- Schedules every few minutes or hours, or on weekdays at a time, always in your local time. If the computer was asleep or the app was closed, a missed run happens once when it can, never a pile of them.
- File watch: when files land in a folder of your project, one run starts and lists them.
- Hive events: when a goal finishes, start its follow-up; when a goal has used 75% of its budget, report it. A loop guard stops cadences triggering each other forever.
- Webhooks: another app can call a local address on this computer to start a run or leave a note. Each webhook has its own secret in the Vault, and you choose how much to trust it:
- strict: everything waits for you;
- notes in, runs wait (the default);
- allow all.
- Every run is normal hive work through the Queen, with its own token budget and how much it may do on its own. Merging into your branch always waits for you.
- Proposed cadences: ask for the same thing on three separate occasions and the Queen offers to make it a cadence. Nothing is made until you say yes.
Housekeeping, built in and free
Five jobs run without AI and cost no tokens. You can switch them off or reschedule them, but not remove them.
- Brain health check (every 6 hours).
- Daily backup of the Brain, keeping the newest 7. Restore opens a copy as a new Brain folder; your current Brain stays where it is.
- Tidy the Brain: fades unused agent notes and merges agent-only duplicates. Your own notes are never touched.
- Stale task cleanup.
- Skill review.
While you were away
- A digest of what ran, what passed or failed, what it cost, and what waits for you. It opens by itself when you open the app or bring it back from the tray, never in the middle of your work.
- Desktop notifications only when something needs your approval or fails, and only while the app isn't in front. Several changes become one notification. You can switch them off.
- A richer tray: what needs you, the next scheduled run, Run now, Pause/Resume, and an optional Start with my computer (off by default; not on Linux yet).
The Brain
- Export to Obsidian: a read-only copy of the Brain as Markdown notes with working links. Secrets are never written: they become
[secret removed], and every file is checked again before it is written. An export never overwrites your own files. - A gap found and fixed: the Brain's secret guard now checks a record's source too, not just its title and body.
Installers and updates
- Installers for Windows (
.exe), macOS (.dmgfor Apple silicon and Intel) and Linux (.AppImageand.deb), with aSHA256SUMS.txtto check them against. - Update checks you control: the app asks GitHub Releases whether a newer version exists. Nothing about you is sent, and the per-install ID the updater normally sends is zeroed.
- It's never forced: you choose to download, then when to restart.
- Windows and the AppImage update themselves. On macOS and with the
.debyou get a link to the release page. - There's a switch in Settings to turn checks off.
Accessibility (WCAG 2.2 AA)
- An automated check of every screen, the setup wizard and the dialogs, in both themes and at a small window size, now finds nothing.
- Keyboard-only tests for the main flows: a skip link, focus moving to each screen's heading, approving plans, the cadence form, and dialogs that trap focus and give it back when they close.
- Light theme: status colours and grey text now meet 4.5:1 contrast. Faded content no longer drops below it.
Supply chain
- pnpm now refuses any newly resolved package younger than 14 days.
- The 93 packages that were already locked and younger than that are listed as exact-version exceptions, to be removed as each one ages.
Real end-to-end demo, on the installed app
The Windows installer was installed silently into a scratch folder, and the demo ran on that installed app with a sample project, tiny-text.
| Result | |
|---|---|
| Cadence | "Weekly report", every Saturday at 19:42, set two minutes ahead; then the window was closed to the tray |
| Unattended run | on time, with the window closed: the Scout surveyed, the Queen planned, one writer card, and the Inspector checked it. The merge waited for the user, and a notification was raised |
| Morning digest | opened by itself when the window came back: "1 run, 1 waits for you. 137,910 tokens ($0.58)", and that the next weekly runs are skipped until the merge is approved |
| Merge | reports/weekly.md on main (the week's commits, what the library does, three next steps); node --test passed |
| Time and cost | 2.5 minutes; 4 Claude Code runs, 137,910 tokens ($0.58 reported) |
It passed on the first real run, and the uninstall left nothing behind. The full write-up of Phase 3 is in docs/plans/phase-3-cadence-polish.md.
The first CI run of this release also found real problems, all fixed before the build:
- Two sideways-scrolling areas couldn't be reached by keyboard on smaller screens.
- A folder check ignored case on Windows but not on macOS.
- The
.debpackage lacked a homepage. - On macOS, the digest popped up as windows came and went.
Tests: 1,144 unit tests and 199 end-to-end tests (Playwright driving the real app), including the accessibility checks.
Opening an unsigned installer
These builds are not signed yet. Windows signing comes once the SignPath Foundation approves the project; macOS builds stay unsigned (there is no paid Apple account). Check the file against SHA256SUMS.txt first, then:
- Windows: if SmartScreen says "Windows protected your PC", click More info, then Run anyway.
- macOS: the first time, right-click the app in Applications and choose Open, or use System Settings → Privacy & Security → Open Anyway.
- Linux:
chmod +xthe AppImage and run it, orsudo apt install ./the-insectoids_0.0.3_amd64.deb.
Known limits
- Testing: Windows-tested. The macOS and Linux installers are built and tested by CI, but haven't been tried on a real Mac or Linux PC yet.
- Unsigned builds: see above.
- Updating between releases: a real update can first happen from v0.0.3 to the next version.
- Webhooks: they answer on this computer only. Reaching them from the internet needs a tunnel you run.
- Screen readers: no real screen reader has been tried. The checks are automated rules plus code review.
- Keyboard focus: some buttons can still lose it while they're busy.
- Gemini CLI: built, but on hold (Google no longer serves it for personal plans). Codex is planned.
- The guard: it's one strong layer, not a sandbox. A container sandbox mode is planned for Phase 4.
Help build it
Contributions are very welcome. Start with CONTRIBUTING.md. Please report security problems privately (SECURITY.md).
v0.0.2 — Phase 2 "The Full Hive" (developer preview)
The second version of The Insectoids: the full hive. Eight castes and their managers, two engines with a router that weighs cost, a library that learns, and a Brain that finds things by meaning.
Developer preview. Built and tested on Windows; there is no installer yet. Run it from source; see Run it.
What's new since v0.0.1
The whole hive
- Eight insect castes: coder, tester, reviewer, documenter, designer, researcher, writer and analyst.
- The managers:
- Scout: surveys the code before the Queen plans.
- Foreman: decides on stuck cards.
- Librarian: keeps the Brain and the library tidy.
- Treasurer: routes every run.
- Watchdog: warns, pauses or stops an agent that keeps failing.
Engines and routing
- OpenCode joins Claude Code as a second engine. It runs a free model on your computer (Ollama or LM Studio) or an API provider you add.
- Safe installs: setup and Connections can install an engine, but only after you see the exact command and say yes.
- The Treasurer picks each run's engine, model and effort, and says why in plain words:
- light work goes to the free local model first;
- a card that fails moves up to a stronger model;
- it learns from which runs pass.
- Budgets screen: spend by goal, role and subscription, and the Treasurer's routing history.
Keys stay yours
- The Vault: you type a key into the app once, and it's stored with the operating system's protection.
- The secret broker: agents call services such as GitHub, Notion, Linear and Slack through the broker and never see a key.
A library that learns
- Skills switch on per card.
- When the hive does the same kind of work three times successfully, the Librarian drafts a skill and you decide.
- Imported skills are safety-scanned for hidden instructions, data leaks, risky scripts and secrets before you can approve them.
- Failing or unused skills are proposed for retirement.
The Brain grows up
- Meaning search runs on a small model on your computer; nothing leaves it.
- Notes rank and fade by use.
- Failures turn into lessons.
- A health score, a graph view, a dashboard, and editing with conflict checks.
- A code map of your project (symbols, imports, calls) with no AI involved.
Screens and setup
- A living-hive honeycomb.
- Library, Connections and Budgets screens.
- A full setup wizard with an optional sample goal on a practice project, with its cost shown first.
Real end-to-end demo across two engines
Sample project tiny-text. The goal: add truncate and capitalize with tests, then three usage example pages.
| Result | |
|---|---|
| Engines | Claude Code (Opus plans; Sonnet codes, tests and inspects) and OpenCode with qwen3:8b on this computer through Ollama |
| Plan | 2 waves, 5 cards, 3 castes |
| Free local model | the Scout and all three doc pages, each passing inspection on the first try |
| Learned skill | the three doc cards became a proposed skill, write-function-usage-example-doc; it scanned clean and was approved |
| Merge | 6 files into main; node --test passed on main |
| Meaning search | "shorten long strings" found the truncate work without sharing its words |
| Time and cost | 10 minutes; about 144k Claude tokens ($0.81 reported) plus 71k free local tokens |
It took three real runs, and each early run found something real:
- OpenCode 2.2.5 registered the hive's tools too late, so 2.2.6 is now the minimum.
- The repeated-work check was too strict on real briefs, then too loose about which skills already cover the work.
- A small model got stuck on an unclear file error.
All of these were fixed with tests. The full write-up is in docs/plans/phase-2-full-hive.md.
Tests: 916 unit tests and 141 end-to-end tests (Playwright driving the real app).
Known limits
- Windows-tested; macOS and Linux run in CI but real use there is new.
- On Linux the Vault needs an OS key store (such as GNOME Keyring or KWallet). Without one it stores no keys rather than keep them unprotected.
- Gemini CLI is built but on hold: Google no longer serves it for personal plans. Codex is planned.
- Small local models are good at light work but not reliable yet at surveying code; the Queen checks their findings.
- No installer or auto-update yet (Phase 3).
- The guard is one strong layer, not a sandbox.
Help build it
Contributions are very welcome. Start with CONTRIBUTING.md. Please report security problems privately (SECURITY.md).
v0.0.1 — Phase 1 "First Spark" (developer preview)
The first working version of The Insectoids: a local-first AI operating system organised like a hive. One goal goes all the way through the hive, safely.
Developer preview. Built and tested on Windows; there is no installer yet. Run it from source; see Run it. Uses Claude Code as its engine.
What's in it
The full loop
- You give the Queen a goal and approve her plan.
- Insects (Coder, Tester) work in parallel, each in its own git worktree.
- The Inspector verifies every card against its "done means" list.
- You approve the merge into your branch, and can undo it and merge it again.
- The Brain records every decision, task and outcome.
Six live screens: Queen chat with inline plan approval, Approval inbox (hold-to-approve for destructive items), Taskboard, Hive monitor (model, effort, tokens, cost and live output per agent), Changes & undo (diffs), and a Brain reader.
First-run setup wizard
- Brain folder.
- Claude Code check, with the exact install or sign-in command to copy.
- A short "about you".
- Safety presets: Careful, Balanced and Hands-off.
The Brain
- A local SQLite file with a single writer.
- Trust levels, versions, a secrets guard, full-text search and token-budgeted reads.
- Two doors for agents: an MCP server and a
braincommand.
Safety
- A command guard in front of every agent action. It fails closed: if the guard can't run, the action is blocked.
- Only the hive commits, with
Insect:andCard:trailers on every commit. - Merging into your branch, pushing and publishing always need your approval.
Real end-to-end demo with Claude Code
Two real runs on a sample project (goal: add slugify(text) with tests and docs):
| Run | Result | Time | Tokens | Cost | Cards and retries | Project tests on main after merge and after redo |
|---|---|---|---|---|---|---|
| 1 | Passed | 1.8 min | 83k | $0.53 | 2 cards, 0 retries | 10/10 |
| 2 | Passed | 1.6 min | 82k | $0.51 | 2 cards, 0 retries | 10/10 |
Run 1 found that insects committed by themselves. That was fixed, and run 2 confirmed the fix.
Tests: 434 unit tests and 36 end-to-end tests (Playwright driving the real app).
Known limits
- Windows-tested; macOS and Linux run in CI but are new territory.
- One engine (Claude Code). Codex, Gemini CLI and OpenCode come in Phase 2.
- No installer or auto-update yet (Phase 3).
- The guard is one strong layer, not a sandbox.
Help build it
Contributions are very welcome. Start with CONTRIBUTING.md. Please report security problems privately (SECURITY.md).
Thanks to the projects The Insectoids learned from and adapted; see Credits.