Agent Architecture

Agent Architecture carries 4.5% of the CCDV-F blueprint, close to two of its 53 scored questions. It covers the structural decisions taken before any agent code is written: topology, state ownership, memory strategy, and the line between deterministic code and model judgement.

Written by Kiran Manne

4.5% of the CCDV-F blueprint, which is roughly 2 questions of 53. It sits inside Agents and Workflows, worth 14.7% in total.

Agent Architecture is the structural half of building an agent, and it carries 4.5 percent of the CCDV-F blueprint. On a 53-question paper that is close to two scored questions, so treat it as a topic you must be able to reason through rather than one you can memorise your way past.

The sub-skill sits one level above implementation. Nothing here is about which method call drives the loop; everything is about the shape of the system that loop runs inside. Four structural questions recur. Who owns conversation state, your process or a hosted service? Does the work fit one agent with one context window, or does it fan out to workers with their own? Which parts of the flow are decided by the model at run time, and which are fixed in code you can read and test? And where does knowledge that outlives a single context window live?

That last question is where marks are lost, because three different mechanisms address memory and they do genuinely different things. Clearing removes old blocks outright. Summarising replaces them with a condensed record. Externalising writes durable notes the agent can read back later. Choosing between them is an architecture decision rather than a tuning knob, and a well-written scenario contains one detail that eliminates two of the three.

What the exam tests here

  • Which parts of a flow belong in deterministic code and which are safe to leave to model judgement
  • Choosing a single-agent topology over a fan-out of workers, and the briefing cost of each hand-off
  • Where durable state lives when a task outlasts one context window
  • The difference between clearing stale blocks, summarising history, and writing to external memory
  • Which build approaches supply only a harness and which also supply the hosting underneath it
  • Designing the tool surface so that risky steps are inspectable before they run

Draw the deterministic boundary first

An agent architecture is mostly a decision about what the model is **not** allowed to decide. Sequencing that never varies, authorisation checks, schema validation, idempotency keys and rollback paths belong in code, because code can be unit tested and read by a reviewer six months later. Model judgement belongs where the input space is genuinely open.

A useful design habit is to sketch the flow and mark every arrow the model chooses. Each marked arrow is a place where behaviour can change without a deploy, so each one needs either a cheap recovery path or a gate in front of it. Architectures that fail in production usually have too many marked arrows, not too few tools.

Topology: one context window or several

Fan-out is the second structural choice. A single agent holds one continuous window and can refer back to anything it has seen. Delegating to workers gives each branch a fresh window and returns a short report, which is the only reliable way to stop a reading-heavy task from crowding out the work that matters.

The cost is a briefing. A worker starts knowing nothing about what the coordinator learned, so the instruction has to carry the paths, the constraints and the required output shape in full. The break-even is roughly whether a delegated branch reads far more than it reports. A branch that reports nearly everything it read has bought you a round trip and nothing else.

Three memory mechanisms, three different meanings

Long-running agents need a story for content that no longer fits, and the platform exposes three distinct answers.

Context editing clears old tool results or reasoning blocks out of the request before the model sees it, so those tokens simply disappear. Server-side compaction summarises earlier turns and returns a compaction block that you must append back along with the rest of the response content, because that block is what stands in for the history on the next call. A memory tool gives the agent an explicit read and write surface outside the window, so findings survive the session entirely.

Clearing loses detail permanently, summarising loses fidelity, and external memory costs a tool call. Pick by what the task cannot afford to lose.

Harness and hosting are separate axes

Candidates conflate the ways of building an agent because they compare them on one dimension. Two dimensions separate them cleanly: who supplies the harness (the loop and the context handling), and who supplies the deployment (the machine the agent and its tools run on).

Writing the loop yourself supplies neither. An SDK tool runner supplies a harness over tools you define and leaves hosting to you. The Claude Agent SDK also supplies a harness, a fuller one carrying built-in file and shell tools, and still leaves hosting to you. Only the managed agent platform supplies both, provisioning a workspace container per session. Place a scenario on both axes and the intended answer usually falls out.

Where candidates go wrong

Trap: treating a bigger toolset as a better architecture

A tool list is a capability surface, not a design. Every extra tool widens what one wrong decision can reach, adds description tokens to every request, and raises the chance the model picks a near-miss.

The architectural move runs the other way: name the small set of actions the task requires, give each a typed interface, and leave the rest out. When one option resolves an agent's confusion by adding tools and another narrows the surface or splits the work, the narrowing option is what is being tested.

Trap: assuming a worker inherits the coordinator's understanding

Delegation reads like a function call, and function calls close over their scope. A delegated run does not. It begins with whatever its instruction says and nothing more, so shorthand invented earlier in the parent conversation, decisions already taken, and paths already discovered all have to be restated.

In production the symptom is a worker redoing discovery the coordinator had finished, or answering a subtly different question. Any option describing delegation as a way to share context rather than to isolate it has the mechanism inverted.

Trap: reaching for compaction when the real need is durable memory

Both keep a long run alive, so they look interchangeable. They are not. Summarising is lossy by construction and lives inside the session, which means a fact compressed away is gone for good and nothing at all survives the process exiting.

If the scenario mentions resuming tomorrow, sharing findings between runs, or auditing what the agent concluded, the requirement is storage the agent writes to deliberately. Summarising is right only when the goal is keeping one continuous run inside its limit.

Common questions

How many CCDV-F questions come from Agent Architecture?

The published weight is 4.5 percent. Against 53 scored questions that works out at roughly two. Its sibling sub-skills sit just above it at 5.3 percent and 4.9 percent, so this is not a section you can trade away against the rest of its domain.

What separates Agent Architecture from Agent Construction with Claude?

Scope. Architecture decides the shape: how many context windows, who holds state, which steps are fixed in code, where memory lives. Construction decides the mechanics: how the loop is driven, how results are returned, how errors and caps are handled. A question that would change your class diagram is architecture; one that would change a line inside the loop is construction.

When is a multi-agent topology actually justified?

When a branch of the work consumes far more input than it produces. Research across many sources, per-file analysis and log triage all qualify, because a worker can read heavily and hand back a paragraph. Work that is mostly sequential reasoning over one shared body of facts does not, since every hand-off has to re-establish those facts.

Does an architecture have to pick a single memory mechanism?

No, and mature designs combine them. A long research run might clear stale tool results to reclaim tokens, rely on summarisation to survive the window limit, and still write conclusions to external storage so a later session can pick them up. What the exam wants is that you can say which problem each one solves rather than treating the three as synonyms.

The rest of Agents and Workflows

Practise this

The CCDV-F bank covers every sub-skill in the blueprint, weighted the way the real paper is. Free sample questions need no account.

Free CCDV-F questions