AIrXiv is an agent designed to streamline the research paper discovery process. By leveraging conversational refinement, intelligent web browsing, and API querying, AIrXiv assists researchers in finding the most relevant papers from arXiv and related sources.
- Interactive Query Refinement: Chat with an AI assistant to clarify and refine your research intent.
- Web Context Integration: Utilize Tavily Search to gather recent breakthroughs, state-of-the-art findings, and contextual insights.
- Intelligent Search Query Generation: Automatically build optimized search queries based on user interaction and browsing results.
- arXiv API Integration: Retrieve and assess research papers directly from arXiv.
- Relevance Assessment: Automatically evaluate paper relevance based on title, abstract, and methodology.
- Source Extraction: Identify additional references cited in relevant papers.
- Final Recommendations: Present a curated list of highly relevant papers.
- Refinement Phase: Interact with the chatbot to clarify and refine your research question.
- Browsing Phase: The agent browses the web to add context and expand the search scope.
- Search Query Generation: Build a structured
SearchQuery
object including goal, queries, and timeframes. - arXiv Query: Fetch papers using the arXiv API based on the generated search query.
- Paper Review: Assess relevance based on pre-defined criteria.
- Source Extraction: Analyze PDFs of relevant papers to extract further references.
- Final Report: Present the final set of relevant papers with summaries and links.
- Python 3.9+
- Required Python libraries:
pip install -r requirements.txt
- API keys for OpenAI and Tavily Search (stored in
.env
).
Create a .env
file:
OPENAI_API_KEY=your_openai_api_key
TAVILY_API_KEY=your_tavily_api_key
OPENAI_MODEL=gpt-4o-mini
Start the agent using:
python app.py
- Launch the agent.
- Refine your research query through conversation.
- Let the agent browse the web and generate search queries.
- Review the curated set of papers.
- Receive a detailed report with titles, summaries, and links.
demo.mov
This project is licensed under the MIT License.