qenlo-memory
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@qenlo-memoryWhat did Codex figure out about the login timeout issue?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
qenlo-memory
i use claude code, codex, cursor, antigravity and gemini cli. each one starts every session knowing nothing, and none of them knows what the others figured out an hour ago. so the same release steps, the same preferences and the same "no, we tried that" get explained again, once per agent.
qenlo-memory is one local memory that all of them share. it's a CLI your agents run from their shell, one brain folder they all link to, and hooks. an MCP server is still there for agents without a shell. every agent can read everything, and every memory records which agent wrote it, so recall might hand claude code a fix that codex found yesterday, labeled by codex.
it runs on qenlo, the embedded vector database i'm building, through its python sdk (qenlo==0.1.0b1, the first beta). building a real product on it was also a way to find out where it hurts.
install
mac and linux:
curl -fsSL https://raw.githubusercontent.com/a3ro-dev/qenlo-memory/main/install.sh | shwindows (powershell):
irm https://raw.githubusercontent.com/a3ro-dev/qenlo-memory/main/install.ps1 | iexthe script installs uv if you don't have it, installs the qenlo-memory CLI with it (the only dependencies are qenlo and mcp), and runs qenlo-memory install. that installs ollama if it's missing (winget or the official installer on windows, brew or the app on a mac, the official script on linux), starts it if it's stopped, and pulls the embedding model with a progress bar. ollama does the embeddings, on your GPU if you have one. that last step writes the brain folder, ~/.qenlo-memory/brain/, then finds every coding agent on the machine and links the skill and the always-on instruction into it, lets the agent run qenlo-memory without asking where it can, and adds hooks where the agent supports them. install --mcp also wires the MCP server into every agent. it backs up each file it edits to <file>.bak once, and running it again only replaces its own entries. qenlo-memory install --dry-run shows what it would touch without writing anything.
qenlo publishes wheels for windows x64, linux x86_64 and apple silicon macs. intel macs and linux arm aren't covered yet.
then restart your agents. run the same line again to upgrade. the upgrade rewrites the brain, and every agent sees it through its links. on windows it stops the running copies of the MCP server first, because windows won't replace files that are in use.
Related MCP server: memory-ai-local
what it wires up
~/.qenlo-memory/brain/
RULES.md the always-on instruction
skill/SKILL.md the skill
profile.md your long-term memories, rewritten whenever one changesagent | skill (link to brain/skill) | instructions | hooks |
claude code |
|
| SessionStart, UserPromptSubmit |
codex (cli, app, ide) |
|
|
|
cursor (ide, cursor-agent) |
|
|
|
antigravity (app, ide, |
|
| no |
gemini cli |
|
| SessionStart, BeforeAgent |
opencode |
|
| no |
kiro, qwen, qoder, windsurf | where supported | where supported | no |
vs code, claude desktop | MCP only, with |
files that are only ours are links into the brain. files you write in too (AGENTS.md, GEMINI.md...) get a short marked block that points at the brain instead, because a link would take the whole file. directories are symlinks, or junctions on windows, which need no admin. file links need developer mode on windows; without it you get a copy that the next install refreshes.
claude code and gemini cli get qenlo-memory added to their shell allowlist, so recalls don't ask for permission. codex keeps the MCP server even without --mcp: its sandbox blocks network by default, and the CLI reaches the daemon over localhost. running install without --mcp takes the old MCP entries out of every other agent.
it only touches agents whose config directory already exists.
the hook loads your long-term memories and the latest ones for the current project into the agent's context at session start. agents without hooks get the same from the skill and the instruction, as long as they actually follow it. codex asks you to trust new hooks before it runs them, so open codex once after installing and approve the qenlo-memory hook.
it used to log every prompt too. in three days that was 175 of my 288 memories, things like "push to gh" and whole pasted chats, some with passwords in them, and they buried the real ones in recall. a prompt isn't a memory. the conclusion an agent writes down after the work is, so that's what episodic holds now.
how it works
claude code ─┐ shell qenlo-memory recall/remember (thin client)
cursor ──────┤ ─────> │
gemini ──────┤ │
codex ───────┤ stdio qenlo-memory mcp (codex, and anything wired with --mcp)
antigravity ─┘ ─────> │ http, 127.0.0.1:7437, token in ~/.qenlo-memory/token
hooks ────────────> v
qenlo-memory serve (one daemon, started on first use)
├─ ollama embeddings, on the GPU
├─ qenlo collection vectors + search
└─ sqlite text, kind, agent, project, timethe daemon exists because of how qenlo works. it takes an exclusive process lock on a collection. if every agent launched its own server against the same store, the first one would win and the rest would get collection is already open by another handle or process. so there's exactly one owner. everything else is a thin client that starts the daemon if it isn't already running.
attribution comes from the shell. agents set environment variables for the commands they run: AI_AGENT is becoming the shared one (claude code sets claude-code_<version>_agent), and there are per-harness ones like CLAUDECODE and GEMINI_CLI. when none match, the memory is written by cli and the instruction asks the agent to pass --agent. over MCP, the name comes from the handshake instead: every client sends its own name (codex-mcp-client, cursor-vscode, ...), and the server maps that to a short label.
four kinds of memory
kind | what goes in it | example |
| things that happened, timestamped. decisions, fixes, how a session ended | "fixed the windows npm dll path, 2026-09-26" |
| facts about you, a project, a tool | "the qenlo python sdk needs |
| how to do something | "release: tag, run sdk-release.yml, verify SHA256SUMS" |
| durable facts about you, loaded into every session | "prefers the smallest diff that works" |
each kind is stored in qenlo's user_id field. qenlo can only filter on user_id and timestamp, so kind filters and time filters run inside the vector search itself. agent and project filters over-fetch and then trim.
the model
the default is snowflake-arctic-embed:22m through ollama. it has 22M parameters and 384 dimensions, it's Apache-2.0, and it takes 39MB of VRAM on my rtx 4050. its model card reports 50.15 NDCG@10 on MTEB retrieval, which is a lot for something that small.
qenlo-memory models lists the library: twelve ollama embedding models from 46 MB to 1.2 GB (arctic v1 and v2, nomic, mxbai, bge-m3, embeddinggemma, qwen3-embedding, granite, minilm), with their dimension, size, and the query and document prefixes each one was trained with. qenlo-memory models use nomic-embed-text pulls the model, makes it the default, and restarts the daemon, which re-embeds every memory from sqlite into a fresh collection, because two models' vectors don't share a space. any other ollama tag works too, without prefixes. QENLO_MEMORY_MODEL still overrides the choice for one shell.
i started with torch and sentence-transformers in the daemon. that meant a 2GB CUDA download to run a 22M-parameter model, while ollama was already sitting on the GPU. so embeddings go through ollama's local http api, and this package has no ML dependencies at all.
on the GPU: ollama runs the embeddings there when it can. qenlo's collection opens in automatic mode, which searches on the GPU through wgpu once more than 4,096 memories match a query and uses the CPU below that. qenlo made that call because moving a small matrix to the GPU costs more than searching it. qenlo-memory stats shows where both actually ran.
the pet
qenlo has a mascot now: a dot-matrix creature, drawn in the same dots as the qenlo wordmark, that sits in the corner of your desktop while the daemon runs. it eats when any agent saves a memory and says who fed it, sweats when the GPU is busy, and falls asleep when the daemon stops. double-click it for its vitals:
● qenlo-memory 22:30
daemon up · 127.0.0.1
gpu RTX 4050 laptop · 12%
vram 1.9/6.0 GB · 52°C
memories 312 · 6 agents
ingest +4/h · +31/day
model snowflake-arctic-embed · 384d · gpu
search cpu · wal 12
last codex · procedural · 3m agothe daemon starts it, and drag moves it (it remembers where). qenlo-memory pet off stops it from coming back, pet on brings it back, pet stop sends it away for now. it's plain tkinter, so no new dependencies, and it only watches: it never starts the daemon itself. GPU numbers come from nvidia-smi, so other GPUs show the rest of the vitals without that line.
numbers
measured on my laptop (rtx 4050, ollama 0.34.4) with 1,000 memories from four agents:
p50 | p95 | |
| 11.7 ms | 18.7 ms |
qenlo exact search alone | 0.18 ms | |
| 23 ms (mean) |
almost all of a recall is the embedding call to ollama. the vector search is exact, not approximate, and at this size it's a rounding error. these are in-process numbers, and the MCP hop from an agent adds a local http request on top.
use it yourself
qenlo-memory recall "how do we release qenlo"
qenlo-memory recent -n 10 --agent codex
qenlo-memory remember "the user's laptop has an rtx 4050" --kind semantic
qenlo-memory forget 12
qenlo-memory stats
qenlo-memory models
qenlo-memory pet
qenlo-memory stoprun plain qenlo-memory for a welcome screen. in a terminal, memories come out as cards with the kind, agent and project on top, and stats draws who wrote what. piped, which is how agents run it, it's the same one-line-per-memory text as always. NO_COLOR turns the styling off and FORCE_COLOR turns it on.
what building it on qenlo taught me
qenlo was alpha when this started, and this project ran into three of its edges. two are design choices, one was a bug.
records hold only an id, a
user_id, a timestamp and a vector. there's no payload, so the text and provenance live in sqlite next to the collection and the ids line up.deleted ids can never be reused. sqlite's
AUTOINCREMENThas the same rule, so the two agree for free.every write is its own WAL file, and
openreplays them. in alpha.10,flush()was supposed to fold them into a snapshot but returned early after every commit, so the WAL only ever grew. building this is how i found it, and alpha.11 fixes it. qenlo-memory callsflush()at startup and every 256 writes. it still rebuilds the collection from sqlite if the two ever disagree, for example after a crash between the two commits.an agent's memory is mostly "write one thing, then search":
remember, thenrecalla moment later. up to alpha.11, every write threw away qenlo's search matrix, so the next search copied the whole collection first. beta.1 keeps every vector once in the buffer search reads, which made add-then-search 13x faster at 2,000 rows and cut memory per row by 40%.
limits
it's local and single-user. the daemon only listens on 127.0.0.1 and wants a token from your home directory, but any process running as you can read your memories.
the antigravity app and the antigravity ide send the same client name.
agyis told apart by its parent process. the other two both show up asantigravity.memories written from a shell whose harness sets none of the known variables show up as
by cliunless the agent passes--agent.secret redaction is a regex for common key formats. it's a seatbelt, not a guarantee.
there's no consolidation or decay yet. i'll add them when plain similarity plus recency stops being enough.
license
Apache-2.0, same as qenlo.
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP memory for coding agents: persistent across sessions, editable markdown, team sharing.
An MCP memory server. One memory your agents share — across models, devices and apps.
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
- KogniteOAuthdev.kognite
Hosted agent memory: store, search, and recall facts across sessions from any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenancePersistent memory for AI coding agents. Enables agents to save and recall decisions, patterns, bugs, and context across sessions via an MCP server with local SQLite storage.21 npm2MIT
- FlicenseNot gradedqualityDmaintenanceA local-first MCP server that manages developer memory for coding agents, enabling shared project context, permissions, and audit trails across different agents.1-
- AlicenseAqualityCmaintenanceProvides a memory server for coding agents over MCP, capturing and retrieving the meaning and rationale behind code decisions down to the function level. It enables agents to search product memory, get task context, and propose new memories to avoid re-deriving or re-breaking past decisions.9MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI coding agents to store, search, and recall persistent project and cross-project memories locally over MCP, keeping architectural decisions, conventions, and error patterns available across sessions. Also optionally exposes a task server for autonomous task execution driven by that same memory store.-