Skip to content
D-CSIL

Project File

Remy — D-CSIL Lab Rat

A terminal-first durable agent runtime. Deterministic policy engine, reversible git-backed edits, sub-agent hive with budget-aware model routing, and Cortex shared memory.

OperationalYour AI research partner never sleeps.

Overview

OBSERVED

Remy is the lab's production coding and research agent — a gateway-first runtime (port 8877) 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.

Safety by Construction

OBSERVED

Policy 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. Remy's tools span filesystem, shell, git, web search and HTTP, email, and native Cortex memory calls.

The Sub-Agent Hive

MEASURED

spawn_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

OBSERVED

The 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 — LAB RAT · GATEWAY ONLINEAUTONOMOUS

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

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 Remy into the Autonomous R&D Lab as its execution arm.