Practical overview
When it fits
Use Mentedb when an agent application needs persistent memory across turns and a retrieval step that supplies relevant context to the model. It is also relevant when a team wants to choose between managed cloud access and running the database itself.
Who it is for
- Developers building AI agents that need persistent conversation memory.
- Teams integrating memory retrieval into Python, TypeScript, or Rust applications.
- Builders seeking a managed cloud or self-hosted memory backend.
Documented uses
- Save a user message and assistant response as an agent memory.
- Retrieve relevant stored memories and return them as context for a later prompt.
- Connect agent applications through an SDK, REST, or listed framework integrations.
- Query a local memory data directory or a running MenteDB server with its CLI.
Requirements & limits
The project documents a managed cloud service requiring an API key and self-hosting through Docker or a Rust-installed server. It is marked beta, with APIs subject to change between minor versions.
- Self-hosted use supports storage and recall without an LLM, but fact extraction requires an LLM provider and API key.
- The cloud service is documented as having LLM configuration wired up for users.
- Available documented integration routes include Python, TypeScript, and Rust SDKs, cloud REST, a CLI, and LangChain and CrewAI memory-provider packages.
- Beta status and possible API changes may matter when adopting it as a production dependency.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Self-host MenteDB and use Python memory recall
Run the MenteDB server locally, then store a conversation turn and retrieve relevant memories with the Python SDK.
Before you start
- Rust installation sufficient to use
cargo install. - Python and pip; on Debian or Ubuntu, use a virtual environment or pipx rather than a system-wide pip install.
- An LLM provider and API key are needed for fact extraction; storage and recall work without an LLM.
Steps
Install the server with the command below, then start it with
mentedb-server --data-dir ./data.cargo install mentedb-serverInstall the Python SDK with the command below (or use a virtual environment or pipx on Debian and Ubuntu).
pip install mentedbCreate a database with
MenteDB("./my-agent-memory")and callprocess_turnwith a user message, assistant response, and turn ID to store a turn.Call
process_turnwith a follow-up question, then use the returnedresult.contextmemories in the next prompt.
Expected outcome
A local MenteDB server and Python-backed memory workflow that stores a turn and returns recalled context for a follow-up.
Guide limitations
- MenteDB is beta and APIs may change between minor versions.
- Fact extraction requires
MENTEDB_LLM_PROVIDERandMENTEDB_LLM_API_KEY; without an LLM, storage and recall are still available. - The server guide documents REST on port 6677 and built-in nightly maintenance.
Connect a cloud MenteDB memory workflow over REST
Submit an agent turn to MenteDB Cloud using its documented REST request.
Before you start
- A MenteDB Cloud API key, set as
MENTEDB_API_KEY. - A command-line environment with
curl.
Steps
Set
MENTEDB_API_KEYto the key obtained from the MenteDB app.Send a POST request to the documented
/v1/process_turnendpoint athttps://api.mentedb.com, with bearer authorization and JSON content type.Include
user_message,assistant_response, andturn_idin the JSON body.
Expected outcome
The documented cloud request submits an agent turn to MenteDB's memory workflow.
Guide limitations
- This recipe documents submitting a turn; the source does not provide response handling steps here.
- MenteDB is beta and APIs may change between minor versions.
Compare options for Vector search
These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.
| Project | Documented purpose | Platform | Access and requirements |
|---|---|---|---|
| Mentedb | Save a user message and assistant response as an agent memory. | CLI, Self-hosted, Server | The project documents a managed cloud service requiring an API key and self-hosting through Docker or a Rust-installed server. It is marked beta, with APIs subject to change between minor versions. |
| Kektordb | Save and retrieve semantic memories across agent sessions. | Self-hosted, Server | The README describes self-hosted use and displays an Apache 2.0 license badge. |
| Longbow | Store and retrieve dense or sparse vectors with HNSW search. | Server |
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 13 October 2026
- Original website title
- nambok/mentedb · Official homepage title · retained in its source language

