Trama – Stop writing agent orchestration
Versioned code artifacts replace static LangGraph definitions for persistent runnable agent workflows.
Deterministic agent runtime with explicit plans, typed tools, permissions, and replay. Implements Google DeepMind's Intelligent AI Delegation framework. Named after ELP's Karn Evil 9.
First public implementation of DeepMind delegation paper. Tested on Zork with governance that blocked 'attack'.
AI engineers building multi-agent systems, financial services (HFT, trading), aerospace/safety-critical applications requiring auditability
LangChain · Crew.ai · Autogen
KarnEvil9 is a TypeScript runtime that implements the DeepMind delegation paper from earlier this year (Tomasev et al.). The core idea is pretty simple: every action goes into a SHA-256 hash-chain journal, agents earn trust through a Bayesian scoring model, and there are actual economic stakes via escrow bonds. If an agent screws up, it loses its bond. If it keeps failing, the futility monitor kills the loop.
The fun part was testing it on Zork I. I set up three agents in a swarm: one plans moves, one executes them against a Z-machine, one independently verifies game state. The governance layer immediately blocked the agent from attacking the troll because it classified "attack" as high-risk. Took me a while to realize the fix wasn't to whitelist attack commands, it was to make the system trust-aware so an agent with a good track record can take riskier actions.
The other thing I didn't expect: when Eddie (the autonomous agent that runs 24/7 on this) hit the Anthropic API credit wall, the futility monitor halted everything, and Eddie's next plan included switching to cheaper models for routine code reviews. Nobody told it to optimize costs. That came out of the delegation framework's cost-awareness primitives.
Happy to answer questions. https://oldeucryptoboi.com
Versioned code artifacts replace static LangGraph definitions for persistent runnable agent workflows.
Another agent framework when LangChain and LlamaIndex already dominate.
BEAM kernel with deterministic replay solves agent state durability problems.
Snapshots active Wasm memory to migrate agents edge-side, cutting context latency.
TypeScript agent runtime with HITL and cost tracking, but crowded against Replicate, Modal, and LangGraph Cloud.
Sandbox agents via natural-language policy, not ambient authority—genuinely novel approach.