Skip to content

Commit ac968af

Browse files
Refactor 3P tool wrappers (#837)
* Refactor third-party tools pages * Remove 3P tool wrapper references * Update mkdocs.yml - redirect old page locations --------- Co-authored-by: Joe Fernandez <[email protected]>
1 parent 9b457dc commit ac968af

File tree

12 files changed

+24
-204
lines changed

12 files changed

+24
-204
lines changed

docs/agents/config.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ To create an ADK project for use with Agent Config:
8787
GOOGLE_GENAI_USE_VERTEXAI=0
8888
GOOGLE_API_KEY=<your-Google-Gemini-API-key>
8989

90-
You can get an API key from the Google AI Studio
90+
You can get an API key from the Google AI Studio
9191
[API Keys](https://aistudio.google.com/app/apikey) page.
9292

9393
1. For Gemini model access through Google Cloud, add these lines to the file:
@@ -125,7 +125,7 @@ the web interface, command line terminal execution, or API server mode.
125125

126126
To run your Agent Config-defined agent:
127127

128-
1. In your terminal, navigate to the `my_agent/` directory containing the
128+
1. In your terminal, navigate to the `my_agent/` directory containing the
129129
`root_agent.yaml` file.
130130
1. Type one of the following commands to run your agent:
131131
- `adk web` - Run web UI interface for your agent.
@@ -137,7 +137,7 @@ To run your Agent Config-defined agent:
137137
For more information on the ways to run your agent, see the *Run Your Agent*
138138
topic in the
139139
[Quickstart](/adk-docs/get-started/quickstart/#run-your-agent).
140-
For more information about the ADK command line options, see the
140+
For more information about the ADK command line options, see the
141141
[ADK CLI reference](/adk-docs/api-reference/cli/).
142142

143143
## Example configs
@@ -222,12 +222,12 @@ For more details, see the full code for this sample in the
222222

223223
## Deploy agent configs
224224

225-
You can deploy Agent Config agents with
226-
[Cloud Run](/adk-docs/deploy/cloud-run/) and
227-
[Agent Engine](/adk-docs/deploy/agent-engine/),
228-
using the same procedure as code-based agents. For more information on how
229-
to prepare and deploy Agent Config-based agents, see the
230-
[Cloud Run](/adk-docs/deploy/cloud-run/) and
225+
You can deploy Agent Config agents with
226+
[Cloud Run](/adk-docs/deploy/cloud-run/) and
227+
[Agent Engine](/adk-docs/deploy/agent-engine/),
228+
using the same procedure as code-based agents. For more information on how
229+
to prepare and deploy Agent Config-based agents, see the
230+
[Cloud Run](/adk-docs/deploy/cloud-run/) and
231231
[Agent Engine](/adk-docs/deploy/agent-engine/)
232232
deployment guides.
233233

@@ -251,21 +251,19 @@ limitations:
251251
- `enterprise_web_search`
252252
- `load_web_page`: Requires a fully-qualified path to access web
253253
pages.
254-
- **Agent Type Support:** The `LangGraphAgent` and `A2aAgent` types are
254+
- **Agent Type Support:** The `LangGraphAgent` and `A2aAgent` types are
255255
not yet supported.
256256
- `AgentTool`
257257
- `LongRunningFunctionTool`
258258
- `VertexAiSearchTool`
259259
- `MCPToolset`
260-
- `CrewaiTool`
261-
- `LangchainTool`
262260
- `ExampleTool`
263261

264262
## Next steps
265263

266264
For ideas on how and what to build with ADK Agent Configs, see the yaml-based
267265
agent definitions in the ADK
268266
[adk-samples](https://github.com/search?q=repo:google/adk-python+path:/%5Econtributing%5C/samples%5C//+root_agent.yaml&type=code)
269-
repository. For detailed information on the syntax and settings supported by
267+
repository. For detailed information on the syntax and settings supported by
270268
the Agent Config format, see the
271269
[Agent Config syntax reference](/adk-docs/api-reference/agentconfig/).

docs/community.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Development Kit community.
3838
<div class="card-content">
3939
<div class="type">Video</div>
4040
<h3>📺 Getting Started with ADK Tools</h3>
41-
<p>A guide to building a software bug assistant using tools like MCP, Google Search, and LangChain.</p>
41+
<p>A guide to building a software bug assistant using tools like MCP and Google Search.</p>
4242
</div>
4343
</a>
4444
</div>

docs/get-started/about.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ agentic applications:
8888
generated reports during their execution.
8989
9. **Extensibility and Interoperability:** ADK promotes an open
9090
ecosystem. While providing core tools, it allows developers to easily
91-
integrate and reuse tools from other popular agent frameworks including
92-
LangChain and CrewAI.
91+
integrate and reuse third-party tools and data connectors.
9392
10. **State and Memory Management:** Automatically handles short-term
9493
conversational memory (`State` within a `Session`) managed by the
9594
`SessionService`. Provides integration points for longer-term `Memory`

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ from simple tasks to complex workflows.
8383
---
8484

8585
Equip agents with diverse capabilities: use pre-built tools (Search, Code
86-
Exec), create custom functions, integrate 3rd-party libraries (LangChain,
87-
CrewAI), or even use other agents as tools.
86+
Exec), create custom functions, integrate 3rd-party libraries, or even use
87+
other agents as tools.
8888

8989
[**Browse tools**](tools/index.md)
9090

docs/tools-custom/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ ADK offers flexibility by supporting several types of tools:
6666
2. **[Built-in Tools](../tools/built-in-tools.md):** Ready-to-use tools provided by the framework for common tasks.
6767
Examples: Google Search, Code Execution, Retrieval-Augmented Generation (RAG).
6868
3. **Third-Party Tools:** Integrate tools seamlessly from popular external libraries.
69-
Examples: [LangChain Tools](/adk-docs/tools/third-party/langchain/), [CrewAI Tools](/adk-docs/tools/third-party/crewai/).
7069

7170
Navigate to the respective documentation pages linked above for detailed information and examples for each tool type.
7271

docs/tools/index.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -165,18 +165,6 @@ Check out the following pre-built tools that you can use with ADK agents:
165165

166166
</div>
167167

168-
## Integrate with existing tools
169-
170-
ADK provides tool integrations and wrappers for existing tool ecosystems
171-
to help you extend the capabilities of your agents and workflows:
172-
173-
* **[LangChain Tools](/adk-docs/tools/third-party/langchain/)**:
174-
Integrate tools from the LangChain ecosystem.
175-
* **[CrewAI Tools](/adk-docs/tools/third-party/crewai/)**:
176-
Integrate tools from the CrewAI library.
177-
* **[Agentic UI](/adk-docs/tools/third-party/ag-ui/)**:
178-
Use a rich, alternative web interface for ADK workflows.
179-
180168
## Build your tools
181169

182170
If the above tools don't meet your needs, you can build tools for your ADK

docs/tools/mcp-tools.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,6 @@ When working with MCP and ADK, keep these points in mind:
794794
795795
* ADK Tools (BaseTool, FunctionTool, AgentTool, etc.) are Python objects designed for direct use within the ADK's LlmAgent and Runner.
796796
* MCP Tools are capabilities exposed by an MCP Server according to the protocol's schema. MCPToolset makes these look like ADK tools to an LlmAgent.
797-
* Langchain/CrewAI Tools are specific implementations within those libraries, often simple functions or classes, lacking the server/protocol structure of MCP. ADK offers wrappers (LangchainTool, CrewaiTool) for some interoperability.
798797
799798
* **Asynchronous nature:** Both ADK and the MCP Python library are heavily based on the asyncio Python library. Tool implementations and server handlers should generally be async functions.
800799
@@ -978,9 +977,9 @@ def create_mcp_server():
978977
def main(port: int = 8080, json_response: bool = False):
979978
"""Main server function."""
980979
logging.basicConfig(level=logging.INFO)
981-
980+
982981
app = create_mcp_server()
983-
982+
984983
# Create session manager with stateless mode for scalability
985984
session_manager = StreamableHTTPSessionManager(
986985
app=app,
@@ -1051,7 +1050,7 @@ spec:
10511050
env:
10521051
- name: MCP_SERVER_URL
10531052
value: "http://localhost:8081"
1054-
1053+
10551054
# MCP server sidecar
10561055
- name: mcp-server
10571056
image: your-mcp-server:latest
@@ -1066,7 +1065,7 @@ spec:
10661065
- **Cons:** Process overhead, not suitable for high-scale deployments
10671066
- **Best for:** Development, single-tenant deployments, simple MCP servers
10681067
1069-
#### SSE/HTTP Connections
1068+
#### SSE/HTTP Connections
10701069
- **Pros:** Network-based, scalable, can handle multiple clients
10711070
- **Cons:** Requires network infrastructure, authentication complexity
10721071
- **Best for:** Production deployments, multi-tenant systems, external MCP services
@@ -1175,7 +1174,7 @@ MCPToolset(
11751174
```python
11761175
# Test remote MCP connectivity
11771176
import aiohttp
1178-
1177+
11791178
async def test_mcp_connection():
11801179
async with aiohttp.ClientSession() as session:
11811180
async with session.get('https://your-mcp-server.com/health') as resp:
@@ -1191,4 +1190,4 @@ MCPToolset(
11911190
11921191
* [Model Context Protocol Documentation](https://modelcontextprotocol.io/ )
11931192
* [MCP Specification](https://modelcontextprotocol.io/specification/)
1194-
* [MCP Python SDK & Examples](https://github.com/modelcontextprotocol/)
1193+
* [MCP Python SDK & Examples](https://github.com/modelcontextprotocol/)

docs/tools/third-party/crewai.md

Lines changed: 0 additions & 75 deletions
This file was deleted.

docs/tools/third-party/index.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,3 @@ Check out the following third-party tools that you can use with ADK agents:
3535
</a>
3636

3737
</div>
38-
39-
## Integrate with existing tools
40-
41-
ADK provides tool integrations and wrappers for existing tool ecosystems
42-
to help you extend the capabilities of your agents and workflows:
43-
44-
* **[LangChain Tools](/adk-docs/tools/third-party/langchain/)**:
45-
Integrate tools from the LangChain ecosystem.
46-
* **[CrewAI Tools](/adk-docs/tools/third-party/crewai/)**:
47-
Integrate tools from the CrewAI library.
48-
* **[Agentic UI](/adk-docs/tools/third-party/ag-ui/)**:
49-
Use a rich, alternative web interface for ADK workflows.

docs/tools/third-party/langchain.md

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)