Set debug_mode=True on your agent to enable it for all runs.
Set debug_mode=True on the run method to enable it for a single run.
Set the AGNO_DEBUG=True environment variable to enable debug mode globally.
from agno.agent import Agentfrom agno.models.anthropic import Claudefrom agno.tools.hackernews import HackerNewsToolsagent = Agent( model=Claude(id="claude-sonnet-4-5"), tools=[HackerNewsTools()], instructions="Write a report on the topic. Output only the report.", markdown=True, debug_mode=True, # debug_level=2, # Uncomment for more detailed logs)# Run agent and print response to the terminalagent.print_response("Trending startups and products.")