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

Recording the demo GIF

To record the assets/demo.gif shown above, install VHS and run:

brew install vhs
vhs demo.tape

Or use Terminalizer:

npm install -g terminalizer
terminalizer record demo --skip-sharing
terminalizer render demo

Place the output at assets/demo.gif.


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.2.0.tar.gz (110.3 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.2.0-py3-none-any.whl (122.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mavyn-2.2.0.tar.gz
Algorithm Hash digest
SHA256 2efd2eb202777587ac2b7c7137081d7324b9b1f1a6e094125d374035e3bb7b1d
MD5 a114d66addf5a9698cf9175b54febce1
BLAKE2b-256 8aa3d7e75414cb80d835151bd1ef7d702e3499289b94359e7f59c5be9697367c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mavyn-2.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a7133a9ccebbb6e1deecefc2f04559e9421fcefbd468aad7894ed8fc50c4bc1
MD5 135ca5f53a26e4728806f3fc6a006258
BLAKE2b-256 817e14218bc930417a3e1725811d5b755e3f3983d5fa8f13d025101b228de049

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