- Inspect the messages sent to the model and the response it generates.
- Trace intermediate steps and monitor metrics like token usage, execution time, etc.
- Inspect tool calls, errors, and their results.
Debug Mode
To enable debug mode:- Set the
debug_mode
parameter on your agent, to enable it for all runs. - Set the
debug_mode
parameter on therun
method, to enable it for the current run. - Set the
AGNO_DEBUG
environment variable toTrue
, to enable debug mode for all agents.
You can set
debug_level=2
to get even more detailed logs.