SuperAPIAI Directory

cli

github.com · AI agents

Shep is an open-source, local-first, MIT-licensed autonomous development cycle orchestrator (CLI tool) that can run multiple AI coding agents in parallel, with each agent working in an independent git worktree, automatically advancing a one-sentence feature description through spec review, implementation, commit, push, CI monitoring, and automatic fixes, and generating a draft pull request (PR). It is not tied to a specific agent or model, and supports any agent CLI such as Claude Code, Kimi Code, Codex CLI, Copilot CLI, Cursor CLI, Gemini CLI, Cline, and others. The default flow is prompt → implement → commit → push → PR; adding --no-fast enables the spec-driven development (SDD) pipeline, managing requirements, research, and plans with YAML artifacts, and setting approval gates before writing code. The repository also provides a Web control center (localhost:4050) for real-time status, diff review, interactive chat, and one-click opening in the IDE. It runs entirely locally, with data stored in SQLite under ~/.shep/; it requires Node.js 22+, pnpm 10+, Git, and GitHub CLI, among other environment requirements.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

Purpose

Shep is an open-source orchestrator for the autonomous development cycle. It is not responsible for writing code itself, but instead manages the entire development process around agents: it creates an independent git worktree and branch for each feature, and drives the agent through the entire process from a one-sentence description to a draft PR. Its official positioning is "Ship features 10x faster," and the title notes built-in Auto: Memory, K8S Agent, and Security (SDD+SDLC).

Main capabilities

  • Run multiple coding agents in parallel: Claude Code, Kimi Code, Codex CLI, Copilot CLI, Cursor CLI, Gemini CLI, Cline, or any agent CLI, with each agent running in an independent worktree to avoid branch conflicts.
  • Default flow: prompt → implement → commit → push → PR. It never touches the current working directory throughout.
  • CI monitoring and automatic fixes: if CI fails, the agent reads the logs and pushes a fix, retrying 3 times by default, configurable.
  • Spec-driven development (SDD): for complex features, add --no-fast to enable the full pipeline—requirements, research, and plans as versioned YAML artifacts, with an approval gate set before writing any code.
  • Web control center: provides real-time status diagrams for all repositories and features at localhost:4050, diff review, interactive chat, and one-click opening in the IDE; whatever the dashboard can do, the CLI can do too.
  • Configuration: shep settings workflow sets the default workflow, while shep settings agent, shep settings model, and shep settings ide configure the agent, model, and IDE respectively.
  • Agents can be replaced at any time per feature or per repository, with no lock-in at either the tool layer or the model layer.

Usage

The official description says "from zero to opening a PR in just three commands." Environment requirements: Node.js 22+, pnpm 10+, Git, GitHub CLI (gh), and an authenticated agent CLI (claude, kimi, codex, copilot, cursor-agent, gemini, or cline; note that Cursor's binary is cursor-agent rather than cursor). If you don't want to install it, app.shep.bot can run Shep for free in the browser.

After creating a new app, subsequent features will be attached under that app: create them in the app folder, or use Add feature on the app page. If you already have code, run shep feat new in that repository, or open the folder from Apps. In the Web UI, it's Apps → New app. For a monorepo, you can use --repo to limit the feature scope.

For common commands, see docs/cli/commands.md (all commands and arguments); for the CLI layer architecture, see docs/cli/architecture.md.

Use cases

  • When advancing 3–5 parallel features at the same time, Shep handles the surrounding management such as worktrees, commits, pushes, PRs, CI monitoring, and retries, while the agent itself only writes code.
  • Team use: Shep runs locally per developer, and features are just branches and PRs, following the existing review process.
  • Large codebases: it can work; the practical limit is the agent's context window rather than Shep.

Limitations and security notes

  • Shep runs entirely on your machine, and all data is stored in SQLite under ~/.shep/; code is only sent to the agent you configure and is subject to that agent's own terms. Shep itself only sends usage metrics (which can be turned off).
  • Permissions: Shep runs the agent non-interactively and by default passes permission-bypass flags (such as Claude Code's --dangerously-skip-permissions; each agent has its own equivalent). There are three layers of safety net: worktree isolation, draft PRs, and CI pipelines. The bypass flag is the default rather than mandatory; you can independently configure the agent's permission model for tighter control. Some agents restrict network access by default; if npm install fails within a feature, you need to allow the corresponding hosts in the agent settings.
  • Shep is an orchestration layer, not a security scanner: if CI doesn't find a vulnerability, neither will Shep.
  • When the agent writes bad code: Shep opens a draft PR and runs CI; if tests fail, the agent reads the logs and tries to fix it (up to 3 times, configurable), then pauses and notifies you. Shep never merges code that fails CI.
  • When the agent gets stuck: the feature enters the Blocked state and you receive a notification, and you can provide feedback, restart from a checkpoint, or take over; the code is a standard git worktree on a named branch and can be opened in your IDE at any time.
  • Telemetry: usage metrics are enabled by default and record which commands, pages, and features were used, how runs ended, and whether PRs were merged; content is never recorded. Identity fields (account ID hash, GitHub username and owner) are disabled by default and are only sent after running shep telemetry identity on. shep telemetry show prints the exact content that will be sent; shep telemetry off turns everything off. See docs/telemetry.md for details.
  • When you are not yet in a git repository, Shep initializes it for you: git init, create a branch, then start.

Architecture and contribution

It uses Clean Architecture with four layers, and official resources include a 10-minute architecture tour and full architecture documentation. Shep is open source and AI-native, and one of its native capabilities is helping itself onboard contributors: after cloning, run pnpm dev:cli doctor, pick a good first issue, and submit a PR within 30 minutes. Related resources include the contribution guide (humans start with CONTRIBUTING.md, AI agents use CONTRIBUTING-AGENTS.md), good first issues, the roadmap, architecture docs, Discord, and the MIT license (see LICENSE).

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools