Architecture consulting for multi-agent systems, grounded in the textbook.
Iconsult MCP
Architecture consulting for multi-agent systems, grounded in the textbook.
Iconsult is an MCP server that reviews your multi-agent architecture against a knowledge graph of 141 concepts and 462 relationships extracted from Agentic Architectural Patterns for Building Multi-Agent Systems (Arsanjani & Bustos, Packt 2026). Every recommendation comes with chapter numbers, page references, and concrete code-level changes — not abstract advice.
See It In Action
We pointed Iconsult at OpenAI's Financial Research Agent — a 5-stage multi-agent pipeline from their Agents SDK — and asked it to assess architectural maturity.
View the full interactive architecture review →
The agent's current architecture
The Financial Research Agent uses a 5-stage sequential pipeline orchestrated by FinancialResearchManager. Search is the only concurrent stage — everything else runs in sequence, and the verifier is a terminal dead end:
flowchart TD
Q["User Query"] --> MGR["FinancialResearchManager"]
MGR --> PLAN["PlannerAgent (o3-mini)"]
PLAN -->|"FinancialSearchPlan"| FAN{"Fan-out N searches"}
FAN --> S1["SearchAgent"]
FAN --> S2["SearchAgent"]
FAN --> SN["SearchAgent"]
S1 --> W["WriterAgent (gpt-5.2)"]
S2 --> W
SN --> W
W -.-> FA["FundamentalsAgent (.as_tool)"]
W -.-> RA["RiskAgent (.as_tool)"]
W --> V["VerifierAgent"]
V --> OUT["Output"]
What Iconsult found
Solid foundation — and Iconsult's knowledge graph traversal identified 4 key opportunities for growth:
| # | Finding | Recommended Pattern | Book Reference |
|---|---|---|---|
| R1 | Verifier flags issues but pipeline terminates — no self-correction | Auto-Healing Agent Resuscitation | Ch. 7, p. 216 |
| R2 | Raw search results pass unfiltered to writer | Hybrid Planner+Scorer | Ch. 12, pp. 387-390 |
| R3 | All agents share same trust level — no capability boundaries | Supervision Tree with Guarded Capabilities | Ch. 5, pp. 142-145 |
| R4 | Zero reliability patterns composed (book recommends 2-3 minimum) | Shared Epistemic Memory + Persistent Instruction Anchoring | Ch. 6, p. 203 |
Recommended architecture
The natural next evolution — adding a feedback loop, quality gate, shared memory, and retry logic:
flowchart TD
Q["User Query"] --> SUP["SupervisorManager"]
SUP --> MEM[("Shared Epistemic Memory")]
SUP --> PLAN["PlannerAgent"]
PLAN --> FAN{"Fan-out + Retry Logic"}
FAN --> S1["SearchAgent"]
FAN --> S2["SearchAgent"]
S1 & S2 --> SCR["ScorerAgent (quality gate)"]
SCR --> W["WriterAgent"]
W -.-> FA["FundamentalsAgent"]
W -.-> RA["RiskAgent"]
W --> V["VerifierAgent"]
V -->|"issues found"| W
V -->|"verified"| OUT["Output"]
MEM -.-> W
MEM -.-> V
How it got there
The consultation followed Iconsult's guided workflow:
Read the codebase — Fetched all source files from
manager.py,agents/*.py. Identified the orchestrator pattern inFinancialResearchManager, the.as_tool()composition, the broadexcept Exception: return Nonein search, and the terminal verifier.Match concepts —
match_conceptsembedded the project description and deterministically ranked the most relevant patterns: Orchestrator, Planner-Worker, Agent Delegates to Agent, Tool Use, and Supervisor.
2b. Plan — plan_consultation assessed complexity and generated an adaptive plan — how many concepts to traverse, whether to use subagents, and which critique steps to include.
Traverse the graph —
get_subgraphexplored each seed concept's neighborhood. Therequiresedges revealed that the Supervisor pattern requires Auto-Healing — an opportunity not yet in place. Thecomplementsedges surfaced Hybrid Planner+Scorer as a natural addition.log_pattern_assessmentrecorded each finding for deterministic scoring.Retrieve book passages —
ask_bookscoped to the discovered concepts returned exact citations: chapter numbers, page ranges, and quotes grounding each recommendation.Score + stress test + synthesize —
score_architecturecomputed the maturity scorecard from logged assessments.generate_failure_scenariosproduced concrete resilience scenarios for each opportunity — illustrating how the architecture responds under stress and where it would benefit from additional patterns. Thenrender_reportgenerated the interactive before/after architecture diagram server-side — pulling scores, scenarios, and coverage from the database and merging with narrative
Tools (7)
match_conceptsEmbeds project description to deterministically rank relevant architectural patterns.plan_consultationAssesses complexity and generates an adaptive plan for architectural review.get_subgraphExplores the neighborhood of seed concepts within the architectural knowledge graph.ask_bookRetrieves exact citations, chapter numbers, and page ranges for architectural patterns.score_architectureComputes a maturity scorecard based on logged architectural assessments.generate_failure_scenariosProduces concrete resilience scenarios for identified architectural opportunities.render_reportGenerates an interactive before/after architecture diagram server-side.Configuration
{"mcpServers": {"iconsult": {"command": "npx", "args": ["-y", "@marcus-waldman/iconsult-mcp"]}}}