arxiv-viewer
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesearXiv Viewer
arXiv 论文查看器
Access, search, download, and read academic papers from arXiv using a hybrid API + Actionbook approach.
通过API + Actionbook的混合方式,访问、搜索、下载并阅读arXiv上的学术论文。
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 │
└─────────────────┴─────────────────┴─────────────────────────┘┌─────────────────────────────────────────────────────────────┐
│ 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) | - |
按功能划分:
| 功能 | 主要工具 | 备选方案 |
|---|---|---|
| 论文元数据 | WebFetch (API) | browser-fetcher |
| 搜索 | WebFetch (API) | browser-fetcher |
| 最新论文 | browser-fetcher (Actionbook) | WebFetch (API) |
| 热门论文 | browser-fetcher (Actionbook) | - |
| 高级搜索 | browser-fetcher (Actionbook) | WebFetch (API) |
| 阅读HTML章节 | html-reader (Actionbook) | 阅读(PDF) |
| 下载PDF | Bash (curl) | - |
Workflow Rules
工作流规则
⚠️ Agent Waiting Rule
⚠️ Agent 等待规则
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
启动browser-fetcher或html-reader代理后:
- ✅ 必须等待所有代理完成
- ⛔ 请勿在等待时使用WebFetch/WebSearch
- ✅ 仅在代理失败后使用备选工具
Data Sources
数据源
1. arXiv API (WebFetch)
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: (title), (author), (abstract), (category), (all)
ti:au:abs:cat:all:Boolean Operators: , , (UPPERCASE)
ANDORANDNOT最佳用途: 快速元数据查询、简单搜索
Base URL: http://export.arxiv.org/api/query| 参数 | 描述 |
|---|---|
| search_query | 使用字段前缀进行搜索(ti:, au:, abs:, cat:) |
| id_list | 逗号分隔的arXiv ID |
| max_results | 1-2000(默认值:10) |
| sortBy | relevance / submittedDate / lastUpdatedDate |
字段前缀: (标题), (作者), (摘要), (分类), (全部)
ti:au:abs:cat:all:布尔运算符: , , (大写)
ANDORANDNOT2. arxiv.org Web (Actionbook + agent-browser)
2. arxiv.org 网页端 (Actionbook + agent-browser)
Best for: Latest papers, trending, advanced search UI
| Page | Action ID | Use Case |
|---|---|---|
| Latest list | | Recent submissions |
| Advanced search | | Complex filters |
| Homepage | | 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 <selector>
5. Return results最佳用途: 最新论文、热门论文、高级搜索UI
| 页面 | 操作ID | 使用场景 |
|---|---|---|
| 最新论文列表 | | 最新投稿 |
| 高级搜索 | | 复杂筛选 |
| 首页 | | 热门内容/公告 |
工作流:
1. search_actions("arxiv list recent")
2. get_action_by_id(action_id) → selectors
3. agent-browser 打开URL
4. agent-browser 获取文本 <selector>
5. 返回结果3. ar5iv.org HTML Papers (Actionbook + agent-browser)
3. ar5iv.org HTML格式论文 (Actionbook + agent-browser)
Best for: Reading specific sections, extracting figures/citations
HTML Paper URL: https://ar5iv.org/html/{arxiv_id}| Element | Selector | Description |
|---|---|---|
| Title | | Paper title |
| Authors | | Author list |
| Abstract | | Abstract text |
| Sections | | All sections |
| Section title | | Section headings |
| Paragraphs | | Paragraph content |
| Figures | | Figures with captions |
| Tables | | Data tables |
| Equations | | Math equations |
| Bibliography | | Reference list |
| Single citation | | Individual reference |
Workflow:
1. search_actions("ar5iv section")
2. get_action_by_id(action_id) → selectors
3. agent-browser open ar5iv.org/html/{id}
4. agent-browser get text <section_selector>
5. Return section content最佳用途: 阅读特定章节、提取图表/引用文献
HTML论文URL: https://ar5iv.org/html/{arxiv_id}| 元素 | 选择器 | 描述 |
|---|---|---|
| 标题 | | 论文标题 |
| 作者 | | 作者列表 |
| 摘要 | | 摘要文本 |
| 章节 | | 所有章节 |
| 章节标题 | | 章节标题 |
| 段落 | | 段落内容 |
| 图表 | | 带标题的图表 |
| 表格 | | 数据表格 |
| 公式 | | 数学公式 |
| 参考文献 | | 参考文献列表 |
| 单个引用 | | 单个参考文献 |
工作流:
1. search_actions("ar5iv section")
2. get_action_by_id(action_id) → selectors
3. agent-browser 打开 ar5iv.org/html/{id}
4. agent-browser 获取文本 <section_selector>
5. 返回章节内容URL Patterns
URL 模式
| Purpose | URL |
|---|---|
| arXiv Abstract | |
| arXiv PDF | |
| arXiv API | |
| ar5iv HTML | |
| ar5iv Abstract | |
| 用途 | URL |
|---|---|
| arXiv 摘要页 | |
| arXiv PDF | |
| arXiv API | |
| ar5iv HTML | |
| ar5iv 摘要页 | |
arXiv ID Formats
arXiv ID 格式
| Format | Example |
|---|---|
| New (2007+) | |
| With version | |
| Old | |
| 格式 | 示例 |
|---|---|
| 新版(2007+) | |
| 带版本号 | |
| 旧版 | |
Common Categories
常见分类
| Code | Field |
|---|---|
| Artificial Intelligence |
| Computation and Language (NLP) |
| Computer Vision |
| Machine Learning |
| Software Engineering |
| Statistical ML |
| 代码 | 领域 |
|---|---|
| 人工智能 |
| 计算语言学(NLP) |
| 计算机视觉 |
| 机器学习 |
| 软件工程 |
| 统计机器学习 |
Feature Matrix
功能矩阵
| Command | Data Source | Agent |
|---|---|---|
| API | paper-fetcher |
| API | search-executor |
| Direct URL | - |
| arxiv.org | browser-fetcher |
| arxiv.org | browser-fetcher |
| ar5iv.org | html-reader |
| ar5iv.org | html-reader |
| ar5iv.org | html-reader |
| ar5iv.org | html-reader |
| API + ar5iv | paper-summarizer |
| 命令 | 数据源 | 代理 |
|---|---|---|
| API | paper-fetcher |
| API | search-executor |
| 直接URL | - |
| arxiv.org | browser-fetcher |
| arxiv.org | browser-fetcher |
| ar5iv.org | html-reader |
| ar5iv.org | html-reader |
| ar5iv.org | html-reader |
| ar5iv.org | html-reader |
| API + ar5iv | paper-summarizer |
Output Formats
输出格式
Paper Info
论文信息
undefinedundefined{Title}
{标题}
arXiv: {id}
Authors: {author1}, {author2}, ...
Categories: {cat1}, {cat2}
Published: {date}
arXiv: {id}
作者: {author1}, {author2}, ...
分类: {cat1}, {cat2}
发布日期: {date}
Abstract
摘要
{abstract}
Links: Abstract | PDF | HTML
undefined{abstract}
链接: 摘要页 | PDF | HTML版
undefinedSection Content
章节内容
undefinedundefined{Section Title}
{章节标题}
{section content}
Source: ar5iv.org/html/{id}
undefined{章节内容}
来源: ar5iv.org/html/{id}
undefinedPaper Report (AI Generated)
论文报告(AI生成)
Command: or
/arxiv-viewer:report {arxiv_id}/arxiv-viewer:report {paper_title}Purpose: Generate a comprehensive, well-formatted paper report with AI-generated analysis.
Output Format:
markdown
---
> **🤖 AI Generated Content**
> Author: Powered by ActionBook
---命令: 或
/arxiv-viewer:report {arxiv_id}/arxiv-viewer:report {paper_title}用途: 生成包含AI分析的全面、格式规范的论文报告。
输出格式:
markdown
---
> **🤖 AI生成内容**
> 生成方: Powered by ActionBook
---{Paper Title}
{论文标题}
Paper Information
| Field | Content |
|---|---|
| arXiv ID | {id} |
| Authors | {authors} |
| Affiliations | {affiliations} |
| Published | {date} |
| Categories | {categories} |
论文信息
| 字段 | 内容 |
|---|---|
| arXiv ID | {id} |
| 作者 | {authors} |
| 机构 | {affiliations} |
| 发布日期 | {date} |
| 分类 | {categories} |
📋 Abstract
📋 摘要
{abstract_summary}
{abstract_summary}
🎯 Problem Statement
🎯 问题陈述
{problem_statement}
{problem_statement}
💡 Key Contributions
💡 核心贡献
- {contribution_1}
- {contribution_2}
- {contribution_3}
- {contribution_1}
- {contribution_2}
- {contribution_3}
🔬 Method Overview
🔬 方法概述
{method_summary}
{method_summary}
📊 Experimental Results
📊 实验结果
{experimental_results}
{experimental_results}
🌟 Why It Matters
🌟 研究意义
{significance}
{significance}
🔗 Links
🔗 相关链接
This report was automatically generated by AI based on the original paper content. Powered by ActionBook | Generated: {timestamp}
**Workflow:**- Fetch paper metadata via arXiv API
- Read full paper content from ar5iv.org HTML
- Extract key sections (abstract, intro, method, results)
- Generate structured report with AI analysis
- 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 |本报告由AI基于原论文内容自动生成。 Powered by ActionBook | 生成时间: {timestamp}
**工作流:**- 通过arXiv API获取论文元数据
- 从ar5iv.org HTML版读取完整论文内容
- 提取关键章节(摘要、引言、方法、结果)
- 通过AI分析生成结构化报告
- 添加ActionBook品牌页眉和页脚
**报告章节:**
| 章节 | 来源 | 描述 |
|---------|--------|-------------|
| 论文信息 | API元数据 | 论文基本信息 |
| 摘要 | 摘要部分 | 摘要总结 |
| 问题陈述 | 引言部分 | 提取的问题陈述 |
| 核心贡献 | 引言部分 | 列出核心贡献 |
| 方法概述 | 方法章节 | 技术方法总结 |
| 实验结果 | 实验章节 | 关键结果与指标 |
| 研究意义 | AI分析 | AI生成的研究意义解读 |Rate Limiting
请求频率限制
- arXiv API: 3 second delay between requests
- ar5iv.org: Respect server load
- agent-browser: One page at a time
- arXiv API: 请求间隔至少3秒
- ar5iv.org: 需考虑服务器负载
- agent-browser: 一次仅处理一个页面