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.4.0.tar.gz (114.0 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.4.0-py3-none-any.whl (126.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mavyn-2.4.0.tar.gz
Algorithm Hash digest
SHA256 e3637a1fd884816738ba9f3c782cc70786249cc11a725069434e1644ad027d26
MD5 92885243604ce090fe71156a99fed4db
BLAKE2b-256 5b84ce303263bd363117ea2fae2c0dc1de0cdd73f9fa46c067ed3c2359338880

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mavyn-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f97095aeb9df0f2d61b1ad23c9da9bcc40faa9c2c93ed7b581888ef85ae1ba9
MD5 203d6d4ce10c1cbe3e8f7899b2d5d532
BLAKE2b-256 916fe02029ac9df5693aa3999651c2eb6395ecd86e3335be1439657677495339

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