whatisgithub

What is plandex?

plandex-ai/plandex — explained in plain English

Analysis updated 2026-06-24

15,360GoAudience · developerComplexity · 3/5Setup · easy

In one sentence

A terminal AI coding agent built for large, multi-file tasks that keeps AI-generated changes in a sandbox for review before touching your codebase, with version control and support for mixing AI models.

Mindmap

mindmap
  root((plandex))
    What it does
      AI coding agent
      Multi-file task execution
      Sandbox review model
    Key features
      Change sandbox
      Built-in version control
      Model mixing packs
      Autonomous mode
    Supported models
      Anthropic Claude
      OpenAI GPT
      Google Gemini
    Use cases
      Large refactors
      Feature implementation
      Automated debugging
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Delegate a complex multi-file refactor to an AI agent and review every change before it touches your actual codebase.

USE CASE 2

Run a fully autonomous coding session where the agent plans, implements, executes commands, and debugs a feature end-to-end.

USE CASE 3

Mix models from Anthropic, OpenAI, and Google on a single task using curated model packs to balance cost and quality.

USE CASE 4

Use built-in version control to branch, explore an alternative implementation, and roll back if it doesn't work.

What is it built with?

Go

How does it compare?

plandex-ai/plandexmikefarah/yqhelm/charts
Stars15,36015,38715,417
LanguageGoGoGo
Setup difficultyeasyeasyhard
Complexity3/51/51/5
Audiencedeveloperops devopsops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Windows users must use WSL, requires API keys for the AI model providers you choose to use.

So what is it?

Plandex is a terminal-based AI coding agent designed for large coding tasks and real-world projects, the kind that span many steps and touch dozens of files. Rather than just suggesting a snippet, it aims to plan and execute substantial pieces of work end-to-end, while keeping you in control. The way it works is built around a sandbox review model. AI-generated changes are kept separate from your actual project files until you decide to apply them, so you can review every modification, roll things back, and debug without leaving a mess behind. Command execution is gated in a similar way. It uses tree-sitter (a code-parsing tool) to build project maps, which lets it stay reliable across large codebases, the README claims an effective context window of around 2 million tokens with its default model pack, and supports indexing directories of 20 million tokens or more. A key idea is that you can mix and combine models from providers like Anthropic, OpenAI, Google, and open source options, using curated "model packs" that trade off capability, cost, and speed. Other features include automated debugging of terminal commands and browser apps, full version control with branches for exploring alternatives, and Git integration with commit-message generation. You would reach for Plandex when other AI coding tools break down on bigger projects, large files, complex refactors, or features touching many files at once. You can run it in fully autonomous mode where it loads files, plans, implements, runs commands, and debugs on its own, or use step-by-step review. It is written in Go, installs with a one-line shell command, and supports Windows only through WSL.

Copy-paste prompts

Prompt 1
Using Plandex, implement a REST API endpoint in my Go project that accepts JSON, validates it, and writes to a Postgres database.
Prompt 2
Have Plandex refactor my entire authentication module to replace JWT tokens with session cookies, touching all relevant files.
Prompt 3
Set up a Plandex autonomous session to add unit tests across my Python project and fix any test failures it discovers.
Prompt 4
Use Plandex to migrate my Express app from CommonJS to ES modules, updating all imports and the package.json config.
Prompt 5
In Plandex, create a feature branch, implement a dark mode toggle in my React app, and show me the full diff before applying.

Frequently asked questions

What is plandex?

A terminal AI coding agent built for large, multi-file tasks that keeps AI-generated changes in a sandbox for review before touching your codebase, with version control and support for mixing AI models.

What language is plandex written in?

Mainly Go. The stack also includes Go.

How hard is plandex to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is plandex for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.