---
title: "task_delegation"
description: "Decompose a complex task and delegate subtasks to appropriate services or people."
canonical: "https://acs.synapti.ai/workflows/task-delegation/"
last_updated: "2026-10-28T18:48:12Z"
---

# Decompose a complex task and delegate subtasks to appropriate services or people.

Generated from [schemas/workflows/personal_assistant_workflows.yaml](https://github.com/synaptiai/agent-capability-standard/blob/main/schemas/workflows/personal_assistant_workflows.yaml) at commit 18c38b74ac21.

- Workflow id: `task_delegation`
- Risk: medium
- Catalog: domain workflows (personal-assistant)
- Declares Standard 1.1.0
- Steps: 9

Task delegation workflow that breaks down user requests,
identifies appropriate executors (services or people),
and coordinates the delegation. All delegations require user approval.

**Figure: Steps of task_delegation: 9 steps, checkpoint at step 7.** Read top to bottom: only steps 7 and 9 (checkpoint, audit) change state; and the highest step risk is low, at steps 1, 2, 3, 4, 5, 6, 7, 8 and 9.

| # | Capability | Layer | Role | Gates | On failure | Reads from | Risk |
| --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | `decompose` | REASON |  |  |  |  | low |
| 2 | `classify` | UNDERSTAND |  |  |  | 1 | low |
| 3 | `search` | PERCEIVE |  |  |  | 2 | low |
| 4 | `compare` | UNDERSTAND |  |  |  | 3 | low |
| 5 | `plan` | REASON |  |  |  | 1 | low |
| 6 | `generate` | SYNTHESIZE |  |  |  | 4, 5 | low |
| 7 | `checkpoint` | VERIFY | checkpoint |  |  |  | low |
| 8 | `explain` | REASON |  |  |  | 5 | low |
| 9 | `audit` | VERIFY |  |  |  | 1, 6, 7 | low |

## Inputs

**Figure: Inputs of task_delegation.** 2 inputs, 1 required (filled pin) and 1 optional (outlined pin), with 5 named fields inside them.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `task` | object | Yes |  |
| `task.id` | string | No |  |
| `task.description` | string | No |  |
| `task.deadline` | string | No |  |
| `task.budget` | object | No |  |
| `task.context` | object | No |  |
| `profile` | object | No |  |

## Steps

1. [`decompose`](https://acs.synapti.ai/capabilities/decompose/index.md): Break complex task into subtasks. Stores `subtasks_out`. (risk low)
2. [`classify`](https://acs.synapti.ai/capabilities/classify/index.md): Classify each subtask by required executor type. Stores `task_classification_out`. (risk low)
3. [`search`](https://acs.synapti.ai/capabilities/search/index.md): Find available services or contacts for delegation. Stores `executor_search_out`. (risk low)
4. [`compare`](https://acs.synapti.ai/capabilities/compare/index.md): Rank potential executors by suitability. Stores `executor_ranking_out`. (risk low)
5. [`plan`](https://acs.synapti.ai/capabilities/plan/index.md): Create delegation plan with dependencies. Stores `delegation_plan_out`. (risk low)
6. [`generate`](https://acs.synapti.ai/capabilities/generate/index.md): Create delegation request messages. Stores `delegation_requests_out`. (risk low)
7. [`checkpoint`](https://acs.synapti.ai/capabilities/checkpoint/index.md): Checkpoint before any delegation actions. Stores `checkpoint_out`. (risk low, changes state)
8. [`explain`](https://acs.synapti.ai/capabilities/explain/index.md): Summarize delegation plan for user approval. Stores `explanation_out`. (risk low)
9. [`audit`](https://acs.synapti.ai/capabilities/audit/index.md): Record delegation planning session. Stores `audit_out`. (risk low, changes state)

## Data flow

**Figure: Which step reads which stored output.** 7 steps read the output of earlier steps, 10 reads in all; step 9 (audit) reads the most, from 3 steps.

- Step 2 reads from step 1.
- Step 3 reads from step 2.
- Step 4 reads from step 3.
- Step 5 reads from step 1.
- Step 6 reads from steps 4 and 5.
- Step 8 reads from step 5.
- Step 9 reads from steps 1, 6 and 7.

## Risk

**Figure: Risk of task_delegation: declared medium; highest step risk low, at step 1 (decompose).** The catalog declares medium; the highest step risk is low.

- Step 1 (`decompose`): low
- Step 2 (`classify`): low
- Step 3 (`search`): low
- Step 4 (`compare`): low
- Step 5 (`plan`): low
- Step 6 (`generate`): low
- Step 7 (`checkpoint`): low
- Step 8 (`explain`): low
- Step 9 (`audit`): low

## Success criteria

- Task decomposed into actionable subtasks
- Appropriate executors identified
- Delegation requests prepared for approval
- Progress tracking established

## Related

- Domain: [personal-assistant](https://acs.synapti.ai/domains/personal-assistant/index.md)
- Listed by the [personal-assistant](https://acs.synapti.ai/domains/personal-assistant/index.md) profile

## Validate it

```sh
python tools/validate_workflows.py --catalog schemas/workflows/personal_assistant_workflows.yaml
```

## Workflow YAML

```yaml
task_delegation:
  goal: Decompose a complex task and delegate subtasks to appropriate services or people.
  risk: medium
  domain: personal-assistant
  profile: schemas/profiles/personal_assistant.yaml
  description: |
    Task delegation workflow that breaks down user requests,
    identifies appropriate executors (services or people),
    and coordinates the delegation. All delegations require user approval.
  success:
    - Task decomposed into actionable subtasks
    - Appropriate executors identified
    - Delegation requests prepared for approval
    - Progress tracking established
  steps:
    - capability: decompose
      purpose: Break complex task into subtasks.
      risk: low
      mutation: false
      store_as: subtasks_out
      input_bindings:
        problem: ${task.description}
        max_depth: 2
        strategy: action_decomposition

    - capability: classify
      purpose: Classify each subtask by required executor type.
      risk: low
      mutation: false
      store_as: task_classification_out
      input_bindings:
        item: "${subtasks_out.subproblems: array<object>}"
        taxonomy: [automated_service, human_assistant, user_action, ai_agent]
        multi_label: false

    - capability: search
      purpose: Find available services or contacts for delegation.
      risk: low
      mutation: false
      store_as: executor_search_out
      input_bindings:
        query:
          subtask_types: "${task_classification_out.labels: array<object>}"
          sources: [available_services, contacts, integrations]
        scope: delegation_executors

    - capability: compare
      purpose: Rank potential executors by suitability.
      domain: executor_selection
      risk: low
      mutation: false
      store_as: executor_ranking_out
      input_bindings:
        options: "${executor_search_out.results: array<object>}"
        criteria:
          - capability_match
          - availability
          - past_performance
          - cost

    - capability: plan
      purpose: Create delegation plan with dependencies.
      risk: low
      mutation: false
      store_as: delegation_plan_out
      input_bindings:
        goal: complete_task
        constraints:
          deadline: ${task.deadline}
          budget: ${task.budget}
          dependencies: "${subtasks_out.dependencies: array<object>}"

    - capability: generate
      purpose: Create delegation request messages.
      domain: delegation_request
      risk: low
      mutation: false
      store_as: delegation_requests_out
      input_bindings:
        specification:
          type: delegation_request
          subtasks: "${delegation_plan_out.steps: array<object>}"
          executors: ${executor_ranking_out.recommendation}
          context: ${task.context}

    - capability: checkpoint
      purpose: Checkpoint before any delegation actions.
      risk: low
      mutation: true
      store_as: checkpoint_out
      input_bindings:
        scope: delegation
        label: "DEL-${task.id}"

    - capability: explain
      purpose: Summarize delegation plan for user approval.
      risk: low
      mutation: false
      store_as: explanation_out
      input_bindings:
        conclusion: ${delegation_plan_out}
        audience: user
        depth: detailed

    - capability: audit
      purpose: Record delegation planning session.
      risk: low
      mutation: true
      store_as: audit_out
      input_bindings:
        event:
          type: delegation_planning
          task_id: ${task.id}
          subtasks_created: "${subtasks_out.subproblems: array<object>}"
          delegations_proposed: "${delegation_requests_out.content: object}"
          checkpoint_id: ${checkpoint_out.checkpoint_id}

  inputs:
    task:
      type: object
      required: true
      properties:
        id: {type: string}
        description: {type: string}
        deadline: {type: string}
        budget: {type: object}
        context: {type: object}
    profile:
      type: object
      ref: schemas/profiles/personal_assistant.yaml
```
