CertSafari
    Anthropic Claude Certified Architect – Professional (CCAR-P)· Lessons

    Domain 6 · Lesson 34/38

    Documenting an AI Solution Architecture for Engineering Teams

    Document architectures and provide implementation guidance

    11 min read
    2.8% of exam
    4 sources
    Published 4 Oct 2026
    Docs as of 30 Sep 2026

    What you will be able to do

    • Write an architecture description that says which parts of a multi-agent system are shared and which are isolated
    • Record why each layer of complexity was added, and what it costs in latency and calls
    • Turn a design into deployment guidance engineers can build from

    Key concept

    Justified complexity — An architecture document should show that each component earned its place. Begin with the simplest design that works. For many applications a single optimized LLM call with retrieval is enough. For every layer added afterwards, write down the cost it brings and the problem it solves.

    1.What an architecture description has to pin down

    Engineers who get an AI design handed to them need answers to concrete questions. Which components exist? What does each one see? What do they share? Anthropic's multiagent orchestration documentation is a good model of how to answer those questions. It begins with the purpose: one agent coordinates others to complete complex work, and the agents can act in parallel with their own isolated context. It then states exactly where the isolation boundary sits.

    The key sentence divides shared resources from private ones: all agents share the same sandbox, filesystem, and vault credentials, but each agent runs in its own session thread, a context-isolated event stream with its own conversation history. Your own architecture documents need a sentence like this. An engineer who misreads the boundary will build something broken in one of two directions. They may assume a sub-agent already knows what the coordinator discussed, or they may assume files written by one agent can't be seen by another.

    The shared-versus-isolated boundary as the multiagent orchestration doc records it
    ElementScope
    SandboxShared by all agents
    FilesystemShared by all agents
    Vault credentialsShared by all agents
    Conversation history (session thread)Isolated: each agent has its own
    Model, system prompt, tools, MCP servers, skillsConfigured separately for each agent

    Behaviour over time is documented as well. Threads persist, so the coordinator can send a follow-up to an agent it called earlier, and that agent keeps everything from its previous turns. A good architecture document also says when the pattern applies. Here the doc says multiagent coordination suits complex tasks that span many surfaces, or tasks where several well-scoped pieces of work feed one goal. It names concrete patterns too, such as parallelization: fan out independent subtasks and have the coordinator synthesize the results. Write your own designs the same way. Cover the components, the boundary, behaviour over time, and the conditions under which the design is the right choice.

    The same doc also records hard limits, and an architecture document should copy them, because they constrain what engineers can build. The coordinator can only delegate to one level of agents: referencing an agent that has its own roster fails the create or update request with a validation error. A maximum of 20 unique agents can be listed in the roster, although the coordinator can call multiple copies of each. Versions are pinned too. The roster is snapshotted when the coordinator is created or updated, and referenced agents stay pinned to the versions resolved at that time. They do not pick up later updates to their definitions, so the document should say that delegating to a newer version means updating the coordinator.

    Claude's own guidance on project instructions offers a general pattern for the rest. It suggests describing the architecture in three sentences: what the major pieces are and how they communicate. It also lists architectural decisions specific to your project, hard constraints and known gotchas as things worth writing down. A complete architecture description therefore names the components, how they communicate, the decisions behind them, the limits engineers will hit, and the gotchas new engineers trip on.

    Checkpoint 1 of 5· Check yourself

    An engineer reading your multi-agent design asks whether a specialist sub-agent automatically has the coordinator's conversation and tools. What should the architecture document state?

    Checkpoint 2 of 5· Check yourself

    A design has a coordinator delegating to a reviewer agent, and the reviewer has its own roster of sub-agents. What does the orchestration doc say will happen?

    Sources12

    2.Recording why each layer exists

    A component list explains what was built. Implementation guidance also has to explain why, because the team maintaining the system will eventually be tempted to add more. Anthropic's agent-building guidance gives the framing: agentic systems often trade latency and cost for better task performance, and you should consider when that trade makes sense. Workflows provide predictability and consistency for well-defined tasks. Agents fit better when flexibility and model-driven decision-making are needed at scale.

    The distinction is architectural. Workflows are systems where LLMs and tools are orchestrated through predefined code paths. Agents are systems where LLMs dynamically direct their own processes and tool usage. The same guidance adds a caution that belongs in any implementation document: finding the simplest solution possible might mean not building agentic systems at all, and for many applications, optimizing single LLM calls with retrieval and in-context examples is usually enough. Start there, and record the evidence that justifies each step beyond it.

    The customer support use-case guide turns this principle into an escalation path that you can copy straight into implementation guidance. As the chatbot grows more complex, the architecture can grow with it. Before adding further layers, though, the guide lists less exhaustive options: first get the most out of the prompts, then add tools (prompt chains included) and see whether they deliver the required functionality. If the bot handles incredibly varied tasks, the next step is a separate intent classifier. It sends each query through a decision tree to specialized conversations, each with its own tools and system prompt. The guide states the cost directly: the classifier needs an additional call to Claude, and that call can increase latency.

    An escalation path to record in implementation guidance, with the cost of each step
    OptionWhen the guide suggests itCost the guide notes
    Prompt engineeringFirst: make the most of your existing promptsNone stated
    Additional tools (including prompt chains)Next: check whether they achieve the required functionalityNone stated
    Separate intent classifierWhen the chatbot handles incredibly varied tasksAn additional call to Claude that can increase latency

    Checkpoint 3 of 5· Check yourself

    A team's task has well-defined, fixed steps, and they ask whether to build an autonomous agent. What does Anthropic's guidance suggest?

    Sources34

    3.From prototype to a service engineers can deploy

    Implementation guidance also has to cover the step from prototype to deployable system. The customer support guide's examples are Python functions running inside a Streamlit environment. It points out that a real-time support chatbot needs an API service instead, and it gives the build steps in order. First, wrap the classification function in a simple API wrapper (Flask or FastAPI are the examples given) so that it runs as an HTTP service. Second, build a user-friendly web interface for the Claude-powered agent.

    The guide also names properties the service should have, and an implementation document should turn each one into a requirement. Server-Sent Events stream responses from server to client in real time, which gives a smooth, interactive experience. Caching can shorten response times and cut unnecessary API calls. Context retention keeps a conversation continuous when a user navigates away and comes back.

    Anthropic's agent guidance also warns about the tooling you choose. Frameworks simplify low-level tasks such as calling LLMs and chaining calls. However, they can add layers of abstraction that hide the underlying prompts and responses, which makes debugging harder, and they can tempt teams to add complexity that a simpler setup wouldn't need. If your guidance prescribes a framework, say what it hides and how engineers can inspect the prompts underneath.

    Checkpoint 4 of 5· Match them up

    Match each service characteristic to the job the guide gives it

    Tap a term, then the definition that fits it.

    Checkpoint 5 of 5· Exam question

    A platform team is documenting the architecture for a new production agent that must run entirely on their own infrastructure, operate directly on files and git repositories checked out on their servers, and call custom in-process functions as tools. Which implementation approach should the architecture document recommend?

    Sources43

    Exam traps

    Each one states something that sounds right. Open it to see what is actually true.

    1. 1.Because agents in one session share a sandbox and filesystem, they also share conversation context, so a sub-agent already knows what the coordinator discussed.Why is that wrong?

      Each agent runs in its own context-isolated session thread with its own conversation history and configuration. Only the sandbox, filesystem and vault credentials are shared.

      Covered in What an architecture description has to pin down

    2. 2.A coordinator's roster can include agents that have their own rosters, and roster agents automatically pick up new versions when their definitions are updated.Why is that wrong?

      The coordinator can only delegate one level deep, and nested rosters fail with a validation error. Referenced agents stay pinned to the versions resolved when the coordinator was created or updated, and the roster holds at most 20 unique agents.

      Covered in What an architecture description has to pin down

    3. 3.Adding an intent classifier in front of a chatbot is a free routing improvement and should be the first fix for varied queries.Why is that wrong?

      The guide lists prompt engineering and additional tools first. A classifier needs an extra Claude call and that call can add latency, so the guidance should record that cost.

      Covered in Recording why each layer exists

    4. 4.A new AI solution should be designed as an agentic system from the start, since agents are the more capable option.Why is that wrong?

      The guidance recommends the simplest solution possible, which might mean no agentic system at all. For many applications a single optimized LLM call with retrieval and in-context examples is usually enough.

      Covered in Recording why each layer exists

    Sources

    Every claim above is drawn from one of these pages, quoted as it was written on the date shown.

    1. 1.
      “Each agent uses its own configuration: model, system prompt, tools, MCP servers, and skills.”
      ↩︎ What an architecture description has to pin down
      “Threads are persistent: the coordinator can send a follow-up to an agent it called earlier”
      ↩︎ What an architecture description has to pin down
      “best suited for complex tasks that either require work across a variety of surfaces, or where multiple well-scoped tasks contribute to an overall goal.”
      ↩︎ What an architecture description has to pin down
      “A maximum of 20 unique agents can be listed in multiagent.agents, but the coordinator can call multiple copies of each agent.”
      ↩︎ What an architecture description has to pin down
      “Referenced agents stay pinned to the versions resolved at that time and do not automatically pick up later updates to their definitions.”
      ↩︎ What an architecture description has to pin down
      “All agents share the same sandbox, filesystem, and vault credentials, but each agent runs in its own session thread”
      ↩︎ Exam trap 1
      “Referenced agents stay pinned to the versions resolved at that time and do not automatically pick up later updates to their definitions.”
      ↩︎ Exam trap 2
      “Tools, MCP servers, and context are not shared.”
      ↩︎ Checkpoint
      “referencing an agent that has its own multiagent.agents roster fails the create or update request with a validation error.”
      ↩︎ Checkpoint
    2. 2.
      “Architecture in three sentences — what the major pieces are and how they communicate.”
      ↩︎ What an architecture description has to pin down
    3. 3.
      “Agentic systems often trade latency and cost for better task performance, and you should consider when this tradeoff makes sense.”
      ↩︎ Recording why each layer exists
      “workflows offer predictability and consistency for well-defined tasks, whereas agents are the better option when flexibility and model-driven decision-making are needed at scale.”
      ↩︎ Recording why each layer exists
      “Workflows are systems where LLMs and tools are orchestrated through predefined code paths.”
      ↩︎ Recording why each layer exists
      “optimizing single LLM calls with retrieval and in-context examples is usually enough.”
      ↩︎ Recording why each layer exists
      “they often create extra layers of abstraction that can obscure the underlying prompts and responses, making them harder to debug.”
      ↩︎ From prototype to a service engineers can deploy
      “we recommend finding the simplest solution possible, and only increasing complexity when needed.”
      ↩︎ Key concept
      “optimizing single LLM calls with retrieval and in-context examples is usually enough.”
      ↩︎ Exam trap 4
    4. 4.
      “Note, this method requires an additional call to Claude that can increase latency.”
      ↩︎ Recording why each layer exists
      “deploying Claude for real-time support chatbot requires an API service.”
      ↩︎ From prototype to a service engineers can deploy
      “Note, this method requires an additional call to Claude that can increase latency.”
      ↩︎ Exam trap 3
      “Ensure that you are making the most out of your prompts and optimizing through prompt engineering.”
      ↩︎ Prediction
      “Implementing caching can improve response times and reduce unnecessary API calls.”
      ↩︎ Checkpoint

    Continue to page 2 of 2

    Writing Implementation Guidance with CLAUDE.md

    Spotted a mistake, or was something unclear? Tell us.