Skip to main content

AI Agents

AI agents combine large language models (LLMs), tools, and memory to complete tasks in chat UIs or automated workflows. This guide introduces patterns used alongside cloud platforms and open-source tooling.

Agent loop

  1. User sends a prompt to the agent
  2. Agent plans and calls tools (HTTP APIs, databases, MCP servers)
  3. Tool results return context; the agent produces a response

Core building blocks

ComponentPurpose
System promptRole, constraints, safety tone
Tool routingFunction calling, MCP, allowlists
MemorySession state, user preferences
EvalsRegression tests for agent behavior

Guides in this section