Plandex
Terminal AI agent built for large, multi-file coding tasks.
Overview
Plandex is an open-source CLI coding agent that plans and executes changes across many files, staging them in a sandbox for review before applying. It can be run locally with your own provider keys.
- Diff sandbox
- Large context handling
- Plan versioning
- Model packs
Our verdict
What we like
- Handles big tasks well
- Review before apply
Watch out for
- Steeper learning curve
Works with these providers
Keys from these providers work in this app. Usage is billed by the provider at its list price.
BYOK Key Safety Score
Key handling in Plandex
Grade A
Your key is stored on your device and requests go directly to the provider.
- Key storage40/40
Key stays on your device; requests go direct to the provider.
- Auditable code25/25
Open source: anyone can verify how keys are handled.
- Self-hosting15/15
Can run entirely on your own infrastructure.
- Offline option10/10
Supports local models, so no key is needed at all for private work.
- Provider choice10/10
6 provider options, which lets you pick the provider whose data terms you trust.
Whatever the score, give each app its own key, set a monthly spend limit with your provider, and revoke keys you no longer use. Read the key-safety checklist.
Plandex FAQ
- Does Plandex support bring your own key?
- Yes. Plandex accepts your own API key from OpenAI, Anthropic, Google Gemini, OpenRouter, Ollama and OpenAI-compatible. Usage is billed by the provider at its API rates.
- Where does Plandex store my API key?
- On your device. Requests go directly from Plandex to the provider. Its BYOK Tools Key Safety Score is 100/100.
- Is Plandex free?
- Open source: Free & open source. API usage is billed separately by your model provider.
- Is Plandex open source?
- Yes. The source code is at https://github.com/plandex-ai/plandex. It can also be self-hosted.
- Can Plandex run local models?
- Yes. It can connect to local runtimes such as Ollama or LM Studio, so no API key is needed for private or offline use.
- Which platforms does Plandex support?
- CLI, macOS, Linux, Self-hosted.
Community reviews
No reviews yet.
Alternatives to Plandex
All coding agents & ides →Aider
Coding Agents & IDEs
AI pair programming in your terminal with git-aware edits.
OpenCode
Coding Agents & IDEs
Open-source terminal coding agent that works with any provider.
Goose
Coding Agents & IDEs
Extensible open-source AI agent from Block for coding and beyond.
Crush
Coding Agents & IDEs
Glamorous terminal coding agent from Charm.
Zed
Coding Agents & IDEs
High-performance collaborative editor with a BYOK agent panel.
OpenHands
Coding Agents & IDEs
Open-source autonomous software engineering agent platform.