LibreAI / AI Agents / memvid
// agents · memvid/memvid

memvid

A serverless, single-file memory layer for AI agents - replace complex RAG pipelines

★ 16.6k stars⑂ 1.4k forksApache-2.0updated 2026-07
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

memvid is an open-source ai agents project by memvid (memvid/memvid on GitHub). It has 16,584 GitHub stars and 1,421 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 14 July 2026.

Repository
memvid/memvid
GitHub stars
16,584
Forks
1,421
License
Apache-2.0
Last updated on GitHub
14 July 2026
Category
AI Agents
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Decide your language

    Use the Rust core directly, or the Python, Node or CLI packages.

  2. Get Memvid

    Add memvid-core to a Rust project, or install the SDK for your language.

  3. Create a memory file

    Create a .mv2 file and put your first documents into it with metadata.

  4. Search your memory

    Run a semantic search and hand the results to your agent as context.

// features

Why people love it

Single-file memory

Your whole knowledge base lives in one portable .mv2 file - no server to deploy or manage.

Hybrid retrieval

Combines vector similarity search (HNSW with local ONNX embeddings) and BM25 full-text search.

Rich ingestion

Feature flags add PDF text extraction and repair, CLIP image search and Whisper audio transcription.

Temporal queries

Natural-language date parsing understands expressions like 'last Tuesday' in searches.

Encrypted capsules

Optional password-based encryption produces .mv2e memory files.

Multi-language SDKs

Rust core with Python, Node.js and CLI packages sharing the same format.

Advertisement
// run it

Run it yourself

  1. Clone the repository

    Get the source code from GitHub and enter the project directory.

    git clone https://github.com/memvid/memvid.git
    cd memvid
  2. Add the Rust core

    Add memvid-core to your Cargo project (feature flags enable lex, vec and more).

    cargo add memvid-core
  3. Or use Python

    Install the Python SDK and create your first memory file per the docs.

    pip install memvid-sdk
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains this project?

It is maintained by the Memvid project (memvid) on GitHub.

Is it free to use?

Yes - Memvid is Apache-2.0 licensed and free to use.

Does it need a paid API key?

No key is required for local embeddings and search; an optional api_embed feature can use cloud embeddings (for example OpenAI) if you choose it.

How does it compare to alternatives?

Compared with a hosted vector database, Memvid is an embedded single file - zero operations and offline-first - in exchange for single-node scale.

How do I get started?

Run cargo add memvid-core (or pip install memvid-sdk), create a .mv2 file, put a document in, and search it.

// keep exploring

Similar tools

AI Agents

zep

Examples and integrations for Zep — the memory layer for AI agents.

★ 5.0k starsApache-2.0
View guide →
AI Agents

m_flow

M-flow is a bio-inspired cognitive memory engine for AI agents — a graph alternative to flat RAG

★ 4.5k starsApache-2.0
View guide →
AI Agents

Memary

The open-source memory layer for autonomous agents — knowledge-graph memory that emulates human memory

★ 2.7k starsMIT
View guide →
Agents

memsearch

Persistent memory layer for AI agents, backed by Markdown and Milvus.

★ 2.7k starsMIT
View guide →
AI Agents

nullhub

Management console for installing and monitoring AI agents and pipelines.

★ 1.8k starsMIT
View guide →
AI Agents

ktx

Context layer so AI agents query your analytics databases accurately.

★ 1.6k starsApache-2.0
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if memvid is not the right fit.

Get memvid

Free and open — grab the source, star the repo, and start creating.