|
One more thing…
Northeastern & Stanford · Agent substrate
Meet Shepherd: An Open-Source Python Substrate That Lets Meta-Agents Fork, Replay, and Revert Any Agent Run
Your agent is at step ten. It misreads a traceback and rewrites a file that was already correct. You have two options and you hate both. Patch forward, and the context grows and the token bill grows with it. Restart, and you re-pay every model and tool call while reproducing nothing exactly, because the run was never deterministic.
What you actually want is step eight. No runtime could give it to you, because Git versions files — not a live process, not a dev server, not a warm prompt cache. Shepherd records every agent-environment interaction as a typed event in a Git-like trace, and each commit covers the agent process and the filesystem together, copy-on-write. A rewind restores live state, not just files.
The research team reports forks 5× faster than Docker and over 95% prompt-cache reuse on replay. Once a run is forkable a meta-agent can sit on top of it: a live supervisor raised CooperBench pair-coding pass rates from 28.8% to 54.7%, and forking rollouts at selected turns moved TerminalBench-2 from 34.2% to 39.4%. MIT-licensed, pip install shepherd-ai, Python 3.11+, early alpha.
Read on Marktechpost →
◆ Paper
◆ PyPI
◆ Project page
|