Reset the habitat
Copy the exact world snapshot for every run. Pin task, world, grader, and seed so the comparison has a controlled baseline.
A living lab for tool-using agents
Grow repeatable agent behavior inside a sealed office ecology—email, calendar, files, chat, and CRM—before a single action reaches a real customer or system.
The problem / unsafe evaluation
Agent quality is contextual. A model can produce a plausible answer while skipping policy, mutating the wrong record, or taking the right action for the wrong reason.
“Did it work?” is not enough. You need to know what the agent read, what it changed, and whether the world was identical.
Terrarium replaces shared sandboxes and mocked return strings with a resettable stateful environment. Every tool call, read, write, and resulting state transition becomes part of the evidence.
The product thesis
A credible comparison starts with environmental control, retains the behavioral trace, and ends with evidence tied to state.
Copy the exact world snapshot for every run. Pin task, world, grader, and seed so the comparison has a controlled baseline.
Record every dispatched tool call, read, write, latency, and payload. The trajectory is evidence, not debugging exhaust.
Evaluate what changed and how it changed. Keep failure and undetermined outcomes explicit instead of forcing a flattering mean.
Evidence / bundled assay TRM-01
These are the actual results in the repository: one task, seed 42, three recorded traces, three criteria, and a deliberate failure.
State + trajectory evaluations passed by each specimen
One passing trace: policy read → CRM update → customer reply
The failure still sends a reply. Its trace proves that policy was never read and CRM was never triaged—evidence a final answer hides.
Architecture / deterministic by construction
The CLI, app modules, and MCP-shaped stdio surface share one world dispatch path. No hidden evaluation service is required.
Fixture, success criteria, mutations, and content hashes become a TaskSpec.
An exact SQLite snapshot becomes an isolated run world.
Five app modules expose 15 tools through the same logged call path.
State and trajectory graders emit a portable run bundle and static report.
$ git clone https://github.com/Aneesh-Pothuru/terrarium
$ cd terrarium
$ make demo
TERRARIUM demo: replayed 3 bundled runs
report: docs/demo/index.html
Interactive observatory
Select a recorded behavior culture. Start, pause, step, or reset the interactive replay. Watch tool activity move through the chamber, world state mutate, and criteria resolve from vendored evidence. Installed live sessions use the persistent HTTP service in the repo.
Launch the observatory →About / honest alpha
Terrarium v0.1 is a transparent research substrate, not a claim of production-complete orchestration or full protocol conformance.