File size: 258 Bytes
f016beb
 
 
 
 
 
 
1
2
3
4
5
6
7
8
from langchain_community.tools.ddg_search import DuckDuckGoSearchRun

# Simple, no-API-key web search
web_search_tool = DuckDuckGoSearchRun(
    name="duckduckgo_search",
    description="Search the web for recent information and return the top snippets."
)