> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Module 2: Agent engineering and observability

> Build an agent and instrument it with traces and spans to see what it does at every step.

## Agent engineering and observability

[Module 2: Agent engineering and observability](https://www.youtube.com/embed/r6vVTeRZqbI)

Engineer an agent and instrument it with traces and spans so you can see every step it takes.

## Labs

### Lab 1 and 2: Base agent setup, first run, and observability

[Lab 1 and 2: Base agent setup, first run, and observability](https://www.youtube.com/embed/D_Gsp24I9MY)

Set up a base agent, run it for the first time, and add observability. This lab pairs with Modules 1 and 2.

## Up next

> [card] [Module 3: Agent architectures and frameworks](/docs/ax/learn/courses/ai-agent-mastery/module-3-agent-architectures-and-frameworks.md)
>
> Common agent architectures and how the major frameworks compare.
