Skip to main content
Use ValyuTools to add external search to an Agno agent. The toolkit exposes web search, academic search and search within an arXiv paper. Your agent chooses when to call them and uses the returned content and source URLs in its response.

Install and authenticate

Get a Valyu key from the platform. The example uses Agno’s default model provider; configure another model through Agno if your application uses one.

Run a search agent

Available tools

Source access depends on your account and the endpoint. These are the tools documented by Agno; the toolkit is not a wrapper for every Valyu API. Use the Python SDK for direct access to other endpoints or custom source routing.

Configure returned context

text_length limits the content returned to the agent per result. Adjust it alongside result count to balance the evidence your model sees against context size. A higher relevance threshold can remove useful results as well as noise, so test it on representative queries. For the complete configuration and installed-version behavior, see Agno’s Valyu toolkit reference.

Next steps

Write focused queries

Improve retrieval with specific questions and source filters.

Run a research task

Use DeepResearch when you want Valyu to plan and write the report.