Plandex

Plandex

by Plandex AI

Open-source terminal AI coding agent for completing large, complex development tasks

Open Source Expert Systems macOS Linux Windows
Visit Product
335 upvotes 3,515 views

About

Plandex is an open-source, terminal-based AI coding agent designed to tackle the kinds of complex, multi-file development tasks that shorter AI interactions can't handle. While tools like GitHub Copilot excel at single-function completions, Plandex is built for tasks that might take a developer hours or days: implementing a new feature across multiple files, refactoring a module, or building an entire subsystem from scratch.

The tool works by maintaining a "plan" — a structured sequence of changes across multiple files — that the AI executes incrementally with review checkpoints. Before applying any changes, Plandex shows a diff of every proposed modification, allowing developers to approve, reject, or modify individual changes. This careful, reviewable approach prevents the AI from making sweeping unreviewed changes while still enabling large-scale automation.

Plandex integrates with all major LLM providers and can be used with OpenAI's models, Anthropic's Claude, or local models via Ollama. Its context management system intelligently loads only the relevant parts of large codebases into the LLM context, making it practical to use on projects with hundreds of files.

Product Features

- Terminal-based AI coding agent
- Multi-file plan execution with change previews
- Incremental diff review before applying changes
- Context management for large codebases
- Support for OpenAI, Anthropic, and local models
- Git integration for tracking changes
- Rollback capability for any applied changes
- Plan continuation across multiple sessions
- Configurable auto-apply for trusted tasks
- Self-hostable server for team sharing

About the Publisher

Plandex was created by Evan Nilsson and released as open-source in 2024. The project emerged from the recognition that existing AI coding tools were optimized for short, focused tasks rather than the extended, complex projects that consume most of a developer's time. Plandex has gained a dedicated following among developers who use it as a force multiplier for ambitious development projects, turning multi-day tasks into hours of AI-assisted work.