Project File
D-CSIL LabRats
The lab's agent program: durable, terminal-first agent runtimes with a deterministic policy engine, reversible git-backed edits, budget-aware model routing, and Cortex shared memory. Remy leads on a cloud model; Justin assists from a second instance on a local one.
Overview
OBSERVEDLabRats is the lab's production coding and research agent program — a gateway-first runtime where every UI is just a client. It consolidated and replaced the earlier Hermes and OpenClaw agents, importing their Telegram and email identities. Its live session database was last written the day of this inventory.
Two Rats, Two Model Tiers
OBSERVEDRemy and Justin are identities assigned to running agents, not separate codebases. Remy is the lead agent and runs against a cloud model. Justin is the LabRat Assistant, working from a second instance against a local model.
The split is the point: the expensive reasoning tier is spent where judgment is actually needed, while a local model carries assistant work at no marginal cost and with nothing leaving the machine. It is the same preference the sub-agent router encodes as prefer_local, applied one level up — to the agents themselves rather than to the workers they spawn.
Safety by Construction
OBSERVEDPolicy is deterministic, not model-driven: an allow/deny engine gates every tool call across ask/plan/edit/auto modes. Every file edit is a reversible git-backed checkpoint with an inspectable tool timeline. Their tools span filesystem, shell, git, web search and HTTP, email, and native Cortex memory calls.
The Sub-Agent Hive
MEASUREDspawn_agents launches concurrent sub-agents, each with its own model, routing strategy (prefer_local, cheapest, fastest, best…), capability requirements, fallback chain, and token/cost budget. The router live-probes Ollama, LM Studio, MLX-LM, llama.cpp, vLLM, and LocalAI alongside cloud providers. Verified live: five sub-agents across four providers ran concurrently, a dead endpoint triggered automatic failover, and a $0.02 cloud budget correctly forced a reroute to local. 35/35 router tests pass.
Identity
OBSERVEDThe Soul package gives Remy a persistent identity, mood, and 'whisker nudges'; a Cortex project named remy-brain is pulled into every system prompt, so the rat remembers who it is.
remy› watch --run helix-200m-foundation-35b
gateway online · policy mode: auto · session persisted (labrat.db)
step 120,140 · loss 2.824 · val ppl 39.4 · 2,902 tok/s · mem 12GB peak
remy› cortex_search('thermal throttle signature')
cortex (bailey) · 3 memories · scope: project/helix
remy› spawn_agents --route prefer_local --budget cloud=$0.02
5 workers: ollama ×2, mlx-lm ×2, gemini ×1 · budgets enforced
report → cortex writeback · checkpoint step_0120000.npz verified
The Lab Rats

Remy
LabRat Lead · Cloud Model
The lead agent: deterministic policy engine, git-backed reversible edits, Cortex memory, and a budget-aware sub-agent hive. Runs against a cloud model, where the reasoning tier earns its cost.

Justin
LabRat Assistant · Local Model
The assistant, working from a second instance against a local model — delegated work at no marginal cost, with nothing leaving the machine.
Current Limitations
- −Multi-agent colony, workflow engine, browser-automation worker, and voice are designed but not yet built.
- −Desktop app is a Tauri scaffold; the CLI is the primary product.
Next Steps
- +Slice 4: full multi-agent colony on the verified router.
- +Wire the LabRats into the Autonomous R&D Lab as its execution arm.