Overview
Integrate Valyu’s deep search capabilities directly into your Anthropic Claude applications using our provider system. This enables your AI agents to access real-time information from academic papers, news, financial data, and authoritative sources.Installation
Install the Valyu and Anthropic packages:Free Credits
Get your API key with $10 credit from the Valyu Platform.
Basic Usage
The new Anthropic provider makes integration incredibly simple:How It Works
TheAnthropicProvider
handles everything for you:
- Tool Registration: Automatically formats Valyu search as an Anthropic tool
- Tool Execution: Manages search API calls behind the scenes
- Conversation Flow: Builds proper message sequences with tool results
Research Agent Example
Create a simple research agent that can access current information:Financial Analysis Example
Configuration Options
Model Selection
Choose the right Claude model for your use case:Search Parameters
Claude can automatically use advanced search parameters based on your query context:- max_num_results: Limit results (1-20)
- included_sources: Search specific domains or datasets
- excluded_sources: Exclude certain sources
- category: Guide search to specific topics
- start_date/end_date: Time-bounded searches
- relevance_threshold: Filter by relevance (0-1)