Docs / Agent roles

Agent roles

Catalog of the squad roles and autopilots that run inside Multica, all templated in registry/agents.yaml and instantiated per workspace by the reconciler.

You never invoke these agents directly — the Lead routes work to them through child issues (see SDLC phases). This page tells you who is behind each phase and verdict you see.

Squad roles#

19 role templates. The phase each role owns comes from registry/phase-contracts.json.

Role Phases / job Skills CRG profile
lead Sole router: decomposes the mission, creates one child per wake, gates each handoff with the deterministic validator. Never implements. factory-orchestrator —
pm-agent [discovery] — PRD, user stories, acceptance criteria pm-discovery —
ux-designer [design-ux] — flows, five states, accessibility, components, prototype ux-design —
ux-reviewer [review-ux] — independent, browser-verified UX gate ux-review —
tech-architect [plan], [design-tech], [fix-design] — task breakdown + tier, tech spec tech-architecture, implementation-plan crg-architect
arch-reviewer [review-design] DRC — architecture drc-arch-review crg-reviewer
security-reviewer [review-design] DRC — threat model, authN/authZ drc-security-review crg-reviewer
perf-reviewer [review-design] DRC — performance, scaling, cost drc-perf-review crg-reviewer
data-reviewer [review-design] DRC — schema, migrations, integrity, privacy drc-data-review crg-reviewer
fullstack-engineer [build], [fix] — web/backend implementation + dev tests factory-worker-feature, factory-worker-fix, factory-worker-tests crg-builder
mobile-engineer [build] for iOS/Android factory-worker-mobile-ios, factory-worker-mobile-android crg-builder
onboarding-engineer [onboard-build] — paved-road substrate (env, tests, smoke journey) + seeds .agents/knowledge/ factory-worker-tests, onboarding-seeder crg-architect
qa-consultant [qa-plan] (pre-build test plan) and [qa-review] — adversarial, customer-skeptic E2E qa-consultant crg-reviewer
pr-reviewer [review-code] — engineer-on-engineer diff review, test parity, secret scan pr-reviewer crg-reviewer
pr-reviewer-techspec [review-code] — checks every tech-spec promise is fulfilled in the diff pr-reviewer-techspec crg-reviewer
devops-engineer [deploy] — CI/CD, infra, rollback runbooks (dispatched once deployment_phase ≥ 2) devops-deploy —
oncall-engineer [monitor] — post-deploy monitoring, incidents; pages the original developer incident-responder, oncall-runbook —
operate-reasoner Runs the autopilots (judgment-heavy operate work) inlined per autopilot —
operate-runner Mechanical operate work (verification, requeue, drift flags) inlined per autopilot —

Models#

Each template's default is claude-opus-4-8 (thinking xhigh for lead and tech-architect, medium for operate-runner, high otherwise). Workspaces may override per role via model / role_models:

  • kapiva-platform runs every role through the omp runtime with deliberate model-family diversity — Claude creates, Codex judges (DRC), Gemini handles vision (UX, QA), GLM reviews code, DeepSeek operates. The exact mapping lives in the workspace's role_models block.
  • health-tech (customer data) has no override: it must route through Vertex AI asia-south1 per ADR 0024, and the reconciler rejects overrides there.
  • Other workspaces use the template defaults.

Creator and judge are always distinct agent instances, whatever the model.

MCP servers#

Every role gets the shared servers memory-engine (knowledge graph) and multica-mcp (live Multica state and writes). Code-touching roles also get a curated subset of code-review-graph (CRG) tools — a per-runtime local graph over stdio, no secrets:

Profile Purpose Tools
crg-builder Know what a change touches detect_changes_tool, get_impact_radius_tool, get_minimal_context_tool, get_review_context_tool, query_graph_tool, traverse_graph_tool
crg-reviewer Review against real blast radius get_review_context_tool, detect_changes_tool, get_impact_radius_tool, query_graph_tool, traverse_graph_tool
crg-architect Whole-system structure get_architecture_overview_tool, list_communities_tool, get_community_tool, get_hub_nodes_tool, get_bridge_nodes_tool, get_impact_radius_tool, query_graph_tool, traverse_graph_tool, list_graph_stats_tool

The reconciler applies each agent's MCP config through Multica's REST API.

Autopilots#

11 autopilots, all assigned to operate-reasoner (so they inherit its model) and all run_only. Each inlines its skill as its prompt so fires don't bleed into each other (ADR 0037). Schedules are cron, in the Multica server's timezone.

Autopilot Trigger Purpose
needs-human-requeue every 30 min Detects your reply to a gate or [NEEDS_INPUT], clears needs-human, resumes the agent in resume_to; SLA escalation
autonomy-resolver every 30 min On full missions, auto-answers decidable [NEEDS_INPUT] by accepting the agent's proposed default (ADR 0047)
stale-issue-reviewer daily 09:00 Pings silent owners; escalates prolonged silence
factory-watchdog daily 11:00 Meta-audit: autopilot health, no-op storms, orphaned scaffolding, SLO drift
product-improver Mon 10:00 Surfaces product-improvement opportunities from mission patterns
knowledge-sync-checker Mon 11:00 Flags drift between spoke code and knowledge/repos/<slug>/
knowledge-gap Tue 11:00 Routes missing knowledge reported by the Memory Engine
friction-triage every 4 h Drains the [VENT] inbox, clusters friction, opens fix PRs
performance-monitor webhook otel-alerts Triages OpenTelemetry performance alerts
post-merge-verifier webhook github-pr-merged Verifies post-merge health
ui-verifier webhook deploy-complete Visual regression check after deploy

Autopilots are layers H and J of self-healing; layer D is plain code outside Multica.

Workspaces#

Every workspace instantiates all roles and all autopilots (instantiate: "*").

Workspace Team DPDP class Runtime
kapiva-commercetech commercetech internal laptop
kapiva-biztech biztech internal laptop
health-tech healthtech customer-data office-desktop, Vertex AI asia-south1
kapiva-platform platforms internal laptop (omp runtime)

Adding a new role#

  1. Add an entry under agent_templates: in registry/agents.yaml; map it to a phase in registry/phase-contracts.json if it owns one.
  2. Write the skill(s) it references under skills/<phase>/.
  3. Preview, then apply, the registry sync: make registry-reconcile (dry run) and make registry-reconcile-apply.

Source: docs/yantra/agent-roles.md