← Back to glossary
Glossary

Trace (Agent)

Reviewed 9 April 2026 Canonical definition

A trace is the end-to-end record of an agent's execution for a single request — including every reasoning step, tool call, API response, policy check, and token count. Traces are the foundation of agent debugging and audit.

See how every agent performs — and make it better

Prefactor helps teams observe, evaluate, and improve their AI agents in production — across every framework and provider.