plandex-ai/plandex
GitHub: plandex-ai/plandex
一个专注于大型项目的开源AI编程代理,通过沙盒审查和强大的上下文管理能力,安全可靠地完成跨多文件的复杂编程任务。
Stars: 15112 | Forks: 1103
30 秒安装 · 网站 · 文档 · 示例 · 本地自托管模式
[](https://discord.gg/plandex-ai) [](https://github.com/plandex-ai/plandex) [](https://twitter.com/PlandexAI)
```
export OPENROUTER_API_KEY=... # if using OpenRouter.ai
```
## Claude Pro/Max 订阅 🖇️
如果您拥有 Claude Pro 或 Max 订阅,Plandex 在调用 Anthropic 模型时可以使用它。首次运行 Plandex 时,系统会询问您是否要连接订阅。
## 开始使用 🚀
首先,`cd` 进入一个 **项目目录**,您想在其中完成任务或讨论项目。如果是开始一个新项目,请先使用 `mkdir your-project-dir` 创建一个新目录。
```
cd your-project-dir
```
对于新项目,您可能还想初始化一个 git 仓库。Plandex 不要求您的项目必须位于 git 仓库中,但如果您使用 git,它能很好地与其集成。
```
git init
```
现在在您的项目中启动 Plandex REPL:
```
plandex
```
或者简写为:
```
pdx
```