arXiv Viewer
Access, search, download, and read academic papers from arXiv using a hybrid API + Actionbook approach.
Architecture Overview
┌─────────────────────────────────────────────────────────────┐
│ arxiv-viewer │
├─────────────────┬─────────────────┬─────────────────────────┤
│ arXiv API │ arxiv.org Web │ ar5iv.org │
│ (WebFetch) │ (Actionbook) │ (Actionbook) │
├─────────────────┼─────────────────┼─────────────────────────┤
│ • Metadata │ • Latest list │ • Read sections │
│ • Search │ • Trending │ • Extract figures │
│ • By ID lookup │ • Advanced │ • Extract citations │
│ │ search form │ • Get outline │
└─────────────────┴─────────────────┴─────────────────────────┘
Tool Priority
By Feature:
Feature
Primary Tool
Fallback
Paper metadata
WebFetch (API)
browser-fetcher
Search
WebFetch (API)
browser-fetcher
Latest papers
browser-fetcher (Actionbook)
WebFetch (API)
Trending
browser-fetcher (Actionbook)
-
Advanced search
browser-fetcher (Actionbook)
WebFetch (API)
Read HTML section
html-reader (Actionbook)
Read (PDF)
Download PDF
Bash (curl)
-
Workflow Rules
⚠️ Agent Waiting Rule
After launching browser-fetcher or html-reader agents:
✅
MUST wait for ALL agents to complete
⛔
DO NOT
use WebFetch/WebSearch while waiting
✅ Only use fallback tools after agents have failed
Data Sources
1. arXiv API (WebFetch)
Best for:
Quick metadata lookup, simple search
Base URL: http://export.arxiv.org/api/query
Parameter
Description
search_query
Search with field prefixes (ti:, au:, abs:, cat:)
id_list
Comma-separated arXiv IDs
max_results
1-2000 (default: 10)
sortBy
relevance / submittedDate / lastUpdatedDate
Field Prefixes:
ti:
(title),
au:
(author),
abs:
(abstract),
cat:
(category),
all:
(all)
Boolean Operators:
AND
,
OR
,
ANDNOT
(UPPERCASE)
2. arxiv.org Web (Actionbook + agent-browser)
Best for:
Latest papers, trending, advanced search UI
Page
Action ID
Use Case
Latest list
arxiv.org/list/{category}/recent
Recent submissions
Advanced search
arxiv.org/search/advanced
Complex filters
Homepage
arxiv.org/
Trending/announcements
Workflow:
1. search_actions("arxiv list recent")
2. get_action_by_id(action_id) → selectors
3. agent-browser open URL
4. agent-browser get text
{Title}
arXiv: {id} Authors: {author1}, {author2}, ... Categories: {cat1}, {cat2} Published: {date}
Abstract
{abstract} Links: Abstract | PDF | HTML Section Content
{Section Title}
{section content}
Source: ar5iv.org/html/{id} Paper Report (AI Generated) Command: /arxiv-viewer:report {arxiv_id} or /arxiv-viewer:report {paper_title} Purpose: Generate a comprehensive, well-formatted paper report with AI-generated analysis. Output Format:
**🤖 AI Generated Content **
Author : Powered by ActionBook
{Paper Title} ** Paper Information ** | Field | Content | |
|
| | arXiv ID | {id} | | Authors | {authors} | | Affiliations | {affiliations} | | Published | {date} | | Categories | {categories} |
📋 Abstract
🎯 Problem Statement
💡 Key Contributions 1. {contribution_1} 2. {contribution_2} 3.
🔬 Method Overview
📊 Experimental Results
🌟 Why It Matters
🔗 Links
arXiv Abstract - PDF Download - HTML Version
This report was automatically generated by AI based on the original paper content.
** Powered by ActionBook ** | Generated: {timestamp} Workflow: 1. Fetch paper metadata via arXiv API 2. Read full paper content from ar5iv.org HTML 3. Extract key sections (abstract, intro, method, results) 4. Generate structured report with AI analysis 5. Add ActionBook branding header and footer Report Sections: Section Source Description Paper Information API metadata Basic paper information Abstract Abstract Summary of abstract Problem Statement Introduction Problem statement extracted Key Contributions Introduction Key contributions listed Method Overview Method section Technical approach summary Experimental Results Experiments Key results and metrics Why It Matters Analysis AI-generated significance Rate Limiting arXiv API: 3 second delay between requests ar5iv.org: Respect server load agent-browser: One page at a time