ML Architecture

ML Architecture

Multi-Agent Collaboration Framework

Closed-loop diagram with Planner, Retriever, Executor and Critic agents and an external knowledge base.

Prompt

A multi-agent collaboration framework with four specialised agents arranged in a closed loop.

Center-top: User Query (rounded rectangle).

Four agents arranged clockwise around a central message bus:
1) Planner β€” decomposes the user task into sub-goals and dispatches them.
2) Retriever β€” issues semantic queries against an external Vector Store + Document Store (drawn outside the loop on the left).
3) Executor β€” calls external Tools / APIs (drawn outside the loop on the right) to perform actions.
4) Critic β€” evaluates intermediate outputs against the user goal and returns revisions.

Show labeled directional arrows for each message type:
- "task" (Planner -> Retriever / Executor)
- "context" (Retriever -> Planner)
- "action result" (Executor -> Critic)
- "revision" (Critic -> Planner, dashed)

Bottom: Final Response box.

Style: clean academic vector, navy / teal / amber palette, rounded boxes, white background, sans-serif labels. Suitable for ICLR or AAAI submissions.
Use in Generator

When to use

For agentic-AI / tool-use / orchestration papers and engineering blog posts.

Variations

Two-agent reviewer-writer loop

A two-agent loop: Writer agent drafts a long-form answer; Reviewer agent scores the draft on 4 criteria (correctness, completeness, conciseness, citation coverage) and returns structured feedback. The loop terminates when score crosses a threshold T. Show the score-gated termination as a diamond decision node. Clean academic style.

Hierarchical orchestrator

A hierarchical agent system: a top-level Orchestrator agent dispatches to 3 specialist sub-agents (Code, Search, Math), each of which manages 2 worker tools. Show the 3-level tree clearly with labeled message types. Use a clean tree layout with rounded boxes.

Tips

  • Explicitly list each agent role and its single responsibility β€” vague roles produce vague boxes.
  • Name each arrow (task / context / revision). Unnamed arrows often get drawn but unlabeled.
  • Mention the external resources (vector store, tools) outside the loop to keep the diagram readable.

FAQ

How do I show parallel agent execution?

Add "Planner dispatches in parallel; show fork/join with horizontal bars" or describe a swimlane layout.

Can I add a memory module shared by all agents?

Yes β€” describe it as a central long-term memory store that every agent reads from and writes to with bidirectional arrows.