Shepherd is an early-stage Python runtime for building agents and meta-agents around reversible, inspectable execution traces. It records interactions and workspace changes as durable run histories instead of immediately applying an agent's output. Each result can be reviewed, executed separately, selected, merged, released, or discarded. Tasks are declared as Python functions whose signatures and documentation define the agent contract and required resources. Read-only and read-write repository grants are enforced through native operating-system sandboxing on supported macOS and Linux environments. Runs can be forked, replayed, reverted, and supervised, enabling counterfactual experiments, optimization, and training workflows. Shepherd also retains machine-readable records and supports offline deterministic examples, but its APIs may change while the project remains in alpha.

Features

  • Durable and inspectable agent execution traces
  • Reversible run forking, replaying, and reverting
  • Reviewable outputs isolated from working files
  • Function-based task and permission contracts
  • Native sandbox enforcement on macOS and Linux
  • Support for supervision, optimization, and agent training

Project Samples

Project Activity

See All Activity >

Categories

Runtimes

License

MIT License

Follow Shepherd

Shepherd Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Shepherd!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Runtimes

Registered

2 days ago