plandex-ai / plandex

AI driven development in your terminal. Designed for large, real-world tasks.

Home Page:https://plandex.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


PRs Welcome Release Release


plandex-ai%2Fplandex | Trendshift

AI driven development in your terminal.
Build entire features and apps with a robust workflow.



Plandex intro video

More examples  πŸŽ₯


Learn more about Plandex  🧐


Overview  πŸ“š

Churn through your backlog, work with unfamiliar technologies, get unstuck, and spend less time on the boring stuff.

Plandex is a reliable and developer-friendly AI coding agent in your terminal. It can plan out and complete large tasks that span many files and steps.

Designed for real-world use-cases, Plandex can help you build a new app quickly, add new features to an existing codebase, write tests and scripts, understand code, and fix bugs.


Install  πŸ“₯

curl -sL https://plandex.ai/install.sh | bash

Note: Windows is supported via WSL. Plandex only works correctly on Windows in the WSL shell. It doesn't work in the Windows CMD prompt or PowerShell.

More installation options.


Get started  πŸš€

Plandex uses OpenAI by default. If you don't have an OpenAI account, first sign up here.

Then generate an API key here and export it.

export OPENAI_API_KEY=...

Now cd into your project's directory. Make a new directory first with mkdir your-project-dir if you're starting on a new project.

cd your-project-dir

Then start your first plan with plandex new.

plandex new

Load any relevant files, directories, directory layouts, urls, or images into the LLM's context with plandex load.

plandex load some-file.ts another-file.ts
plandex load src/components -r # load a whole directory
plandex load src --tree # load a directory layout (file names only)
plandex load src/**/*.ts # load files matching a glob pattern
plandex load https://raw.githubusercontent.com/plandex-ai/plandex/main/README.md # load the text content of a url
plandex load images/mockup.png # load an image

Now send your prompt. You can pass it in as a file:

plandex tell -f prompt.txt

Write it in vim:

plandex tell # tell with no arguments opens vim so you can write your prompt there

Or pass it inline (use enter for line breaks):

plandex tell "add a new line chart showing the number of foobars over time to components/charts.tsx"

Plandex will make a plan for your task and then implement that plan in code. The changes won't yet be applied to your project files. Instead, they'll accumulate in Plandex's sandbox.

To learn about reviewing changes, iterating on the plan, and applying changes to your project, continue with the full quickstart.


Docs  πŸ› οΈ


Build complex software with LLMs  🌟

⚑️  Changes are accumulated in a protected sandbox so that you can review them before automatically applying them to your project files. Built-in version control allows you to easily go backwards and try a different approach. Branches allow you to try multiple approaches and compare the results.

πŸ“‘  Manage context efficiently in the terminal. Easily add files or entire directories to context, and keep them updated automatically as you work so that models always have the latest state of your project.

🧠  By default, Plandex relies on the OpenAI API and requires an OPENAI_API_KEY environment variable. You can also use it with a wide range of other models, including Anthropic Claude, Google Gemini, Mixtral, Llama and many more via OpenRouter.ai, Together.ai, or any other OpenAI-compatible provider.

βœ…  Plandex supports Mac, Linux, FreeBSD, and Windows. It runs from a single binary with no dependencies.


Why Plandex?  πŸ€”

πŸ—οΈ  Go beyond autocomplete to build complex functionality with AI.
🚫  Stop the mouse-centered, copy-pasting madness of coding with ChatGPT.
⚑️  Ensure the model always has the latest versions of files in context.
πŸͺ™  Retain granular control over what's in the model's context and how many tokens you're using.
βͺ  Rewind, iterate, and retry as needed until you get your prompt just right.
🌱  Explore multiple approaches with branches.
πŸ”€  Run tasks in the background or work on multiple tasks in parallel.
πŸŽ›οΈ  Try different models and temperatures, then compare results.


Roadmap  πŸ—ΊοΈ

🧠  Support for open source models, Google Gemini, and Anthropic Claude in addition to OpenAI  βœ… released
πŸ–ΌοΈ  Support for multi-modal modelsβ€”add images and screenshots to context βœ… released
🀝  Plan sharing and team collaboration
πŸ–₯️  VSCode and JetBrains extensions
πŸ“¦  Community plugins and modules
πŸ”Œ  Github integration
🌐  Web dashboard and GUI
πŸ”  SOC2 compliance
πŸ›©οΈ  Fine-tuned models

This list will grow and be prioritized based on your feedback.


Discussion and discord  πŸ’¬

Speaking of feedback, feel free to give yours, ask questions, report a bug, or just hang out:


Contributors  πŸ‘₯

⭐️  Please star, fork, explore, and contribute to Plandex. There's a lot of work to do and so much that can be improved.

Work on tests, evals, prompts, and bug fixes is especially appreciated.

Here's an overview on setting up a development environment.

About

AI driven development in your terminal. Designed for large, real-world tasks.

https://plandex.ai

License:GNU Affero General Public License v3.0


Languages

Language:Go 97.0%Language:Shell 1.4%Language:PLpgSQL 0.7%Language:C 0.5%Language:TypeScript 0.2%Language:Makefile 0.2%