{
  "schema_version": 1,
  "mode": "agent",
  "template_type": "agent",
  "style": 5,
  "motion_scene": "agent-orchestration",
  "quality_profile": "showcase",
  "width": 960,
  "height": 700,
  "title": "Multi-Agent Collaboration",
  "subtitle": "coordinator-led delegation, shared state, quality review, and synthesis",
  "containers": [
    { "id": "mission", "x": 40, "y": 110, "width": 880, "height": 110, "label": "Mission Control", "stroke": "rgba(255,255,255,0.20)", "fill": "rgba(255,255,255,0.05)" },
    { "id": "specialists", "x": 40, "y": 270, "width": 880, "height": 140, "label": "Specialist Agents", "stroke": "rgba(255,255,255,0.20)", "fill": "rgba(255,255,255,0.05)" },
    { "id": "delivery", "x": 40, "y": 450, "width": 880, "height": 140, "label": "Delivery", "stroke": "rgba(255,255,255,0.20)", "fill": "rgba(255,255,255,0.05)" }
  ],
  "nodes": [
    { "id": "request", "kind": "speech", "x": 60, "y": 146, "width": 160, "height": 54, "label": "User Brief", "sublabel": "goal + constraints", "fill": "rgba(255,255,255,0.12)", "stroke": "rgba(255,255,255,0.35)", "flat": true },
    { "id": "coordinator", "kind": "double_rect", "x": 390, "y": 146, "width": 200, "height": 54, "type_label": "ORCHESTRATOR", "label": "Coordinator Agent", "fill": "rgba(255,255,255,0.12)", "stroke": "#c084fc" },
    { "id": "research", "kind": "rect", "x": 80, "y": 330, "width": 180, "height": 60, "type_label": "SPECIALIST", "label": "Research Agent", "fill": "rgba(255,255,255,0.12)", "stroke": "#60a5fa" },
    { "id": "coding", "kind": "terminal", "x": 390, "y": 330, "width": 200, "height": 60, "label": "Coding Agent", "fill": "#0f172a", "stroke": "rgba(255,255,255,0.24)", "header_fill": "rgba(255,255,255,0.12)" },
    { "id": "review", "kind": "rect", "x": 700, "y": 330, "width": 180, "height": 60, "type_label": "QUALITY GATE", "label": "Review Agent", "fill": "rgba(255,255,255,0.12)", "stroke": "#34d399" },
    { "id": "memory", "kind": "cylinder", "x": 80, "y": 510, "width": 180, "height": 60, "label": "Shared Memory", "sublabel": "facts + plans", "fill": "rgba(255,255,255,0.08)", "stroke": "#34d399" },
    { "id": "synthesis", "kind": "double_rect", "x": 390, "y": 510, "width": 200, "height": 60, "type_label": "MERGE", "label": "Synthesis Engine", "fill": "rgba(255,255,255,0.12)", "stroke": "#c084fc" },
    { "id": "response", "kind": "speech", "x": 700, "y": 510, "width": 180, "height": 60, "label": "Final Response", "sublabel": "reviewed result", "fill": "rgba(255,255,255,0.12)", "stroke": "#f59e0b", "flat": true }
  ],
  "arrows": [
    { "id": "brief", "source": "request", "target": "coordinator", "source_port": "right", "target_port": "left", "flow": "read", "motion_role": "ingress", "motion_stage": 1, "motion_order": 0, "label": "brief" },
    { "id": "a-delegate-research", "source": "coordinator", "target": "research", "source_port": "bottom", "target_port": "top", "flow": "control", "motion_role": "delegate", "motion_stage": 2, "motion_order": 0, "label": "research" },
    { "id": "b-delegate-coding", "source": "coordinator", "target": "coding", "source_port": "bottom", "target_port": "top", "flow": "control", "motion_role": "delegate", "motion_stage": 2, "motion_order": 1, "label": "build" },
    { "id": "c-delegate-review", "source": "coordinator", "target": "review", "source_port": "bottom", "target_port": "top", "flow": "control", "motion_role": "delegate", "motion_stage": 2, "motion_order": 2, "label": "review" },
    { "id": "research-write", "source": "research", "target": "memory", "source_port": "bottom", "target_port": "top", "flow": "write", "motion_role": "evidence", "motion_stage": 3, "motion_order": 0, "label": "evidence" },
    { "id": "memory-merge", "source": "memory", "target": "synthesis", "source_port": "right", "target_port": "left", "flow": "read", "motion_role": "context", "motion_stage": 4, "motion_order": 0, "label": "context" },
    { "id": "coding-merge", "source": "coding", "target": "synthesis", "source_port": "bottom", "target_port": "top", "flow": "write", "motion_role": "artifact", "motion_stage": 3, "motion_order": 1, "label": "artifact" },
    { "id": "review-output", "source": "review", "target": "response", "source_port": "bottom", "target_port": "top", "flow": "feedback", "motion_role": "approval", "motion_stage": 5, "motion_order": 1, "label": "approval" },
    { "id": "deliver", "source": "synthesis", "target": "response", "source_port": "right", "target_port": "left", "flow": "feedback", "motion_role": "deliver", "motion_stage": 5, "motion_order": 0, "label": "deliver" }
  ],
  "legend_orientation": "horizontal",
  "legend_x": 48,
  "legend_y": 625,
  "legend_locked": true,
  "legend": [
    { "flow": "read", "label": "input / context" },
    { "flow": "control", "label": "delegation" },
    { "flow": "write", "label": "shared work" },
    { "flow": "feedback", "label": "reviewed output" }
  ],
  "footer": "Style 5 · Glassmorphism · coordinated specialist workflow",
  "footer_x": 48,
  "footer_y": 680
}
