# Add Web Search to Managed Deep Agents for free with One MCP Config

## Executive summary

This guide demonstrates how to enhance Managed Deep Agents by integrating external web search capabilities using the LangSmith platform. By configuring a Managed Connector Platform (MCP) connection to the built-in Parallel search server, agents can augment their internal knowledge base (e.g., internal documentation) with real-time, external web data. This process is straightforward, requiring only an MCP configuration update, and the resulting agent can be deployed and monitored in LangSmith Studio to inspect the combined tool calls.

## Key takeaways

- Integrating Web Search via MCP: Web search is added to a Managed Deep Agent by configuring the Parallel search server as an MCP connection to the LangSmith platform. Since the server is hosted within LangSmith, no additional authentication is required.
- Agent Capability Enhancement: An agent initially limited to internal documentation (e.g., 'search docs') can be upgraded to use web search, allowing it to provide a more comprehensive answer by comparing internal knowledge with open internet information.
- Monitoring Tool Calls in Production: After deploying the agent to LangSmith, tool calls (including both internal search docs and external web search) can be inspected in LangSmith Studio, confirming the agent's ability to perform searches related to the query, even if not explicitly asked for.

## Technical details

- Managed Deep Agents & Web Search: Web search allows agents to conduct external research, expanding capabilities beyond their initial toolset and internal documentation.
- MCP Integration: The Parallel search server is integrated by adding it to the agent's tools/mcp.py file. This connection is managed by LangSmith, simplifying the setup process.
- Agent Guardrails: Because web search expands the agent's scope, it is critical to implement sufficient guardrails within the agent's instructions and controls to manage its expanded capabilities.

## Practical implications

- Use the LangSmith platform to deploy and test agents that require external knowledge.
- When building agents, always consider adding web search to maximize utility, but pair this capability with robust guardrails to prevent scope creep.
- Monitor tool calls in LangSmith Studio to verify that the agent is correctly utilizing both internal and external search tools.

## Topics

LangChain, Managed Deep Agents, Web Search, LangSmith, MCP Connectors, Agent Tooling, Managed Deep Agents docs, Connect MCP servers to Managed Deep Agents, Managed Deep Agents quickstart

Source: https://www.youtube.com/watch?v=KAITWbHLSSE
