mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-05 10:58:32 +02:00
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>
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
---
|
||||
title: Google ADK
|
||||
---
|
||||
|
||||
# Google ADK
|
||||
|
||||
[Agent Development Kit (ADK)](https://github.com/google/adk-python) 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](https://github.com/qdrant/mcp-server-qdrant/), giving your agent the ability to store and retrieve information using semantic search.
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
pip install google-adk
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```python
|
||||
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](https://github.com/qdrant/mcp-server-qdrant/).
|
||||
|
||||
## Further reading
|
||||
|
||||
- [Google ADK Documentation](https://google.github.io/adk-docs/)
|
||||
- [Google ADK GitHub Repository](https://github.com/google/adk-python)
|
||||
Reference in New Issue
Block a user