CCA Prep Studio
—

Task 1.1 · Domain 1: Agentic Architecture & Orchestration

Agentic loops

An agent is a loop around the model. Your code sends the conversation to Claude, reads the stop reason, runs any tools Claude asked for, appends the results, and sends everything again. The loop ends only when the stop reason says the turn is over, and Claude, not a hard-coded script, decides which tool comes next.

Updated 10-20-2026 · Official guide §6, Task 1.1

Key points

  • Each pass has four stages: send the request, inspect stop_reason, run the requested tools, return the results for the next pass.
  • tool_use means keep going; end_turn means the task is finished.
  • Tool results are appended to the message history so the next call can reason about them.
  • Claude chooses the next tool from context; a fixed tool sequence or decision tree only fits steps that never vary.
  • A reply can contain text and a tool request at the same time, so text alone never means done.
  • An iteration cap is a safety net, not the normal way to stop.

Skills the exam expects

  • Write control flow that continues on tool_use and terminates on end_turn.
  • Add tool results to the conversation between passes so the model can use new information.
  • Recognise the three anti-patterns: parsing natural language to end the loop, using an arbitrary cap as the main stop, and treating assistant text as a completion signal.

Common misconceptions

  • "If the reply contains a sentence, Claude is finished." Only the stop reason says that.
  • "Sending just the latest message is enough." Without the history Claude repeats lookups and loses earlier findings.
  • "A fixed pass limit is a fine stopping rule." It cuts real tasks short and wastes passes on short ones.

Watch for

Loops that end on text content, stop on a pass count, or script the tool order instead of letting the model decide.

Practice task 1.1

58 practice items cover this task in CCA Prep Studio: flashcards, matching, scenario questions and explain-it-back exercises, each tracked toward your mastery score.

CCA Prep Studio is an independent study product. It is not made, endorsed or sponsored by Anthropic. Claude is a trademark of Anthropic, PBC, and is used here only to name the exam and the technology it covers. Content is written in our own words and cites the official exam guide; no exam questions are reproduced. © 2026 NovaLinQs AI, LLC.