
Plandex
Free and open-source terminal-based AI coding engine
- Category
- AI Coding Tools
- Listed on
What is Plandex?
Plandex is a terminal-based open-source AI coding engine designed to help developers tackle complex software development tasks, resolve poor outputs, and maximize productivity. This AI coding assistant leverages long-running agents to handle tasks that span multiple files and require multiple steps. It breaks large tasks down into smaller subtasks and implements them one by one until the entire software development work is complete. Plandex is built to boost development efficiency, helping users work through backlogs, get up to speed with unfamiliar technologies, and cut down on time spent on repetitive work.
How to use Plandex
- Download the Plandex source code
- Open your terminal and run the following commands in sequence:
- git clone https://github.com/plandex-ai/plandex.git git clone https://github.com/plandex-ai/survey.git cd plandex/app/cli go build -ldflags "-X plandex/version.Version=$(cat version.txt)" mv plandex /usr/local/bin # Adjust the system path as needed
- Set your OpenAI API key
- cd plandex export OPENAI_API_KEY=YOUR_KEY # Enter your own API key
- Run Plandex
- plandex new
Key features of Plandex
- 1
Task Decomposition and Execution
Plandex can break complex development projects into smaller subtasks (such as task planning, code completion, code writing, and code review) and complete them one by one until the entire task is successfully finished.
- 2
Sandbox Protection and Version Control
Plandex accumulates changes in a protected sandbox environment, allowing users to review them before applying changes to project files. The built-in version control feature also lets users easily roll back and experiment with different solutions.
- 3
Context Management
Plandex enables users to efficiently manage context in the terminal. You can easily add files or entire directories, which are automatically kept up to date to ensure the model always has the latest state of the project.
- 4
Multi-Platform Support
Plandex supports multiple operating systems, including Mac, Linux, FreeBSD, and Windows, and can run from a single binary file without requiring any other software dependencies.
- 5
OpenAI API Dependency
Plandex relies on the OpenAI API to execute tasks and requires setting the OPENAI_API_KEY environment variable to use. Support for open-source models, Google Gemini, and Anthropic Claude is planned for future releases.
- 6
Branching Capability
Users can leverage the branching feature to try multiple approaches and compare results, which is useful for exploring different solutions during the development process.
More in AI Coding Tools
View allFull-stack AI coding tool that builds websites and apps from a single sentence
New users get 2,500 credits on sign-up — manage projects and deliver results
AI Code Completion Plugin for VS Code
AI coding and software R&D assistant by JiHu GitLab