Sunday, August 9, 2026

Shepherd

1,914Must watch
Demo

Git-like reversible runtime for agent runs — fork, replay, and supervise work instead of trusting a flat log.

Why it matters

Shepherd is a runtime substrate that records every agent run as a durable, inspectable execution trace. Model calls, tool use, and filesystem changes become commits in a copy-on-write world shared by the agent and its environment. Meta-agents can observe that stream, fork from any past state, replay with high KV-cache reuse, and revert without rebuilding the whole sandbox from scratch.

Long agent jobs fail halfway and leave you guessing what happened. Founders shipping unattended coding or ops agents need a real undo button and a place for a second model to supervise the first. Shepherd turns messy runs into reviewable proposals you can select, apply, or discard before they touch production files.

How it works

Install with pip install shepherd-ai, run shepherd init in a workspace, and define tasks as typed Python functions whose signatures are the permission surface. A Claude or offline agent fulfills the task inside a sandbox; outputs land as retained proposals, not live writes. Use shepherd run select, apply, or discard on the run id, and grant ReadOnly or ReadWrite per bound repo so the OS jail (Seatbelt or Landlock) enforces it at syscall time.

This is not another coding agent UI or skill pack. It is infrastructure under the agent — Git-style traces, fast CoW forks, retained outputs, and a meta-agent surface for train, compress, and supervise loops — with a paper and early product CLI already shipping.

Capabilities

Demo
  • Public demo available

Similar tools

agent-runtimemeta-agentsexecution-traces
Source ↗

Via github

X