> ## Documentation Index
> Fetch the complete documentation index at: https://arize-ax.mintlify.site/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

<Frame>
  <iframe width="100%" height="420" src="https://www.youtube.com/embed/r6vVTeRZqbI" title="Module 2: Agent engineering and observability" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />
</Frame>

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

<Frame>
  <iframe width="100%" height="420" src="https://www.youtube.com/embed/D_Gsp24I9MY" title="Lab 1 and 2: Base agent setup, first run, and observability" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />
</Frame>

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 title="Module 3: Agent architectures and frameworks" href="/ax/learn/courses/ai-agent-mastery/module-3-agent-architectures-and-frameworks" icon="sitemap">
  Common agent architectures and how the major frameworks compare.
</Card>
