Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArXiv Agent Implementation #346

Open
33 of 38 tasks
jravenel opened this issue Feb 10, 2025 · 0 comments · May be fixed by #347
Open
33 of 38 tasks

ArXiv Agent Implementation #346

jravenel opened this issue Feb 10, 2025 · 0 comments · May be fixed by #347
Assignees
Labels
enhancement New feature or request

Comments

@jravenel
Copy link
Contributor

ArXiv Agent Implementation

Overview

Add an ArXiv agent to enable searching and analyzing research papers through the ArXiv API, with ontology mapping capabilities.

Components to Implement

1. Ontology

  • Create src/ontologies/application-level/ArXivOntology.ttl
    • ArXivPaper (subclass of Document)
    • ArXivAuthor (subclass of User)
    • ArXivCategory (subclass of Category)
    • Object properties (hasAuthor, hasCategory)
    • Data properties (arxivId, abstract, publishedDate)

2. Integration

  • Create src/integrations/ArXivIntegration.py
    • ArXivIntegrationConfiguration
    • ArXivIntegration class
    • Methods:
      • search_papers()
      • get_paper()
      • as_tools()

3. Pipeline

  • Create src/pipelines/arxiv/ArXivPaperPipeline.py
    • ArXivPaperPipelineConfiguration
    • ArXivPaperPipelineParameters
    • Methods:
      • run()
      • as_tools()
      • as_api()

4. Assistant

  • Create src/assistants/expert/domain/ArXivAssistant.py
    • ArXivAssistant class
    • create_arxiv_agent factory function
    • System prompt
    • Tool configuration

5. Integration with Terminal App

  • Update src/apps/terminal_agent/main.py
    • Add run_arxiv_agent function
    • Import assistant factory

6. Build System

  • Update Makefile
    • Add chat-arxiv-agent target
  • Update pyproject.toml
    • Add chat-arxiv-agent script entry
    • Add arxiv package dependency

Dependencies

  • arxiv package: make add dep=arxiv

Testing Checklist

  • Search for papers by topic
  • Get detailed paper information
  • Add papers to knowledge graph
  • Query paper relationships
  • Analyze research trends

Example Usage

# Search papers
Find recent papers about large language models

# Get paper details
Get details about paper 2303.08774

# Add to knowledge graph
Add the paper with ID 2303.08774 to the knowledge graph

Related Components

  • GitHub agent (reference implementation)
  • Document ontology (parent classes)
  • ABI core framework

Notes

  • Uses arXiv API through arxiv package
  • Implements ontology mapping for papers, authors, and categories
  • Follows ABI framework patterns for integration and pipeline implementation
@jravenel jravenel self-assigned this Feb 10, 2025
@jravenel jravenel added the enhancement New feature or request label Feb 10, 2025
@jravenel jravenel moved this from 📋 Backlog to 🏗 In progress in ⚡️ Product Roadmap Feb 10, 2025
@jravenel jravenel linked a pull request Feb 10, 2025 that will close this issue
2 tasks
@jravenel jravenel moved this from 🏗 In progress to 👀 In review in ⚡️ Product Roadmap Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 👀 In review
Development

Successfully merging a pull request may close this issue.

1 participant