Solution Design & Architecture·Task 1.2·Bloom: remember·Difficulty 1/5·6 min read·Updated 2026-07-14

The Four-Stage Architecture Shape for the CCAR-P Exam

Design end-to-end architectures (input to processing to output to feedback loops)

SUBy Solomon UdohReviewed by Solomon UdohAI-assisted · human-reviewed
In short
Every Claude-based solution can be described as four stages: input (how data and instructions enter, such as a user message, retrieved chunk, or tool result), processing (what Claude and surrounding code do, including reasoning and tool calls), output (the delivered result), and a feedback loop that closes the system through evaluation, human review, or a logged signal that improves the next run.

One shape underneath every architecture

Beneath the variety of agents, workflows, and retrieval pipelines sits a single recurring shape. Every Claude-based solution can be described as four stages: input, processing, output, and a feedback loop. The Claude Certified Architect - Professional (CCAR-P) exam treats knowing this shape as a remember-level skill because it is the mental scaffold that every later analysis hangs on. When you review an architecture, walking these four stages is how you check that nothing structural is missing, and the stage most often missing is the fourth.

Input is how data and instructions enter the system: a user message, a retrieved chunk, a tool result. Processing is what Claude and the surrounding code do with that input, the reasoning, the tool calls, the transformations. Output is the delivered result. The feedback loop is what closes the system: an evaluator pass, a human review, or a logged signal that improves or corrects the next run. The first three stages are obvious in any design. The fourth is the one that distinguishes a system that can catch its own errors from one that cannot.

The four-stage architecture shape
A description of any Claude-based solution as four stages: input (how data and instructions enter), processing (what Claude and surrounding code do, including reasoning and tool calls), output (the delivered result), and a feedback loop that closes the system through evaluation, human review, or a logged signal that improves the next run.

Input and processing: where the work is visible

Input and processing are where most design attention naturally goes. Input decisions include whether data arrives as a user message, a retrieved passage, or the result of a tool call, and this stage is where the live-versus-static data classification lands. Processing is the model's reasoning plus everything the surrounding code does around it: the tool calls it makes, the intermediate steps, the transformations applied before the output is composed. These two stages carry the obvious complexity of a system, and they are rarely forgotten because without them there is no product at all.

Output is not the finish line

The quiet failure is treating output as the end of the architecture. A design that produces a correct-looking result feels complete, so the feedback loop gets omitted. But output without a feedback loop is a system that cannot tell when it is wrong. There is no evaluator checking the result against a rubric, no human catching a bad answer before it lands, no logged signal revealing that quality has drifted since launch. The system ships, works in the demo, and then degrades silently because nothing is watching. The deeper reason the loop is not optional is that Claude is non-deterministic: the same input can produce different outputs across runs, so behaviour you saw work once in a demo is not certified for production. You cannot certify behaviour you only observed once, which is precisely why evaluation and the feedback loop exist as architectural stages rather than afterthoughts. Closing the loop is what turns a one-shot generator into a system that can catch and correct systematic error.

The four stages, with the loop that closes the system
Loading diagram...
Input, processing, and output are usually present; the feedback loop is the stage most designs omit and the one that lets a system catch its own errors.

The feedback loop is broader than a thumbs-up

A second, subtler error is assuming the feedback loop can only mean a human clicking thumbs up or down. That is one form, but the loop is any mechanism that closes the system. An automated evaluator pass that checks output against a rubric and triggers a refinement is a feedback loop. A logged signal that surfaces low-confidence outputs for later review is a feedback loop. A human escalation path for high-stakes cases is a feedback loop. Reducing "feedback loop" to explicit user ratings misses the automated and logged forms that carry most of the work in production systems.

input
how data and instructions enter the system
processing
reasoning and tool calls on that input
output
the delivered result, not the finish line
feedback loop
evaluator, human review, or logged signal

What the CCAR-P exam trips candidates on

The exam tests two traps. The first is treating output as the end of the architecture and omitting a feedback loop entirely. A scenario will present a clean input-to-processing-to-output diagram that looks complete, and the credited answer notices there is no evaluator, no escalation, and no logged signal, so the system has no way to catch systematic error after launch.

The second is assuming a feedback loop only means a human clicking thumbs up or down, ignoring automated evaluator passes. A scenario may claim a system "has no feedback because users don't rate responses," when an automated rubric check or a logged confidence signal would close the loop just as well. The reliable reading recognises the loop in all its forms.

Worked example

A team presents an architecture for a document-summarisation service: documents come in, Claude summarises them, and the summary is returned to the user. They describe it as complete. Walking the four stages, what is missing and why does it matter?

Walk the shape. Input is present: documents enter the system. Processing is present: Claude summarises them. Output is present: the summary is returned. The fourth stage, the feedback loop, is absent. The architecture ends at output, which is exactly the trap of treating the delivered result as the finish line.

Why it matters is that a summariser with no feedback loop cannot tell when it produces a poor or inaccurate summary. There is no evaluator checking the summary against the source for faithfulness, no human review on high-stakes documents, and no logged signal that would reveal quality drifting as the document mix changes. It will work in the demo and degrade invisibly in production, because nothing in the design is watching the output.

Closing the loop does not require user ratings. An automated evaluator pass could score each summary against a faithfulness rubric and flag failures for a refinement pass, and a logged confidence signal could route uncertain summaries to human review. Either mechanism closes the system and turns a one-shot generator into one that can catch and correct its own errors. Adding that fourth stage is what makes the architecture actually complete.

Common misreadings to avoid

Misconception

An architecture is complete once it reliably produces an output.

What's actually true

Output is the third stage, not the last. Without a feedback loop, evaluator, human review, or logged signal, the system has no way to catch or correct systematic errors after launch. It works in the demo and degrades silently in production.

Misconception

If users don't rate responses, the system has no feedback loop.

What's actually true

A feedback loop is any mechanism that closes the system, not just explicit ratings. Automated evaluator passes and logged confidence signals close the loop without a single thumbs-up, and they carry most of the work in production systems.

How this shows up on the exam

Domain 1 questions on this knowledge point present an architecture and ask what is structurally missing, or ask you to describe the shape of a proposed solution. The reliable reading names all four stages, input, processing, output, and feedback loop, and checks specifically that the feedback loop exists in some form, automated evaluator, human review, or logged signal, rather than assuming output is the end.

This shape is the scaffold for the rest of Domain 1. It feeds designing the feedback loop, which chooses between evaluator and escalation paths, and end-to-end trade-off analysis, which walks all four stages naming the trade-off at each. It also frames the five reference architectures, each of which is a particular way of filling these stages.

Check your understanding

An architecture diagram shows: user query enters, Claude retrieves relevant chunks and composes an answer, the answer is returned. The team says it is finished. Applying the four-stage shape, what should you flag?

People also ask

What are the four stages of a Claude-based architecture?
Input, processing, output, and a feedback loop. Input is how data enters; processing is what Claude and surrounding code do; output is the result; and the feedback loop closes the system so it can improve or catch errors.
What is a feedback loop in an AI system?
The stage that closes the system: an evaluator pass, a human review step, or a logged signal that feeds back to improve or correct the next run. Without it, the architecture cannot catch systematic errors after launch.
Does a feedback loop have to be a human clicking thumbs up?
No. A feedback loop is any mechanism that closes the system, including automated evaluator passes and logged confidence signals, which carry most of the work in production without any explicit user rating.

Watch and learn

Official Anthropic Academy lessons first, then hand-picked walkthroughs. Videos load only when you press play.

No videos curated for this concept yet

We are still curating the best official and community videos for this topic.

Official prep for this domain

Anthropic's own free prep module for this part of the syllabus, on the official prep course. Free with an Anthropic Academy sign-in.

References & primary sources

Adaptive study

Master this concept with Archie

Practice it inside an adaptive study session. Archie, your Socratic AI tutor, tracks your mastery with Bayesian Knowledge Tracing and schedules the perfect next review.

Start studying