Git-native control plane for auditable agent work.
Put coding agents on a governed Git workflow.
AgentPlane is a local CLI for agent-driven development inside a git repository. It runs in your repo, not in a hosted runtime, and adds visible workflow artifacts such as AGENTS.md or CLAUDE.md, .agentplane/, task records, verification state, and deterministic closure. Teams trust it because approvals, task state, verification, and finish are explicit instead of implied. Use agentplane when you want agents to work inside a governed repository workflow rather than as an opaque assistant.
AgentPlane is a repository-native workflow layer for agent work.
It does not replace git, your editor, or your terminal. It sits inside an existing repository and gives agent execution a visible operating model:
- a policy gateway in the repo root
- a repo-local workspace in
.agentplane/ - task state with ownership and dependencies
- verification and closure recorded in the repository
- workflow modes for both short loops and stricter team integration
Teams use AgentPlane when "just let the agent change files" is not enough.
- Trust comes from visible state. Approvals, task transitions, verification, and finish are all recorded in the repo.
- The workflow stays local and inspectable. There is no hosted control plane sitting between your repository and your team.
- Agents work inside git, not around it. Commits, review points, and closure remain explicit.
- You can pick the right integration style. Use
directfor short loops orbranch_prfor stricter handoff and integration.
A repository using AgentPlane typically includes a small set of visible artifacts so the workflow stays legible to both humans and agents.
AGENTS.md or CLAUDE.md Policy gateway for the repository
.agentplane/ Repo-local workspace and workflow state
.agentplane/config.json Current repo configuration
.agentplane/tasks/ Per-task records
.agentplane/WORKFLOW.md Materialized workflow contract
.agentplane/tasks.json Optional exported task snapshot derived from the current backend projection
These files matter because they make agent work inspectable. A reviewer can see what policy governs the repo, what task is active, what was verified, and how the task was closed.
Install the CLI:
npm install -g agentplaneInitialize your repository and print the built-in startup guide:
agentplane init
agentplane quickstartagentplane init creates the repo-local workflow surface: a policy gateway file (AGENTS.md or CLAUDE.md), .agentplane/config.json, built-in agent profiles, task storage, and workflow state such as .agentplane/WORKFLOW.md.
The default path is direct, and the daily loop starts with a task instead of a free-form prompt:
agentplane task new --title "First task" --description "Describe the change" --priority med --owner DOCS --tag docs
agentplane task plan set <task-id> --text "Explain the plan" --updated-by DOCS
agentplane task start-ready <task-id> --author DOCS --body "Start: ..."
agentplane task verify-show <task-id>
agentplane verify <task-id> --ok --by REVIEWER --note "Looks good"
agentplane finish <task-id> --author DOCS --body "Verified: ..." --result "One-line outcome" --commit <git-rev>If your repository requires explicit plan approval, run agentplane task plan approve <task-id> --by ORCHESTRATOR before agentplane task start-ready.
If you need structured worktrees and PR-style integration, switch to branch_pr before you begin active work:
agentplane config set workflow_mode branch_prFor exact flags and recovery paths, use:
AgentPlane supports two integration styles.
- single checkout
- short loops in the current working tree
- good for solo work and fast iteration
- default mode after
agentplane init
- structured per-task branch or worktree flow
- explicit PR artifacts under
.agentplane/tasks/<task-id>/pr/ - better fit when integration must stay separate from implementation
- use it when the repository needs stricter handoff and integration discipline
The difference is workflow discipline, not product tiering.
The normal happy path is short and explicit:
- Run preflight and inspect the current repo state.
- Create the task and record the plan.
- Start the task with
agentplane task start-ready. - Implement the change in the repository.
- Print
Verify Stepsand record the result withagentplane verify. - Close the task with
agentplane finish.
Under direct, finish creates the deterministic close commit by default. Under branch_pr, integration stays more structured and PR-oriented.
Use AgentPlane when:
- you want agents to work inside a real git repository
- you need explicit approvals, task state, verification, and closure
- you want repo-local artifacts that show what happened and why
- you need a governed workflow instead of a chat-style assistant loop
Do not use AgentPlane when:
- you are looking for a hosted agent platform
- you want a generic prompt framework
- you want the tool to hide git or replace your editor
Start here:
Developer and release docs:
If you need the deeper execution philosophy, keep it below the product surface:
Contributions are welcome. See CONTRIBUTING.md.
MIT
