# ArXiv Search Tool
This tool connects to ArXiv and allows an Agent to search for recent papers and their summaries to retrieve recent information on mathematical and scientific information
## Usage
This tool has a more extensive example usage documented in a Jupyter notebook [here](https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/tools/llama-index-tools-arxiv/examples/arxiv.ipynb).
Here's an example usage of the ArxivToolSpec.
```python
from llama_index.tools.arxiv import ArxivToolSpec
from llama_index.agent.openai import OpenAIAgent
tool_spec = ArxivToolSpec()
agent = OpenAIAgent.from_tools(tool_spec.to_tool_list())
agent.chat("What's going on with the superconductor lk-99")
agent.chat("what are the latest developments in machine learning")
```
`arxiv_query`: Search arXiv for results related to the query
This loader is designed to be used as a way to load data as a Tool in a Agent.
Raw data
{
"_id": null,
"home_page": null,
"name": "llama-index-tools-arxiv",
"maintainer": "ajhofmann",
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": "math, research, science",
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/1b/c9/66d7c08a14c41dfbc1a9cfc340c48f0277c29ab8c9d66b906a1d210220ee/llama_index_tools_arxiv-0.3.0.tar.gz",
"platform": null,
"description": "# ArXiv Search Tool\n\nThis tool connects to ArXiv and allows an Agent to search for recent papers and their summaries to retrieve recent information on mathematical and scientific information\n\n## Usage\n\nThis tool has a more extensive example usage documented in a Jupyter notebook [here](https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/tools/llama-index-tools-arxiv/examples/arxiv.ipynb).\n\nHere's an example usage of the ArxivToolSpec.\n\n```python\nfrom llama_index.tools.arxiv import ArxivToolSpec\nfrom llama_index.agent.openai import OpenAIAgent\n\ntool_spec = ArxivToolSpec()\n\nagent = OpenAIAgent.from_tools(tool_spec.to_tool_list())\n\nagent.chat(\"What's going on with the superconductor lk-99\")\nagent.chat(\"what are the latest developments in machine learning\")\n```\n\n`arxiv_query`: Search arXiv for results related to the query\n\nThis loader is designed to be used as a way to load data as a Tool in a Agent.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "llama-index tools arxiv integration",
"version": "0.3.0",
"project_urls": null,
"split_keywords": [
"math",
" research",
" science"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "911402e22d17b0f61d0b9870ebcb980f65d2185aa966b31df8e589d3a4a95931",
"md5": "68245544b3acbc55b5aa146a2d9697fd",
"sha256": "7032ce20ca28ec6799dd6394147030be037d920bc753dfb2bad14317cfbf1883"
},
"downloads": -1,
"filename": "llama_index_tools_arxiv-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "68245544b3acbc55b5aa146a2d9697fd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 2541,
"upload_time": "2024-11-17T23:06:17",
"upload_time_iso_8601": "2024-11-17T23:06:17.425308Z",
"url": "https://files.pythonhosted.org/packages/91/14/02e22d17b0f61d0b9870ebcb980f65d2185aa966b31df8e589d3a4a95931/llama_index_tools_arxiv-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1bc966d7c08a14c41dfbc1a9cfc340c48f0277c29ab8c9d66b906a1d210220ee",
"md5": "6bc0ff55a6817b433dbbe5ec9e57c33c",
"sha256": "eac577364e65c64d09d9becf85846b9e65b5bbe53e380cbd9494a55811940b06"
},
"downloads": -1,
"filename": "llama_index_tools_arxiv-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "6bc0ff55a6817b433dbbe5ec9e57c33c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 2368,
"upload_time": "2024-11-17T23:06:18",
"upload_time_iso_8601": "2024-11-17T23:06:18.925857Z",
"url": "https://files.pythonhosted.org/packages/1b/c9/66d7c08a14c41dfbc1a9cfc340c48f0277c29ab8c9d66b906a1d210220ee/llama_index_tools_arxiv-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-17 23:06:18",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-tools-arxiv"
}