Best for: building Valyu into your product / agents. Deploy production AI agents with Valyu search tools on AWS Bedrock AgentCore.
Enterprise-Ready AI Agents - Combine Valyu’s real-time search capabilities with AWS Bedrock AgentCore for secure, scalable, and auditable AI agent deployments.
Paste into your AI assistant to wire Valyu tools into an AWS Bedrock AgentCore / Strands agent.

Why AWS Bedrock AgentCore + Valyu?
7 Specialized Search Tools
Financial data, SEC filings, academic papers, patents, biomedical research, web search, and economic indicators.
Enterprise Security
OAuth 2.0 authentication, Cognito integration, IAM policies, and CloudTrail audit logging.
Production Infrastructure
Deploy to AWS with managed scaling, monitoring, and high availability.
Simple Integration
Works with Strands Agents out of the box. Add Valyu tools in one line of code.
Get Started Free
Sign up and get $10 free credits ($20 with a work email) - no credit card required. Start building in minutes.
Available Search Tools
| Tool | Best For | Data Sources |
|---|---|---|
webSearch | News, current events, general information | Web pages, news sites |
financeSearch | Stock prices, earnings, market analysis | Stocks, forex, crypto, balance sheets |
paperSearch | Literature review, academic research | arXiv, PubMed, bioRxiv, medRxiv |
bioSearch | Medical research, drug information | PubMed, clinical trials, FDA labels |
patentSearch | Prior art, IP research | USPTO patents |
secSearch | Company analysis, due diligence | SEC filings (10-K, 10-Q, 8-K), insider transactions (Form 4) |
economicsSearch | Economic indicators, policy research | BLS, FRED, World Bank, US Spending |
Quick Start
Installation
Environment Setup
Your First Agent
Create an AI agent with web search capability in just a few lines:Multi-Tool Agent
Combine multiple search tools for comprehensive research:Tool groups
TheValyuTools wrapper provides ready-made groupings - tools.all(), tools.financial_tools() (finance, SEC, economics), and tools.research_tools() (paper, bio, patent):
Deployment options
| Option | When to use | Trade-off |
|---|---|---|
| Local | Prototyping and testing. Direct API calls. | No centralized key management or audit logging |
| AgentCore Gateway | Production. OAuth, centralized keys, CloudTrail. | Requires AWS infrastructure setup |
| AgentCore Runtime | Fully managed, auto-scaling deployment. | More setup, AWS costs |
Gateway setup
Gateway setup
add_valyu_target(gateway_id="...", region="us-east-1").Runtime deployment
Runtime deployment
CloudFormation
CloudFormation
Deploy the full stack (IAM role, Cognito OAuth pool, Secrets Manager secret, CloudWatch logs) in one command:
Tool configuration
Example: financial analyst agent
A system prompt plus the right tool group is all an enterprise agent needs. Swap the prompt and tools for research or due-diligence workflows:Security best practices
Security best practices
- Keep API keys in
VALYU_API_KEYor AWS Secrets Manager - never hardcode. - Enable CloudTrail for audit logging of all API calls.
- Use AgentCore Gateway with Cognito OAuth in production.
- Apply least-privilege IAM (invoke-only for applications).
- Rotate Valyu API keys and Cognito client secrets regularly.
Troubleshooting
Troubleshooting
No module named 'strands'- install withpip install "valyu-agentcore[strands]".- Gateway sync slow - targets take ~2 minutes;
add_valyu_target()waits automatically. - OAuth token errors - check the Cognito client scope (
gateway-name/invoke) and thatclient_credentialsis enabled. - Bedrock model access - request model access in the AWS Bedrock console.
API reference
API reference
Tools:
webSearch, financeSearch, paperSearch, bioSearch, patentSearch, secSearch, economicsSearch.ValyuTools: .all(), .financial_tools() (finance, SEC, economics), .research_tools() (paper, bio, patent).Gateway: setup_valyu_gateway(), add_valyu_target(), cleanup_valyu_gateway(), GatewayAgent.from_config().Additional Resources
GitHub Repository
Source code, examples, and CloudFormation templates
AWS Bedrock AgentCore
Official AWS Bedrock AgentCore documentation
Strands Agents
Learn more about the Strands Agents framework
Get API Key
Sign up for $10 free credits ($20 with a work email) - no credit card required
Pricing
Valyu charges per query based on the data sources accessed. With AWS AgentCore, you pay:- Valyu API costs - Per-query pricing based on data sources (see Pricing)
- AWS costs - AgentCore Gateway, Cognito, CloudWatch (standard AWS rates)
Start Building Today
Get $10 free credits ($20 with a work email) with no credit card required. Deploy production-ready AI agents in minutes.

