#3030th of 54 in Agent and MCP starters

shepherd

Python runtime that records agent runs as reviewable, reversible traces

Stars
2.6k
License
MIT
Last commit
Sep 2026
Last release
Sep 2026
Language
Python
Stars, last 20 weeks+2,629
23 Jun 2026: 1 stars30 Jun 2026: 3 stars7 Jul 2026: 1,055 stars14 Jul 2026: 1,394 stars21 Jul 2026: 1,500 stars28 Jul 2026: 1,568 stars4 Aug 2026: 1,605 stars11 Aug 2026: 2,262 stars18 Aug 2026: 2,312 stars25 Aug 2026: 2,360 stars1 Sept 2026: 2,378 stars8 Sept 2026: 2,390 stars15 Sept 2026: 2,402 stars22 Sept 2026: 2,427 stars29 Sept 2026: 2,462 stars6 Oct 2026: 2,469 stars13 Oct 2026: 2,478 stars20 Oct 2026: 2,485 stars27 Oct 2026: 2,489 stars3 Nov 2026: 2,500 stars10 Nov 2026: 2,630 stars

1 on 23 Jun 20262,630 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Shepherd is a Python framework where a task is a bodiless function whose signature and docstring define what a sandboxed agent (e.g. Claude via the claude CLI) must do. Agent output is held as a retained changeset that you inspect, then select, apply, release or discard. Write permissions come from type annotations such as May[GitRepo, ReadOnly], enforced by macOS Seatbelt or Linux Landlock. The project is in early alpha.

Who it is for: Engineers building supervised, sandboxed agent workflows in Python

Strengths

  • Agent writes land as retained outputs; nothing touches your files until you accept
  • Per-repository ReadOnly/ReadWrite grants declared in the signature, enforced at the syscall
  • Offline quickstart with a deterministic provider needs no API key
  • Three-way merge of a candidate onto a workspace that has moved on

Weaknesses

  • Early alpha; README warns APIs may change between releases
  • Windows unsupported; WSL required
  • Linux Landlock enforcement runs only in a privileged container
  • Grants are whole-profile per binding; sub-path grants not supported yet

What it needs

  • Python, Claude (via claude CLI, subscription or ANTHROPIC_API_KEY), deterministic offline provider
  • Needs Python 3.11+, claude CLI (for the agent quickstart)
  • Docker
  • env example file

Quick answers

Is shepherd open source?

Yes. Its code is on GitHub under the MIT license.

Can you run shepherd with Docker?

Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.

Also in Agent and MCP starters

See all 54
Also in Agent and MCP starters
RankProjectScore
1deepseek-harnessPlugin-based agent harness from DeepSeek with a local Web UI278.8k stars+32,022 (+13%) in 30 daysMIT98 out of 100
2composioTypeScript and Python SDKs that give agents authenticated tools across 1000+ apps31k starsMIT92 out of 100
3conductorDurable workflow engine that orchestrates microservices and LLM agents from JSON32.5k stars+251 (+0.8%) in 30 daysApache-2.091 out of 100
#4mcp-useTypeScript framework for building MCP servers with React Views and an Inspector Live demo ↗ (opens in a new tab)10.9k stars+131 (+1.2%) in 30 daysMIT87 out of 100
#5a2uiProtocol and renderers for agents to stream native UI instead of text Live demo ↗ (opens in a new tab)17.1k stars+418 (+2.5%) in 30 daysApache-2.086 out of 100