Files
landing_page/qdrant-landing/content/documentation/frameworks/google-adk.md
T
Anush 340e80215d docs: Google ADK integration (#2034)
* docs: Google ADK integration

Signed-off-by: Anush008 <anushshetty90@gmail.com>

* Update links to Qdrant MCP Server documentation

---------

Signed-off-by: Anush008 <anushshetty90@gmail.com>
2025-12-11 12:55:27 +05:30

1.7 KiB

title
title
Google ADK

Google ADK

Agent Development Kit (ADK) is an open-source, code-first Python framework from Google for building, evaluating, and deploying sophisticated AI agents. While optimized for Gemini, ADK is model-agnostic and compatible with other frameworks.

You can connect ADK agents to Qdrant using the Qdrant MCP Server, giving your agent the ability to store and retrieve information using semantic search.

Installation

pip install google-adk

Usage

from google.adk.agents import Agent
from google.adk.tools.mcp_tool import McpToolset
from google.adk.tools.mcp_tool.mcp_session_manager import StdioConnectionParams
from mcp import StdioServerParameters

QDRANT_URL = "http://localhost:6333"
COLLECTION_NAME = "my_collection"

root_agent = Agent(
    model="gemini-2.5-pro",
    name="qdrant_agent",
    instruction="Help users store and retrieve information using semantic search",
    tools=[
        McpToolset(
            connection_params=StdioConnectionParams(
                server_params=StdioServerParameters(
                    command="uvx",
                    args=["mcp-server-qdrant"],
                    env={
                        "QDRANT_URL": QDRANT_URL,
                        "COLLECTION_NAME": COLLECTION_NAME,
                    }
                ),
                timeout=30,
            ),
        )
    ],
)

For available tools and configuration options, see the Qdrant MCP Server documentation.

Further reading