agestra 4.12.3 → 4.12.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/AGENTS.md +8 -3
- package/GEMINI.md +1 -1
- package/README.ja.md +21 -6
- package/README.ko.md +21 -6
- package/README.md +25 -10
- package/README.zh.md +21 -6
- package/agents/agestra-designer.md +19 -6
- package/agents/agestra-ideator.md +18 -6
- package/agents/agestra-implementer.md +14 -3
- package/agents/agestra-moderator.md +61 -24
- package/agents/agestra-qa.md +18 -7
- package/agents/agestra-reviewer.md +28 -6
- package/agents/agestra-team-lead.md +75 -16
- package/commands/design.md +46 -57
- package/commands/idea.md +39 -51
- package/commands/implement.md +51 -28
- package/commands/review.md +47 -73
- package/commands/setup.md +30 -6
- package/dist/bundle.js +296 -280
- package/package.json +3 -2
- package/scripts/host-assets/codex-assets.mjs +37 -8
- package/skills/design.md +37 -53
- package/skills/idea.md +47 -81
- package/skills/leader.md +112 -38
- package/skills/provider-guide.md +24 -15
- package/skills/review.md +28 -53
- package/skills/worker-manage.md +1 -1
package/AGENTS.md
CHANGED
|
@@ -5,13 +5,17 @@ This repository includes a Codex-friendly host wrapper for Agestra.
|
|
|
5
5
|
## First Run
|
|
6
6
|
|
|
7
7
|
1. Build the bundled MCP server if needed: `npm run bundle`
|
|
8
|
-
2. Register Agestra with Codex
|
|
8
|
+
2. Register Agestra with Codex and install generated custom agents: `npm run install:codex:assets`
|
|
9
9
|
3. Open this repository in Codex. This `AGENTS.md` file is loaded automatically.
|
|
10
10
|
|
|
11
|
+
Use `npm run install:codex` only when you intentionally want MCP registration without generated `.codex/agents/*.toml` assets.
|
|
12
|
+
Low-level MCP calls do not silently write setup. High-level Agestra workflows must call `setup_status` first; if it reports `Setup required: yes`, run the interactive setup questions immediately, call `setup_apply` after the user chooses providers/locale, then resume the original workflow.
|
|
13
|
+
Use `host_assets_status` to inspect generated host assets, and only call `host_assets_install` after the user agrees to install or refresh Codex custom agents.
|
|
14
|
+
|
|
11
15
|
## How to Work Here
|
|
12
16
|
|
|
13
17
|
- Treat `commands/*.md` as the source of truth for Agestra workflows.
|
|
14
|
-
- When the user asks for review, design, idea, or implementation help, start with `environment_check
|
|
18
|
+
- When the user asks for review, design, idea, or implementation help, start with `setup_status`, `environment_check`, and `provider_list`. If `setup_status` reports `Setup required: yes`, complete interactive setup first and then resume the original workflow.
|
|
15
19
|
- Prefer Agestra MCP tools over ad-hoc multi-provider prompting.
|
|
16
20
|
- If any legacy workflow text mentions "Claude only", interpret that as the current leader-host-only path when Claude is not the active host.
|
|
17
21
|
|
|
@@ -27,7 +31,8 @@ This repository includes a Codex-friendly host wrapper for Agestra.
|
|
|
27
31
|
- `environment_check` and `provider_list`: inspect host/provider state first
|
|
28
32
|
- `agent_debate_structured` (with `agent_debate_approve`/`_continue`/`_reject`) and `agent_debate_review`: run approval-gated multi-provider review flows
|
|
29
33
|
- `cli_worker_spawn`, `agent_changes_review`, `agent_changes_accept`, `agent_changes_reject`: use for autonomous Codex/Gemini worker tasks
|
|
30
|
-
- `
|
|
34
|
+
- `host_assets_status`, `host_assets_install`, `host_assets_uninstall`: inspect and explicitly manage generated host-native assets such as Codex custom agents
|
|
35
|
+
- `qa_run`: run workspace build/test verification before reporting implementation completion
|
|
31
36
|
|
|
32
37
|
## Project Assets
|
|
33
38
|
|
package/GEMINI.md
CHANGED
|
@@ -31,4 +31,4 @@ Each command delegates to the shared workflow specs in `commands/*.md`.
|
|
|
31
31
|
- `agent_debate_structured`, `agent_debate_approve`/`_continue`/`_reject`, `agent_debate_review`: structured multi-provider reviews and approval-gated debates
|
|
32
32
|
- `cli_worker_spawn`, `agent_changes_review`, `agent_changes_accept`, `agent_changes_reject`: autonomous worker lifecycle
|
|
33
33
|
- `workspace_*`: document-backed review and aggregation flows
|
|
34
|
-
- `qa_run`:
|
|
34
|
+
- `qa_run`: workspace build/test verification before implementation completion
|
package/README.ja.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
[English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [中文](README.zh.md)
|
|
9
9
|
|
|
10
|
-
Agestra は Ollama(ローカル)、Gemini CLI、Codex CLI を Claude Code にプラガブルなプロバイダーとして接続し、独立集約、合意形成ディベート、自律 CLI ワーカー、並列タスク配分、クロスバリデーション、品質ベースのプロバイダー選択を
|
|
10
|
+
Agestra は Ollama(ローカル)、Gemini CLI、Codex CLI を Claude Code にプラガブルなプロバイダーとして接続し、独立集約、合意形成ディベート、自律 CLI ワーカー、並列タスク配分、クロスバリデーション、品質ベースのプロバイダー選択を 44 個の MCP ツールで提供します。
|
|
11
11
|
|
|
12
12
|
## クイックスタート
|
|
13
13
|
|
|
@@ -34,7 +34,7 @@ npm install -g agestra
|
|
|
34
34
|
agestra-install codex --assets
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
Codex ではリポジトリ直下の [AGENTS.md](AGENTS.md) と、登録済みの `agestra` MCP
|
|
37
|
+
Codex ではリポジトリ直下の [AGENTS.md](AGENTS.md) と、登録済みの `agestra` MCP サーバーを一緒に使います。生成済み Codex custom agent には `--assets` が必要で、`.codex/agents/` にインストールして Agestra host-asset manifest に記録します。custom agent なしで MCP 登録だけでよい場合は `npm run install:codex` または `agestra-install codex` を使ってください。
|
|
38
38
|
|
|
39
39
|
### Gemini CLI
|
|
40
40
|
|
|
@@ -141,7 +141,7 @@ Turborepo モノレポで、8 パッケージ構成です:
|
|
|
141
141
|
| `@agestra/provider-codex` | OpenAI Codex CLI アダプター |
|
|
142
142
|
| `@agestra/agents` | 合意検出付きディベートエンジン、ターン品質評価、タスク配分、クロスバリデーション、タスクチェーン、自動 QA、ファイル変更追跡、セッション管理 |
|
|
143
143
|
| `@agestra/workspace` | レビュー、分析メモ、統合レポート向けのワークスペース文書マネージャー |
|
|
144
|
-
| `@agestra/mcp-server` | MCP プロトコル層、
|
|
144
|
+
| `@agestra/mcp-server` | MCP プロトコル層、44 ツール、環境依存のツールフィルタリング、ディスパッチ |
|
|
145
145
|
|
|
146
146
|
### 設計原則
|
|
147
147
|
|
|
@@ -163,7 +163,7 @@ Turborepo モノレポで、8 パッケージ構成です:
|
|
|
163
163
|
|
|
164
164
|
---
|
|
165
165
|
|
|
166
|
-
## ツール (
|
|
166
|
+
## ツール (44)
|
|
167
167
|
|
|
168
168
|
### AI チャット (3)
|
|
169
169
|
|
|
@@ -173,7 +173,7 @@ Turborepo モノレポで、8 パッケージ構成です:
|
|
|
173
173
|
| `ai_analyze_files` | ディスク上のファイルを読み込み、質問と一緒にプロバイダーへ送信 |
|
|
174
174
|
| `ai_compare` | 同じプロンプトを複数プロバイダーに送り、応答を比較 |
|
|
175
175
|
|
|
176
|
-
### エージェントオーケストレーション (
|
|
176
|
+
### エージェントオーケストレーション (14)
|
|
177
177
|
|
|
178
178
|
| ツール | 説明 |
|
|
179
179
|
|--------|------|
|
|
@@ -226,6 +226,21 @@ Turborepo モノレポで、8 パッケージ構成です:
|
|
|
226
226
|
| `provider_list` | 状態と機能付きでプロバイダー一覧を表示 |
|
|
227
227
|
| `provider_health` | 1 つまたはすべてのプロバイダーのヘルスチェック |
|
|
228
228
|
|
|
229
|
+
### セットアップ (2)
|
|
230
|
+
|
|
231
|
+
| ツール | 説明 |
|
|
232
|
+
|--------|------|
|
|
233
|
+
| `setup_status` | 利用可能なプロバイダーと現在の設定状態を確認 |
|
|
234
|
+
| `setup_apply` | 選択したプロバイダー、ロケール、選択ポリシーを `providers.config.json` に書き込む |
|
|
235
|
+
|
|
236
|
+
### ホストアセット (3)
|
|
237
|
+
|
|
238
|
+
| ツール | 説明 |
|
|
239
|
+
|--------|------|
|
|
240
|
+
| `host_assets_status` | Codex custom agents などの生成済みホストネイティブアセットを確認 |
|
|
241
|
+
| `host_assets_install` | 管理対象のホストネイティブアセットを明示的にインストールまたは更新 |
|
|
242
|
+
| `host_assets_uninstall` | Agestra が追跡する管理対象ホストネイティブアセットを削除 |
|
|
243
|
+
|
|
229
244
|
### Ollama (2)
|
|
230
245
|
|
|
231
246
|
| ツール | 説明 |
|
|
@@ -353,7 +368,7 @@ agestra/
|
|
|
353
368
|
│ ├── provider-codex/ # Codex CLI アダプター
|
|
354
369
|
│ ├── agents/ # ディベートエンジン、ディスパッチ、クロスバリデーション
|
|
355
370
|
│ ├── workspace/ # ワークスペース文書マネージャー
|
|
356
|
-
│ └── mcp-server/ # MCP サーバー、
|
|
371
|
+
│ └── mcp-server/ # MCP サーバー、44 ツール、環境依存フィルタリング、ディスパッチ
|
|
357
372
|
├── package.json # ワークスペースルート
|
|
358
373
|
└── turbo.json # Turborepo パイプライン
|
|
359
374
|
```
|
package/README.ko.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
[English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [中文](README.zh.md)
|
|
9
9
|
|
|
10
|
-
Agestra는 Claude 호스트, Ollama(로컬), Gemini CLI, Codex CLI를 플러그형 공급자로 연결합니다. 독립 취합, 합의 토론, 자율 CLI 워커, 병렬 작업 분배, 교차 검증, 품질 기반 공급자 라우팅을
|
|
10
|
+
Agestra는 Claude 호스트, Ollama(로컬), Gemini CLI, Codex CLI를 플러그형 공급자로 연결합니다. 독립 취합, 합의 토론, 자율 CLI 워커, 병렬 작업 분배, 교차 검증, 품질 기반 공급자 라우팅을 44개 MCP 도구로 제공합니다.
|
|
11
11
|
|
|
12
12
|
## 빠른 시작
|
|
13
13
|
|
|
@@ -42,7 +42,7 @@ agestra-install codex --assets
|
|
|
42
42
|
npm run install:codex:global
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Codex는 저장소 루트의 [AGENTS.md](AGENTS.md)와 등록된 `agestra` MCP 서버를 함께 사용합니다. `--assets`
|
|
45
|
+
Codex는 저장소 루트의 [AGENTS.md](AGENTS.md)와 등록된 `agestra` MCP 서버를 함께 사용합니다. 생성형 Codex custom agent에는 `--assets` 경로가 필요하며, 이 경로가 `.codex/agents/` 아래에 agent를 설치하고 Agestra host-asset manifest에 기록합니다. custom agent 없이 MCP만 등록하려면 `npm run install:codex` 또는 `agestra-install codex`를 사용하세요.
|
|
46
46
|
|
|
47
47
|
### Gemini CLI
|
|
48
48
|
|
|
@@ -168,7 +168,7 @@ Turborepo 모노레포, 8개 패키지:
|
|
|
168
168
|
| `@agestra/provider-codex` | OpenAI Codex CLI 어댑터 |
|
|
169
169
|
| `@agestra/agents` | 합의 검출 토론 엔진, 턴 품질 평가기, 작업 분배기, 교차 검증기, 작업 체인, 자동 QA, 파일 변경 추적기, 세션 관리자 |
|
|
170
170
|
| `@agestra/workspace` | 리뷰, 분석 메모, 통합 보고서를 위한 워크스페이스 문서 관리자 |
|
|
171
|
-
| `@agestra/mcp-server` | MCP 프로토콜 레이어,
|
|
171
|
+
| `@agestra/mcp-server` | MCP 프로토콜 레이어, 44개 도구, 환경별 도구 필터링, 디스패치 |
|
|
172
172
|
|
|
173
173
|
### 설계 원칙
|
|
174
174
|
|
|
@@ -190,7 +190,7 @@ Turborepo 모노레포, 8개 패키지:
|
|
|
190
190
|
|
|
191
191
|
---
|
|
192
192
|
|
|
193
|
-
## 도구 (
|
|
193
|
+
## 도구 (44개)
|
|
194
194
|
|
|
195
195
|
### AI 채팅 (3개)
|
|
196
196
|
|
|
@@ -200,7 +200,7 @@ Turborepo 모노레포, 8개 패키지:
|
|
|
200
200
|
| `ai_analyze_files` | 파일을 디스크에서 읽어 공급자에게 질문과 함께 전송 |
|
|
201
201
|
| `ai_compare` | 같은 프롬프트를 여러 공급자에 보내 응답 비교 |
|
|
202
202
|
|
|
203
|
-
### 에이전트 오케스트레이션 (
|
|
203
|
+
### 에이전트 오케스트레이션 (14개)
|
|
204
204
|
|
|
205
205
|
| 도구 | 설명 |
|
|
206
206
|
|------|------|
|
|
@@ -253,6 +253,21 @@ Turborepo 모노레포, 8개 패키지:
|
|
|
253
253
|
| `provider_list` | 공급자 목록 (상태, 능력 포함) |
|
|
254
254
|
| `provider_health` | 공급자 상태 체크 |
|
|
255
255
|
|
|
256
|
+
### 설정 (2개)
|
|
257
|
+
|
|
258
|
+
| 도구 | 설명 |
|
|
259
|
+
|------|------|
|
|
260
|
+
| `setup_status` | 사용 가능한 공급자와 현재 설정/구성 상태 확인 |
|
|
261
|
+
| `setup_apply` | 선택한 공급자, 언어, 선택 정책을 `providers.config.json`에 기록 |
|
|
262
|
+
|
|
263
|
+
### 호스트 자산 (3개)
|
|
264
|
+
|
|
265
|
+
| 도구 | 설명 |
|
|
266
|
+
|------|------|
|
|
267
|
+
| `host_assets_status` | Codex custom agents 같은 생성된 호스트 네이티브 자산 상태 확인 |
|
|
268
|
+
| `host_assets_install` | 관리되는 호스트 네이티브 자산을 명시적으로 설치 또는 갱신 |
|
|
269
|
+
| `host_assets_uninstall` | Agestra가 추적하는 관리형 호스트 네이티브 자산 제거 |
|
|
270
|
+
|
|
256
271
|
### Ollama (2개)
|
|
257
272
|
|
|
258
273
|
| 도구 | 설명 |
|
|
@@ -381,7 +396,7 @@ agestra/
|
|
|
381
396
|
│ ├── provider-codex/ # Codex CLI 어댑터
|
|
382
397
|
│ ├── agents/ # 토론 엔진, 분배기, 교차 검증기
|
|
383
398
|
│ ├── workspace/ # 워크스페이스 문서 관리자
|
|
384
|
-
│ └── mcp-server/ # MCP 서버,
|
|
399
|
+
│ └── mcp-server/ # MCP 서버, 44개 도구, 환경별 필터링, 디스패치
|
|
385
400
|
├── package.json # 워크스페이스 루트
|
|
386
401
|
└── turbo.json # Turborepo 파이프라인
|
|
387
402
|
```
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
[English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [中文](README.zh.md)
|
|
9
9
|
|
|
10
|
-
Agestra connects the Claude host, Ollama (local), Gemini CLI, and Codex CLI as pluggable providers, enabling multi-agent orchestration with independent aggregation, consensus debates, autonomous CLI workers, parallel task dispatch, cross-validation, and quality-based provider routing — all through
|
|
10
|
+
Agestra connects the Claude host, Ollama (local), Gemini CLI, and Codex CLI as pluggable providers, enabling multi-agent orchestration with independent aggregation, consensus debates, autonomous CLI workers, parallel task dispatch, cross-validation, and quality-based provider routing — all through 44 MCP tools.
|
|
11
11
|
|
|
12
12
|
## Quick Start
|
|
13
13
|
|
|
@@ -42,7 +42,7 @@ If you want MCP-only registration of the global package while working from a rep
|
|
|
42
42
|
npm run install:codex:global
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Codex uses the repository-level [AGENTS.md](AGENTS.md) instructions plus the registered `agestra` MCP server. The `--assets` path
|
|
45
|
+
Codex uses the repository-level [AGENTS.md](AGENTS.md) instructions plus the registered `agestra` MCP server. The `--assets` path is required for generated Codex custom agents; it installs them under `.codex/agents/` and tracks them in the Agestra host-asset manifest. For MCP-only registration without custom agents, use `npm run install:codex` or `agestra-install codex`.
|
|
46
46
|
|
|
47
47
|
### Gemini CLI
|
|
48
48
|
|
|
@@ -169,7 +169,7 @@ Turborepo monorepo with 8 packages:
|
|
|
169
169
|
| `@agestra/provider-codex` | OpenAI Codex CLI adapter |
|
|
170
170
|
| `@agestra/agents` | Debate engine with consensus detection, turn quality evaluator, task dispatcher, cross-validator, task chain, auto-QA, file change tracker, session manager |
|
|
171
171
|
| `@agestra/workspace` | Workspace document manager for reviews, analysis notes, and aggregated reports |
|
|
172
|
-
| `@agestra/mcp-server` | MCP protocol layer,
|
|
172
|
+
| `@agestra/mcp-server` | MCP protocol layer, 44 tools, environment-aware tool filtering, dispatch |
|
|
173
173
|
|
|
174
174
|
### Design Principles
|
|
175
175
|
|
|
@@ -191,7 +191,7 @@ Turborepo monorepo with 8 packages:
|
|
|
191
191
|
|
|
192
192
|
---
|
|
193
193
|
|
|
194
|
-
## Tools (
|
|
194
|
+
## Tools (44)
|
|
195
195
|
|
|
196
196
|
### AI Chat (3)
|
|
197
197
|
|
|
@@ -201,18 +201,18 @@ Turborepo monorepo with 8 packages:
|
|
|
201
201
|
| `ai_analyze_files` | Read files from disk and send contents with a question to a provider |
|
|
202
202
|
| `ai_compare` | Send the same prompt to multiple providers, compare responses |
|
|
203
203
|
|
|
204
|
-
### Agent Orchestration (
|
|
204
|
+
### Agent Orchestration (14)
|
|
205
205
|
|
|
206
206
|
| Tool | Description |
|
|
207
207
|
|------|-------------|
|
|
208
208
|
| `agent_debate_start` | Start a multi-provider debate (non-blocking, optional quality loop + validator) |
|
|
209
|
-
| `agent_debate_status` | Check debate status and
|
|
209
|
+
| `agent_debate_status` | Check legacy debate status or structured session progress, phase, participant activity, and document paths |
|
|
210
210
|
| `agent_debate_create` | Create a turn-based debate session (returns debate ID) |
|
|
211
211
|
| `agent_debate_turn` | Execute one provider's turn; supports `provider: "claude"` for Claude's independent participation |
|
|
212
212
|
| `agent_debate_conclude` | End a debate and generate final transcript |
|
|
213
|
-
| `agent_debate_structured` | Start an approval-gated structured debate — individual reviews, optional alias clarification,
|
|
213
|
+
| `agent_debate_structured` | Start an approval-gated structured debate in the background — individual reviews, optional alias clarification, JSON consensus rounds, status polling, and no synthesis until approved |
|
|
214
214
|
| `agent_debate_approve` | Leader-approve a ready-for-approval structured debate; writes the synthesis document and closes the session |
|
|
215
|
-
| `agent_debate_continue` |
|
|
215
|
+
| `agent_debate_continue` | Start additional background rounds on a ready-for-approval or escalated structured-debate session (3/5/10), then poll status |
|
|
216
216
|
| `agent_debate_reject` | Reject a structured-debate session without writing synthesis |
|
|
217
217
|
| `agent_debate_review` | Send a document to multiple providers for independent review |
|
|
218
218
|
| `agent_cross_validate` | Cross-validate outputs (agent-tier validators only) |
|
|
@@ -254,6 +254,21 @@ Turborepo monorepo with 8 packages:
|
|
|
254
254
|
| `provider_list` | List providers with status and capabilities |
|
|
255
255
|
| `provider_health` | Health check one or all providers |
|
|
256
256
|
|
|
257
|
+
### Setup (2)
|
|
258
|
+
|
|
259
|
+
| Tool | Description |
|
|
260
|
+
|------|-------------|
|
|
261
|
+
| `setup_status` | Detect available providers and show the current setup/config state |
|
|
262
|
+
| `setup_apply` | Write selected providers, locale, and selection policy to `providers.config.json` |
|
|
263
|
+
|
|
264
|
+
### Host Assets (3)
|
|
265
|
+
|
|
266
|
+
| Tool | Description |
|
|
267
|
+
|------|-------------|
|
|
268
|
+
| `host_assets_status` | Check generated host-native assets such as Codex custom agents |
|
|
269
|
+
| `host_assets_install` | Explicitly install or refresh managed host-native assets |
|
|
270
|
+
| `host_assets_uninstall` | Remove managed host-native assets tracked by Agestra |
|
|
271
|
+
|
|
257
272
|
### Ollama (2)
|
|
258
273
|
|
|
259
274
|
| Tool | Description |
|
|
@@ -272,7 +287,7 @@ Turborepo monorepo with 8 packages:
|
|
|
272
287
|
|
|
273
288
|
| Tool | Description |
|
|
274
289
|
|------|-------------|
|
|
275
|
-
| `qa_run` | Run
|
|
290
|
+
| `qa_run` | Run vetted workspace build/test QA profiles and return a PASS/FAIL summary |
|
|
276
291
|
|
|
277
292
|
### Trace / Observability (3)
|
|
278
293
|
|
|
@@ -383,7 +398,7 @@ agestra/
|
|
|
383
398
|
│ ├── provider-codex/ # Codex CLI adapter
|
|
384
399
|
│ ├── agents/ # Debate engine, dispatcher, cross-validator
|
|
385
400
|
│ ├── workspace/ # Workspace document manager
|
|
386
|
-
│ └── mcp-server/ # MCP server,
|
|
401
|
+
│ └── mcp-server/ # MCP server, 44 tools, environment-aware filtering, dispatch
|
|
387
402
|
├── package.json # Workspace root
|
|
388
403
|
└── turbo.json # Turborepo pipeline
|
|
389
404
|
```
|
package/README.zh.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
[English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [中文](README.zh.md)
|
|
9
9
|
|
|
10
|
-
Agestra 将 Ollama(本地)、Gemini CLI 和 Codex CLI 作为可插拔提供方接入 Claude Code,通过
|
|
10
|
+
Agestra 将 Ollama(本地)、Gemini CLI 和 Codex CLI 作为可插拔提供方接入 Claude Code,通过 44 个 MCP 工具提供多 AI 编排、独立汇总、共识辩论、自主 CLI Worker、并行任务分发、交叉验证和基于质量的提供方路由。
|
|
11
11
|
|
|
12
12
|
## 快速开始
|
|
13
13
|
|
|
@@ -34,7 +34,7 @@ npm install -g agestra
|
|
|
34
34
|
agestra-install codex --assets
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
Codex 会结合仓库根目录下的 [AGENTS.md](AGENTS.md) 与已注册的 `agestra` MCP
|
|
37
|
+
Codex 会结合仓库根目录下的 [AGENTS.md](AGENTS.md) 与已注册的 `agestra` MCP 服务一起工作。生成 Codex custom agent 需要使用 `--assets` 路径,它会在 `.codex/agents/` 下安装 agent,并写入 Agestra host-asset manifest。不安装 custom agent、只注册 MCP 时,请使用 `npm run install:codex` 或 `agestra-install codex`。
|
|
38
38
|
|
|
39
39
|
### Gemini CLI
|
|
40
40
|
|
|
@@ -141,7 +141,7 @@ Gemini 会结合仓库根目录下的 [GEMINI.md](GEMINI.md) 与 [`.gemini/comma
|
|
|
141
141
|
| `@agestra/provider-codex` | OpenAI Codex CLI 适配器 |
|
|
142
142
|
| `@agestra/agents` | 带共识检测的辩论引擎、轮次质量评估、任务分发、交叉验证、任务链、自动 QA、文件变更跟踪、会话管理 |
|
|
143
143
|
| `@agestra/workspace` | 用于评审、分析笔记和汇总报告的工作区文档管理器 |
|
|
144
|
-
| `@agestra/mcp-server` | MCP 协议层,
|
|
144
|
+
| `@agestra/mcp-server` | MCP 协议层,44 个工具,按环境过滤工具并动态分发 |
|
|
145
145
|
|
|
146
146
|
### 设计原则
|
|
147
147
|
|
|
@@ -163,7 +163,7 @@ Gemini 会结合仓库根目录下的 [GEMINI.md](GEMINI.md) 与 [`.gemini/comma
|
|
|
163
163
|
|
|
164
164
|
---
|
|
165
165
|
|
|
166
|
-
## 工具(
|
|
166
|
+
## 工具(44)
|
|
167
167
|
|
|
168
168
|
### AI Chat(3)
|
|
169
169
|
|
|
@@ -173,7 +173,7 @@ Gemini 会结合仓库根目录下的 [GEMINI.md](GEMINI.md) 与 [`.gemini/comma
|
|
|
173
173
|
| `ai_analyze_files` | 从磁盘读取文件并连同问题一起发送给提供方 |
|
|
174
174
|
| `ai_compare` | 将同一提示发送给多个提供方并比较结果 |
|
|
175
175
|
|
|
176
|
-
### Agent Orchestration(
|
|
176
|
+
### Agent Orchestration(14)
|
|
177
177
|
|
|
178
178
|
| 工具 | 说明 |
|
|
179
179
|
|------|------|
|
|
@@ -226,6 +226,21 @@ Gemini 会结合仓库根目录下的 [GEMINI.md](GEMINI.md) 与 [`.gemini/comma
|
|
|
226
226
|
| `provider_list` | 列出提供方及其状态和能力 |
|
|
227
227
|
| `provider_health` | 对一个或全部提供方进行健康检查 |
|
|
228
228
|
|
|
229
|
+
### Setup(2)
|
|
230
|
+
|
|
231
|
+
| 工具 | 说明 |
|
|
232
|
+
|------|------|
|
|
233
|
+
| `setup_status` | 检测可用提供方并显示当前设置/配置状态 |
|
|
234
|
+
| `setup_apply` | 将选择的提供方、语言和选择策略写入 `providers.config.json` |
|
|
235
|
+
|
|
236
|
+
### Host Assets(3)
|
|
237
|
+
|
|
238
|
+
| 工具 | 说明 |
|
|
239
|
+
|------|------|
|
|
240
|
+
| `host_assets_status` | 检查 Codex custom agents 等生成的宿主原生资产 |
|
|
241
|
+
| `host_assets_install` | 显式安装或刷新受管宿主原生资产 |
|
|
242
|
+
| `host_assets_uninstall` | 移除 Agestra 追踪的受管宿主原生资产 |
|
|
243
|
+
|
|
229
244
|
### Ollama(2)
|
|
230
245
|
|
|
231
246
|
| 工具 | 说明 |
|
|
@@ -353,7 +368,7 @@ agestra/
|
|
|
353
368
|
│ ├── provider-codex/ # Codex CLI 适配器
|
|
354
369
|
│ ├── agents/ # 辩论引擎、分发器、交叉验证器
|
|
355
370
|
│ ├── workspace/ # 工作区文档管理器
|
|
356
|
-
│ └── mcp-server/ # MCP Server,
|
|
371
|
+
│ └── mcp-server/ # MCP Server,44 个工具,按环境过滤并分发
|
|
357
372
|
├── package.json # 工作区根目录
|
|
358
373
|
└── turbo.json # Turborepo pipeline
|
|
359
374
|
```
|
|
@@ -1,28 +1,41 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agestra-designer
|
|
3
3
|
description: |
|
|
4
|
-
|
|
5
|
-
discusses design trade-offs, and establishes direction before coding.
|
|
4
|
+
Host-local pre-implementation design explorer using Socratic questioning. Explores architecture,
|
|
5
|
+
discusses design trade-offs, and establishes direction before coding. Single-host scope only —
|
|
6
|
+
does NOT orchestrate external providers (Codex/Gemini/Ollama). For multi-AI design debates or
|
|
7
|
+
consensus design with external providers, route through agestra-team-lead or agestra-moderator
|
|
8
|
+
(mode: "idea") instead.
|
|
6
9
|
|
|
7
10
|
<example>
|
|
8
|
-
Context: User needs to plan architecture before implementing
|
|
11
|
+
Context: User needs to plan architecture before implementing (single-host)
|
|
9
12
|
user: "이 기능 어떻게 설계하면 좋을까?"
|
|
10
13
|
assistant: "I'll use the agestra-designer agent to explore architecture approaches."
|
|
11
14
|
<commentary>
|
|
12
|
-
|
|
15
|
+
Single-host design exploration — designer asks clarifying questions and proposes approaches without external providers.
|
|
13
16
|
</commentary>
|
|
14
17
|
</example>
|
|
15
18
|
|
|
16
19
|
<example>
|
|
17
|
-
Context: User is comparing implementation approaches
|
|
20
|
+
Context: User is comparing implementation approaches (single-host)
|
|
18
21
|
user: "REST vs GraphQL, 어떤 방향으로 가야할지 고민이야"
|
|
19
22
|
assistant: "I'll use the agestra-designer agent to analyze trade-offs between the approaches."
|
|
20
23
|
<commentary>
|
|
21
|
-
|
|
24
|
+
Single-host design trade-off discussion — designer explores pros/cons. If user wanted multi-AI input, route to team-lead instead.
|
|
25
|
+
</commentary>
|
|
26
|
+
</example>
|
|
27
|
+
|
|
28
|
+
<example>
|
|
29
|
+
Context: User explicitly asks for multi-AI design input — DO NOT use this agent directly
|
|
30
|
+
user: "코덱스랑 제미니 의견도 받아서 설계 결정하자"
|
|
31
|
+
assistant: "I'll use the agestra-team-lead agent to orchestrate a multi-AI design consensus."
|
|
32
|
+
<commentary>
|
|
33
|
+
Multi-AI design — must go through team-lead (which can dispatch to designer + external providers via structured debate). Do NOT call agestra-designer directly here.
|
|
22
34
|
</commentary>
|
|
23
35
|
</example>
|
|
24
36
|
model: opus
|
|
25
37
|
color: blue
|
|
38
|
+
codexSandboxMode: workspace-write
|
|
26
39
|
disallowedTools: Edit, NotebookEdit
|
|
27
40
|
---
|
|
28
41
|
|
|
@@ -1,28 +1,40 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agestra-ideator
|
|
3
3
|
description: |
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
Host-local idea & improvement discoverer. Compares with similar projects, collects user feedback,
|
|
5
|
+
explores new features, researches what to build. Single-host scope — does NOT orchestrate external
|
|
6
|
+
providers (Codex/Gemini/Ollama). For multi-AI idea consensus or competitive brainstorming with
|
|
7
|
+
external providers, route through agestra-team-lead or agestra-moderator (mode: "idea") instead.
|
|
6
8
|
|
|
7
9
|
<example>
|
|
8
|
-
Context: User wants to find improvements for their project
|
|
10
|
+
Context: User wants to find improvements for their project (single-host research)
|
|
9
11
|
user: "이 프로젝트에 뭐 추가하면 좋을까?"
|
|
10
12
|
assistant: "I'll use the agestra-ideator agent to research improvements and feature ideas."
|
|
11
13
|
<commentary>
|
|
12
|
-
|
|
14
|
+
Single-host research — ideator does the web research and analysis alone.
|
|
13
15
|
</commentary>
|
|
14
16
|
</example>
|
|
15
17
|
|
|
16
18
|
<example>
|
|
17
|
-
Context: User exploring whether a new project is viable
|
|
19
|
+
Context: User exploring whether a new project is viable (single-host research)
|
|
18
20
|
user: "이거 만들 가치가 있을까? 비슷한 도구가 있나?"
|
|
19
21
|
assistant: "I'll use the agestra-ideator agent to research the landscape and assess viability."
|
|
20
22
|
<commentary>
|
|
21
|
-
|
|
23
|
+
Single-host viability research — ideator compares with existing tools alone.
|
|
24
|
+
</commentary>
|
|
25
|
+
</example>
|
|
26
|
+
|
|
27
|
+
<example>
|
|
28
|
+
Context: User wants multi-AI idea brainstorming — DO NOT use this agent directly
|
|
29
|
+
user: "코덱스 제미니 같이 의견 모아서 뭐 만들지 정하자"
|
|
30
|
+
assistant: "I'll use the agestra-team-lead agent to orchestrate a multi-AI idea consensus."
|
|
31
|
+
<commentary>
|
|
32
|
+
Multi-AI idea generation — must go through team-lead which can run structured debate (mode:idea) with external providers. Do NOT call agestra-ideator directly here.
|
|
22
33
|
</commentary>
|
|
23
34
|
</example>
|
|
24
35
|
model: sonnet
|
|
25
36
|
color: green
|
|
37
|
+
codexSandboxMode: read-only
|
|
26
38
|
disallowedTools: Edit, NotebookEdit
|
|
27
39
|
---
|
|
28
40
|
|
|
@@ -1,20 +1,31 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: agestra-implementer
|
|
3
3
|
description: |
|
|
4
|
-
|
|
4
|
+
Host-local implementation executor. Applies scoped code changes, writes or updates tests,
|
|
5
5
|
follows existing project patterns, and verifies the result. Receives tasks from
|
|
6
|
-
|
|
6
|
+
agestra-team-lead; does not orchestrate other providers and does not run debates or QA.
|
|
7
|
+
For multi-AI implementation (Codex/Gemini/Ollama workers), route through agestra-team-lead.
|
|
7
8
|
|
|
8
9
|
<example>
|
|
9
10
|
Context: The team lead has decomposed a task and needs a host-local executor
|
|
10
11
|
user: "이 작업은 현재 호스트 구현 에이전트가 처리해"
|
|
11
12
|
assistant: "I'll use the agestra-implementer agent to apply the scoped code changes."
|
|
12
13
|
<commentary>
|
|
13
|
-
|
|
14
|
+
Single-host implementation executor — modifies code within the assigned files and verifies.
|
|
15
|
+
</commentary>
|
|
16
|
+
</example>
|
|
17
|
+
|
|
18
|
+
<example>
|
|
19
|
+
Context: User wants multi-AI implementation — DO NOT use this agent directly
|
|
20
|
+
user: "코덱스로 이 부분 구현하고 제미니로 검증해줘"
|
|
21
|
+
assistant: "I'll use the agestra-team-lead agent to orchestrate multi-AI implementation."
|
|
22
|
+
<commentary>
|
|
23
|
+
Multi-AI implementation with external providers — must go through team-lead which spawns CLI workers and coordinates results. Do NOT call agestra-implementer directly here.
|
|
14
24
|
</commentary>
|
|
15
25
|
</example>
|
|
16
26
|
model: sonnet
|
|
17
27
|
color: green
|
|
28
|
+
codexSandboxMode: workspace-write
|
|
18
29
|
---
|
|
19
30
|
|
|
20
31
|
<Role>
|