Skip to content

Mission Agreements for Bounded Autonomous Agent Swarms

A mission agreement locks in success criteria, a dollar spending cap, and explicit permission gates before an autonomous agent swarm starts.

A mission agreement is a pre-execution contract for an outcome-scoped agent swarm. It fixes clarified success criteria, a dollar spending cap, acceptable trade-offs, and actions requiring human permission before any agent runs (Replit Blog, 2026-11-17).

Use this pattern only when three conditions hold. You must be able to define verifiable success criteria upfront, name concrete gated actions rather than coarse defaults, and justify setup and swarm cost against task size. Replit's launch post reports end-to-end results from a swarm working against Mission Contract goals (Replit Blog, 2026-11-17).

What the agreement fixes upfront

In Replit Missions, an interactive setup interview produces a reviewable agreement (also called a Mission Contract) with four controls (Replit Blog, 2026-11-17; Replit Missions):

  • Clarified success criteria: setup questions narrow a broad outcome into measurable targets before exploration starts.
  • Dollar spending cap: a shared USD limit bounds the swarm, including messages you send while the mission runs. Reaching the cap pauses or stops execution, and raising it requires approval.
  • Permission gates and trade-offs: the contract lists external or high-impact actions that wait for human approval alongside acceptable trade-offs. Those rules persist as the swarm revises its approach.
  • Judge and reporting loop: an independent AI judge checks candidate outputs against the agreed criteria and returns gaps to the swarm. Progress updates run on your chosen cadence (immediately, daily digest, or weekly), and finished changes arrive as pull requests and reviewable files.
graph TD
    A[Broad outcome] --> B[Setup clarification interview]
    B --> C[Mission agreement<br>Criteria, USD cap, permission gates]
    C --> D[Autonomous agent swarm]
    D -->|Gated action or cap increase| E[Human approval]
    E --> D
    D -->|Candidate output| F[Independent AI judge]
    F -->|Gaps found| D
    F -->|Criteria met| G[Pull requests and files]
    D -->|Budget exhausted| H[Paused or stopped<br>Outcome unresolved]

How it compares to adjacent contracts

Several patterns bound part of this surface. A mission agreement applies design-by-contract and separation of duties at the swarm boundary:

Pattern Scope Stopping signal Financial cap Permission gate
Mission agreements (this page) Multi-agent swarm Independent AI judge or USD cap Shared USD ceiling Enumerated actions upfront
Execution-first delegation Single agent Stated success condition None built in Prose constraints
Sprint contracts Planner, generator, evaluator Hard threshold for each criterion None built in None built in
Goal contract Single-session /goal loop Separate evaluator model None built in Harness permission mode
Per-run budget reservation Synchronous model calls Worst-case admission check Exact per-call USD reserve None built in

Why it works

Ambig-SWE studies clarification within a coding-agent trajectory, using a simulated user who holds the full task specification. On Ambig-SWE (an underspecified variant of SWE-Bench Verified), Vijayvargiya et al. found that LLMs default to non-interactive behavior and struggle to distinguish underspecified from well-specified inputs. When models interacted on underspecified inputs, performance rose by up to 74% over non-interactive settings, though gains varied across models (arXiv:2502.13069v3). The paper supports interactive clarification for underspecified tasks, while noting that interaction still leaves a performance gap from fully specified inputs.

External stopping signals move completion authority off the doing agents (Replit Blog, 2026-11-17). The independent judge tests deliverables against agreed criteria, while the USD cap bounds cost when the swarm fails to converge.

Pre-committed permission gates hold external side effects steady while internal plans change. Replit notes that "These limits and approval requirements remain in place as the approach evolves" (Replit Blog, 2026-11-17). That mirrors Anthropic's Claude Code telemetry, where full auto-approve rose from roughly 20% for newer users (under 50 sessions) to over 40% by 750 sessions. Turn-level human interrupts rose from 5% (around 10 sessions) to around 9% for more experienced users, supporting Anthropic's observation that "effective oversight doesn't require approving every action but being in a position to intervene when it matters" (Anthropic, 2026-02-18).

Replit reports DataCat as a combined build-and-test result from Missions, which coordinates the swarm and checks results with an independent AI judge (Replit Blog, 2026-11-17).

When this backfires

  • Exploratory work with shifting criteria: in a qualitative study of 9 industry practitioners, Shankar et al. identified criteria drift, noting that "users need criteria to grade outputs, but grading outputs helps users define criteria" (arXiv:2404.12272v1). Locking criteria too early sends a swarm to spend its budget on the wrong rubric.
  • Coarse rules that default to ask: Yan studied 113 participants without professional software backgrounds. Participants supervised an 18-action simulated day with 7 overreach actions. User-authored policies across four consequence categories blocked 20.1 percentage points less overreach than per-action human approval (95% CI [-32.1, -8.1]). Total intervention time was not reliably lower when rule setup was included (arXiv:2608.27443v2). Policy-condition participants chose ask for 114 of 140 rules (81.4%), and 133 of 148 executed policy-condition overreach actions followed runtime human approval. Yan suggests that more specific rules based on recipient, amount, purpose, or data type might make advance decisions easier.
  • Mid-run technical context and requirement changes: in Anthropic's Claude-classified sample of 500k human interruptions in interactive Claude Code sessions, 32% supplied missing technical context or corrections and 5% changed requirements mid-task (Anthropic, 2026-02-18). When vital context surfaces only during implementation, an interactive single-agent session avoids spending swarm budget on a stale brief.
  • Unresolved halts at the spending cap: a dollar cap bounds spending without guaranteeing delivery. Replit states that "If the budget runs out first, work stops with the outcome still unresolved" (Replit Blog, 2026-11-17). You still must audit, finish, or discard partial output.
  • Gameable criteria under an AI judge: on a chess-engine benchmark, Bondarenko et al. report in their abstract that reasoning models such as OpenAI o3 and DeepSeek R1 "will often hack the benchmark by default" (arXiv:2502.13295v3). If success criteria can be satisfied superficially, an automated judge can certify an unsound result.

Example

Replit's launch post gives two concrete Mission Contracts (Replit Blog, 2026-11-17).

In an enterprise sales mission ("win our first 10 paying enterprise customers"), setup questions ask whether paid pilots count or whether signed annual contracts above a minimum value are required. The agreement caps spending at $1,000, sets acceptable trade-offs (paid pilots or annual contract discounts), and requires approval before the agent contacts prospects, shares a proposal, changes customer-facing sales materials, or makes product commitments.

Replit built DataCat, a self-hostable application monitoring platform. Its Mission Contract set performance and reliability goals with a $3,000 cap. In 2 days within that $3,000 budget, a swarm built dashboards, alerts, application tracing, a monitoring agent, and tracing libraries. It tested them against the contract's goals:

  • Bug detection: raised an alert on a deliberately introduced database bug in 38 seconds against a 60-second target and traced the failure to the exact database query and its logs.
  • Load test: stored 26 million application activity records and 4.4 million log entries over a 3-hour load test with zero data loss and passed all 36 data-correctness checks and 15 alert-reliability checks.

Replit states the limits of these tests directly: "These controlled tests do not establish performance against the original platform's hosted service or on Replit's production systems" (Replit Blog, 2026-11-17). Replit compared one run per setup against /goal in Claude Code on identical cloud machines, scoring only shared product areas. DataCat passed 51 of 56 API compatibility checks on each storage engine (Postgres and ClickHouse). The Claude Code build (SQLite) passed 45 of 56, covered more product areas, and ingested logs faster.

Key Takeaways

  • Review the mission agreement before execution, including its success criteria and approval boundaries (Replit Missions).
  • Review partial results after a budget halt before deciding whether to approve more spending (Replit's budget and completion rules).
  • Keep API compatibility checks separate from load-test correctness and alert-reliability checks when assessing DataCat's reported results (Replit's test conditions).