Google ADK
Trace Google Agent Development Kit runs — agent lifecycle, LLM calls, and tool invocations — by passing axonPushADKCallbacks into your agent’s run configuration.
Installation
Section titled “Installation”npm install @axonpush/sdk @google/generative-aiimport { AxonPush } from "@axonpush/sdk";import { axonPushADKCallbacks } from "@axonpush/sdk/integrations/google-adk";
const client = new AxonPush({ apiKey: process.env.AXONPUSH_API_KEY!, tenantId: process.env.AXONPUSH_TENANT_ID!,});
const callbacks = axonPushADKCallbacks({ client, channelId: 1, agentId: "my-agent",});const agent = new Agent({ name: "assistant", model: "gemini-2.0-flash", tools: [webSearch, codeExecution],});
const result = await agent.run(input, { callbacks });Events Traced
Section titled “Events Traced”| Event | When |
|---|---|
agent.start | An agent run begins |
agent.end | An agent run completes |
llm.start | An LLM call begins |
llm.end | An LLM call completes |
tool.*.start | A tool invocation begins |
tool.*.end | A tool invocation completes |