LibreAI / AI Agents / MemoryOS
// agents ยท BAI-LAB/MemoryOS

MemoryOS

A memory operating system for long-term, personalized AI agents.

๐Ÿ’Ž Hidden gemโ˜… 1.6k starsโ‘‚ 165 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

MemoryOS is an open-source ai agents project by BAI-LAB (BAI-LAB/MemoryOS on GitHub). It has 1,591 GitHub stars and 165 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 7 July 2026.

GitHub stars
1,591
Forks
165
License
Apache-2.0
Last updated on GitHub
7 July 2026
Category
AI Agents
Listing
Hidden gem โ€” a shorter page for a lesser-known project
Official site
Official site
// how it works

How it works

  1. Clone the repository

    Download the source and enter the folder.

  2. Install dependencies

    Pull the Python packages it needs.

  3. Configure memory stores

    Set up the storage backends per the README.

  4. Build a remembering agent

    Wire your agent to the memory OS.

// features

Why people love it

Long-term memory

Agents retain knowledge across sessions.

Personalization

Memory scoped to individual users.

EMNLP 2025 oral

Peer-reviewed research behind the design.

RAG retrieval

Recall the right memory at the right time.

Python framework

Integrates with existing agent code.

1,591 stars

Wide research and builder interest.

Advertisement
// run it

Run it yourself

  1. Step 1 โ€” Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/BAI-LAB/MemoryOS.git
    cd MemoryOS
  2. Step 2 โ€” Install dependencies

    Pull the Python packages it needs.

    pip install -r requirements.txt
  3. Step 3 โ€” Run the demo

    Try the memory flows per the README.

    python demo.py
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains MemoryOS?

It is an open-source project at BAI-LAB/MemoryOS with 165 forks.

Is it free for commercial use?

Yes. It is Apache-2.0 licensed.

What is the research behind it?

It was presented as an oral paper at EMNLP 2025.

How is it different from vector memory?

It is a full memory operating system: organization, retrieval, and personalization.

Which language is it in?

Python, built on LLM and RAG primitives.

// keep exploring

Similar tools

AI Agents

agent-beacon

Self-improving memory layer that works across AI agent harnesses.

โ˜… 1.8k starsMIT
View guide โ†’
RAG & Knowledge

wenlan

Agent-fed knowledge base that distills learnings into cited wiki pages.

โ˜… 79 starsApache-2.0
View guide โ†’
AI Chat

Smart-Memory

SillyTavern extension giving AI roleplay characters long-term memory.

โ˜… 61 starsAGPL-3.0
View guide โ†’
AI Agents

langmem

LangMem: long-term memory primitives for LangGraph agents that learn and adapt from conversations.

โ˜… 1.7k starsMIT
View guide โ†’
AI Agents

cognee

Open-source AI memory that gives agents persistent long-term recall.

โ˜… 31.6k starsApache-2.0
View guide โ†’
AI Agents

agent-memory

Long-term memory runtime for AI agents โ€” plain Markdown as truth, local ranked retrieval, no API key

โ˜… 2.6k starsMIT
View guide โ†’
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue โ€” the realistic shortlist if MemoryOS is not the right fit.

Get MemoryOS

Free and open โ€” grab the source, star the repo, and start creating.