Multi-agent workflows

Orchestrate coding agents instead of babysitting terminals.

Pixcode orchestration lets one goal become a structured workflow: multiple providers, separate roles, model choices, fallback agents, previewable graphs, streamed progress, and a final review path.

Orchestration hero slotRecommended: 1600 x 1000. Show left workflow setup, right run output, role rows, model selectors, and fallback agent selector.

Built-in workflow patterns

Agent Team

Split a task across frontend, backend, review, docs, or custom roles. Each agent can have its own provider, model, label, and instruction.

Multi-model Review

Ask different models or providers to inspect the same implementation. Useful for release risk, regressions, security-sensitive changes, and design critique.

Sequential Handoff

Run a task in stages where one agent prepares context, another implements, another reviews, and a final step summarizes.

Decision Debate

Compare approaches before code changes begin. This is useful when architecture, API shape, or UX direction is uncertain.

Run controls

Orchestration is not only a prompt box. It gives concrete controls that make multi-agent runs inspectable and recoverable.

Orchestration API example

The same system can be used by external tools through `px_` API keys.

curl http://localhost:3001/api/orchestration/workflows/agent_team/preview \
  -H "Authorization: Bearer px_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "metadata": {
      "agents": [
        { "adapterId": "codex", "label": "Backend", "role": "backend" },
        { "adapterId": "claude", "label": "Frontend", "role": "frontend" },
        { "adapterId": "opencode", "label": "Reviewer", "role": "review" }
      ],
      "settings": {
        "maxParallelAgents": 3,
        "isolation": "host"
      }
    }
  }'

Screenshot slots

Workflow setup slot1600 x 1000. Show agent list, roles, models, fallback, and run button.
Workflow output slot1600 x 1000. Show streamed events, agent steps, final report, and review result.