Valyu allows AI applications and agents to search the internet and proprietary data sources for relevant LLM ready information.This notebook goes over how to use Valyu in LangChain. First, get a Valyu API key and add it as an environment variable. Get $10 free credit by signing up here.
Setup
The integration lives in thelangchain-valyu package.
VALYU_API_KEY environment variable to your Valyu API key.
Context retriever
You can use theValyuContextRetriever in a standard retrieval pipeline.
Context search tool
You can use theValyuSearchTool for advanced search queries.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

