Beta

Google ADK Integration

Track Google ADK agent and tool execution paths with decorators and submit structured trace sessions into Neurovn.

Install & Run

Install

Setup
pip install google-adkpip install neurovn

Run

Execute
NEUROVN_API_URL=https://agentic-flow.onrender.com python adk_agent.py

Architecture Flow

Agent runtime

Wrap ADK agent execution entrypoint with `trace.agent`.

Tool middleware

Wrap critical tool handlers with `trace.tool` for per-call timing.

Neurovn export

Emit trace + estimate for canvas-side inspection.

Implementation Snippets

Pattern

python
from neurovn import trace@trace.agent(name="ADK Agent", model="Gemini-2.5-Flash", provider="Google")def adk_agent(query: str) -> str:    return "ok"

Troubleshooting

Prefer explicit provider/model fields when using Gemini variants.

Wrap the top-level ADK run in `trace.session(...)` when you want a single canvas and terminal link for the whole execution.

Group multi-step ADK plans in a `trace.session(...)` block for clearer graphs.

Validate backend reachability before long-running executions.

Related Integrations

Backend contracts: `/api/estimate`, `/api/traces/sessions`, `/api/canvases`