Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs-v1.agno.com/llms.txt

Use this file to discover all available pages before exploring further.

ArxivTools enable an Agent to search for publications on Arxiv.

Prerequisites

The following example requires the arxiv and pypdf libraries.
pip install -U arxiv pypdf

Example

The following agent will run seach arXiv for “language models” and print the response.
cookbook/tools/arxiv_tools.py
from agno.agent import Agent
from agno.tools.arxiv import ArxivTools

agent = Agent(tools=[ArxivTools()], show_tool_calls=True)
agent.print_response("Search arxiv for 'language models'", markdown=True)

Toolkit Params

ParameterTypeDefaultDescription
search_arxivboolTrueEnables the functionality to search the arXiv database.
read_arxiv_papersboolTrueAllows reading of arXiv papers directly.
download_dirPath-Specifies the directory path where downloaded files will be saved.

Toolkit Functions

FunctionDescription
search_arxiv_and_update_knowledge_baseThis function searches arXiv for a topic, adds the results to the knowledge base and returns them.
search_arxivSearches arXiv for a query.

Developer Resources