Skip to main content

Persistent memory for AI agents doing literature review. Zero dependencies. SQLite-only.

Project description

(-o-) alit

Your AI agent reads papers so you don't have to.

pip install alit → zero dependencies, SQLite-only, works with any coding agent.

Got tokens to burn? Let your agent read 50 papers overnight and hand you a synthesis in the morning.

Tell your agent:

Use alit to manage my literature review. See https://github.com/Zhou-Hangyu/alit

Why alit

Your agent can web-search papers anytime — but forgets everything next session. alit is persistent memory. One agent reads 50 papers, another agent queries that knowledge instantly. Knowledge compounds across sessions.

How it works

.alit/
├── papers.db    ← one SQLite file, entire knowledge base
└── pdfs/        ← auto-downloaded from arXiv

No servers. No API keys. No vector databases. No setup beyond pip install.

Install

pip install alit         # or: uv add alit
alit init                # creates .alit/ in your project

The agent skill auto-installs on first run.

Set your taste

alit taste "I'm into multimodal foundation models and how they learn cross-modal
representations. Love papers with clean ablations over pure benchmark chasing.
Especially interested in vision-language grounding and embodied AI."

Quick start

alit add "https://arxiv.org/abs/1706.03762"     # fetches metadata + PDF
alit import library.bib                          # or dump your Zotero/Mendeley
alit recommend 5                                 # ranked by your taste
alit ask "What are the key attention mechanisms?" --depth 2

Update

pip install --upgrade alit

Commands

Command What it does
alit init Initialize .alit/
alit add <title-or-url> Add paper (auto-enriches arXiv, auto-tags)
alit find <query> Search arXiv/S2 for papers by topic
alit import <file> Bulk-add from URL file or BibTeX (.bib)
alit sync Import from remembered BibTeX source (Zotero, etc.)
alit enrich Batch-fetch metadata for papers missing abstracts
alit search <query> BM25 full-text search
alit recommend [N] Reading queue ranked by score
alit ask <question> Cross-paper synthesis via funnel retrieval
alit read <id> Guided reading view
alit show <id> Paper details + citations
alit list List papers
alit note <id> <text> Append reading notes
alit summarize <id> Store summary with model provenance
alit cite <from> <to> Add citation edge
alit status <id> <s> Set reading status
alit tag <id> <tags> Set tags
alit taste [text] Set or show your research taste
alit progress Visual progress dashboard
alit stats Collection overview
alit orphans Find citations to missing papers
alit attach <id> <pdf> Attach local PDF
alit fetch-pdf <id> Download PDF from arXiv
alit delete <id> Remove paper + citations
alit export [--format X] Export as JSON or markdown

All commands support --json.

Under the hood

  • Search: BM25 via SQLite FTS5
  • Ranking: PageRank on citation graph (pure Python)
  • Recommendations: PageRank + recency + taste matching
  • Synthesis: multi-stage funnel retrieval (~5K tokens to query 10K papers)
  • Enrichment: arXiv API (batched) with Semantic Scholar fallback
  • Backward compatible: schema auto-migrates on upgrade

Development

git clone https://github.com/Zhou-Hangyu/alit
cd alit
uv sync
uv run pytest

License

MIT

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

agent_lit-0.3.0.tar.gz (37.0 kB view details)

Uploaded Source

Built Distribution

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

agent_lit-0.3.0-py3-none-any.whl (34.2 kB view details)

Uploaded Python 3

File details

Details for the file agent_lit-0.3.0.tar.gz.

File metadata

  • Download URL: agent_lit-0.3.0.tar.gz
  • Upload date:
  • Size: 37.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.8

File hashes

Hashes for agent_lit-0.3.0.tar.gz
Algorithm Hash digest
SHA256 31716d68ca78510a7ac0b001712b13345ffe128cd8851232cce06354d8d19648
MD5 dd133c491d107a997248076798cd1a7c
BLAKE2b-256 6cb36021cf6bf1d5e2f84de3f96b4620dd401fc77ed15d8c2da3c978f50e8e3e

See more details on using hashes here.

File details

Details for the file agent_lit-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: agent_lit-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 34.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.8

File hashes

Hashes for agent_lit-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24ba861a59ffbb065014569e337c12d65dfbffc5b32ffff188b8b0716520ccdd
MD5 83c95ab447b83fd2e74a366e976dc5f3
BLAKE2b-256 27f165d7b5d0afd5b70fe8321bfb1eb5b5cdf0ddecedcb50d676125699c9612a

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