TECHNOLOGY & CERTIFICATION EDITORIAL

Anthropic CCA-F: Orchestrating Claude Subagents

Multi-agent systems create a new management problem as soon as they split the work. A coordinator can ask separate Claude workers to investigate technical, financial and regulatory evidence, but parallel research does not automatically produce one dependable decision. Each worker needs a bounded question, access to the right sources and an explicit description of what it must return. The coordinator still has to reconcile contradictions, recover from a stalled branch and decide whether the evidence supports a conclusion. Delegation is therefore an architectural choice about responsibility and information flow, not a way to make one large prompt sound more sophisticated. The value comes from independent work that can be traced, challenged and combined safely.

A compliance research team receives a question about a supplier with operations in three jurisdictions. Legal restrictions, financial exposure and operational continuity each require a different source set. One Claude agent could investigate them sequentially, but the accumulated documents would make it harder to track whose finding came from where. Three specialists working independently might help—provided someone still owns the final judgment.

That is the useful case for multi-agent orchestration. The benefit is not that several models somehow become more accurate by voting. It is that the work can be divided into bounded investigations with separate context, tools and evidence requirements. The penalty is extra coordination, tokens, latency and new opportunities for information to be lost between agents.

A single agent may be sufficient for a predictable request, while independent evidence streams can justify delegated workers. In an incident, one worker might examine deployment logs while another checks account activity; the coordinator still reconciles conflicts and owns final approval. That makes agentic architecture an important subject in Anthropic CCA-F: delegation changes who investigates, not who is accountable for the decision. If every worker waits for the same tool or repeats the same search, additional agents create more handoffs without producing better evidence.

Choose tasks that deserve a separate working context

The test for creating a subagent is whether each subtask has a clear objective, narrow data access and a useful result that the lead agent can validate. “Research the company” is too broad. “Determine the supplier’s published insurance coverage and return the quoted policy clauses with dates” is a delegated assignment. A specialist should know what question it is answering, what sources it can inspect, which actions are forbidden, and what counts as complete.

In Claude Agent SDK applications, subagents are separate instances with their own working conversations. Intermediate exploration stays inside the worker and its final message returns to the parent. Context isolation is the design feature: it protects the lead conversation from becoming a dump of hundreds of pages, log lines or intermediate searches. It does not mean a worker automatically has enough information; the coordinator must supply the necessary brief and evidence identifiers.

Be deliberate about the boundary. Independent tasks such as comparing published contract clauses and checking financial filings can often run concurrently. A remediation agent that needs the investigation’s diagnosis cannot. If a result is needed to formulate another task, the dependency belongs in the plan, not in an optimistic prompt that tells every agent to start immediately.

Should the work become a subagent?
Situation Likely design Reason
One invoice rule, one authorized data source Application workflow Independent agents would duplicate a small deterministic check.
Three independent document collections Parallel specialists, one coordinator Each worker can isolate source context and return a bounded finding.
Deployment diagnosis before repair Sequential investigator then gated executor The second action depends on approved evidence from the first.
Competing architectural options Separate option reviewers, then synthesis Independent reviews can expose tradeoffs if common evaluation criteria are frozen.

An architect should also measure the actual gain. Agents that each load the same large repository, call the same search tools and repeat each other’s work may cost much more without producing better evidence. Parallelism reduces wall-clock time only when tasks are genuinely independent and the slowest worker is not followed by an expensive reconciliation stage.

Define a delegation contract that can be checked

The coordinator needs a contract that is more precise than “be a security specialist.” At minimum it should specify the question, allowed source categories, evidence format, deadline or budget, forbidden side effects, confidence handling, and the circumstances in which the worker must return unable to determine. Without such a contract, agents can quietly answer different questions and produce confident-looking summaries that cannot be compared.

For the supplier review, an insurance worker might return an explicitly structured result rather than a free-form essay. The following is an illustrative handoff record, not a copied Agent SDK response or a claim that a built-in schema is enforced by default:

{
  "task_id": "insurance-07",
  "status": "needs_review",
  "finding": "Coverage differs across two documents",
  "evidence": [
    {"source_id": "policy-2026", "page": 4, "quoted_clause": "..."},
    {"source_id": "certificate-2025", "page": 1, "quoted_clause": "..."}
  ],
  "unresolved": "Which policy is currently binding?",
  "actions_taken": ["read-only document retrieval"]
}

This record separates an observation from a resolution. The parent should preserve the evidence identifiers, request clarification where needed, and refrain from converting ambiguity into a definite compliance conclusion. If the final reviewer cannot navigate from the summary to the underlying clause, the subagent has not finished its job—even if its prose is elegant.

For an SDK-defined worker, the agent description can explain when the main agent should delegate, the prompt can define output standards, and the tool list can restrict available capabilities. Claude Code also supports filesystem-based agents. These are ways to configure the worker, not substitutes for application authorization. Actual tool execution must still respect server-side access controls.

Run independent branches in parallel, but enforce dependencies

Consider a supplier decision that needs an operational uptime assessment, a financial-risk review and a legal restriction check. Those investigations can be started together because one does not need another’s result to begin. The final recommendation, however, must wait for an explicit barrier: all required findings have arrived or a documented fallback and timeout policy has been reached.

The coordinator should own the shared request ID, version of the task brief, worker deadlines, and allowed tool budgets. Each result must be associated with a worker identity and source list. A late worker result must not silently overwrite an already approved decision, and a failed branch must not be treated as a clean pass.

# Orchestration pattern, deliberately SDK-neutral.
brief = freeze_question_scope_and_evidence_requirements(request)
work = dispatch_independent_read_only_workers(brief, deadline=DEADLINE)
results = await_required_results_or_policy_timeout(work)
for result in results:
    validate_task_id_schema_sources_and_permissions(result)
if any_required_result_is_missing(results):
    return review_queue_with_missing_evidence(results)
conflicts = compare_claims_and_source_versions(results)
return synthesize_with_citations_or_escalate(conflicts, results)

Do not confuse this coordinator pseudocode with a library promise of exactly-once delivery. Timeouts, cancellations and retries are application concerns. For an agent that can create a ticket or send a message, use explicit idempotency keys and action approval rules; for read-only research, redundant calls may be merely costly, but they still need tracking to prevent misleading activity logs.

One useful variation is a map-and-reduce workflow. Separate workers examine well-defined parts of a corpus, then a reducer compares their structured findings. It works when documents are independent and the final reducer has enough evidence to detect contradictions. It is a poor fit when every document depends on an evolving hypothesis that should be maintained in one continuous context.

Make handoffs carry evidence, not conversational optimism

A dangerous handoff looks like this: “Legal checked it; looks fine.” It neither identifies the legal question nor names the evidence. A reliable handoff states the specific claim, its source and timestamp, known exceptions, remaining uncertainty and any requested next action. That structure lets the coordinator decide whether the information is relevant and whether another worker should investigate.

Information provenance matters especially when separate agents summarize conflicting documents. Imagine one worker finding a 2026 policy while another cites a cached 2024 FAQ. “Two sources disagree” is a valid finding. The orchestrator should investigate which source is authoritative instead of averaging the two answers, silently choosing the more recent-looking one or declaring consensus where none exists.

The parent’s job is synthesis with attribution, not concatenation. It can reject a worker’s unsupported statement, ask for narrower evidence, or combine compatible findings into a qualified recommendation. If the system needs a single final JSON record, validate that final artifact independently; a well-formed worker JSON object does not guarantee the overall answer is sound.

Cross-agent communication should also be sparse. Broadcasting entire transcripts to every worker destroys the context-isolation advantage. Pass stable task instructions and a compact source index; retrieve detailed evidence only for a genuinely shared question. When a worker’s own context becomes large, it should return a durable checkpoint of verified claims and unresolved items rather than ask the next worker to infer the state from a long chat.

A handoff can be checked as a small interface contract. For a supplier review, the receiving coordinator might require the finding, the exact supplier identifier, source document, effective date, unresolved exceptions and next responsible owner. A worker that reports ‘insurance is valid’ without naming which legal entity is insured has not finished the delegated job. Its fluent summary may be useful for diagnosis, but it is not an approved finding. The coordinator should reject or qualify the record before it enters a final recommendation; structural validation catches omissions, while a separate evidence review decides whether the claim is true.

Responsibility must also survive a change in control. If an investigator cannot access a restricted contract, the orchestrator can assign the evidence request to an authorized reviewer, but it should not silently hand the case to another model that has broader privileges. The original task owner remains accountable for the final disposition and records the reason for escalation, the pending evidence and the decision that must wait. This makes agent boundaries visible to operators and prevents a distributed workflow from producing an apparently complete answer with no accountable author.

Plan for disagreement, stalled workers and unsafe requests

A multi-agent system adds failure states: one worker can finish, another can return weak evidence and a third can time out. The coordinator needs structured worker failure states—success, blocked, incomplete and cancelled—plus a tool recovery policy that distinguishes safe retries from actions whose outcome is unknown.

For example, if the financial worker loses access to a private system, it should report an authorization boundary and stop. The lead agent must not ask a different specialist to bypass that boundary. If a public registry lookup times out, a bounded retry might be appropriate. If the legal worker receives contradictory amendments, the correct outcome may be a human escalation rather than a model choosing its favorite interpretation.

Every worker should be able to return a justified negative result: “not found after searching the approved set,” “insufficient evidence,” or “unsafe to proceed.” These are different findings. A search with no results is not proof the fact does not exist; a permission denial is not evidence the underlying claim is false. This distinction should be explicit in the final report.

Agent SDK hooks can observe and constrain some tool and session events, but configuration alone is not an authorization boundary. Use narrow worker tools and enforce tenant, role and action policies in application code. For high-impact decisions, require an auditable human approval after synthesis and before any side-effecting tool becomes available.

Measure the whole system, not each worker’s prose

Evaluating each specialist on answer fluency can hide a broken orchestrator. A worker might accurately summarize a regulation while the parent omits its exception; another might return a correct risk score that the coordinator associates with the wrong vendor. End-to-end tests should therefore score task assignment, evidence integrity, handoff validation, synthesis accuracy and appropriate escalation.

Track the cost of repeated context preparation, agent turns and tool calls, as well as elapsed time. Compare against a simpler baseline: the same task completed by one tool-using agent or deterministic workflow. Measure both median and tail latency; a few stalled branches can dominate the user’s experience despite good average worker performance.

Deliberately give one investigator a stale source, another a malformed record and a third a delayed response. A well-designed coordinator should either reconcile each discrepancy against verifiable evidence or leave the decision pending; agreement manufactured from incomplete worker summaries is a failure. Agent evaluation must therefore score the quality of coordination and the authorization path, not just the fluency of each specialist’s answer.

A second evaluation concern is handoff precision. If a worker reports a risk but omits the source version, the coordinator should classify its output as incomplete rather than presenting a confident aggregate score. A dedicated evaluation set can contain paired documents with the same supplier name but different effective dates, requiring the coordinator to associate each claim with the right organization and period. The target is not perfect verbal agreement among workers. It is an accurate final record that exposes uncertainty at the point where a consequential decision would otherwise be made.

Decision review: should a security incident use three agents?

A production alert reports suspicious login activity and missing records. A proposed design uses a log-analysis agent, an identity-policy agent and a recovery agent in parallel. The first two investigations are reasonable independent read-only assignments. The recovery branch is not: its actions depend on what the other workers establish and on authorization to change production state.

Restructure the plan. Launch the log and identity investigators with independent source scopes and evidence formats. Wait for their findings; flag disagreements and verify source timestamps. Then decide whether recovery is needed. If so, produce a proposed action, assess risk, obtain the correct approval and use an executor with exactly the permissions required. A failed or missing investigation produces a hold, not permission to improvise.

The lesson extends beyond incidents. Multi-agent systems should separate independent thinking from dependent action. Delegation can improve evidence gathering; it cannot transfer accountability for correctness, customer impact or permissions to a model. When a single agent can execute the same plan with clearer state and lower cost, that remains the better architecture.

Back to Insights
Explore what matters. Knowledge that goes beyond the exam.
Explore ExamTopics