---
title: "delegate"
description: "Assign task to another agent"
canonical: "https://acs.synapti.ai/capabilities/delegate/"
last_updated: "2026-11-16T06:34:53Z"
---

# delegate

Assign task to another agent

Generated from [schemas/capability_ontology.yaml](https://github.com/synaptiai/agent-capability-standard/blob/main/schemas/capability_ontology.yaml), [skills/delegate/SKILL.md](https://github.com/synaptiai/agent-capability-standard/blob/main/skills/delegate/SKILL.md) at commit 18c38b74ac21. Ontology version 2.2.0.

Layer: [COORDINATE](https://acs.synapti.ai/layers/coordinate/index.md)

## Safety

| Property | Value |
| --- | --- |
| Risk | Medium |
| Changes state | No |
| Needs checkpoint | No |
| Needs approval | No |
| Overridable | No |
| Blocked from autonomy | In 1 of 7 profiles |

No ordering edge and no approval or checkpoint flag constrains where delegate runs in a step list, and no conflicts_with edge keeps it out of a parallel group.

## Relationships

**Figure: Relationships of delegate: 3 relationships with 3 capabilities.** delegate has 3 relationships with 3 capabilities: 1 with edges into it and 2 with edges out of it.

| Capability | Row | Relationships |
| --- | --- | --- |
| [`decompose`](https://acs.synapti.ai/capabilities/decompose/index.md) | Edges into delegate | `enables` (into) |
| [`synchronize`](https://acs.synapti.ai/capabilities/synchronize/index.md) | Edges out of delegate | `enables` (out of) |
| [`invoke`](https://acs.synapti.ai/capabilities/invoke/index.md) | Edges out of delegate | `specializes` (out of) |

- `enables`: Unlocks [`synchronize`](https://acs.synapti.ai/capabilities/synchronize/index.md)
- `enables`: Unlocked by [`decompose`](https://acs.synapti.ai/capabilities/decompose/index.md)
- `specializes`: Specializes [`invoke`](https://acs.synapti.ai/capabilities/invoke/index.md)

## Contract

**Figure: Contract of delegate: 12 inputs (2 required), 9 outputs.** delegate takes 12 inputs, 2 required (filled pin) and 10 optional (hollow pin), and returns 9 outputs. The tables below list every field.

### Inputs

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `task` | object | Yes | Task to delegate |
| `agent` | string | Yes | Target agent, by the name its agent manifest and the workflow's agents use; a target name, not a principal (STANDARD v1.2 §5.15, §5.15.2) |
| `constraints` | object | No | Delegation constraints |
| `fresh_context` | boolean | No | Start the delegate without this agent's context (delegation@1, STANDARD v1.1 §5.15) |
| `model_family` | string | No | Model family the delegate should run on, the lowercase name of a provider's model line such as claude or gpt (as derived from a model identifier), compared exactly (delegation@1, STANDARD v1.2 §5.15) |
| `role` | string | No | Role the delegate takes, e.g. reviewer (delegation@1) |
| `read_only` | boolean | No | The delegate may read but must not change anything (files, repositories, external state); the host attests it in effective. A host that cannot enforce it refuses the delegation; in a workflow that targets 1.2, an accepted delegation the host does not attest as read_only fails (delegation@1, STANDARD v1.2 §5.15, §5.15.2) |
| `continues` | string | No | The task_id of an earlier delegation whose delegate the host continues instead of starting a new one; the call still returns a task_id of its own, a continued delegation never has a fresh context, and null delegates anew (STANDARD v1.2 §5.15.3) |
| `accept_from` | array of string | No | For a delegate that waits, principals to accept its result from; others are dropped and counted (delegation@1, STANDARD v1.1 §5.13, §5.15) |
| `sender_check` | array of string | No | For a delegate that waits, how the result's sender must have been authenticated (identity@1, STANDARD v1.1 §5.17) |
| `accept_trust_classes` | array of string | No | For a delegate that waits, trust classes to accept its result from (identity@1, STANDARD v1.1 §5.17) |
| `always_ask_trust_classes` | array of string | No | For a delegate that waits, trust classes whose result (and a result with no trust class) makes any step that requires approval and uses it be asked of a person (identity@1, STANDARD v1.1 §5.17) |

### Outputs

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `accepted` | boolean | Yes |  |
| `task_id` | string | No | Delegated task ID |
| `agent` | string | No | Assigned agent |
| `effective` | object | No | The delegation settings actually used, as attested by the host |
| `effective.fresh_context` | boolean | No |  |
| `effective.model_family` | string | No | The family of the model the delegate ran on, as the host attests it, derived from the model's identifier (STANDARD v1.2 §5.15) |
| `effective.model_id` | string | No | The provider's identifier of the model the delegate ran on, such as acme-large-2, as the host attests it (STANDARD v1.2 §5.15, §5.17) |
| `effective.role` | string | No |  |
| `effective.read_only` | boolean | No |  |
| `effective.checkpointed` | boolean | No | The host attests that, before each change it makes, the delegate has a checkpoint valid in the scope where that change is checked (Standard v1.2 §5.15.4) |
| `effective.identity` | object | No | The agent_identity of the party that took the delegation (identity@1); a waiting delegate keeps only its results |
| `result` | object | No | The delegate's result, when the step waits for it (wait@1, STANDARD v1.1 §5.13), with its sender (and, with identity@1, its sender_identity) |
| `evidence_anchors` | array of Anchor (or deprecated string or object) | Yes | What the output is based on, as evidence anchors (Standard v1.2 §6.5). An empty list grounds nothing, and the output is then marked inferred (§3.1). |
| `confidence` | number | No | The producer's probability that the output's claim is correct, self-reported; given when the output is inferred (Standard v1.2 §3.1, §4.1.1) From 0 to 1 |
| `inference_method` | string | No | How the output was reached when it is not grounded in evidence; with confidence it marks the output inferred (Standard v1.2 §3.1, §4.1.1). A producer should use model_knowledge, deduction, induction, abduction, analogy, statistical, simulation, assumption or an x- vendor value; a grounding policy (§5.20) requires one of them. |
| `uncertainty` | Uncertainty | No | The uncertainty of the output's principal value; its confidence equals the output's confidence (Standard v1.2 §4.1.1) |

The skill returns 14 fields: 7 are in delegate's output contract (2 required) and 7 are the skill's own, outside the contract; it leaves out 2 contract fields (inference_method, uncertainty).

| Field of the skill's output | In the output contract |
| --- | --- |
| `accepted` | Yes, required |
| `task_id` | Yes, optional |
| `agent` | Yes, optional |
| `effective` | Yes, optional |
| `result` | Yes, optional |
| `delegation` | No, the skill's own |
| `subtasks` | No, the skill's own |
| `interfaces` | No, the skill's own |
| `merge_plan` | No, the skill's own |
| `failure_handling` | No, the skill's own |
| `handoff_context` | No, the skill's own |
| `confidence` | Yes, optional |
| `evidence_anchors` | Yes, required |
| `assumptions` | No, the skill's own |
| `inference_method` | Yes, but the skill leaves it out |
| `uncertainty` | Yes, but the skill leaves it out |

## Used in workflows

**Figure: delegate in workflows.** 1 workflow uses delegate, in 1 step in all; its steps are the squares in an ink ring, and the key under the strips names the other squares.

- [`multi_agent_orchestration`](https://acs.synapti.ai/workflows/multi-agent-orchestration/index.md): step 3

## Claude Code skill

**Figure: What the delegate skill's tools can do, against the ontology.** The skill may use 2 tools: 2 only read; the ontology marks delegate as read-only, and every tool only reads.

| What they can do | Tools |
| --- | --- |
| Only read | `Read`, `Grep` |
| Run commands, which can change state | none |
| Change files | none |

**Figure: The inputs of the delegate skill, by the Standard extension each needs.** 4 inputs work without an extension; 4 inputs need delegation@1. A workflow that binds an extension's input must declare that extension.

| Extension | Inputs |
| --- | --- |
| none | `task` (required), `agent` (required), `constraints`, `continues` |
| `delegation@1` | `fresh_context`, `model_family`, `role`, `read_only` |

**Figure: The field names each step of the delegate procedure uses.** 4 of the procedure's 7 steps use the name of an input or output field of the delegate skill as a word; 11 output fields of 14 are used by no step (accepted, task_id, agent, effective, delegation, merge_plan, failure_handling, handoff_context, confidence, evidence_anchors, assumptions).

| Step | Inputs it uses by name | Output fields it uses by name |
| --- | --- | --- |
| 1. Analyze task | `task` |  |
| 2. Decompose into subtasks |  | `subtasks` |
| 3. Define contracts |  |  |
| 4. Design interfaces |  | `subtasks`, `interfaces` |
| 5. Plan merge strategy |  |  |
| 6. Handle failures |  | `result` |
| 7. Establish coordination |  |  |

Both examples of the skill write out every one of its 14 output fields.

**Figure: The field names each verification check of the delegate skill uses.** 3 of the 5 checks use the name of an input or output field as a word; 12 output fields of 14 are named by no check (accepted, task_id, agent, effective, result, delegation, interfaces, merge_plan, handoff_context, confidence, evidence_anchors and assumptions).

| Check | Inputs it uses by name | Output fields it uses by name |
| --- | --- | --- |
| 1. All subtasks have complete contracts |  | `subtasks` |
| 2. Dependencies form a valid DAG |  |  |
| 3. Interfaces are compatible between connected subtasks |  | `subtasks` |
| 4. Merge strategy handles all expected outputs |  |  |
| 5. Failure handling is defined |  | `failure_handling` |

**Figure: The neighbours the skill lists for delegate, checked against the ontology and the catalogs.** The skill lists 6 capabilities as common neighbours of delegate; 2 of them have an edge with it in the ontology, and 2 run next to it, in that order, in a catalog workflow (plan most often, 1 time). Under each tile, an edge reads from its source to its target, with delegate's symbol in its place: "requires Dl" is a requires edge from the tile's capability to delegate, so the tile's capability must run before delegate; "Dl precedes" is a precedes edge from delegate to the tile's capability.

| Listed as | Capability | Ontology edge | Next to it in a workflow |
| --- | --- | --- | --- |
| commonly follows | [`plan`](https://acs.synapti.ai/capabilities/plan/index.md) | none | 1 times |
| commonly follows | [`decompose`](https://acs.synapti.ai/capabilities/decompose/index.md) | `enables` | never |
| commonly follows | [`compare`](https://acs.synapti.ai/capabilities/compare/index.md) | none | never |
| commonly precedes | [`synchronize`](https://acs.synapti.ai/capabilities/synchronize/index.md) | `enables` (into it) | 1 times |
| commonly precedes | [`verify`](https://acs.synapti.ai/capabilities/verify/index.md) | none | never |
| commonly precedes | [`audit`](https://acs.synapti.ai/capabilities/audit/index.md) | none | never |

### Intent

Delegate a complex task to one or more subagents by defining clear contracts, input/output interfaces, and strategies for merging results. Ensure coordinated execution with conflict resolution.

**Success criteria:**
- Task decomposed into delegatable subtasks
- Each subtask has explicit contract (inputs, outputs, constraints)
- Interface between tasks is well-defined
- Merge strategy handles conflicts and failures
- Dependencies between subtasks are clear

**Compatible schemas:**
- `schemas/output_schema.yaml`

### Inputs

| Parameter | Required | Type | Description |
|-----------|----------|------|-------------|
| `task` | Yes | object | The overall task to delegate |
| `agent` | Yes | string | Target agent, by the name its agent manifest and the workflow's `agents` use: a target name, not a principal (Standard v1.2 §5.15.1, §5.15.2) |
| `constraints` | No | object | Global constraints (timeout, resource limits) |
| `fresh_context` | No | boolean | Start the delegate without this agent's context, e.g. for an independent review (Standard v1.1 `delegation@1`) |
| `model_family` | No | string | Model family the delegate should run on, lowercase, compared exactly (`delegation@1`, Standard v1.2 §5.15) |
| `role` | No | string | Role the delegate takes, e.g. `reviewer` (`delegation@1`) |
| `read_only` | No | boolean | The delegate may read but must not change anything (`delegation@1`); the host attests it in `effective.read_only`, and a host that cannot enforce it refuses the delegation |
| `continues` | No | string | The `task_id` of an earlier delegation whose delegate the host continues; never with `fresh_context: true`, and null delegates anew (Standard v1.2 §5.15.3) |

Inputs not listed here are outside the capability's contract: a workflow step that binds them gets W604 (STANDARD v1.1 §5.5).

The host reports the settings it actually used as `effective` in the
output; a review quorum (`quorum@1`, on `constrain`) relies on them. With
`wait` (`wait@1`) the step delegates, then waits for that delegate's
result, which the output carries as `result`; a `retry` delegates again.

A delegate is another party (STANDARD v1.2 §5.15.4): the delegator's
checkpoints never authorise what it changes, and a rollback to the
delegator's checkpoint restores only what that checkpoint captured. A change
the delegate makes elsewhere is not undone by it (a host lists it as
`not_covered`, reason `delegated`). Before each change, the delegate needs a
checkpoint valid in the scope where the change is checked; its host attests
that as `effective.checkpointed`. To keep a delegation from leaving changes
no rollback reaches, bind `read_only: true`, or undo its changes in a step of
their own.

### Procedure

1) **Analyze task**: Understand the overall objective
   - Identify the goal and success criteria
   - Determine if task is parallelizable
   - Identify shared state or resources
   - Assess complexity and scope

2) **Decompose into subtasks**: Break into delegatable units
   - Each subtask should be independently executable
   - Minimize dependencies between subtasks
   - Identify natural parallelization boundaries
   - Use `decompose` capability patterns

3) **Define contracts**: Specify expectations for each subtask
   - Input: what data/context each subtask receives
   - Output: what each subtask must produce
   - Constraints: limits on time, resources, scope
   - Verification: how to check subtask completion

4) **Design interfaces**: Specify data flow between subtasks
   - Format of inputs and outputs
   - Required fields and optional extensions
   - Error formats and status codes
   - Handoff protocols

5) **Plan merge strategy**: How to combine results
   - Handle successful completions
   - Resolve conflicts between subtask outputs
   - Aggregate partial results
   - Determine final output format

6) **Handle failures**: Define recovery behavior
   - What happens if a subtask fails
   - Retry policies and limits
   - Fallback strategies
   - Partial result handling

7) **Establish coordination**: Define execution order
   - Parallel vs sequential execution
   - Dependency ordering
   - Synchronization points
   - Progress tracking

### Output Contract

Return a structured object:

```yaml
accepted: boolean  # Whether the target agent accepted the task
task_id: string  # Delegated task ID
agent: string  # Assigned agent (the `agent` input)
effective:  # Delegation settings actually used, as attested by the host
  fresh_context: boolean
  model_family: string
  role: string
  read_only: boolean
  checkpointed: boolean  # Before each change, the delegate had a checkpoint valid where that change is checked (§5.15.4)
result: object | null  # The delegate's result (with its sender) when the step waits for it (wait@1)
delegation:
  task: string  # Original task description
  delegated_to: array  # List of agents/subtasks
  status: pending | running | completed | failed
subtasks:
  - id: string  # Subtask identifier
    agent: string  # Assigned agent
    contract:
      inputs: object  # What subtask receives
      outputs: object  # What subtask must produce
      constraints: object  # Limits and requirements
      verification: string  # How to verify completion
    dependencies: array[string]  # Subtask IDs this depends on
    status: pending | running | completed | failed
    result: object | null  # Subtask output when complete
interfaces:
  - from: string  # Source subtask
    to: string  # Destination subtask
    format: object  # Data format specification
    required_fields: array[string]
merge_plan:
  strategy: first_wins | consensus | aggregate | custom
  conflict_resolution: string  # How to handle conflicts
  final_output_format: object  # Expected merged result
failure_handling:
  policy: abort | continue | retry
  max_retries: integer
  fallback: string | null
handoff_context:
  - key: string  # Context key
    value: object  # Shared context data
confidence: number  # probability that the delegation was accepted as reported (§4.1.1)
evidence_anchors: [{ref: "task:analysis", kind: record}, {ref: "agent:capability", kind: record}]
assumptions: []
```

#### Field Definitions

| Field | Type | Description |
|-------|------|-------------|
| `accepted` | boolean | Whether the target agent accepted the task |
| `task_id` | string | Identifier of this delegation call, its own also when it continues another (Standard v1.2 §5.15.3) |
| `agent` | string | The agent the task was assigned to |
| `effective` | object | Settings the host actually used (`fresh_context`, `model_family`, `model_id`, `role`, `read_only`), and `checkpointed`, which attests the delegate's checkpoint before each change (§5.15.4); a review quorum relies on them. `model_family` is derived from `model_id` by the rule of Standard v1.2 §5.15 |
| `result` | object | The delegate's result, with its `sender` (and `sender_identity` under identity@1), when the step waits for it; otherwise null |
| `delegation` | object | Overall delegation summary |
| `subtasks` | array | Individual subtask definitions with contracts |
| `interfaces` | array | Data flow between subtasks |
| `merge_plan` | object | Strategy for combining results |
| `failure_handling` | object | Recovery policies |
| `handoff_context` | array | Shared context for all subtasks |
| `confidence` | number | Probability, 0.0-1.0, that the delegation was accepted as reported (§4.1.1) |
| `evidence_anchors` | array of evidence anchors (§6.5) | References supporting delegation design |
| `assumptions` | array | Explicit assumptions about agents/capabilities |

### Examples

#### Example 1: Parallel Code Review

`agent` names who receives the task: here a review pool that fans it out to
the agents the task lists.

**Input:**
```yaml
agent: "review-pool"
task:
  description: "Review pull request #123 for security, performance, and style"
  agents:
    - id: "security-agent"
      capabilities: ["security-analysis", "vulnerability-detection"]
    - id: "perf-agent"
      capabilities: ["performance-analysis", "profiling"]
    - id: "style-agent"
      capabilities: ["lint", "style-check"]
constraints:
  timeout: "10m"
  max_issues_per_category: 20
```

**Output:**
```yaml
accepted: true
task_id: "deleg-pr123-review"
agent: "review-pool"
effective:
  fresh_context: false
  role: "reviewer"
  read_only: true
result: null  # Step does not wait; subtasks are still pending
delegation:
  task: "Review pull request #123"
  delegated_to: ["security-agent", "perf-agent", "style-agent"]
  status: pending
subtasks:
  - id: "security-review"
    agent: "security-agent"
    contract:
      inputs:
        pr_number: 123
        files: ["src/**/*.ts"]
        focus: "security"
      outputs:
        issues: "array of {severity, file, line, description}"
        summary: "string"
        passed: "boolean"
      constraints:
        timeout: "5m"
        max_issues: 20
      verification: "issues array is valid, severity in [low, medium, high, critical]"
    dependencies: []
    status: pending
    result: null
  - id: "perf-review"
    agent: "perf-agent"
    contract:
      inputs:
        pr_number: 123
        files: ["src/**/*.ts"]
        focus: "performance"
      outputs:
        issues: "array of {severity, file, line, description}"
        metrics: "object with timing estimates"
        passed: "boolean"
      constraints:
        timeout: "5m"
        max_issues: 20
      verification: "issues array is valid, metrics object present"
    dependencies: []
    status: pending
    result: null
  - id: "style-review"
    agent: "style-agent"
    contract:
      inputs:
        pr_number: 123
        files: ["src/**/*.ts"]
        focus: "style"
      outputs:
        issues: "array of {severity, file, line, description}"
        passed: "boolean"
      constraints:
        timeout: "3m"
        max_issues: 20
      verification: "issues array is valid"
    dependencies: []
    status: pending
    result: null
interfaces:
  - from: "all_subtasks"
    to: "merge"
    format:
      issues: "array"
      passed: "boolean"
    required_fields: ["issues", "passed"]
merge_plan:
  strategy: aggregate
  conflict_resolution: "Combine all issues, AND passed flags"
  final_output_format:
    all_issues: "array (combined)"
    passed: "boolean (all must pass)"
    summary: "string (generated)"
failure_handling:
  policy: continue
  max_retries: 1
  fallback: "Return partial results with failed subtask noted"
handoff_context:
  - key: "repository"
    value: { "owner": "org", "repo": "project" }
  - key: "base_branch"
    value: "main"
confidence: 0.9
evidence_anchors:
  - {ref: "task:pr-review-decomposition", kind: record}
  - {ref: "agent:security-agent:has-security-analysis", kind: record}
assumptions:
  - "All agents have access to repository"
  - "PR #123 exists and is accessible"
```

**Evidence pattern:** Task analysis informed decomposition, agent capabilities matched to subtasks.

---

#### Example 2: Sequential Data Pipeline

**Input:**
```yaml
agent: "pipeline-runner"
task:
  description: "Process customer data: validate, enrich, and store"
  agents:
    - id: "validator"
    - id: "enricher"
    - id: "persister"
  merge_strategy: "sequential"
```

**Output:**
```yaml
accepted: true
task_id: "deleg-batch-2024-01-15"
agent: "pipeline-runner"
effective:
  fresh_context: false
  read_only: false
result: null
delegation:
  task: "Process customer data pipeline"
  delegated_to: ["validator", "enricher", "persister"]
  status: pending
subtasks:
  - id: "validate-data"
    agent: "validator"
    contract:
      inputs:
        data: "raw customer records"
      outputs:
        valid_records: "array of validated records"
        invalid_records: "array with error reasons"
      constraints:
        schema: "customer_v2"
      verification: "All valid_records match schema"
    dependencies: []
    status: pending
    result: null
  - id: "enrich-data"
    agent: "enricher"
    contract:
      inputs:
        records: "${validate-data.valid_records}"
      outputs:
        enriched_records: "array with added fields"
      constraints:
        enrich_fields: ["company_size", "industry"]
      verification: "All records have enrich_fields populated"
    dependencies: ["validate-data"]
    status: pending
    result: null
  - id: "store-data"
    agent: "persister"
    contract:
      inputs:
        records: "${enrich-data.enriched_records}"
      outputs:
        stored_count: "integer"
        storage_location: "string"
      constraints:
        destination: "customer_db"
      verification: "stored_count matches input count"
    dependencies: ["enrich-data"]
    status: pending
    result: null
interfaces:
  - from: "validate-data"
    to: "enrich-data"
    format:
      records: "array of customer objects"
    required_fields: ["id", "name", "email"]
  - from: "enrich-data"
    to: "store-data"
    format:
      records: "array of enriched customer objects"
    required_fields: ["id", "name", "email", "company_size", "industry"]
merge_plan:
  strategy: custom
  conflict_resolution: "N/A - sequential pipeline"
  final_output_format:
    processed: "integer"
    stored: "integer"
    errors: "array"
failure_handling:
  policy: abort
  max_retries: 0
  fallback: null
handoff_context:
  - key: "batch_id"
    value: "batch-2024-01-15"
confidence: 0.85
evidence_anchors:
  - {ref: "task:pipeline-stages", kind: record}
assumptions:
  - "Enrichment service is available"
  - "Database has capacity for new records"
```

### Verification

- [ ] All subtasks have complete contracts
- [ ] Dependencies form a valid DAG
- [ ] Interfaces are compatible between connected subtasks
- [ ] Merge strategy handles all expected outputs
- [ ] Failure handling is defined

**Verification tools:** Read (for contract validation)

### Safety Constraints

- `mutation`: false
- `requires_checkpoint`: false
- `requires_approval`: false
- `risk`: medium

**Capability-specific rules:**
- Never delegate without explicit contracts
- Ensure all subtasks have verification criteria
- Define failure handling before delegation
- Validate interface compatibility
- Do not delegate tasks requiring approval without noting it
- In a workflow that declares `agents` (Standard v1.2 §5.15.2), the step
  takes its target's flags from the agent's manifest: a delegation to an
  agent that may mutate needs a checkpoint before it and an approval, and
  without the manifest it is not delegated
- In a 1.2 workflow, a `read_only` delegation the host does not attest
  fails the step, not retried

### Composition Patterns

**Commonly follows:**
- `plan` - Delegation is often part of plan execution (REQUIRES plan)
- `decompose` - Break task before delegating
- `compare` - Order subtasks by importance

**Commonly precedes:**
- `synchronize` - Merge results from delegated subtasks
- `verify` - Check all subtasks completed correctly
- `audit` - Record delegation and outcomes

**Anti-patterns:**
- Never delegate without failure handling
- Never delegate mutating tasks without noting safety requirements
- Avoid circular dependencies between subtasks

**Workflow references:**
- See `reference/composition_patterns.md#enrichment-pipeline` for parallel delegation
