Framework · Coding Agents

Plandex

Open-source terminal AI coding agent for large projects: stages edits and command execution in a cumulative diff-review sandbox, supports configurable autonomy from full-auto to step-by-step, and version-controls every plan with branches.

Description

Plandex is a Go terminal agent aimed at multi-file, large-scope coding tasks. Its central idea is a sandbox of tentative changes: AI-generated diffs sit outside the project files until reviewed and applied. Plans are first-class objects with their own version history and branches, so multiple paths or model comparisons can run side by side. Autonomy is a slider - None, Basic, Plus, Semi-Auto, Full-Auto - controlling what the agent may do without confirmation. A REPL with fuzzy completion and tree-sitter-driven project maps round out the loop.

Solution

Plan-and-execute over a tentative-diff sandbox. The user gives a task; Plandex builds a project map, drafts a plan, generates diffs and commands inside the sandbox, optionally runs commands with rollback, and only applies edits to project files when the user (or the configured autonomy level) accepts them. Plans are versioned; branches let multiple plans coexist.

Primary use cases

  • long-running multi-file refactors in a terminal
  • tentative-diff review before files mutate
  • configurable autonomy from step-by-step to full auto
  • branching plans for exploring alternatives

Open the full interactive page

Diagram, neighbourhood map, code examples, related patterns and full provenance.

Related