AI engineering glossary · Agents tools MCP

What is agent trace?

Agent trace (also called Trajectory): The step-by-step record of one agent run, listing each thought, tool call, observation and model response with timings. Reading it shows exactly where an agent went wrong, which tool it misused and how much each step cost.

Level: intermediateTopic: Agents tools MCP

Agent trace: an example

In the trace, step 4 shows the agent passing 'Mumbai' to a tool that expected an airport code such as BOM.

Related terms

More Agents tools MCP terms

Where you learn it

Agent trace is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.