by shep-ai
Run Claude Code, Cursor, and Gemini CLI coding agents in parallel, each in its own isolated workspace
# Add to your Claude Code skills
git clone https://github.com/shep-ai/shepManage 10 features at once — isolated branches, automatic commits, CI watching, and PRs — from a dashboard or the terminal.
Quick Start · How It Works · Features · Trust & Safety · FAQ
You're already using AI coding agents. The problem isn't the coding — it's everything around it.
Switching branches. Stashing changes. Watching CI. Assembling PRs. Losing context when you juggle three things at once. One agent session is fine. Five is chaos.
Shep gives each feature its own isolated world — a git worktree, a branch, an agent session — and handles the boring parts: committing, pushing, opening PRs, watching CI, and fixing failures. You manage it all from one dashboard or the CLI.
shep feat new "add stripe payments" --push --pr
shep feat new "add dark mode toggle" --push --pr
shep feat new "fix login redirect bug" --push --pr
# Three agents running in parallel. Zero branch conflicts. You monitor from one place.
nvm)gh) — install guideclaude · Cursor CLI: cursor · Gemini CLI: geminiSandbox mode note: Some agents restrict network access by default. If operations like
npm installfail, configure allowed hosts in your agent's settings or disable sandbox for Shep features. See Agent Permissions.
# Try it instantly — no install needed
npx @shepai/cli
# Or install globally
npm i -g @shepai/cli
# Start Shep — opens the web dashboard at localhost:4050
shep
cd ~/projects/my-app # Any git repo. Shep uses the repo you're in.
shep feat new "add a /health endpoint that returns uptime and version" --push --pr
# Shep creates a worktree, runs your agent, commits, pushes, and opens a PR.
Not in a git repo? Shep initializes one for you — git init, creates a branch, and starts working.
Or use the dashboard — describe what you need, configure automation, and hit create:
shep feat new "add stripe payments" --push --pr
shep feat new "add dark mode toggle" --push --pr
shep feat new "refactor auth middleware" --push --pr
# All three run simultaneously in the same repo. Each in its own worktree.
Launch from CLI or dashboard — monitor everything in one place. Open any feature in your IDE, terminal, or file manager with one click:
Or work across multiple repos:
shep feat new "add payments" --repo ~/projects/backend --push --pr
shep feat new "add checkout UI" --repo ~/projects/frontend --push --pr
Manage multiple repos from one dashboard. Start a local dev server per feature, chat with Shep for questions or HTML previews — all without leaving the UI:
The default flow is simple: prompt → implement → commit → push → PR.
You describe Agent codes Shep commits Shep pushes Shep opens
a feature → in a worktree → the changes → to remote → a PR
Shep creates an isolated git worktree, hands your prompt to the agent, and handles everything after: committing, pushing, and opening a PR. If CI fails, Shep reads the logs, fixes the issue, and retries (configurable).
Every step of the pipeline is configurable. Turn things on or off per feature or set defaults:
| Flag | What it does | Default |
|------|-------------|---------|
| --push | Auto-push after implementation | off |
| --pr | Auto-create PR after push | off |
| --fast | Skip spec-driven phases, go straight to coding | on |
| --allow-merge | Auto-merge the PR after CI passes | off |
| --allow-all | Enable all automations | off |
| --model | Choose which AI model to use | agent default |
| --attach | Attach reference files for context | — |
Use shep settings workflow to set your defaults so you don't repeat flags.
For complex features, enable the full structured pipeline with requirements, research, and planning phases:
# Disable --fast to get the full pipeline
shep feat new "redesign the payment system" --no-fast --push --pr
This adds approval gates where Shep pauses for your review:
Prompt → Requirements → Research → Plan → Implement → Commit → PR
▲ ▲ ▲
Gate 1: PRD Gate 2: Plan Gate 3: Merge
Each gate produces a YAML artifact you can read, edit, and approve before the agent continues. Use --allow-prd and --allow-plan to auto-approve individual gates, or keep them manual for full control.
Run multiple features at once. Each gets its own git worktree — isolated branch, isolated files, zero conflicts. Monitor all of them from one dashboard.
One command: shep feat new "do X" --push --pr. Agent implements, Shep commits, pushes, opens a PR. Done.
Use Claude Code, Cursor CLI, or Gemini CLI. Swap per feature, per repo, anytime. If it runs in a terminal, Shep can orchestrate it.
Two ways to manage everything. The dashboard at localhost:4050 shows a visual graph of all repos and features with real-time status, diff review, and interactive chat. The CLI gives you the same control from the terminal.
Shep watches your CI pipeline after push. If it fails, the agent reads the logs, diagnoses the problem, and pushes a fix. Retries are configurable (default: 3). Works best when CI produces clear error messages.
Push, PR, merge, CI watch, CI fix retries, timeouts, model selection, agent type — configure per feature with flags or set global defaults with shep settings. Nothing is hardcoded.
All data lives in ~/.shep/ as SQLite. No cloud, no account, no tracking. Your code is only sent to whichever AI agent you configure, under that agent's own terms.
When you need more structure — requirements, technical research, implementation plans with approval gates. Produces versioned YAML artifacts you review before any code is written. Enable per feature with --no-fast.
Blocked state. You get notified and can provide feedback or restart from a checkpoint.shep agent stop <id> or hit the stop button in the dashboard. The worktree is preserved — resume or take over manually.Shep runs entirely on your machine.
| Concern | How Shep handles it |
|---------|-------------------|
| Data stays local | All data in ~/.shep/ as SQLite. Nothing sent to Shep servers — there are none. |
| Agent permissions | Shep runs your agent with permission-bypass flags to avoid blocking the automated pipeline. See Agent Permissions below. |
| Git isolation | Every feature runs in its own worktree branched from main. Your working directory is never modified. |
| No credential access | Shep never reads, stores, or transmits your API keys. |
| Agent mistakes | Shep creates a draft PR. Your CI, linters, and security scanners run before any merge. Shep does not merge code that fails CI. |
| Review before merge | Unless you pass --allow-merge, no code is merged without your approval. |
| Full audit trail | Every action and state transition is logged. View with shep feat logs <id>. |
Shep runs your agent non-interactively — it can't pause for "allow this command?" prompts mid-pipeline. By default, it passes permission-bypass flags (e.g., `--dangerously-skip-perm
No comments yet. Be the first to share your thoughts!