Long-term memory for AI agents
Save what your agent learns, find it with no model in the loop, and let newer facts supersede older ones. One API, an MCP server, a CLI and a TypeScript SDK.
› Set up Infinimemory in your agent
-
Saved a note“We install with npm.”Mon 10:02Claude Code
-
Saved a note“We switched from npm to pnpm.”Tue 16:40Claude Code
-
Sync decided Supersedes“uses pnpm” replaces “uses npm”. The old note stays as history.Tue 16:41Sync · 412 credits
-
Found “how do we install packages?”Answered with pnpm in 38 ms, no model call.Wed 09:15Cursor
We switched from npm to pnpm.
We install with npm.
Katsushika Hokusai, The Great Wave off Kanagawa, c. 1831
Your agent learns it once. Every tool remembers.
Memory that keeps itself current
Say it once and Infinimemory keeps it as a note. When a fact changes, the new note replaces the old one, which stays as history, never as the answer.
One memory for every agent
Claude Code, Cursor, Codex and OpenCode share one realm over MCP. Teach one tool, and the next one already knows.
Find, with no model in the loop
Find is vectors plus keyword search, so it answers in milliseconds. Questions about time get dates computed from your notes, not guessed.
Saving and finding take no AI
Your agent never waits on a model. AI runs only during Sync, in the background, to keep what Infinimemory knows current.
- 01Access – Your agent connects through MCP, the CLI, the SDK or session hooks, with one rc_ key.
- 02Find – Postgres full-text and vector search over notes and pieces. No model call, about 40 ms.
- 03Notes – Each fact is a note. A superseded note stays as history, so you can still ask what was true then.
- 04Sync – The only layer with a model. In the background, per realm, it decides whether a note is new, supersedes an older one, or repeats one.
- 05Pieces – Saved text is split into pieces and embedded, findable within seconds.
- 06Realms on Postgres – One database holds text, vectors and jobs. Every query is scoped to your org and realm.
AI runs during Sync, never when you Find.
Two calls, or one command
From your code: create a key in the console, then save and find. A realm is created the first time you save to it.
From your agents: sign in once, and Claude Code, Cursor, Codex and the rest share one realm per repository, repo_<repository>__<id>, saving as you work.
Read the full quickstart: realms, merging, and every CLI command.
Start free
Limits are per calendar month. Paid plans open with billing soon.
- API requests250K
- Files25K
- Pieces2M
- Finds125K
- Sync credits2.5M
- API requests2M
- Files250K
- Pieces20M
- Finds1M
- Sync credits25M
- API requests100M
- Files100M
- Pieces1B
- Finds100M
- Sync credits1B
Questions
Does Find call a language model?
No. Find is Postgres full-text plus vector search. A model only runs during Sync, in the background, to decide which notes supersede which.
What happens if the model is down?
Saving and finding keep working, and Sync retries later. Until it runs, a new note and an old one can both appear as current.
What does my agent save on its own?
Each finished exchange: your prompt and the agent’s reply, never tool calls or tool output. Text inside <private>…</private> and likely secrets such as API keys are removed on your machine before anything is sent. ifm pause stops saving for a while; finding keeps working.
Where is my data stored?
In Postgres with pgvector, on Supabase, in a single region. We don’t train models on it. Sync sends new notes to our language-model provider to decide which ones supersede which.
Can I delete everything?
Yes. Delete files, and remove notes by id or by meaning, with a dry run first. Deleted content can no longer be found.
Can I self-host Infinimemory?
No. Infinimemory is a hosted service, so you never run a database or a queue.
Is there an SDK?
Yes, for TypeScript: npm install @tryrecallai/sdk. Any other language can use the plain JSON API.