Paper Overview
- Field: Machine Learning (ML)
- Authors: Simon Yu, Derek Chong, Ananjan Nandi
- Published: 2025-05-09
- arXiv: 2505.07236
- Shepherd treats meta-agent operations on target agents as formal functions, with core operations mechanically verified in the Lean theorem prover.
- Every agent-environment interaction is captured as a typed event in a Git-like execution trace, so any past state can be forked and replayed.
- Forking an agent process and its filesystem is 5x faster than Docker.
- Replay achieves >95% prompt-cache reuse.
- The model is demonstrated through three applications.
Abstract
We introduce Shepherd, a functional programming model that formalizes meta-agent operations on target agents as functions, with core operations mechanized in Lean. Shepherd records every agent-environment interaction as a typed event in a Git-like execution trace, enabling any past state to be forked and replayed. The system forks the agent process and its filesystem 5x faster than Docker, achieving >95% prompt-cache reuse on replay. We demonstrate the model through three applications...
Key Points
*Auto-collected on 2026-05-13*