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
Metadata
Release files for mavyn 2.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mavyn-2.4.0.tar.gz | 114.0 kB | Without provenance | Details for mavyn-2.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mavyn-2.4.0-py3-none-any.whl | Python 3 | none | any | Details for mavyn-2.4.0-py3-none-any.whl |
Total release size: 240.4 kB
Release files / mavyn-2.4.0.tar.gz
| Download URL | mavyn-2.4.0.tar.gz |
|---|---|
| Size | 114.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3637a1fd884816738ba9f3c782cc70786249cc11a725069434e1644ad027d26
|
|
BLAKE2b-256 checksum How to use checksums |
5b84ce303263bd363117ea2fae2c0dc1de0cdd73f9fa46c067ed3c2359338880
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Release files / mavyn-2.4.0-py3-none-any.whl
| Download URL | mavyn-2.4.0-py3-none-any.whl |
|---|---|
| Size | 126.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f97095aeb9df0f2d61b1ad23c9da9bcc40faa9c2c93ed7b581888ef85ae1ba9
|
|
BLAKE2b-256 checksum How to use checksums |
916fe02029ac9df5693aa3999651c2eb6395ecd86e3335be1439657677495339
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Security for mavyn 2.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.