Plandex logo

Plandex

Free

Open source, terminal-based AI programming engine for complex tasks. [#opensource](https://github.com/plandex-ai/plandex)

FreeFree tier
Type
Open Source

About Plandex

Plandex is an open-source, terminal-based AI coding agent designed for large-scale real-world projects. It can handle up to 2 million tokens of context and index directories with over 20 million tokens using tree-sitter project maps. Plandex supports multiple AI models from providers like Anthropic, OpenAI, Google, and open-source alternatives. It offers configurable autonomy, from full automation to fine-grained step-by-step control, and includes features like a cumulative diff review sandbox, automated debugging, project-aware chat, and integrated version control. It aims to provide reliable, efficient code generation and editing for complex tasks spanning many files.

Key Features

Handles up to 2M tokens of context
Indexes directories with 20M+ tokens via tree-sitter
Cumulative diff review sandbox separates AI changes from project files
Supports models from Anthropic, OpenAI, Google, and open-source providers
Configurable autonomy from full auto mode to fine-grained control
Automated debugging of terminal commands (builds, linters, tests, scripts)
Project-aware chat mode for ideas, questions, and codebase exploration
Reliable file edits with syntax and logic validation and fallbacks
Built-in version control for plan updates including branches
Git integration with commit message generation and optional auto-commit

Pros & Cons

Pros
  • Handles very large projects and files reliably
  • Combines multiple AI models for optimal tradeoffs of capability, cost, and speed
  • Offers both full autonomy and granular user control
  • Automated debugging reduces manual effort in fixing errors
  • Version control and diff review ensure safe experimentation
  • Free and open-source with no licensing fees
Cons
  • Terminal-only interface, no graphical user interface (GUI)
  • Requires API keys for AI models, which may incur costs
  • Steep learning curve for developers unfamiliar with command-line tools
  • Reliance on external AI services for advanced functionality

Best For

Building entire features and apps from scratchRefactoring large codebases spanning hundreds of filesAutomating debugging of builds, tests, and deploymentsLearning and exploring an unfamiliar codebase via chatManaging complex multi-step coding tasks with review

FAQ

What is Plandex?
Plandex is an open-source, terminal-based AI coding agent designed for large tasks and real-world projects. It can plan and execute complex coding tasks across many files.
Is Plandex free?
Yes, Plandex is free and open-source, available on GitHub under a permissive license.
What AI models does Plandex support?
Plandex supports models from Anthropic, OpenAI, Google, and various open-source providers. It features curated model packs for different tradeoffs of capability, cost, and speed.
Can Plandex handle large codebases?
Yes, Plandex has a 2M token effective context window and can index directories with 20M+ tokens using tree-sitter project maps, making it suitable for large projects.
Does Plandex have a GUI?
No, Plandex is a terminal-based tool designed for developers comfortable with the command line.