FOUNDATIONS · 4 MIN READ

The anatomy of an agentic system

A model is one part of the system. Understand the parts around it.

The control loop

The application sends instructions, a task, selected context, and tool descriptions to a model. The model produces an answer or a tool request. The application validates the request, executes the tool, and returns the observation. The loop continues until a completion or stopping condition.

The supporting layers

  • Context: information selected for this turn, including the user request and relevant retrieved material.
  • Tools: functions that read information or perform actions.
  • State: progress, messages, and results needed to continue execution.
  • Memory: selected information that can be recalled in later interactions.
  • Policy: application rules governing access, approvals, and budgets.
  • Evaluation: checks that tell you whether the task actually succeeded.

Follow one request end to end

For an order inquiry, the user supplies a reference, the application authenticates the user, and the agent requests a scoped lookup. The service verifies access to that order. The tool returns the authoritative status. The answer is then checked for consistency with the returned data.

Keep exploring

Design tools an agent can use wellA layered architecture for agent memoryHow do you know your agent works?