GA Release

The Multi-Agent WebGPU Engine & Interactions API are now generally available.

Part 6: Multi-Agent Teams, Presets & Infinity Mode

Stop asking one model to do everything — orchestrate specialist AI teams with self-correcting Infinity loops.

Category: Getting Started • Read Time: 22 min read • Updated: August 2026

1. Why Single Models Fail at Complex Builds

Ask a single model: "Build a full dashboard with auth, charts, and dark mode."

It will attempt planning, design, coding, reviewing, and formatting all in one single pass. Midway through, it forgets its own architectural decisions, invents non-existent APIs, and outputs code with syntax bugs it fails to check.

This is the self-awareness limitation: one LLM stream cannot reliably evaluate its own output while generating it. Multi-Agent architecture solves this by dividing complex tasks among specialized AI roles that verify each other's work:

🧠 Architect

Sketches architectural blueprints and decomposes prompts into execution tasks.

💻 Developer(s)

Writes code, creates surgical diffs, and executes Python verification tools.

🔍 Auditor / Reviewer

Audits security, missing imports, edge cases, and runtime flaws.

✨ Finalizer

Merges outputs into a polished answer and generates interactive visual previews.

2. The Mode Selector — Single vs Multi vs Auto & Infinity

In the composer header, select your execution mode:

Single

Direct single-model pass. Fastest responses; ideal for quick Q&A, explanations, and lightweight code edits.

Multi

Full specialist team execution. Uses higher token volume but produces vastly superior results for full app builds and deep refactoring.

Auto Router

Dynamically evaluates your prompt. Simple questions route to Single; complex feature builds automatically switch to Multi-Agent.

∞ Infinity Mode

Enables self-correcting critic feedback loops. If Auditor finds bugs, the system automatically loops back to Coder (up to 3–5 attempts).

3. Opening the Agent Box — Your Control Room

Click the Agent Box (Layers icon) in the composer header to inspect and customize your team:

Agent Pipeline Flow Visualization:

Shows live connected nodes: Orchestrator → Coder → Auditor → Checker → Finalizer. Nodes pulse actively as each specialist processes.

Agent Controls:
  • Enabled Toggle: Turn optional specialist agents on or off.
  • Fixed Agents: Core pipeline agents (Orchestrator, Auditor, Checker, Finalizer) feature a lock icon and cannot be removed.
  • Parallel Instances (Count 1–5): Set Coder count to 2 or 3 to generate parallel alternative solutions that Finalizer merges.
  • Drag-to-Reorder: Reorder specialists to adjust execution pipeline sequence.

4. Presets — 7 Built-in Specialist Architectures

💻 Software Engineering

Architect, Lead Dev, Security Auditor, Prompt Checker, Finalizer. Optimized for web apps and surgical code diffs.

🎨 Creative & Content

Director, Writer, Editor, Checker, Finalizer. Includes vision and optional image generation hooks.

📊 Data & Analysis

Data Scientist, Analyst, Fact Checker, Finalizer. Leverages Python tools for math verification.

🎓 Education & Research

Curriculum Planner, Tutor, Peer Reviewer, Quiz Architect, Finalizer. Builds comprehensive study guides.

5. Creating & Saving Custom Teams (with AI Edit)

Build custom agent teams by clicking Add Agent. Specify custom system prompts (e.g., "Tailwind Specialist — refine classes to meet WCAG AA contrast").

Click Save Preset to persist your configuration to local storage. In Settings → Multi-Agent Systems, click AI Edit Preset and type prompt instructions like "Add a performance auditor that checks bundle size" to auto-refine team structures using AI.

6. Model Overrides per Specialist Agent

Optimize cost and performance by assigning distinct models to individual agents:

Architect & Checker: Assign fast/inexpensive models (e.g. Gemini 3.5 Flash-Lite).

Lead Developer: Assign high-intelligence reasoning models (e.g. Gemini 3.6 Flash or Claude Sonnet).

Result: Achieve 90%+ of top-tier intelligence output while cutting token costs by up to 70%.

7. Critic Strictness & Infinity Settings

Critic Strictness Slider (1–10): Controls how aggressively the Auditor flags potential errors. Set to 3–4 for fast prototyping; 8–9 for production-grade code reviews.

Infinity Max Attempts: Defines maximum automatic retry loops (default: 3) before forcing final output.

8. Auto Router Intelligence

When Auto Router is enabled, Accelerated Logic AI sends a fast pre-flight query to evaluate your prompt. It automatically enables relevant specialists and disables unneeded roles (e.g., disabling Coder when writing a blog post) to conserve tokens.

9. Multi-Agent Troubleshooting & Edge Cases

Q:
Infinity loops maximum 3 times without resolution

Lower Critic Strictness slider or assign a higher-tier model to the Lead Developer agent.

Q:
Finalizer outputs blank response

Reload the default Software preset in Agent Box to restore standard formatting directives.