GitHub:stablyai/orca ⭐ 44K+ | TypeScript | MIT License | YC支持
Orca 是一款开源的 Agent 开发环境(ADE),核心创新在于"并行编码"——利用 Git worktree 让多个 AI Agent 同时在不同分支上工作,互不干扰。它采用 BYOS(Bring Your Own Subscription)架构,你可以直接使用已有的 LLM 订阅,无需额外付费。Orca 同时提供桌面端和移动端应用,是 Y Combinator 支持的项目,在 GitHub 上已获得超过 44,000 颗星。
# 桌面端安装(macOS / Windows / Linux)
# 方式1:官网下载安装包
# https://github.com/stablyai/orca/releases
# 方式2:源码编译
git clone https://github.com/stablyai/orca.git
cd orca
pnpm install
pnpm build
pnpm dev
# CLI 工具
npm install -g @orca/cli
orca init my-project
| 功能 | 说明 | 亮点 |
|---|---|---|
| 并行Agent编码 | 多Agent同时在不同worktree工作 | 效率提升3-5倍 |
| BYOS架构 | 使用自有LLM订阅,无额外费用 | 成本为零增量 |
| Git Worktree集成 | 自动创建/管理worktree和分支 | 零冲突并行 |
| 移动端支持 | iOS/Android远程监控和审批 | 随时随地把控 |
| Agent隔离 | 每个Agent独立沙箱运行 | 安全可靠 |
| 一键合并 | 自动处理并行分支的合并冲突 | 减少人工干预 |
# 初始化并行开发项目
orca init my-app --parallel
# 启动3个并行Agent处理不同任务
orca agent spawn --task "实现用户登录模块" --branch feat/auth
orca agent spawn --task "实现数据可视化页面" --branch feat/dashboard
orca agent spawn --task "编写API测试用例" --branch test/api
# 查看所有Agent状态
orca status
# 输出:
# ┌─────────────┬──────────────┬────────┬─────────┐
# │ Agent │ Task │ Branch │ Status │
# ├─────────────┼──────────────┼────────┼─────────┤
# │ agent-01 │ 用户登录模块 │ feat/auth │ ✅ 完成 │
# │ agent-02 │ 数据可视化 │ feat/dashboard │ 🔄 进行中 │
# │ agent-03 │ API测试 │ test/api │ ✅ 完成 │
# └─────────────┴──────────────┴────────┴─────────┘
# 合并所有完成分支
orca merge --all --auto-resolve
Orca 的并行编码理念与 Aider AI编码助手 的单Agent模式形成互补——Aider适合精细的单文件修改,而Orca擅长多任务并行处理。两者结合使用可以大幅提升开发效率。
| 场景 | 并行策略 | 预期提速 |
|---|---|---|
| 大型功能开发 | 按模块拆分,每个Agent负责一个模块 | 3-4倍 |
| Bug修复批次 | 每个Agent处理一组相关Bug | 2-3倍 |
| 测试覆盖提升 | 按文件分配Agent编写测试 | 4-5倍 |
| 文档批量生成 | 每个Agent负责一个模块的文档 | 5倍+ |
GitHub:stablyai/orca ⭐ 44K+ | TypeScript | MIT License | YC支持
Caveman:Token用量压缩工具指南