Google ADK
Trace a Google ADK runner with Neatlogs (Python).
Wrap a Google ADK Runner with neatlogs.wrap() and its agent runs, model calls, and tool calls are captured.
Prerequisites
pip install -U "neatlogs[google-adk]" google-adkUsage
import os
import neatlogs
from google.adk.runners import Runner
neatlogs.init(api_key=os.environ["NEATLOGS_API_KEY"], workflow_name="google-adk-demo")
# `my_agent` and `session_service` are your existing ADK objects.
runner = neatlogs.wrap(Runner(agent=my_agent, app_name="my-app", session_service=session_service))
# Drive the runner as usual — its runs are now traced.The ADK run becomes a WORKFLOW trace root automatically, with nested AGENT, LLM, and TOOL spans — no manual wrapper needed.