๐ค Bash CLI orchestrator for AI coding tools (Gemini, Codex, Claude, OpenCode, Cursor) โ non-interactive fan-out & multi-agent pipelines
# AI Codex Orchestrator (ACO) v1.0 > **AI ์ฝ๋ฉ ๋๊ตฌ ํตํฉ + ๋ฉํฐ ์์ด์ ํธ ์ค์ผ์คํธ๋ ์ด์ ** โ 5๊ฐ์ง AI ์ฝ๋ฉ ๋๊ตฌ๋ฅผ CLI์์ ๋น๋ํํ์ผ๋ก ์คํํ๊ณ , ์์จ ๋ผ์ฐํ ๊ธฐ๋ฐ ๋ฉํฐ ์์ด์ ํธ ํ์ดํ๋ผ์ธ์ผ๋ก ์ํํธ์จ์ด๋ฅผ ์๋ ์์ฐํฉ๋๋ค. --- ## v1.0 ์ ๊ธฐ๋ฅ v1.0์ ๊ธฐ์กด 3๊ฐ์ง ๋๊ตฌ ์คํ ๊ธฐ๋ฅ์ **๋ฉํฐ ์์ด์ ํธ ์ค์ผ์คํธ๋ ์ด์ ์์ง**์ ์ถ๊ฐํฉ๋๋ค. | ๊ธฐ๋ฅ | ์ค๋ช | ์คํฌ๋ฆฝํธ | |------|------|----------| | ๋จ์ผ ๋๊ตฌ ์คํ | 5๊ฐ์ง AI ๋๊ตฌ๋ฅผ ๋์ผ ์ธํฐํ์ด์ค๋ก ์คํ | `run-agent.sh` | | ํฌ์์/ํฌ์ธ | ์ฌ๋ฌ AI์ ๋์ ์ง๋ฌธ โ ๊ฒฐ๊ณผ ํตํฉ | `fan-out.sh` | | ํ ํ์ดํ๋ผ์ธ | ๋งํฌ๋ค์ด ๊ธฐ๋ฐ ์ญํ ๋ถ๋ด ํ์ดํ๋ผ์ธ | `team-run.sh` | | **๋ฉํฐ ์์ด์ ํธ** | JSON ๊ธฐ๋ฐ ์์จ ๋ผ์ฐํ ํ์ดํ๋ผ์ธ (์ ๊ท) | `aco` CLI | --- ## ๋น ๋ฅธ ์์ ### 1. ์ค์น ```bash git clone https://github.com/your-org/ai-codex-orchestrator.git cd ai-codex-orchestrator bash install.sh source ~/.zshrc # ๋๋ source ~/.bashrc ``` ### 2. ์ค์น ํ์ธ ```bash check-tools.sh # ๋๊ตฌ๋ณ ์ค์น ์ํ ํ์ธ aco version # ACO ๋ฒ์ ํ์ธ ``` ### 3. ๊ธฐ๋ณธ ์ฌ์ฉ ```bash # ๋จ์ผ ๋๊ตฌ ์คํ run-agent.sh cursor -- "ํ์ด์ฌ์ผ๋ก ๊ตฌ๊ตฌ๋จ ์ฝ๋ ๋ง๋ค์ด์ค" # ์ฌ๋ฌ ๋๊ตฌ ๋์ ์ง๋ฌธ fan-out.sh --tools "cursor,codex,cursor" --merge cursor -- "์ฝ๋ ๋ฆฌ๋ทฐํด์ค" # ๋ฉํฐ ์์ด์ ํธ ํ์ดํ๋ผ์ธ (์ ๊ท!) aco run examples/simple-chain/ --dry-run # ๊ณํ ํ์ธ aco run examples/simple-chain/ # ์คํ ``` --- ## ํต์ฌ ๊ธฐ๋ฅ ### 1. ๋จ์ผ ๋๊ตฌ ์คํ (`run-agent.sh`) 5๊ฐ์ง AI ์ฝ๋ฉ ๋๊ตฌ๋ฅผ ๋์ผํ ์ธํฐํ์ด์ค๋ก ๋น๋ํํ ์คํํฉ๋๋ค. ```bash run-agent.sh cursor -- "ํ์ด์ฌ์ผ๋ก ๊ตฌ๊ตฌ๋จ ์ฝ๋ ๋ง๋ค์ด์ค" run-agent.sh cursor -f prompt.md -o result.md cat error.log | run-agent.sh codex -- "์ด ์๋ฌ๋ฅผ ํด๊ฒฐํด์ค" ``` ์ง์ ๋๊ตฌ: `cursor` ยท `codex` ยท `cursor` ยท `opencode` ยท `cursor` **๊ฒฐ๊ณผ ํ์ธ:** - **์ฝ์ ์ถ๋ ฅ**: ๊ฒฐ๊ณผ๊ฐ ํฐ๋ฏธ๋์ ๋ฐ๋ก ์ถ๋ ฅ๋ฉ๋๋ค - **ํ์ผ ์ ์ฅ**: `-o result.md` ์ต์ ์ผ๋ก ํ์ผ์ ์ ์ฅ - **์ธ์ ๊ธฐ๋ก**: `.agent-sessions/` ํด๋์ ์๋ ๋ณด๊ด (query.md, response.md) ### 2. ํฌ์์/ํฌ์ธ (`fan-out.sh`) ํ๋์ ์ง๋ฌธ์ ์ฌ๋ฌ AI์ ๋์์ ๋ณด๋ด๊ณ , ๋ฉ์ธ ๋ชจ๋ธ์ด ๊ฒฐ๊ณผ๋ฅผ ์ข ํฉํฉ๋๋ค. ```bash fan-out.sh --tools "cursor,codex,cursor" --merge cursor \ -- "์ด ํ๋ก์ ํธ์ ์ํคํ ์ฒ๋ฅผ ๋ถ์ํด์ค" ``` ### 3. ํ ํ์ดํ๋ผ์ธ (`team-run.sh`) ๋งํฌ๋ค์ด์ผ๋ก ํ์ ์ ์ํ๋ฉด ์ด์ ์์ด์ ํธ์ ๊ฒฐ๊ณผ๊ฐ ๋ค์ ์์ด์ ํธ์ ์ ๋ ฅ์ผ๋ก ์๋ ์ฃผ์ ๋ฉ๋๋ค. ```bash team-run.sh templates/team-code-review.md ``` ### 4. ๋ฉํฐ ์์ด์ ํธ ์ค์ผ์คํธ๋ ์ด์ (`aco` CLI) โ ์ ๊ท `bead-plan.json` ํ๋๋ก ์์ ์๋ ๋ฉํฐ ์์ด์ ํธ ํ์ดํ๋ผ์ธ์ ์คํํฉ๋๋ค. ```bash # bead-plan.json์ด ์๋ ๋๋ ํ ๋ฆฌ ์คํ aco run examples/review-loop/ # ์ํ ํ์ธ aco status <bead-id> # ๋ฉ์์ง ๋ก
Agent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.