memvid

    memvid/memvid

    Memory layer for AI Agents. Replace complex RAG pipelines with a serverless, single-file memory layer. Give your agents instant retrieval and long-term memory.

    ai
    llm
    machine-learning
    nlp
    computer-vision
    context
    embedded
    faiss
    knowledge-base
    knowledge-graph
    Rust
    Apache-2.0
    17.4K stars
    1.5K forks
    124 GitHub watchers
    Updated Nov 5, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 162 days ago, with 23 contributors on GitHub.

    Peaked at #13 in the weekly ranking the week of Sep 28, its best in the past year.

    Use Cases & Benefits

    • Provides a serverless, video-based memory layer that compresses and indexes text for instant semantic search in AI agents.
    • Delivers 50-100× smaller storage than vector databases with millisecond retrieval and zero infrastructure using video codec compression.
    • Use for building offline-first AI agents that require long-term, portable memory without database dependencies.
    • Use for creating searchable knowledge bases from large document collections like PDFs or markdown files with minimal storage.
    • Use for developing interactive chatbots or web UIs that query compressed video memories for fast, context-aware responses.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Early-access notice Memvid v1 is still experimental. The file format and API may change until we lock in a stable release.

    Memvid v2 – what's next

    • Living-Memory Engine – keep adding new data and let LLMs remember it across sessions.
    • Capsule Context – shareable .mv2 capsules, each with its own rules and expiry.
    • Time-Travel Debugging – rewind or branch any chat to review or test.
    • Smart Recall – local cache guesses what you’ll need and loads it in under 5 ms.
    • Codec Intelligence – auto-tunes AV1 now and future codecs later, so files keep shrinking.
    • CLI & Dashboard – simple tools for branching, analytics, and one-command cloud publish.

    Sneak peek of Memvid v2 - a living memory engine that can be used to chat with your knowledge base.

    Memvid compresses an entire knowledge base into MP4 files while keeping millisecond-level semantic search. Think of it as SQLite for AI memory portable, efficient, and self-contained. By encoding text as QR codes in video frames, we deliver 50-100× smaller storage than vector databases with zero infrastructure.

    Excerpt from the memvid/memvid README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Aug 18: +50Aug 19: +11Sep 10: +3Nov 3: +14Nov 4: +6Nov 5: +5Nov 6: +13

    +1,030 stars over 81 days across 14 snapshot days; best day +50 on Aug 18.

    Forks

    1.5K+60

    Open issues

    42+8

    Compared with peers in AI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    memvid/memvid compared with AI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    thedotmack/claude-mem113.6K+8.8K35today
    D4Vinci/Scrapling98.1K+6.9K651 day ago
    Leonxlnx/taste-skill110.7K+5.2K551 day ago
    calesthio/OpenMontage77.2K+4.2K40—
    heygen-com/hyperframes79.6K+4.1K45today
    memvid/memvid17.4K—40162 days ago
    Category median98.1K+5.2K45—

    Discover Repositories

    Search across tracked repositories by name or description