Plandex – Free and open source terminal-based AI programming engine | AI toolset
What is Plandex
Plandex is a terminal-based open source AI programmingEngine that helps programmers complete complex software programming development tasks, resolve undesirable output, and maximize productivity. This AI programming assistant works by using long-running agents to complete tasks that span multiple files and require multiple steps, decompose large tasks into smaller subtasks, and then implement them one by one until the entire software development work is completed. Plandex is designed to improve development efficiency, help users deal with backlogs, master unfamiliar technologies, and reduce time investment in repetitive tasks.
Main functions of Plandex
- Task decomposition and execution: Plandex can decompose complex development task projects into smaller sub-tasks (such as task planning, code completion, code writing, code review, etc.) and complete them one by one until the entire task is successfully completed.
- Sandbox protection and version control: Plandex accumulates changes in a protected sandbox environment, allowing users to review changes before applying them to project files. At the same time, built-in version control capabilities make it easy for users to go back and try different solutions.
- context management:Plandex allows users to efficiently manage contexts in the terminal. Files or entire directories can be easily added and kept updated automatically, ensuring the model always has the latest status of the project.
- Multi-platform support:Plandex supports multiple operating systems, including Mac, Linux, FreeBSD and Windows, and can be run from a single binary without relying on other software.
- Depends on OpenAI API: Plandex relies on the OpenAI API to perform tasks and needs to set the environment variable OPENAI_API_KEY to use it. Subsequent plans support open source models, Google Gemini and Anthropic Claude.
- branch function: Users can take advantage of the branching feature to try multiple approaches and compare the results, which helps explore different solutions during the development process.
How to use Planex
1. Download Plandex source code
Open the terminal, enter the following commands in sequence and run
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 #根据系统路径自行修改
2. Set OpenAI API key
cd plandex export OPENAI_API_KEY=YOUR_KEY #输入你自己的Key
3. Run Planex
plandex new
Plandex product pricing
Users can choose to self-host Plandex, deploy and run on their own servers, which is a good choice for users with special requirements for data privacy and security.
Plandex also provides a cloud-based service called Plandex Cloud, making it easy for users to start using Plandex. When creating their first project, users are prompted to start an anonymous trial that does not require an email address. Trial accounts have certain limitations. For example, each plan is limited to 10 tasks and 10 responses from the AI model.
Currently, Plandex Cloud accounts are free, but charges may be introduced in the future. Estimated fees range from $10 to $20 per month, with specific prices subject to adjustment based on service development and market conditions.
Source link