What Is Infinimemory? Understanding Realms, Notes, Pieces and Graph Memory

If you’ve used an AI coding agent on the same project for more than a day, you’ve probably hit the wall I kept hitting: every new session starts from zero. The agent is sharp, but it has no idea what you decided yesterday.
Infinimemory is a hosted memory for AI agents. Your agent saves what it learns as it works and finds it again later, in a new session or in a different tool. This post walks through what that means in practice, and explains the four ideas the whole product is built on: realms, notes, pieces and the knowledge graph.
What is Infinimemory?
An AI model only knows what’s in its context window: the conversation in front of it, plus whatever files it reads. When the session ends, that context is gone. Close the terminal, hit a usage limit or switch from Claude Code to Cursor, and the decisions, preferences and hard-won fixes from the last session go with it.
Infinimemory keeps them. It sits outside the agent, as an API, an MCP server, a CLI and a set of plugins for coding agents. Agents save to it as they work and search it when they need to remember. Because it’s hosted, there’s nothing for you to run: no database, no vector store, no queue. You sign in and connect your agent.
It’s worth being clear about what it isn’t, because the first tools people reach for are a little different:
- It isn’t chat history. A transcript keeps everything, in order, forever. Finding the one decision that mattered means rereading it. Infinimemory pulls out the facts and keeps them findable on their own.
- It isn’t plain RAG. Retrieval over documents finds text that looks like your question. It doesn’t know that “we use pnpm now” replaced “we use npm”. Infinimemory tracks when a newer fact supersedes an older one, and answers with the current one.
- It isn’t a bare vector database. A vector store is a building block: you still decide what to store, how to split it and how to keep it current. Infinimemory does that part for you.
It’s built first for coding agents: long-running projects, many sessions, and more than one tool working on the same codebase. The same memory works for any agent that can make an HTTP request.
Why does AI need memory?
Picture a week on one project with an AI assistant.
- Monday: you walk it through the architecture. A Next.js front end, an API on Supabase, background jobs in Postgres.
- Tuesday: you explain why you picked Postgres over MongoDB: one database for the data, the search and the job queue.
- Wednesday: a nasty bug. You try three fixes. Two make it worse; the third works, and you finally understand why.
- Thursday: you open a new session.
Without memory, Thursday’s assistant knows none of this. It might suggest MongoDB. It might walk you straight back into the two fixes that failed on Wednesday. You spend the first twenty minutes re-explaining your own project.
With Infinimemory, Thursday’s session starts with what matters already in place. The plugins load the realm’s key facts when a session starts, and as you type, the notes relevant to your prompt come along with it. The agent knows about Postgres, the reason behind it and the fix that worked. You pick up where you left off.
Realms: one memory per project
A realm is a separate memory space. Everything saved to a realm stays in it, and a search in one realm never returns anything from another. Think of it as a project folder for memory, with a hard wall around it.
Separation matters because memory without boundaries turns into noise. The conventions of a client project have no business showing up while you work on your side project, and one customer’s data should never surface in another customer’s session.
You can arrange realms the way your work is arranged:
- By project: one realm per repository. The coding plugins do this for you. Every agent working in the same repository shares its realm, so a decision made in Claude Code is there when you open Cursor.
- Personal: a realm for your own preferences and notes that follow you from project to project.
- Per user or team: if you’re building a product on Infinimemory, one realm per end user or per team keeps each customer’s memory apart.
Here’s what that looks like for a developer with two projects. Say you maintain a client storefront in Next.js and, on weekends, a Rust command-line tool. The storefront realm holds notes like “checkout uses Stripe” and “the client wants prices shown with tax”. The Rust realm holds “errors use thiserror, not anyhow” and “releases go out with cargo-dist”. Ask about error handling in the Rust tool and you get the Rust answer, never the storefront’s.
Realms are created the first time you save to them, so there’s no setup step. In the console you can see every realm, search inside one, delete one, or merge one realm into another when two of them should really be the same memory.
Notes: the facts worth keeping
A note is one fact, stored on its own. When you save text to Infinimemory, whether it’s a file, a turn of a conversation or a paragraph you typed, Infinimemory reads it and pulls out the statements worth remembering. Each one becomes a note.
Notes are what turn a long conversation into something useful later. Instead of rereading an hour of back-and-forth, the agent gets the handful of lines that mattered. From a software project, notes look like this:
- “We deploy the API to Supabase Edge Functions.”
- “Search must never call a language model; it has to stay fast and cheap.”
- “The user prefers small commits with a one-line summary.”
- “Rate limiting broke because the counter reset on every instance; it now lives in Postgres.”
- “We switched from npm to pnpm.”
Saving is instant. Notes are pulled out by rules, with no model involved, and they’re findable within seconds.
Facts change, and that’s where notes earn their keep. When a newer note contradicts an older one, the newer one supersedes it. “We switched from npm to pnpm” becomes the current answer to “how do we install packages?”, and “we install with npm” isn’t deleted. It’s kept as history, so you can still see what was true before and when it changed. Working out what supersedes what is the one job Infinimemory gives a language model, and it does it in the background, in a step called Sync. Your agent never waits for it.
Every note also remembers where it came from and when. It links back to the file it was taken from, and carries the time it was said, plus the date of the event itself when the text gives one (“I moved to Pune on November 10”). That matters more than it sounds. When an agent tells you something, you can check the source, and when two notes disagree, the dates help decide which one is current.
You stay in control of all of it. You can find notes, correct one by saving the right fact, and remove notes by id or by meaning, with a dry run first that shows exactly what would go.
Pieces: the original words, still findable
Notes are short facts. Sometimes you need the original words: the exact error message, a paragraph of the README, a snippet of code. That’s what pieces are for.
When you save a file, Infinimemory splits it into pieces, short passages of the original text, and indexes each one for search. Every piece remembers which file it came from, so an answer can always point back to its source.
Notes and pieces work together. Ask “what’s our deploy process?” and you can get back the note that states it alongside the piece of the contributing guide that spells out each step. You can search notes only, pieces only, or both together, which is the default.
Graph memory: how facts connect
Facts don’t live alone. A decision has a reason, a fix replaces an earlier fix, a plan builds on an older plan. Infinimemory stores those links as connections between notes, and together they form a knowledge graph you can explore in the console.
Three kinds of connection carry most of the meaning:
- Supersedes: a newer note replaced an older one (“pnpm” supersedes “npm”).
- Builds on: a note adds to an earlier one without replacing it.
- Derived from: a note Sync inferred because several notes, taken together, imply it.
Notes about time are connected too: what happened before what, which notes describe the same event, and which two notes give the same event different dates. That last one is more useful than it sounds. Instead of quietly picking one, Infinimemory flags the conflict.
The graph is what lets memory answer “what did we use before?” and “why did we change it?”, not only “what’s true now?”. You see each fact’s history at a glance instead of piecing it together from old chats.
How it fits together
Day to day, three things happen, and only one of them uses a model:
- Save: text goes in, is split into pieces and notes, and is findable in seconds. No model.
- Sync: in the background, a language model decides which notes are new, which supersede older ones and which are repeats. It runs in batches per realm, within your plan’s sync credits.
- Find: full-text and vector search over notes and pieces, in Postgres. No model, so it stays fast and costs almost nothing.
On top of that, every realm has an About: its core facts, the things that rarely change, and its changing facts, what’s been happening lately. Coding agents load it at the start of every session, which is why Thursday’s assistant already knows your stack.
Privacy, briefly
Agents see a lot, so the plugins are careful about what leaves your machine. They save the conversation itself, your prompts and the agent’s replies, but never tool calls or tool output. Anything you wrap in <private> tags is replaced before it’s sent, and likely secrets such as API keys and tokens are masked on your machine first. You can pause saving whenever you like, and finding keeps working.
Getting started
The free tier needs no card. The quickest way in is the command-line tool:
- Sign in:
npx -y @tryrecallai/cli login - Connect your coding agents:
npx -y @tryrecallai/cli setup --all, or install the Claude Code plugin - Check that it works:
npx -y @tryrecallai/cli doctor
If you’re building your own agent, there’s a TypeScript SDK (npm install @tryrecallai/sdk), an MCP server, and a plain JSON API that any language can call. The docs walk through all three.
That’s the whole idea. Your agent should remember your project the way a good teammate does: the decisions, the reasons, the dead ends and what changed. Infinimemory is my attempt at giving it that memory.