Repository navigation
MCP A2A Integration
Cross-repo integration via Model Context Protocol (MCP) and Agent-to-Agent (A2A) communication.
Full spec: cross-repo-mcp-glue.md
| Source | Target | Mechanism | Status |
|---|---|---|---|
| TARS GrammarMlBridge | ix ML pipeline | IxCaller function type | Designed, not wired |
| TARS GovernanceGeneration | Demerzel schemas | JSON serialization | Working |
| ix-dashboard | Demerzel state/ | File reader (Rust) | Working |
| ix governance tools | Demerzel artifacts | In-process loading | Working |
| ix_tars_bridge | TARS | MCP tool | Registered |
| ix_ga_bridge | GA | MCP tool | Registered |
| Discord Bot | Demerzel governance | Anthropic SDK + discord.js | Live |
14 A2A Agent Cards generated from Demerzel personas — one per persona archetype. Each card follows the agent-card.schema.json and enables peer-to-peer agent discovery and capability advertisement.
Agent cards are in examples/agent-cards/:
| Agent Card | Persona | Key Capabilities |
|---|---|---|
demerzel.agent-card.json |
Demerzel | Governance coordination, directive issuance, constitutional enforcement |
seldon.agent-card.json |
Seldon | Research cycles, course production, knowledge transfer |
skeptical-auditor.agent-card.json |
Skeptical Auditor | Quality gates, bias detection, claim verification |
reflective-architect.agent-card.json |
Reflective Architect | Design specs, systems engineering, grammar design |
system-integrator.agent-card.json |
System Integrator | Cross-repo wiring, deployment, MCP federation |
kaizen-optimizer.agent-card.json |
Kaizen Optimizer | PDCA cycles, improvement proposals, waste elimination |
convolution-agent.agent-card.json |
Convolution Agent | Mathematical analysis, signal processing, proofs |
critical-theorist.agent-card.json |
Critical Theorist | Ethical analysis, ideology critique, value alignment |
communal-steward.agent-card.json |
Communal Steward | Stakeholder management, community governance |
rational-administrator.agent-card.json |
Rational Administrator | Process management, compliance, scheduling |
recovery-agent.agent-card.json |
Recovery Agent | Failure diagnosis, rollback, resilience |
validator-reflector.agent-card.json |
Validator Reflector | Self-assessment, behavioral validation |
virtuous-leader.agent-card.json |
Virtuous Leader | Long-horizon planning, ethical leadership |
default.agent-card.json |
Default | Baseline governed behavior |
Conversion template: persona-to-agent-card.md
The Galactic Protocol now integrates with Claude Code agent teams (AGENTS.md). The same governance contracts that flow between repos also govern the team:
Demerzel Lead receives GitHub Issue
→ triage by label → assign to teammate
→ teammate runs IxQL pipeline
→ teammate reports compliance
→ Lead updates belief state
→ Galactic Protocol directive if cross-repo action needed
See Agent-Teams for full AGENTS.md team spec.
TARS's GrammarMlBridge.fs defines IxCaller = string -> string -> Async<Result<string, string>> — the exact shape of an MCP tool call. Wiring this to ix's MCP tools is the P0 integration.
| Tool | Use Case | Priority |
|---|---|---|
ix_ml_pipeline |
Train classifiers on grammar production features | P0 |
ix_ml_predict |
Score new productions before execution | P0 |
ix_evolution |
Breed novel grammar productions | P1 |
ix_governance_check |
Validate generated directives against constitution | P1 |
| Tool | Use Case | Priority |
|---|---|---|
| Grammar distillation | Compress ix pipeline definitions | P1 |
| Governance generation | Generate valid Galactic Protocol messages | P1 |
| AI Function execution | LLM-powered analysis on governance data | P2 |
Demerzel conscience signal (weight >= 0.7)
→ TARS GovernanceGeneration (grammar-constrained directive)
→ ix_governance_check (validate against constitution)
→ Galactic Protocol delivery
→ Consumer repo receives directive
→ Compliance report back to Demerzel
- Wire IxCaller to MCP — connect TARS GrammarMlBridge to ix tools
- Governance automation — conscience → TARS generation → ix validation
- Dashboard live data — ix-dashboard queries TARS MCP for agent status
- A2A protocols — full bi-directional agent communication
- Agent card registry — all 14 cards registered in ix MCP tool catalog
- Architecture — system design
- Galactic-Protocol — message types and contracts
- Agent-Teams — Claude Code team coordination
- IxQL — pipeline language for orchestration
- Consumer-Integration — repo integration status