The Kapiva software factory

Describe the outcome. Yantra runs the mission.

A squad of specialised agents on self-hosted Multica takes your goal from discovery through design, build, review and QA to a merge-ready pull request — stopping for a human at the gates that matter.

Diagram of a Yantra mission: an operator files a mission, the Lead decomposes it, and the squad moves it through discovery, design, design review, build, code review and QA to a human-approved merge gate, with fix rounds looping back on failure.
  • 19squad roles
  • 11autopilots
  • 5operator skills
  • 7mission kinds
How it works

One goal, one Lead, one pipeline

A mission is the atomic unit of factory work. You file it once; the Lead routes it phase by phase, one child issue at a time, until every applicable phase has passed.

  1. Describe

    mission-create elicits the goal, its kind and autonomy, validates them and files a [mission] issue in Multica.

  2. Decompose

    The Lead wakes, resolves effective autonomy, picks the phase set for the mission's kind and creates the first child.

  3. Design & review

    PRD and acceptance criteria, UX and tech specs, then four design reviewers — architecture, security, performance, data — in parallel.

  4. Build & verify

    An engineer opens a branch and PR; code review and an adversarial QA gate follow. Failures become fix rounds — after three, a human decides.

  5. Approve & learn

    You approve the merge gate, the Lead closes the mission, and mission-retro turns the trail into knowledge for the next one.

The phase set follows kind: featurebug-fixtech-excellencerefactormigrationdependency-bumponboarding
The squad

Sixteen roles, each with one job

Every workspace runs the same templated squad. The agents work in Multica task sessions — you never invoke them directly; the Lead routes every mission.

Coordinate & plan

  • lead sole router; decomposes, never writes code or specs
  • pm-agent requirements, acceptance criteria, UX review
  • ux-designer UX spec and HTML/CSS prototypes
  • tech-architect tech spec, plan and tier

Review

  • arch-reviewer architecture
  • security-reviewer threat model, authN/authZ
  • perf-reviewer scaling, latency, cost
  • data-reviewer schema, migrations, privacy
  • qa-consultant functional + pixel-perfect gate

Build

  • fullstack-engineer web and backend
  • mobile-engineer iOS and Android
  • onboarding-engineer paved-road substrate for new repos

Ship & operate

  • devops-engineer CI/CD and rollback runbooks
  • oncall-engineer post-deploy monitoring
  • operate-reasoner judgment autopilots
  • operate-runner mechanical autopilots

Alongside the squad, ten autopilots run on schedules and webhooks — requeueing answered escalations, chasing stale issues, verifying merges and deploys, auditing the fleet and draining the friction inbox. Full roster

Operator skills

Run the factory from your own Claude Code session

Five skills are your interface to missions. Describe your intent in chat; they read Multica state and write back over MCP, on your laptop and on your behalf.

mission-create

Elicits the goal, validates inputs against factory constraints, posts a well-formed [mission] issue, then watches it run.

Say run this through the factory

mission-status

Reads the whole mission tree and explains what is done, in flight, blocked — and what needs you.

Say what needs my attention

mission-responder

Explains a pending gate or [NEEDS_INPUT], then drafts and posts the response in the exact format the factory resumes on.

Say the factory is waiting on me

mission-amend

Assesses which artifacts a scope change invalidates, pauses the affected children and posts a [MISSION-AMENDMENT].

Say amend the mission

mission-retro

Reads a closed mission's trail and encodes the learnings as questions and gotchas in the knowledge base, opening PRs.

Say what did we learn

Install once per machine

Copies the five skills to ~/.claude/skills/ and wires the multica-mcp and memory-engine servers.

Getting started · Skills reference

With tools/multica cloned: make install-operator-skills
Autonomy & gates

Autonomous between the gates. Human at them.

Autonomy never changes which phases run — only where a person signs off. And what you request is not always what executes.

supervised default

The Lead stops for an approved before the merge and deploy handoffs, and before the feature breakdown on larger, multi-feature missions. Between gates, the squad runs on its own.

full earned

No factory-added gates — decompose to merge on machine verdicts. Categorical gates still apply: production deploys touching customer data, cross-team breaking changes, missions over budget and customer-facing copy or policy always reach a human, and a spec change after design review always re-runs it.

# strictest wins — supervised beats full
effective_autonomy = strictest(
  requested_autonomy,   # what you asked for
  repo.autonomy_ceiling,# per-repo cap
  agent_ladder_rung,    # trust earned per team/role/repo
  blast_radius_clamp    # impact radius, sensitive modules
)
  • Never silently invent. When an agent needs a decision it cannot ground, it posts [NEEDS_INPUT] and the issue is blocked until a human answers — the escalation, not a guess.
  • Judges are not creators. Design reviewers and QA are separate agent instances from the agents whose work they judge, and the design pairs them with a different model family. That second family is parked today, so every role runs Claude — the separation itself still holds.
  • Agents never mark their own work done. They hand off with a structured [HANDOFF] and move to review; a deterministic validator checks the deliverable before anything advances.
  • Fix rounds are bounded. Three failed rounds on the same phase and the Lead asks a human instead of looping.
  • Onboarding is always supervised. A pre-flight gate fires before any child is dispatched on a new repo. How posture resolves
Self-healing

Work keeps moving when nobody is watching

Agents get stuck and status drifts from run state. Three layers, each sized for its failure class, find it and fix it — and the one that fixes the fixers is plain code.

Deterministic guard

A plain-Python reconciler outside Multica applies a table of exact heals, and runs the phase validator that bounces incomplete handoffs — no LLM involved, so it keeps working even if the agent fleet is wedged.

Judgment

A watchdog autopilot handles what rules cannot: wedged tasks, transient faults, and a daily meta-audit of the autopilot fleet itself.

Human-SLA

Autopilots route your answers back to the Lead, ping owners after 8 hours of silence and escalate at 24.

Diagnose firstEvery heal skips an issue with an active run.
3 · 5strikes per heal kind per 24h, and per issue — then it escalates to a human.
One switchA kill-switch drops every sweep to diagnose-and-log.
Security & data

Built on Kapiva's own infrastructure

Model credentials stay off the server, customer-data inference stays in India, and the platform stays upstream.

An LLM-free server

The Multica server holds no LLM provider keys. Agents execute through CLI sessions on their runtimes, so a server compromise cannot leak a model credential.

ADR 0004

Customer-data inference in Mumbai

Agents on customer-data missions are configured to call Anthropic through GCP Vertex AI in asia-south1 — never a US-region model.

ADR 0024

Self-hosted, unmodified upstream

Multica runs from its published images on Kapiva's GKE cluster in asia-south1; Kapiva contributes skills, schemas and deployment, never a fork.

ADR 0002 · ADR 0053

Have an outcome in mind?

Sign in with your Kapiva account, install the operator skills, and file your first mission.