Agent Conductor
Agent Conductor
AGENTS.md を入力に、統制されたエージェントチームを出力に。
Agent Conductor は MCP サーバーであり、
コーディングエージェントエコシステムが収束した2つの規約 —
AGENTS.md 運用マニュアルと SKILL.md スキル — を受動的なドキュメントから
能動的なオーケストレーション層へと変え、コンセンサス強化型意思決定エンジンで
高リスクな変更をゲートします。
ミラー: Cubiczan/agent-conductor · codeberg.org/cubiczan/agent-conductor · icohangar-ops/agent-conductor
ライセンス: MIT
ステータス: v0.1 — 動作するスキャフォールド。 ロードマップ を参照
問題
真面目なエージェントツールはどれも — Claude Code、Cursor、Copilot、Codex、Gemini CLI —
リポジトリルートの AGENTS.md と SKILL.md ファイルのカタログを読みます。
しかし、両方の規約は信用ベースの散文にすぎません:
契約をコンパイルするものは何もありません。絶対条件のルール、レイヤー 境界、検証チェックリストは、エージェントが内部化するかどうかわからない markdown として存在するだけです。
意思決定をゲートするものは何もありません。スコアリングモデルを書き換えようとしている エージェントは、変数の名前を変更するエージェントと同じ自信で進みます。
チェックリストが実行されたかを検証するものは何もありません。「引き渡し前に
npm testを実行せよ」 は提案であり、ゲートではありません。
Conductor は規約を実行可能にします — どのエージェントツールにも変更を求めずに。 標準の MCP サーバーとして提供されるため、MCP を話せるものはすべて、 契約コンパイル、スキル発見、意思決定ゲートをそのまま利用できます。
Related MCP server: @event4u/agent-config
仕組み
MCP client (Claude Code / Cursor / Copilot / ...)
│ stdio (JSON-RPC, MCP)
▼
┌────────────────────────────────────────────────┐
│ TypeScript front end (src/) │
│ contract/parser.ts AGENTS.md → contract │
│ skills/loader.ts SKILL.md discovery │
│ server.ts 7 MCP tools │
└────────────────┬───────────────────────────────┘
│ newline-delimited JSON, child stdio
▼
┌────────────────────────────────────────────────┐
│ Python decision engine (engine/) │
│ bridge.py → PyPI consensus-hardening-protocol│
│ R0 gates · foundation attacks · lifecycle │
└────────────────────────────────────────────────┘3つの機能グループ:
契約 —
AGENTS.mdを構造化されたミッション、 絶対条件のルール、レイヤーの do/don't 境界、検証ゲート、 スキル推奨、スコープ外リストにコンパイルします。スキル — プロジェクトおよび個人スコープの
SKILL.mdスキルを 段階的開示で発見します: メタデータは約100トークン、本文は オンデマンドでのみ読み込まれます。意思決定 — Consensus Hardening Protocol で 作業をゲートします: 作業開始前の低コストな R0 サニティゲートと、 高リスクな変更がロックされる前の敵対的ファンデーション攻撃パス。
クイックスタート
npx -y @cubiczan/agent-conductor
# decision_* tools also need:
# pip install -r engine/requirements.txt # after cloning, or use the published package's engine/要件: Node 23+ (TypeScript をネイティブ実行) と Python 3.10+、 公開済み CHP パッケージがインストールされていること。
git clone https://github.com/icohangar-ops/agent-conductor.git
cd agent-conductor
npm install
pip install -r engine/requirements.txt
npm test # TypeScript tests (parser, skills, live engine bridge)
npm run test:engine # Python bridge protocol tests
npm run buildClaude Code に登録:
claude mcp add agent-conductor -- node /path/to/agent-conductor/dist/index.jsまたは任意の MCP クライアントの JSON 設定で:
{
"mcpServers": {
"agent-conductor": {
"command": "node",
"args": ["/path/to/agent-conductor/dist/index.js"]
}
}
}Python 3 が python3 以外の場所にある場合は CONDUCTOR_PYTHON を設定してください。
次に、AGENTS.md がある任意のプロジェクトから:
「このプロジェクトのエージェント契約を読み込み、検証ゲートを一覧表示し、 これから行おうとしている変更に対して decision_adversary パスを実行して。」
ツールリファレンス
contract_load
AGENTS.md (または CLAUDE.md) を構造化された契約にコンパイルします。ファイルパスまたは プロジェクトディレクトリを受け付けます。デフォルトは現在の作業ディレクトリです。
// input
{ "path": "examples/pipeline-pulse" }
// output (abridged — real output from the bundled example)
{
"source": "examples/pipeline-pulse/AGENTS.md",
"title": "AGENTS.md — Pipeline Pulse CRM",
"mission": "Pipeline Pulse CRM is a lightweight, local-first pipeline review dashboard...",
"rules": [
"Deterministic logic — same inputs → same scores, labels, and summaries...",
"Logic in crm.js — keep main.js thin (fetch, render, events).",
"... (6 total)"
],
"layers": [
{ "layer": "src/crm.js", "role": "Domain logic",
"do": "Deterministic scoring, filtering, summaries", "dont": "DOM manipulation" }
],
"gates": [
{ "name": "Code change checklist", "commands": ["npm test"], "notes": "" },
{ "name": "Before completion", "commands": [], "notes": "npm test — all green...\n..." }
],
"skills": [
{ "task": "CRM scoring / forecast changes", "skill": "obra/test-driven-development",
"url": "https://github.com/obra/superpowers/...", "why": "Tests-first changes to deterministic logic" }
],
"outOfScope": ["External CRM integrations (Salesforce, HubSpot, etc.)", "..."],
"sectionCount": 28
}パーサーはロスレスです: 認識しないセクションはそのまま保持されるため、 型にはまらない AGENTS.md の内容も失われません。
contract_verification
検証ゲートのみを返します — 作業を引き渡す前に合格しなければならない 名前付きチェックリストとシェルコマンド。エージェントのワークフローと組み合わせて: コマンドを実行し、成功を確認してから完了を宣言します。
skills_list
プロジェクトルートから見える SKILL.md スキルを発見します。メタデータのみ。
// input
{ "projectRoot": "examples/pipeline-pulse" }
// output
{
"skills": [
{
"name": "pipeline-scoring",
"description": "Explain and modify scoreDealRisk weights in src/crm.js with matching test updates...",
"version": "0.1.0",
"scope": "project"
}
]
}検索順序 (スキル名ごとに最初に見つかったものが優先):
優先度 | パス | スコープ |
1 |
| プロジェクト |
2 |
| プロジェクト |
3 |
| プロジェクト |
4 |
| 個人 |
5 |
| 個人 |
skill_load
指定した1つのスキルの SKILL.md 本文全体を読み込みます — 段階的開示の オンデマンド側です。タスクがスキルの説明に一致する場合にのみ呼び出してください。
decision_gate
Consensus Hardening Protocol R0 ゲート: 最も低コストで最も効果の高い チェックであり、作業を行う前に実行します。
// input
{ "solvable": true, "scoped": false, "valid": true, "worth_it": true }
// output
{ "verdict": "HALT", "results": { "Solvable": "PASS", "Scoped": "FATAL", "Valid": "PASS", "Worth_it": "PASS" } }FATAL の回答があれば停止: スコープが定まっていない、理解されていない、
または解決する価値のない問題にトークンを費やす前に、立ち止まって再構成します。
decision_adversary
高リスクな変更のためのワンショット敵対的パス: CHP が主張の ファンデーションを攻撃し、0〜100 でスコアリングし、悪魔の代弁者的な所見と セッションステータスを返します。
// input
{
"claim": "Change scoreDealRisk stale-activity weight from 20 to 30",
"context": "Tests updated; label distribution checked against fixture"
}
// output
{
"status": "EXPLORING", // or HALT / REFRAME_REQUIRED
"foundation_score": 77,
"findings": [
"Treat every financial number as unverified until tied to source data.",
"Require explicit flip criteria for any provisional recommendation."
],
"verification_failures": ["PENDING third-party validation"],
"report": "## TriangulationRunner Adversary Pass\n..."
}ステータスは CHP の意思決定ライフサイクル
(EXPLORING → PROVISIONAL_LOCK → LOCKED、HALT と
REFRAME_REQUIRED の出口あり) に対応します: EXPLORING は主張が攻撃を
生き延び、ロックに向けて作業を進めてよいことを意味します。HALT/REFRAME_REQUIRED は
ファンデーションが失敗したことを意味します。
engine_status
Python エンジンのサブプロセスをヘルスチェックします。
{ ok, engine: "chp", version } を返します。
パーサーが認識するもの
contract_load はスキーマベースではなく規約ベースです。実際に使われている
AGENTS.md ファイルのパターンを抽出します:
契約フィールド | ソース規約 |
| 最初の |
|
|
| アーキテクチャ風の見出しの下にある |
| チェックリスト / 検証 / 完了前の見出しの下のシェルコードブロック + リスト項目 |
|
|
| スコープ外 / 非目標の見出しの下のリスト |
| すべてをそのまま — ロスレスなフォールバック |
コードフェンス内の見出しは無視されます。テーブルはヘッダー内の強調を許容します。 markdown リンクと強調は抽出テキストから除去されます。
スキルの書き方
スキルは YAML フロントマターを含む SKILL.md を含むディレクトリです:
---
name: pipeline-scoring
description: Explain and modify scoreDealRisk weights in src/crm.js with matching test updates. Use when changing deal risk scoring, risk labels, or forecast thresholds.
version: 0.1.0
tools: [Read, Edit, Bash]
---
# Pipeline Scoring
Step-by-step instructions the agent follows when the task matches...品質基準 (awesome-agent-skills 標準から継承): マッチ可能なキーワードを含む三人称の説明、メタデータは約 100トークン、本文は500行未満、マシン固有の絶対パスなし、スキルが必要とする ツールのみを宣言。
同梱の例 — examples/pipeline-pulse — は 完全な実世界の AGENTS.md とプロジェクトスコープのスキルであり、 テストスイートがコンパイルする対象です。
プロジェクト構造
.
├── AGENTS.md # This repo's own contract (compiles with itself)
├── ARCHITECTURE.md # Design decisions and component detail
├── src/
│ ├── index.ts # stdio entrypoint
│ ├── server.ts # MCP server: 7 tools
│ ├── contract/ # AGENTS.md → AgentContract compiler
│ ├── skills/ # SKILL.md loader + registry
│ ├── engine/chpBridge.ts # Python engine client
│ └── utils/logger.ts # stderr-only logging (stdout is the transport)
├── engine/
│ ├── bridge.py # JSON-over-stdio router → PyPI `chp`
│ ├── requirements.txt # consensus-hardening-protocol pin
│ ├── NOTICE.md # attribution for the published engine
│ └── test_bridge.py # protocol tests
├── examples/pipeline-pulse/ # real AGENTS.md fixture + example skill
└── test/ # node:test suites (run the .ts directly)開発
pip install -r engine/requirements.txt
npm test # TypeScript tests — includes a live engine round-trip
npm run test:engine # Python-side protocol tests
npx tsc --noEmit # type check
npm run build # emit dist/
npm run dev # run the server from source (Node type stripping)ハウスルール (完全なセットはこのリポジトリ自身の AGENTS.md にあります):
stdout は神聖 — MCP トランスポートが所有します。すべてのログは ブリッジの両側で stderr に出力されます。
新しい Node ランタイム依存関係ゼロ —
@modelcontextprotocol/sdkとzodのみ。markdown/フロントマターは手書きのまま。CHP は PyPI 依存。消去可能な TypeScript のみ — ソースは Node の型ストリッピングで 実行可能でなければなりません (enum なし、パラメータプロパティなし)。
CHP は PyPI 経由 —
consensus-hardening-protocolをインストール。engine/の下で再ベンダーしないでください。プロトコル修正は上流に属します。Python 3.10+ — 公開パッケージに必要です。
ロードマップ
バージョン | テーマ | スコープ |
v0.2 | 強制 |
|
v0.3 | オーケストレーション |
|
v0.4 | レジストリ | ソースレビュープロンプト付きでリモートカタログ (awesome-agent-skills 形式) から検証済みスキルをインストール |
来歴
Conductor は書き直すのではなく、実績のあるコンポーネントを意図的に再利用します:
コンポーネント | ソース | ライセンス |
意思決定エンジン (PyPI) | MIT | |
MCP サーバー + レジストリ形状 | MIT | |
スキル品質標準 | — | |
例のフィクスチャ | Pipeline Pulse CRM 運用マニュアル | フィクスチャ |
2言語設計については engine/NOTICE.md と ARCHITECTURE.md を参照してください。
Cubiczan スタック
| ガバナンス | consensus-hardening-protocol · agent-conductor · compliance-as-code-agent · cleanmandate | | プラットフォーム | cubiczan-mcp-server · operational-intelligence · software-factory |
Conductor は AGENTS.md + SKILL.md を MCP ツールにコンパイルし、高リスクな意思決定を CHP 経由でルーティングします — Metabocommand が財務承認に使用するのと同じロックモデルです。
ライセンス
MIT — LICENSE を参照。ベンダーされたコンポーネントは元の MIT ライセンスを保持します。
Maintenance
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables offline AI agent automation with embedded local LLM (Qwen 2.5), sandboxed file operations through AgentFS, and dynamic skill loading. Exposes capabilities via MCP with tri-state safety guards for private, air-gapped environments without network connectivity or API costs.

@event4u/agent-configofficial
AlicenseAqualityAmaintenanceUniversal AI Agent OS — governed skills, rules, and commands for AI coding assistants (Claude Code, Augment, Cursor, Copilot, Windsurf). Read-only MCP bridge serves prompts and resources from a release-pinned content bundle.6202,3397MIT- AlicenseNot gradedqualityCmaintenanceMulti-server MCP aggregator with 266 skills, an orchestration runtime, fleet/claims coordination, and hook-driven session governance for autonomous Claude/Cursor/Gemini agent runs.3MIT
- AlicenseNot gradedqualityDmaintenanceOrchestrates AI agents through structured markdown documents, enabling multi-agent workflows with automatic context injection and workflow management.174MIT
Related MCP Connectors
Six-gate governance for AI agents: PROCEED/PAUSE/HALT decisions with hash-chained audit trails.
Sovereign Agent OS — Persistent Memory, Governance & Compliance for AI Agents.
Control plane for autonomous software labor. Agents claim objectives over MCP with audit trail.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/icohangar-ops/agent-conductor'
If you have feedback or need assistance with the MCP directory API, please join our Discord server