Persistent memory in 2 lines of code
Users stop repeating themselves. Agents pick up where they left off. Works with OpenAI, Claude, and Gemini.
Type a fact about yourself — the AI will remember it across sessions
import { Mnexium } from "@mnexium/sdk";
const mnx = new Mnexium({
openai: { apiKey: process.env.OPENAI_KEY },
model: "gpt-4o-mini",
learn: true, // Extract memories
recall: true, // Inject context
history: true, // Prepend chat
});
const alice = mnx.subject("user_123");
const res = await alice.process("My name is Alex");Provider Agnostic
ChatGPT
Anthropic Claude
Google GeminiThe Bridge Between Models & Experiences
Mnexium sits between your AI models and your users, providing unified memory, state management, and identity. Works with OpenAI, Anthropic Claude, and Google Gemini — switch providers without changing your memory layer.

2 lines of code · Drop-in integration
Users stop repeating themselves. Agents pick up where they left off. Works with OpenAI, Claude, and Gemini.
The raw conversation log — every message sent and received within a session. Used for context continuity.
Extracted facts, preferences, and context about a user. Persists across all conversations and sessions.
Schema-backed entities (accounts, deals, tickets, tasks) with CRUD, filtering, and semantic search for deterministic app data.
Short-term, task-scoped working context for agentic workflows. Tracks task progress and pending actions.
Full audit trail of every API call, memory creation, and auth event. See what your agent did and why.
How does Mnexium compare?
| Mnexium | Self-Managed | Vector DB | Vanilla LLM | ||
|---|---|---|---|---|---|
Memory Long-term knowledge that persists across every session and conversation. | Persistent memory across sessions | ✓ | ✓ | ✗ | ✗ |
| Automatic fact extraction | ✓ | ✓ | ✗ | ✗ | |
| Semantic search & recall | ✓ | ✓ | ✓ | ✗ | |
| Memory versioning & deduplication | ✓ | ✓ | ✗ | ✗ | |
| Zero-config — works out of the box | ✓ | ✗ | ✗ | ✗ | |
| Memory decay & relevance scoring | ✓ | ✗ | ✗ | ✗ | |
Records Schema-backed business entities your agents can read, write, and reason over as deterministic application data. | Schema-backed records (CRUD + ownership) | ✓ | ✓ | ✗ | ✗ |
| Structured filtering over record fields | ✓ | ✓ | ✗ | ✗ | |
| Semantic retrieval over records | ✓ | ✓ | ✓ | ✗ | |
| AI-driven record extraction from chat | ✓ | ✗ | ✗ | ✗ | |
Conversations Full chat history, summarization, and context continuity across sessions. | Conversation history persistence | ✓ | ✗ | ✗ | ✗ |
| Chat summarization | ✓ | ✗ | ✗ | ✗ | |
| User profiles & structured data | ✓ | ✗ | ✗ | ✗ | |
| Record recall in chat context | ✓ | ✗ | ✗ | ✗ | |
Agent Tools State, prompts, and memory policy management for agentic applications. | Agent state management | ✓ | ✓ | ✗ | ✗ |
| System prompt management | ✓ | ✓ | ✗ | ✓ | |
| Memory policy management | ✓ | ✓ | ✗ | ✗ | |
Platform Infrastructure, observability, and multi-provider support. | Logging & audit trail | ✓ | ✗ | ✗ | ✗ |
| Works with OpenAI, Anthropic, Google | ✓ | ✓ | ✓ | ✓ | |
| One API call to add memory | ✓ | ✓ | ✗ | ✗ | |
| No infrastructure to manage | ✓ | ✗ | ✗ | ✓ | |
How it works
Traditional chatbots forget everything the moment a session ends. Users repeat themselves. Agents lose context. Multi-step tasks reset. Mnexium changes this by giving your AI persistent memory that works automatically.
With just a few lines of code, your agent learns from conversations, stores what matters, and recalls relevant context when users return — even days or weeks later. Every memory is scored, searchable, and explainable.
User says: "I prefer pescatarian meals."
User asks: "What should I cook this week?"
Full observability into what memories were used and why.

The Mnexium dashboard — manage memories, profiles, and observe agent behavior
Add Memory in Seconds
No SDKs required. Just add the mnx object to your existing OpenAI calls. We handle storage, embeddings, and retrieval automatically.
log: true and every turn is logged with full context.history: true to prepend prior messages automatically.learn: true.# Search memories by semantic similarity
curl -G "mnexium.com/api/v1/memories/search" \
-H "x-mnexium-key: $MNX_KEY" \
--data-urlencode "subject_id=user_123" \
--data-urlencode "q=favorite food"
{
"data": [
{
"id": "mem_abc123",
"text": "User loves Italian cuisine",
"kind": "preference",
"importance": 75,
"score": 92.5
}
]
}// Search memories by semantic similarity
const alice = mnx.subject("user_123");
const results = await alice.memories.search("favorite food");
[
{
id: "mem_abc123",
text: "User loves Italian cuisine",
kind: "preference",
importance: 75,
score: 92.5
}
]# Search memories by semantic similarity
alice = mnx.subject("user_123")
results = alice.memories.search("favorite food")
[
{
"id": "mem_abc123",
"text": "User loves Italian cuisine",
"kind": "preference",
"importance": 75,
"score": 92.5
}
]Built for Real-World AI Apps
From personalized chatbots to multi-step agents, Mnexium handles the memory layer so you can focus on your product.
Start free, scale as you grow
Generous free tier for developers. Predictable pricing for production workloads.
Free
Free for beta testers & early customers.
Install our Node.js SDK (@mnexium/sdk) or Python SDK (mnexium), or just add an `mnx` object to your existing cURL/HTTP calls. We support OpenAI's Chat Completions and Responses APIs across all approaches.
Yes! We offer official SDKs for Node.js (npm install @mnexium/sdk) and Python (pip install mnexium). Both provide a simple, idiomatic interface — initialize the client, create a subject, and call process(). Configuration like learn, recall, and history can be set once at the client level.
A memory is a structured record. When new memories conflict with existing ones, the old memory is automatically marked as 'superseded' while the new one becomes 'active'. You can visualize the full evolution chain with Memory Graphs.
Chat History is the raw conversation log within a session. Agent Memory stores long-term facts about users that persist across all sessions. Agent State is short-term, task-scoped for tracking agent progress and pending actions.
Mnexium is an opinionated memory layer built for AI agents. We handle automatic learning, semantic deduplication, memory versioning, recall scoring, user profiles, governance, and full observability—not just embeddings.
Yes. Pass your OpenAI key via x-openai-key, Anthropic key via x-anthropic-key, or Google key via x-google-key. We never store your provider keys—they're used only for the duration of the request.
We're provider-agnostic. Currently supported: OpenAI ChatGPT, Anthropic Claude, and Google Gemini. Use what you're already used to.
Yes. All data is encrypted at rest and in transit. We support scoped API keys with granular permissions (read/write/delete per resource type), and you can revoke access instantly. Full audit logs track every action.
Profiles are business defined and AI-generated summaries of a user. They provide a overview of preferences, facts, and context—useful for personalizing responses without loading all individual memories.
Have questions about Mnexium? Want to discuss integrations?
We'd love to hear from you.
Start building with persistent memory today. Free tier includes everything you need to get started.