Skip to main content

Local-first paper manager with semantic search and LLM reasoning

Project description

mavyn

Chat with your research papers — locally, privately, for free.

Python 3.10+ License: MIT


MAVYN demo

What it does

MAVYN is a terminal-based research assistant. Drop your PDFs into a folder, run mavyn, and start asking questions in plain English. Everything runs locally — no uploads, no subscriptions.

  • Q&A — ask anything about one or many papers
  • Summarize — get structured summaries by section
  • Compare — side-by-side comparison of methodologies, findings, etc.
  • Literature review — auto-generate a full review from your library
  • Semantic search — local FAISS + BM25 hybrid retrieval
  • Similar papers — find related work in your library (+ optional arXiv)

Install

pip install -r requirements.txt

Set a free Groq API key (takes 30 seconds):

echo "GROQ_API_KEY=your_key_here" >> ~/.MAVYN/.env

Quick start

$ mavyn

╭─────────────────────────────────────────────╮
│  Welcome to MAVYN 🤖                        │
│                                             │
│  Commands: /sync ~/Papers  │  /list  │  /help │
│  Example:  tell me about paper 5           │
╰─────────────────────────────────────────────╯

MAVYN> /sync ~/Papers
# Scans, renames, and embeds all PDFs — one command

MAVYN> /list
# Shows your papers with IDs

MAVYN> tell me about the methodology in paper 3
MAVYN> compare papers 1 and 5
MAVYN> find papers similar to paper 2
MAVYN> /review                        # generate a literature review

Commands

Command What it does
/sync [dir] Scan, rename, and embed all PDFs in a directory
/sync --watch Watch for new papers automatically
/list List all indexed papers with IDs
/review Generate a full literature review
/model Show LLM status and rate-limit cooldowns
/help Full command reference
/exit Quit

Natural language is always on — just type your question without any prefix.


Privacy

All papers and embeddings stay on your machine. The only outbound calls are:

  • Groq / Gemini / OpenRouter — only for LLM answers, only if you set an API key
  • arXiv — only if you use --arxiv (sends a keyword query, never your PDFs)

No account required to use local features.


Requirements

  • Python 3.10+
  • ~500 MB disk space (embedding model)
  • API key optional — search and indexing work without one

License

MIT — see LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mavyn-2.3.0.tar.gz (110.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mavyn-2.3.0-py3-none-any.whl (122.7 kB view details)

Uploaded Python 3

File details

Details for the file mavyn-2.3.0.tar.gz.

File metadata

  • Download URL: mavyn-2.3.0.tar.gz
  • Upload date:
  • Size: 110.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for mavyn-2.3.0.tar.gz
Algorithm Hash digest
SHA256 36bbf01eb78542581f7121c732b2becd85ec410392e70c5a481ecdc837fe7630
MD5 b3f2390e8388c93b515454c6b75570dd
BLAKE2b-256 7bcff419e8584bc91449d504a43beb6bfd92b76ad8734de7f48c9539abc81e86

See more details on using hashes here.

File details

Details for the file mavyn-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: mavyn-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 122.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for mavyn-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0afa0f83a81fa3ab4f5c6f41f2d96513cb4ac2a5b035f253d71668ad0cf1057
MD5 8e367f9c786f3d6be94bf10a6cce26cd
BLAKE2b-256 498c793b711be2ad909092a0d0fc7108a1c609be1c97c4d2988bde61b2f89e10

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page