Skip to main content

Overview

Quraite provides a built-in adapter for Google ADK agents. This adapter allows you to integrate Google ADK agents with Quraite and run evaluations on them. This adapter uses OpenInference instrumentation to capture the trajectory of the agent.

Prerequisites

  • Agent dependencies: google-adk package, Gemini API key, and any tools you want to use.
  • Quraite dependencies: quraite[google-adk-oi] package.

Define Your Google ADK Agent

You create a normal Google ADK Agent first, exactly as you would in any Google ADK project.
If you want to use MCP tools, you can replace the tools list with a McpToolset and other tools. See the end-to-end examples section for a complete implementation.

Set up Tracing

Quraite provides a tracing setup helper. For Google ADK, pass the Framework.GOOGLE_ADK enum:

Wrap the Google ADK Agent

Wrap the agent with the GoogleADKAdapter and pass the tracer_provider to it.

Run the Agent

Once wrapped, you expose the adapter using Quraite’s run_agent helper.

End-to-End Examples