Core Concepts
Reasoning
Memory & Retrieval
Agent Types
Design Patterns
Training & Alignment
Frameworks
Tools
Safety & Security
Evaluation
Meta
Core Concepts
Reasoning
Memory & Retrieval
Agent Types
Design Patterns
Training & Alignment
Frameworks
Tools
Safety & Security
Evaluation
Meta
Plandex is an open-source, terminal-based AI coding agent designed for large-scale software development across complex, multi-file codebases.1) It combines autonomous planning, intelligent context discovery, and a sandbox-first workflow to deliver production-grade code changes safely and efficiently.
ai_agent cli coding planning open_source
| Repository | https://github.com/plandex-ai/plandex |
| Website | https://plandex.ai |
| Language | Go |
| License | Open Source |
| Stars | 14,000+ |
| Creator | Dane (Plandex) |
Plandex is built for developers who need AI assistance on real-world projects with large codebases. Unlike simpler AI coding assistants, Plandex can autonomously handle tasks spanning dozens of files, supporting projects with 20M+ tokens and codebases with millions of lines.2) It uses a unique plan/apply workflow where all changes accumulate in a version-controlled sandbox before being applied to the project.
Plandex uses a client-server architecture. The server can be self-hosted locally via Docker or accessed through Plandex Cloud. The plan/apply workflow proceeds through distinct phases:4)
Plandex supports a wide range of model providers through built-in integrations and model packs:
Built-in model packs include gemini-planner, google, and o3-planner for different workflow optimizations.
Plandex can be self-hosted locally with Docker or used via Plandex Cloud:5)
# Self-hosted local mode with Docker docker run plandex/plandex # Cloud mode - two tiers available: # 1. Integrated Models (no API keys needed) # 2. BYO API Key (use your own accounts)
Configuration is JSON-based with IDE integration support. Model settings (temperature, top-p) are version-controlled, enabling A/B testing across branches.
# Configure models for current plan plandex set-model # Set default models for new plans plandex set-model default # Manage custom providers and model packs plandex models custom # JSON editing mode plandex set-model --json