Agent Conductor
Agent Conductor
AGENTS.md를 넣으면, 통제된 에이전트 팀이 나온다.
Agent Conductor는 코딩 에이전트 생태계가 수렴한 두 가지 관례 —
AGENTS.md 운영 매뉴얼과 SKILL.md 스킬 — 을 수동적인 문서에서 능동적인 오케스트레이션 계층으로 바꿔주는 MCP 서버이며, 합의 강화(consensus-hardened) 의사결정 엔진이 고위험 변경을 게이트합니다.
미러: 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 파일 카탈로그를 읽습니다.
하지만 두 관례 모두 명예에 기대는 산문(prose)입니다:
계약을 컴파일하는 것은 없습니다. 양보할 수 없는 규칙, 계층 경계, 검증 체크리스트는 에이전트가 내면화할 수도 아닐 수도 있는 마크다운으로 존재합니다.
결정을 게이트하는 것은 없습니다. 점수 모델을 재작성하려는 에이전트는 변수 이름을 바꾸는 에이전트와 동일한 확신으로 진행합니다.
체크리스트가 실행되었는지 검증하는 것은 없습니다. "인계 전에
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 │
└────────────────────────────────────────────────┘세 가지 기능 그룹:
계약(Contract) —
AGENTS.md를 구조화된 미션, 양보할 수 없는 규칙, 계층 do/don't 경계, 검증 게이트, 스킬 추천, 범위 외 목록으로 컴파일합니다.스킬(Skills) — 프로젝트 및 개인 범위에서
SKILL.md스킬을 점진적 공개(progressive disclosure)로 발견합니다: 메타데이터는 ~100토큰, 본문은 요청 시에만 로드됩니다.결정(Decision) — Consensus Hardening Protocol로 작업을 게이트합니다: 작업 시작 전에 저비용 R0 새니티 게이트, 고위험 변경이 잠기기 전에 적대적 기반 공격(adversarial foundation-attack) 패스.
빠른 시작
npx -y @cubiczan/agent-conductor
pip install consensus-hardening-protocol # required for decision_* toolsnpm: @cubiczan/agent-conductor · PyPI: consensus-hardening-protocol
요구 사항: 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": "npx",
"args": ["-y", "@cubiczan/agent-conductor"]
}
}
}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
}파서는 무손실(lossless) 입니다: 인식하지 못하는 섹션은 그대로 보존되므로, 비관례적인 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
이름이 지정된 하나의 스킬에 대한 전체 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으로 점수를 매기며, 악마의 대변인(devil's-advocate) 소견과 세션 상태를 반환합니다.
// 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 파일에서 사용되는 패턴을 추출합니다:
계약 필드 | 소스 관례 |
| 첫 번째 |
|
|
| 아키텍처류 제목 아래 |
| 셸 코드 블록 + 체크리스트 / 검증 / 완료 전 제목 아래의 목록 항목 |
|
|
| 범위 외 / 비목표 제목 아래의 목록 |
| 모든 것, 그대로 — 무손실 폴백 |
코드 펜스 내부의 제목은 무시됩니다. 테이블은 헤더의 강조를 허용합니다. 마크다운 링크와 강조는 추출된 텍스트에서 제거됩니다.
스킬 작성
스킬은 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 표준에서 상속): 일치 가능한 키워드가 있는 3인칭 설명, 약 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만 사용합니다. 마크다운/프론트매터는 수제로 유지합니다. CHP는 PyPI 의존성입니다.지울 수 있는 TypeScript만 — 소스는 Node의 타입 스트리핑에서 실행되어야 합니다 (enum, 매개변수 속성 없음).
CHP는 PyPI로 —
consensus-hardening-protocol을 설치하세요.engine/아래에 재벤더링하지 마세요. 프로토콜 수정은 업스트림에 속합니다.Python 3.10+ — 게시된 패키지의 요구 사항입니다.
로드맵
버전 | 테마 | 범위 |
v0.2 | 강제(Enforcement) |
|
v0.3 | 오케스트레이션 | MCP를 통해 |
v0.4 | 레지스트리 | 소스 검토 프롬프트와 함께 원격 카탈로그(awesome-agent-skills 형식)에서 검증된 스킬 설치 |
출처(Provenance)
Conductor는 재작성 대신 검증된 구성 요소를 의도적으로 재사용합니다:
구성 요소 | 소스 | 라이선스 |
결정 엔진 (PyPI) | MIT | |
MCP 서버 + 레지스트리 형태 | MIT | |
스킬 품질 표준 | — | |
예제 픽스처 | Pipeline Pulse CRM 운영 매뉴얼 | 픽스처 |
이중 언어 설계에 대해서는 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가 금융 승인에 사용하는 것과 동일한 잠금 모델입니다.
License
MIT — LICENSE 참조. 벤더링된 구성 요소는 원래 MIT 라이선스를 유지합니다.
Available Tools
7 toolscontract_loadA
Compile an AGENTS.md operating manual into a structured agent contract: mission, non-negotiable rules, layer responsibilities, verification gates, recommended skills, and out-of-scope list. Pass a file path or a project directory (defaults to the current working directory).
Inputs: path.
contract_verificationA
Return the verification gates from a project's agent contract — the named checklists and shell commands that must pass before work is handed off. Run these and confirm success before declaring any task complete.
Inputs: path.
decision_adversaryA
Run a one-shot Consensus Hardening Protocol adversarial pass against a claim or proposed change: CHP attacks its foundations, scores them 0-100, and returns findings plus a session status (EXPLORING / HALT / REFRAME_REQUIRED). Use before locking any high-stakes decision.
Inputs: claim (required), context, high_stakes.
decision_gateA
Run the Consensus Hardening Protocol R0 gate on a proposed decision: is it solvable, scoped, valid, and worth making at all? Any FATAL answer returns HALT — stop and reframe before doing the work.
Inputs: valid (required), scoped (required), solvable (required), worth_it (required).
engine_statusA
Health/readiness probe for the CHP decision engine (Python subprocess). By default returns a cheap readiness snapshot (running, last exit code, restart-backoff state) WITHOUT spawning Python. Pass probe=true to also issue a live ping that warms/spawns the subprocess.
Inputs: probe.
skill_loadA
Load the full SKILL.md body for a named skill — the on-demand half of progressive disclosure. Call only when the current task matches the skill's description.
Inputs: name (required), projectRoot.
skills_listA
Discover SKILL.md skills visible from a project root (project-scope .conductor/.claude/.cursor skill dirs, then personal ones). Returns metadata only (~100 tokens per skill); use skill_load for the full body.
Inputs: projectRoot.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct responsibility: contract compilation, verification gate retrieval, skill discovery, skill body loading, decision gating, adversarial review, and engine health. Even the two decision tools are clearly separated by depth: one is a lightweight pre-check, the other is a full adversarial pass.
The naming generally follows a resource_prefix_action pattern (contract_load, skills_list, decision_gate), but there are minor inconsistencies: contract_verification and engine_status are noun-phrase rather than verb-action, and skills_list/skill_load mix plural and singular forms. The pattern is still readable and predictable overall.
Seven tools is well-scoped for the server's purpose: two for contracts, two for skills, two for decision support, and one operational health probe. Each tool fills a distinct slot with no obvious bloat or redundancy.
The core workflows are covered: contracts can be loaded and verified, skills can be discovered and loaded, and decisions can be gated and adversarial-tested. Minor gaps exist, such as the lack of a tool to explicitly execute verification gates or persist/review decision outcomes, but agents can work around these with shell commands and existing server behavior.
Maintenance
Related MCP Connectors
Multi-agent governance: task orchestration, compliance, decision validation, and ML predictions.
Memory governance + pre-execution action gates for AI agents. Blocks destructive commands and drift before execution (isCertified: false). 3 tools, ~57ms p50, 0 server LLMs.
Executable skill packages for agents: vetted competence, ready to run, not just documents.
LLM Orchestration Agent 2
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
AlicenseBqualityAmaintenanceUniversal 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.292,615 npm20MIT- AlicenseNot gradedqualityDmaintenanceMulti-server MCP aggregator with 266 skills, an orchestration runtime, fleet/claims coordination, and hook-driven session governance for autonomous Claude/Cursor/Gemini agent runs.4MIT
- AlicenseNot gradedqualityDmaintenanceOrchestrates AI agents through structured markdown documents, enabling multi-agent workflows with automatic context injection and workflow management.5MIT