TECHNOLOGY & CERTIFICATION EDITORIAL

Anthropic CCA-F: Choosing the Right Claude Agent Architecture

Architecture discussions often begin with model size or the number of agents. Neither is the right starting point. Consider an access-review assistant that first summarizes requests, then gains the ability to retrieve entitlements and propose approval decisions. The work has changed from language generation to evidence gathering with consequences for real users. A single model call, a deterministic sequence, a tool-using agent and an orchestrator may all solve parts of it, but each introduces different latency, failure and permission costs. The defensible choice is the simplest design that handles the genuine uncertainty while leaving consequential actions under enforceable controls. Complexity earns its place through measured benefits, not through architectural fashion.

An architect should be able to explain why a workflow needs Claude at all. A deterministic eligibility check may be safer than an agent, while an ambiguous evidence search may justify a bounded model-driven investigation. Agent loops, delegation, prompting and persistent state are alternatives with different costs, latency and failure modes—not features to assemble into every design. The practical design decision in Anthropic CCA-F starts from the required outcome and identifies which component owns each consequential action. If a second agent supplies no independent evidence, or a tool can act without authorization, more complexity has made the architecture worse rather than more capable.

Classify the task before selecting an architecture

An overnight invoice-classification job may not need an interactive agent loop at all. If each record is independent, the deadline allows delayed results, and business acceptance can be checked afterward, the Message Batches API may be more appropriate than coordinating many synchronous agents. That decision introduces different responsibilities: stable per-request identifiers, outcome reconciliation, expiration handling and a durable results-ingestion process. A customer waiting for an immediate answer or a task requiring each step’s output before the next begins has different constraints and may need synchronous execution. The meaningful comparison is therefore between timing, dependencies, failure recovery and overall cost per accepted result—not merely the number of model calls or agents the architecture can support.

Break the proposed workload into decisions and actions. Summarizing a completed access request can be a single language-model call after retrieving the correct record. Checking whether a user already has access is a deterministic query. Evaluating a complex exception may need model-assisted interpretation of several policy passages. Granting access is a privileged action that should remain behind explicit application authorization, regardless of which model pattern recommends it.

Workload shape Reasonable starting point Main warning sign
Known input, one output Single model call with a constrained output Prompt grows into hidden business logic
Predictable stages and clear rules Deterministic workflow with model assistance at selected steps Model is asked to rediscover fixed routing rules
Uncertain investigative path One bounded tool-using agent Repeated calls or side effects without guardrails
Independent specialist evidence Coordinator and scoped subagents The workers share so much changing state that coordination dominates

A single model call is not inferior when it solves the task. Conversely, a deterministic workflow can include several model calls and still be easier to audit than one unconstrained agent. The distinction is who controls the sequence: the application, the model, or a designed combination.

To make the tradeoff concrete, ask what changes when a tool returns unexpected data. Can application code handle the exception through fixed rules? Does the system need Claude to decide which source to investigate next? And who is ultimately allowed to execute the consequence? A plan that answers these questions is more useful than a diagram with impressive agent names.

Draw the trust and action boundaries first

Architecture diagrams often emphasize components but omit the point where advice becomes action. For access requests, retrieval and policy comparison may be read-only; entitlement grants are not. A model can formulate a recommendation without possessing credentials that allow it to implement that recommendation.

Represent each capability by its consequence. read_entitlements returns bounded information about one principal. search_policy returns approved documentation. draft_exception_rationale writes a proposal. grant_entitlement changes security posture. The last operation needs strong identity checks, eligibility validation, recorded approval and an idempotency key. It should not be exposed as part of a generic manage_user tool simply because that makes the interface convenient.

A prompt that says “only grant after approval” cannot substitute for a permission check in the service. An agent architecture must impose tool-call limits and stop conditions, but the action service itself remains responsible for approval and side-effect integrity.

Decide whether a second agent adds independent value

A coordinator can delegate policy interpretation and technical entitlement analysis to separate workers. That may help if the two branches use different source systems, permission scopes or evaluation criteria. It can also be counterproductive. If both agents must continually share the same changing request state, passing long messages back and forth adds latency and inconsistency.

A defensible multi-agent decision specifies the subtask boundaries, expected evidence format, permitted tools and reconciliation procedure. Each worker should return facts, references, uncertainty and a clear completion status. The lead agent must not silently average contradictory recommendations. It should identify disagreement and request targeted follow-up or human review.

First benchmark a well-instrumented single agent against any coordinator design. Compare correctness, token use, latency, unsuccessful calls and human review effort on the cases that actually demand specialization. Only retain multi-agent orchestration if the benefits outweigh its additional failure and handoff surfaces.

Account for model and deployment choices

The model does not operate in isolation. The application may run through Anthropic’s direct API or supported third-party cloud platforms, depending on organizational requirements and available features. An architect should evaluate model capability, latency, context handling, regional and data constraints, operational tooling and cost in the intended environment. A model or deployment option that meets a benchmark in one environment may have different quotas, features or governance requirements elsewhere.

Do not treat the largest available model as a universal default. A straightforward classification stage may perform well with a faster model; ambiguous policy reconciliation might justify a stronger one. The routing decision itself should be measured and versioned. Avoid a brittle rule that sends every long question to the most expensive path without checking whether the added capability improves the required outcome.

Tool definitions, structured outputs and thinking settings can change the request’s behavior and cost. If the workload uses prompt caching for repeated instructions and tool definitions, changing those prefixes may invalidate cached work. Price estimates should include tool calls, repeated context, retries, background work and human review—not just the tokens in the initial prompt. Benchmark the real traffic mix rather than a single demonstration request.

A migration between providers or model versions warrants regression tests for tool schemas, stop handling, safety behavior and result fields. The cheapest transition is rarely “replace the model name and assume everything else is identical.” Production architecture is defined by the application contract as much as by its model choice.

Separate execution state from model context

Long-running access reviews need durable state that survives a browser refresh, timeout, worker crash or human-approval delay. Store the request ID, effective policies, identity and role information, evidence references, approval state, tool outcomes and any pending action in an application-controlled record. The conversation can carry a useful working summary, but it should not be the only source of truth.

A resumed agent must refresh critical facts. An entitlement that existed yesterday may have been revoked. A manager who approved an exception might no longer hold the required role. A tool result that was valid at the previous step can be stale before a privileged action executes. The final check belongs near the action itself.

A compacted transcript may preserve the proposed access change while losing the manager’s objection or the policy version used to justify it. Sound context engineering stores approved decisions, their evidence and open objections outside the model’s temporary working text. On resumption, the application reloads that state and refreshes any entitlement or approval that might have changed. A shorter prompt is only an improvement if the facts needed for a safe decision survive.

Evaluate architecture by consequential failures

A successful demonstration can hide the most expensive failure modes. Build an evaluation set that contains ordinary access checks, incomplete identities, conflicting policies, malicious content in a retrieved ticket, revoked approval, tool timeouts, and a repeated operation after an uncertain network result.

Ask whether the design reaches the right outcome and whether it takes an acceptable path. A system that produces the correct “deny access” answer after exposing unrelated user records still fails. So does one that correctly recommends granting access and then executes the grant twice. Track both result quality and boundary violations.

Useful comparison metrics include complete-and-correct rate, unsupported assertions, attempted forbidden tool calls, human escalation accuracy, median and tail latency, total cost per resolved case, and recovery after injected failures. Separate policy test cases from architecture performance tests so the evaluation does not simply reward the system for copying examples from its own prompt.

Evaluate the architecture with tests that would expose its most costly weaknesses: expired approvals, conflicting entitlements, prohibited access attempts, tool failures and step-budget exhaustion. Agent evaluation must record both the decision and the path taken to reach it. A system that denies access correctly after reading someone else’s private records has still failed; a faster system that repeats an uncertain write is not the better design.

The choice between deterministic code, one tool-using agent and several specialists should be evaluated against the same task distribution. For an access-review service, run a small representative set of straightforward approvals, missing-identity cases and genuine policy exceptions through each candidate design. Compare whether they reach a justified decision, what evidence they retain, how many privileged calls they attempt, and how often they require human intervention. Also measure the slowest difficult cases, not only average completion time. A multi-agent design that improves one rare exception but doubles the waiting time for routine checks may be the wrong default architecture.

Write down the trigger that justifies escalation. A bounded workflow can handle valid ordinary requests and send ambiguous exceptions to a single evidence-gathering agent. If distinct independent specialties demonstrably improve those exceptions, delegation may be added to that branch alone. The architect has not failed by using fewer agents; the goal is to apply autonomy only where evidence shows it produces better decisions without expanding the privilege boundary. Keeping a simpler baseline also makes future model upgrades easier to assess because there is a clear comparator.

A worked access-review design decision

A candidate architecture begins with a single structured call to classify request completeness. Deterministic code checks user identity, current entitlements and whether the requested role is on an allowlist. For an ordinary, eligible request, the system can advance to the required human approval without a free-running agent. For a request involving a policy exception, a bounded investigation agent reads the relevant policy and change history and returns a source-backed recommendation.

A separate policy reviewer is introduced only if evaluation shows that ambiguous exception cases benefit from independent analysis. Each agent receives read-only capabilities; the entitlement-changing API remains behind a service that verifies authorization, current policy, approval and idempotency. The system records all decisions and can explain why an escalation occurred.

In a pilot, the single-agent design may be quicker and cheaper. In high-risk, conflicting cases, the specialist reviewer may catch unsupported interpretations. The correct production choice may therefore be a hybrid: deterministic routing for simple cases, one agent for uncertain investigation, and a targeted second review only when the evidence warrants it.

The access-review case does not require a permanent team of agents. It calls for deterministic checks where policy is clear, bounded investigation where evidence is incomplete, and independent review only where evaluation demonstrates a real benefit. That decision can change as risk, volume and error patterns change; the architecture should be measured and revised rather than defended as a fashionable design.

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