# mnemo

> Self-hosted AI memory sidecar with persistent knowledge graph, entity extraction, and semantic retrieval for LLM apps — works with Ollama, OpenAI, Anthropic.

- **Category:** AI
- **Licence:** MIT
- **Latest version:** v0.1.0
- **Open source:** oss
- **Languages:** Python, Rust
- **Platforms:** Docker Compose, Python, Cargo
- **Tags:** SQLite, Local First, LLM, Anthropic, Openai, Ollama, Knowledge Graph, Rust, Ai memory, Entity extraction, Sidecar, Semantic Retrieval

## Description

A local-first AI memory layer that runs as a sidecar for LLM applications. It exposes a REST API where you send text, and it uses a configurable language model to pull out named entities and their relationships. Everything gets stored in a SQLite database backed by an in-memory knowledge graph. When you query it, the system blends full-text search, entity matching, and multi-hop graph traversal to return ranked context in milliseconds. The software is distributed as one standalone binary with no cloud dependencies and works with Ollama for fully local operation, plus OpenAI, Anthropic, and any OpenAI-compatible API. A CLI tool and Python SDK are included for integration. The knowledge graph deduplicates entities across sessions, weights relationships based on repeated sightings, and expands query results through configurable breadth-first search.

## Links

- [Homepage](https://github.com/zaydmulani09/mnemo)
- [GitHub Repository](https://github.com/zaydmulani09/mnemo)
- [API Documentation](https://github.com/zaydmulani09/mnemo/blob/main/docs/api.md)
- [Architecture Documentation](https://github.com/zaydmulani09/mnemo/blob/main/docs/architecture.md)

---
Source: https://selfhost.directory/project/mnemo