/orc

AI agent · Coding agent · Engineering & development by Depot

Software engineering discipline for the AI agent era.

/orc is a multi-agent coding loop that prevents context rot by delegating engineering tasks to specialized subagents for planning, building, and review. It ensures high-quality code delivery through a structured process that includes a mandatory human approval gate.

Agent specs

The full spec card (context, pricing per token, modalities and more) on AntSpace. Sign up free to see the full spec card.

Languages
English

Category: AI Agents

Integrations
Linear
Primary Input
Linear tickets
Architecture Type
Multi-agent orchestration loop
Subagent Roles
Planner, Clarifier, Builder, Reviewers, Reviewer Boss
Control Mechanism
Human Gate approval required before building
Output Formats
Build Packets, PR lists, verified code diffs
  • Multi-agent loop for context isolation
  • Structured flow from Linear ticket to Reviewer Boss
  • Human approval gate before code execution
  • Dedicated subagents for planning, building, and review

Overview

/orc is an experimental coding agent loop developed by Depot to manage complex software engineering tasks without the performance degradation caused by context rot. It is designed for engineering teams who use AI agents to ship code and need a structured, reliable workflow that mimics human engineering discipline. The system operates as a multi-agent orchestration loop where a main agent delegates specialized tasks to subagents including a Planner, Clarifier, Builder, and multiple Reviewers. By isolating context at each stage, /orc ensures that the Builder subagent receives a clean contract and the Reviewers focus only on the final output rather than the intermediate thought process. The loop integrates with Linear for ticket management and includes a mandatory human approval gate after the planning phase to prevent the automated generation of incorrect code.

Planning and Control

  • Planning and Scoping: The Planner subagent takes a Linear ticket and repository context to produce a structured Build Packet containing a summary and PR list.
  • Ambiguity Resolution: A Clarifier subagent identifies ambiguity, checks for testable acceptance criteria, and verifies commands before code is written.
  • Human Approval Gate: The system stops and requires explicit human approval after the planning and clarification stages before any building begins.

Building and Execution

  • Automated Implementation: The Builder subagent writes failing tests, implements fixes, and runs real commands to verify the work.
  • Scoped Refactoring: The Builder is restricted to refactoring only inside the areas touched by the specific task to prevent scope creep.
  • Context Isolation: Each stage runs in its own subagent with a clean context to prevent the context window from becoming a junk drawer of stale information.

Review and Quality Assurance

  • Final Verdicts: A Reviewer Boss subagent makes the final determination on whether the feature meets the required standards.
  • Structured Handoffs: The main agent thread stays small by delegating messy work to subagents, returning only structured handoffs like Build Packets.

What it does

  • Linear ticket processing
  • Build Packet generation
  • Ambiguity clarification
  • Test-driven development
  • Code implementation
  • Multi-perspective code review

Use cases

  • Engineering teams use /orc to process Linear tickets into structured build plans that are verified for ambiguity before implementation.
  • Developers use the Builder subagent to implement features following a test-driven approach where the agent must prove a test fails before making it pass.
  • Teams use the multi-perspective Reviewer subagents to catch edge cases and maintain code quality standards before final approval.

Specifications

Integrations
Linear
Human control
Human Gate requires approval after planning and clarification before building starts
Primary Input
Linear tickets
Architecture Type
Multi-agent orchestration loop
Subagent Roles
Planner, Clarifier, Builder, Reviewers, Reviewer Boss
Control Mechanism
Human Gate approval required before building
Output Formats
Build Packets, PR lists, verified code diffs

How it works

  1. Plan Generation: The Planner subagent receives a Linear ticket and repo context to create a Build Packet with a summary and PR list.
  2. Plan Clarification: A Clarifier subagent attempts to find ambiguity or fake plans, failing the plan if it cannot be verified.
  3. Human Approval Gate: The process pauses for a human to review and approve the Build Packet before any code is written.
  4. Implementation and Testing: The Builder subagent writes a failing test, makes it pass, and runs real commands to implement the feature.
  5. Multi-Stage Review: Multiple reviewer subagents provide feedback, and a Reviewer Boss issues a final verdict on the work.

FAQ

What is /orc?

/orc is a multi-agent loop that breaks down engineering tasks into roles like Planner, Clarifier, and Builder, each running in its own subagent to maintain a clean context.

What problem does /orc solve?

It solves the problem of 'context rot' where a single agent's context window becomes cluttered with stale logs and failed ideas over time, making its solutions worse.

Does /orc require human supervision?

The system includes a 'Human Gate' that stops the process after the planning stage, requiring a person to approve the plan before the Builder agent starts writing code.

How does /orc handle code reviews?

The Reviewer stage includes multiple agents with different priorities, such as one focused on edge cases and another focused on shipping velocity.

Added by AntSpace from public sources (depot.dev).

More AI agents by Depot