shepherd-agents/shepherd
A runtime substrate that turns an agent's execution into a reversible, Git-like trace, so meta-agents can observe, fork, replay, and revert any run. Couples agent and environments in a copy-on-write fork ~5x faster than docker commit, with ~95% KV-cache reuse on replay. Framework built for meta-agents to supervise, optimize, and train other agents observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 96
- Release rhythm 92
- Longevity 5
Flags: young
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1
- age_days: 70
- days_rel: 56
- days_push: 24
- n_releases_24m: 4
Adoption not part of the score
2376 stars · 205 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Shepherd is a Python runtime substrate that records LLM agent executions as reversible, Git-like traces so meta-agents can inspect, fork, replay, and revert any run. It couples agents with copy-on-write forked environments and enforces OS-level permissions, enabling supervision, counterfactual optimization, and tree-search RL over other agents.
Use cases
- supervise and intercept risky actions from parallel coding agents
- replay agent runs from a past state to test workflow edits
- fork agent execution to explore alternative trajectories
- train agents with tree-search reinforcement learning over execution traces
- run sandboxed agent tasks whose file changes arrive as reviewable proposals
- revert an agent's environment to any prior state quickly
- build meta-agents that coordinate, halt, or repair other agents
When to choose
- you need runtime observability and reversibility over LLM agent executions
- you are building meta-agents that manage, optimize, or train other agents
- you want sandboxed agent tasks with OS-enforced permission grants and reviewable changesets
- you need fast forking/replay of agent environments for counterfactual or RL experiments
When to avoid
- you need Windows support (only macOS and Linux enforce grants; use WSL)
- you need a production-stable framework (it is early alpha with changing APIs)
- you just want a simple chatbot or agent loop without trace/replay machinery
Facets
framework · maturity experimental
agent-framework workflow-automation mcp tracing llm-inference reinforcement-learning large-language-models developer-tools reinforcement-learning python cli meta-agents execution-traces reversibility copy-on-write kv-cache-reuse agent-supervision tree-search-rl counterfactual-optimization permissions sandboxed-agents sandboxing replay ai-agents automation macos linux
3 sources
- readme: https://github.com/shepherd-agents/shepherd · fetched 2026-08-28 · a181f2508327
- homepage: https://shepherd-agents.ai/ · fetched 2026-08-29 · 2e3baf2b134a
- site_page: https://docs.shepherd-agents.ai/ · fetched 2026-08-29 · 3a2b1b8dbf31
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| shepherd-agents/shepherd | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="shepherd-agents/shepherd")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem