Collect relevant papers, keep a local research library, and review your reading list from Raycast.
Paper Agent combines a Python pipeline with a macOS Raycast extension. It fetches arXiv papers and Google Scholar alert entries, filters and deduplicates them, and saves notes and digests as local files.
- Browse today's papers, search your library, and manage favorites and a reading queue in Raycast.
- Filter papers using your research interests, categories, and seed papers.
- Keep Markdown notes and daily or weekly digests; export BibTeX and RIS.
- Add optional AI summaries based on paper metadata and abstracts.
- Run the pipeline from the command line or configure a macOS daily schedule.
AI summaries are optional. They are not full-text evidence reviews. Google Scholar inbox entries are handled separately from the arXiv recommendation flow.
- Git and Python 3.11 or later with virtual-environment support for the core.
- macOS and Raycast for the extension.
- Network access to your selected paper sources.
- An OpenAI API key only if you enable AI summaries.
The extension currently requires a separate installation of the Python core.
git clone https://github.com/galleonli/paper-agent.git
cd paper-agent
./scripts/bootstrap.shEdit config.yaml to set your research interests and output directory. Use config.example.yaml as the configuration reference. Keep optional AI summaries disabled for the first run if you have not configured a provider.
.venv/bin/python -m paper_agent run --config config.yamlInspect the generated library and digest in your configured output directory.
From your Paper Agent checkout:
git pull --ff-only
./scripts/bootstrap.shBootstrap updates the installed core and CLI using your existing Python environment. It preserves config.yaml, credentials, logs, and state. If Git reports local changes or diverging history, resolve those before updating; do not reset your checkout to discard them.
If a Python update breaks the environment, rerun ./scripts/bootstrap.sh. It preserves the unusable environment under .venv-backup.* and creates a replacement. To choose the interpreter for a new or broken environment, use PAPER_AGENT_PYTHON=/absolute/path/to/python3 ./scripts/bootstrap.sh.
Install the Paper Agent extension from the Raycast Store, then open Check Setup. Set Config File Path to your config.yaml; the extension can read your paper and library directories from that file. Set Paper Directory in Raycast only to override those paths. The setup screen checks the core and shows which settings come from Raycast and which come from YAML. See the extension setup guide for details.
Use Check Run Status to diagnose execution problems. Add the daily schedule only after the manual workflow works. A sleeping or unavailable machine can delay scheduled work.
The detailed setup reference covers source settings, scheduling, exports, and configuration precedence. Raycast preferences currently override several core settings when the extension prepares a run.
Keep credentials out of the repository. Do not paste API keys into bug reports or print them in diagnostics.
After cloning the repository, install the core into your chosen Python environment:
python -m pip install .
paper-agent --helpThis provides the paper-agent command. You still need a configuration file and output directory; the Raycast extension also needs the path to this environment's Python executable. The repository bootstrap remains the documented quick start for Raycast users.
.venv/bin/python -m pip install -r requirements-dev.txt
.venv/bin/python -m pytest -qReport reproducible problems in Issues, including the command, platform, and redacted error output.
See LICENSE.