docs/en/enterprise/features/traces.mdx
Traces provide comprehensive visibility into your crew executions, helping you monitor performance, debug issues, and optimize your AI agent workflows.
Traces in CrewAI AMP are detailed execution records that capture every aspect of your crew's operation, from initial inputs to final outputs. They record:
The trace interface is divided into several sections, each providing different insights into your crew's execution:
The top section displays high-level metrics about the execution:
This section shows all tasks and agents that were part of the crew execution:
Displays the final result produced by the crew after all tasks are completed.
<Frame></Frame>A visual representation of when each task started and ended, helping you identify bottlenecks or parallel execution patterns.
<Frame></Frame>When you click on a specific task in the timeline or task list, you'll see:
<Frame></Frame>Traces are invaluable for troubleshooting issues with your crews:
<Steps> <Step title="Identify Failure Points"> When a crew execution doesn't produce the expected results, examine the trace to find where things went wrong. Look for:- Failed tasks
- Unexpected agent decisions
- Tool usage errors
- Misinterpreted instructions
<Frame>

</Frame>
- Tasks that took longer than expected
- Excessive token usage
- Redundant tool operations
- Unnecessary API calls
- Consider using smaller models for simpler tasks
- Refine prompts to be more concise
- Cache frequently accessed information
- Structure tasks to minimize redundant operations
CrewAI batches trace uploads to reduce overhead on high-volume runs:
This yields more stable tracing under load while preserving detailed task/agent telemetry.
<Card title="Need Help?" icon="headset" href="mailto:[email protected]"> Contact our support team for assistance with trace analysis or any other CrewAI AMP features. </Card>