Skip to content

About

Self-hosted paper inbox: arXiv discovery + Google Scholar alerts, daily/weekly digests, local notes, Raycast extension. Python 3.11+

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

Paper Agent

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.

What you can do

  • 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.

Requirements

  • 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.

Quick start

git clone https://github.com/galleonli/paper-agent.git
cd paper-agent
./scripts/bootstrap.sh

Edit 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.yaml

Inspect the generated library and digest in your configured output directory.

Update an existing installation

From your Paper Agent checkout:

git pull --ff-only
./scripts/bootstrap.sh

Bootstrap 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.

Use Raycast

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.

Configuration and troubleshooting

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.

Install the CLI from source

After cloning the repository, install the core into your chosen Python environment:

python -m pip install .
paper-agent --help

This 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.

Development

.venv/bin/python -m pip install -r requirements-dev.txt
.venv/bin/python -m pytest -q

Report reproducible problems in Issues, including the command, platform, and redacted error output.

License

See LICENSE.

About

Self-hosted paper inbox: arXiv discovery + Google Scholar alerts, daily/weekly digests, local notes, Raycast extension. Python 3.11+

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages