explaingit

mcxross/memora-rs

Analysis updated 2026-05-18

0RustAudience · developerComplexity · 4/5LicenseSetup · moderate

TLDR

A Rust library and CLI that gives AI agents persistent, searchable memory, backed by OpenAI, Azure, or a fully local Ollama setup.

Mindmap

mindmap
  root((Memora-rs))
    What it does
      Persistent AI agent memory
      Semantic and BM25 retrieval
      Multi-step guided retrieval
    Tech stack
      Rust and Axum
      ChromaDB or Redis
      OpenAI or local Ollama
    Use cases
      Agent memory across sessions
      File ingestion as memories
      Local private memory
    Audience
      Rust and AI developers
      CLI, library, or web UI

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Give an AI agent a persistent memory that survives across conversations.

USE CASE 2

Ingest PDF, text, or Markdown files as searchable memories for an agent.

USE CASE 3

Run a fully local, private memory system using Ollama instead of a cloud API.

USE CASE 4

Query stored memories through a browser based web interface.

What is it built with?

RustAxumChromaDBRedisOllamaOpenAI

How does it compare?

mcxross/memora-rs04amanrajj/netwatch0xr10t/pulsefi
Stars000
LanguageRustRustRust
Setup difficultymoderatemoderatehard
Complexity4/53/54/5
Audiencedeveloperops devopsdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Needs Rust and Cargo, plus either an OpenAI API key or a local Ollama install with pulled models.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

Memora-rs is a Rust implementation of a memory system for AI agents, based on a research paper called Memora that describes a way to store information so it balances being general with being specific. In plain terms, it gives an AI application a place to save facts and later retrieve the ones relevant to a question, rather than the AI forgetting everything between conversations. It can connect to different AI providers to generate the underlying embeddings and text completions: OpenAI or Azure OpenAI in the cloud, or Ollama, which runs entirely on your own computer with no data leaving your machine. For storing the memory data itself it can use ChromaDB or Redis as the underlying vector database. It can also pull text directly out of PDF, plain text, and Markdown files so those documents can be added as memories. For finding relevant memories again, it supports plain semantic search, a hybrid search method called BM25, and a more advanced multi step approach that follows a chain of related memories guided by prompts. The README is direct about one thing the paper describes that this implementation does not include: a reinforcement learning training process for improving the retrieval strategy over time. Instead, Memora-rs uses a simpler prompt guided version of that retrieval strategy without the training step. You use it either as a command line tool, where you add and query memories from the terminal, or as a library you add to your own Rust project's dependencies, with feature flags to choose which storage backend and AI provider you want compiled in. There is also a browser based web interface, built with a Rust web framework called Axum, for visually adding files and querying memories once ChromaDB is running. The project includes an integration test suite for checking Ollama and ChromaDB compatibility, and it is released under the Apache 2.0 license, which allows free use including commercial use as long as you keep the copyright notice.

Copy-paste prompts

Prompt 1
Help me set up memora-rs with Ollama so all memory processing stays fully local.
Prompt 2
Show me how to add memora-rs as a dependency in my Rust project's Cargo.toml with the chroma feature.
Prompt 3
Walk me through running the memora-rs web UI demo with ChromaDB in Docker.
Prompt 4
Explain the difference between semantic search, BM25, and prompted multi-step retrieval in memora-rs.

Frequently asked questions

What is memora-rs?

A Rust library and CLI that gives AI agents persistent, searchable memory, backed by OpenAI, Azure, or a fully local Ollama setup.

What language is memora-rs written in?

Mainly Rust. The stack also includes Rust, Axum, ChromaDB.

What license does memora-rs use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is memora-rs to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is memora-rs for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.