Claude Memory API: What Persists and What You Must Store
Separate Claude app memory, Messages requests, the client-side memory tool, and managed agent stores. Decide who owns the record before building a feature that depends on remembering.
Updated 6 min read
Claude API memory depends on which interface your application uses: ordinary Messages requests require you to supply conversation context, the client-side memory tool uses storage your application provides, and Managed Agents offer attachable memory stores. None should be treated as automatic access to the personal memory in your Claude chat account.
An API is the interface software calls to use a service. If your actual need is to keep project decisions and progress available to supported assistants, fenbs provides a separate shared work record; you do not need to build a memory engine just to maintain a handoff.
Which kind of persistence are you asking for?
First name the thing that must survive. A conversation needs earlier messages. A recurring task needs current project facts. A user preference needs a correctable entry. These can all look like “memory” in a demo, but they have different owners and different rules for change.
| Mechanism | What it provides | What you still decide |
|---|---|---|
| Messages request | The messages and context supplied for that request. | Which earlier turns and current facts to send. |
| Client-side memory tool | Operations on a memory store implemented by your application. | Storage, separation, review, and deletion. |
| Managed Agents memory store | Persistent documents attached to agent sessions. | Which store a session can access and who can change it. |
| Prompt cache | Reuse of matching prompt content. | The durable record and what the next request includes. |
| Claude app memory | Remembered context within the Claude app experience. | How app settings apply; do not assume an API bridge. |
Choose the smallest mechanism that meets the requirement. A prototype that needs to continue one conversation may only need an application-held transcript. A product serving several clients needs a deliberate separation between their records before it needs more sophisticated recall.
What does an ordinary Messages request remember?
Anthropic calls the Messages API (opens in a new tab) stateless: you send prior turns in the messages input when you want them included. A successful previous response does not mean a later request automatically receives that conversation.
Your application should therefore choose what to save and what to send next. For a simple assistant, that may be recent turns plus a short current-state summary. Store the original evidence separately when exact wording matters, rather than making the summary the only surviving version.
Imagine a design-review application. The first request considers two layouts; a person then approves one. The next request needs the accepted layout and the reason, not merely an older conversation in which both options sounded promising. The model cannot recover a decision your application leaves out.
Keep the introductory Claude API guide for authentication and general usage; here the question is what your application makes available on a later request.
What do the memory tool and managed stores change?
The memory tool (opens in a new tab) lets Claude request reads and changes to memory files. Your application executes those operations against storage it controls. Reusing that store makes information available across conversations, but the handler still needs to enforce the permitted storage boundary.
The separately documented Managed Agents memory stores (opens in a new tab) provide persistent documents that you attach to sessions. They support reading and editing through the API and offer versioned changes. Check the current documentation for availability, setup, and access options instead of treating this as the same interface as the client-side tool.
For either approach, start with a clear ownership model. Which person or project does a store belong to? Who may correct a false entry? Can a background task write into a record other sessions will later trust? Answer those questions before allowing automatic writes.
Use a separate read-only reference record when a session should consult an approved policy without rewriting it. Keep provisional observations distinct from accepted facts. A persistent mistake can influence many later answers, so write access deserves the same care as read access.
Are caching, uploaded files, and app memory interchangeable?
No. Anthropic’s prompt caching documentation (opens in a new tab) describes reuse of matching prompt content to reduce repeated processing. A cache is not your authoritative project record or a promise that the next request will retrieve the latest decision.
The Files API (opens in a new tab) provides reusable file references. Your application still decides which file belongs to which workflow and includes the reference where needed. Storing a document does not establish that its contents are current or approved.
The Claude app memory guide (opens in a new tab) describes its own controls and conversational experience. Keep that separate from your software’s storage design. Do not ask users to assume that changing a memory in their chat account will update a record your application independently stored.
For the app side, see Claude project memory; for organizing a deliberate record, see the separate memory bank guide. Neither replaces checking the exact API interface your software calls.
What should your application store deliberately?
Save enough to explain and correct the next action. A useful entry includes the fact, its scope, its source, and whether a person has accepted it. Add a review date for information that becomes stale. Avoid making a free-form model summary the only record of a business commitment.
- Ownership: the user, team, or project the entry belongs to.
- Meaning: an observed fact, a preference, an approved decision, or an unresolved proposal.
- Evidence: the source and relevant date, with a way to inspect the original.
- Correction: who can revise it and what happens to an older version.
- Continuation: the next action and any checks that remain unfinished.
In the design-review example, record the accepted layout as a decision and the contrast check as unfinished work. A person should be able to correct either without reconstructing a long chat. If your need is this shared work record, fenbs already separates tasks, Decisions and rules, and checkpoints; see how it works.
Keep project continuity outside the application
Use fenbs for the approved facts, decisions, and progress supported assistants need to continue a project. Ask the connected assistant to read the project context before working and save its checkpoint afterward. fenbs does not host your model or provide your application’s memory storage engine.
Create a free accountFree for one person · No credit card · Works with Claude, ChatGPT, Cursor and more
How to do this with fenbs
- Create a free account, free for one person with no credit card, and add an active project.
- Add current tasks, approved decisions, and the project notes needed to understand the work.
- Connect a supported assistant through the guide on Integrations, using browser sign-in.
- Ask it to read the project context before acting and to keep proposals separate from choices people have made.
- Save progress before stopping, including the next step and what has not been verified.
fenbs is not the right fit when you need to embed a custom memory service inside an application or manage an arbitrary database of end-user preferences. It is useful when the problem is keeping the team’s work readable across supported AI apps.
How do you test whether the right state survives?
Use a small test record with a distinctive fictional decision. End the session and start a genuinely separate request or session using your intended setup. Check that the expected fact is available, that a correction replaces the current answer, and that a different user cannot retrieve it.
Also test an absent fact. The assistant should say it lacks the information instead of inventing continuity. Inspect the supplied context and tool results when diagnosing failures; fluent wording alone cannot tell you which storage layer produced an answer.
Document what your application stores and what it merely caches. Keep the difference understandable to the person correcting the record. The AI memory hub explains the surrounding concepts; reliable persistence starts with a record whose owner and source are clear.