Skip to content

v0.0.2 — Phase 2 "The Full Hive" (developer preview)

Choose a tag to compare

@Sanit-mann Sanit-mann released this 14 Nov 06:19
· 40 commits to main since this release

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).