Most AI tools start every conversation with a blank slate. That works fine for one-off questions, but it breaks down when an assistant does ongoing work. If your assistant writes weekly digests, it shouldn't need a reminder every week about how you want them formatted. If it manages tasks or writes code, it should already know your team's conventions.
Toolbelt solves this through three complementary mechanisms that give your assistant durable, updatable context across conversations.
The three layers of persistent context#
Semantic facts and preferences, retrieved automatically at the start of each conversation. Best for user-level preferences and recurring context.
Durable files your assistant reads and writes at runtime. Best for structured state, preferences files, and data that the assistant actively manages.
Your assistant's operating rules, written in plain language. Editable live by you or the assistant itself. Best for standing behavioral rules and output formats.
How they work together#
Think of these three mechanisms as complementary layers:
- Instructions set the baseline — the rules your assistant always follows, such as "always structure reports with an executive summary first" or "respond concisely with bullet points."
- Workspace Storage holds structured state — files like
preferences.mdorteam-conventions.mdthat the assistant reads before acting and updates when you give it new rules. - Memories surface relevant facts automatically — the assistant retrieves the most semantically relevant memories at the start of each conversation, so context you've shared before isn't lost.
You do not need to use all three simultaneously. Many assistants get everything they need from instructions alone. But for assistants that adapt over time or serve multiple team members with different needs, combining all three gives you the most flexible setup.
The runtime update pattern#
Your assistant can update its own memory at runtime during a normal conversation — without any code change or redeployment.
For example, say you're working with a reporting assistant and tell it:
"From now on, always include a risks section at the end of every report, and format the exec summary as three bullet points max."
The assistant can:
- Add this as a Memory entry for immediate future recall.
- Write a new rule to its
preferences.mdin Workspace Storage. - Ask you whether to update its Instructions to make this permanent.
On the next run — scheduled or manual — the assistant reads that context before it acts, and the new format is applied automatically.
For rules you want applied universally and permanently, updating Instructions is the most reliable path. For user-specific preferences or frequently changing context, Memories and Workspace Storage are more flexible.
When to use each mechanism#
| Situation | Best mechanism |
|---|---|
| "Always respond in bullet points" | Instructions |
| "This team uses conventional commits: feat:, fix:, chore:" | Instructions or Storage |
| "My timezone is US/Eastern" | Memories |
| "For these weekly reports, always include sections X, Y, Z" | Storage (preferences.md) or Memories |
| Tracking state across multiple automated workflow runs | Storage |
| Per-user preferences in a shared organization assistant | Memories (scoped per user) |
The Memories store (Mem0)#
Memories in Toolbelt are powered by Mem0, an open-source memory layer for AI agents. Each memory is stored and indexed so the assistant can retrieve only the most relevant memories for a given conversation — not the entire history at once.
Memories are scoped to each assistant workspace. This keeps different assistants' contexts cleanly isolated from one another.
How search and relevance work#
When you start a conversation, your assistant automatically searches its memory store for context relevant to your first message. The most relevant memories are injected into the assistant's context window before the conversation begins — giving it instant recall without you having to repeat yourself.
You can also search your memories manually from the Memories tab at any time.
Managing memories#
In the dashboard#
Open your assistant and navigate to the Memories tab. From there you can:
- View all memories stored for this assistant.
- Search across your memories by keyword or concept.
- Add a new memory manually.
- Edit an existing memory.
- Delete a memory you no longer need.
During a conversation#
You can ask your assistant to remember something directly using natural language:
"Remember that I prefer code examples in TypeScript."
"Don't forget — our deployment window is every Tuesday at 2:00 AM UTC."
The assistant will create a memory entry automatically using its native toolbelt tools.
What makes a good memory?#
Memories work best when they capture durable facts rather than transient conversation details:
- Preferences — "I prefer concise explanations with bullet points."
- Recurring context — "My primary database is PostgreSQL 16 on AWS RDS."
- Team conventions — "We use conventional commits: feat:, fix:, chore:."
- Personal details — "My timezone is US/Eastern."
Avoid storing things that change frequently or are specific to a single temporary conversation.
API reference#
List all memories#
GET /api/memories?workspaceId=:workspaceId
Returns all memories stored for the specified assistant.
Search memories#
POST /api/memories/search
Request body
{
"workspaceId": "ws_abc123",
"query": "TypeScript preferences"
}
Returns the most semantically relevant memories for the given query.
Add a memory#
POST /api/memories
Request body
{
"workspaceId": "ws_abc123",
"content": "The user prefers TypeScript with strict mode enabled."
}
Update a memory#
PUT /api/memories/:id
Request body
{
"content": "Updated memory content."
}
Delete a memory#
DELETE /api/memories/:id
Permanently removes the specified memory.
Deleted memories cannot be recovered. If you need to update a memory rather than remove it, use the update endpoint (PUT /api/memories/:id) instead.
Privacy, data isolation, and plans#
- Core feature on all plans: Memories, workspace storage, and instructions are available on every Toolbelt plan — they are not gated behind enterprise tiers. Plan differences reflect credit capacity, not feature availability.
- Data privacy: Memories are stored within your organization's data boundary. They are accessible only to assistants and users within your organization. Toolbelt does not use your memories to train AI models.
