Interaction Profiles
An interaction profile takes effect only when the agent runs in a mesh that has a Memory Store. A profile describes how an agent reads and writes memory. It sets the conversation history and the memories that go in the prompt. It also sets the tools that the agent calls to search and write memory. An agent can use several profiles. Memory is versioned: if you add or remove a profile, you make a new agent version. The profiles read and write a Memory Store.
Quick Reference
Interaction Profile
| Field | Purpose | Guidance |
|---|---|---|
| Name | Identifies the profile | Agents reference profiles by name. Name it for the behavior, for example “support-history” or “user-preferences”. |
| Description | Notes for your team | Optional. |
| Allow expansion | Lets the agent read around results | Gives the agent tools to read further around what an injection or a query tool returned; the chunks near a chunk, the facts under an observation, and the chunks a fact came from. |
Conversation History
| Field | Purpose | Guidance |
|---|---|---|
| Selection | Which turns go in the prompt | Newest puts the most recent turns in the prompt. Most relevant searches past turns with the request text, or with a fixed text you give. Needs a Memory Store with Ingest conversations on. |
| Token budget | Caps the history | The most tokens of history to put in the prompt on each request. Long histories raise cost and can degrade focus. |
Context Injections
| Field | Purpose | Guidance |
|---|---|---|
| Name | Identifies the injection | Shown in traces as the memory section name. |
| Context documentation | Tells the agent what the memories are | A sentence placed above the injected memories so the model knows how to use them. |
| Records | Which record types to search | Any of Facts, Observations and Chunks. |
| Tagged | Which memories qualify | All memories, or only those with given tags. A tag value can be fixed or come from a request tag, which selects a user’s slice. A request tag here means the tags of the request and of its conversation together. See Tags. |
| Searched with | The query text | The request, or a fixed text you give. |
| Token budget | Caps the injection | The most tokens of memories to add on each request. |
Query Tools
| Field | Purpose | Guidance |
|---|---|---|
| Tool name | The tool the agent calls | A verb phrase, for example |
| Tool instructions | When to call it | Shown to the agent as the tool description. Say what the memory holds and when a search helps. |
| Records and Tagged | Search scope | Same as for context injections. |
| Returns | Result size | One amount of tokens, or named effort levels such as “quick” and “thorough”, each with its own token count, that the agent chooses from. |
Write Tools
| Field | Purpose | Guidance |
|---|---|---|
| Tool name | The tool the agent calls | A verb phrase, for example |
| Tool instructions | When to write | Shown to the agent as the tool description. Say what is worth remembering. |
| Tagged | Tags on written memories | The tags stamped on each fact the agent writes. Values can be fixed, or copied from request tags by key, or all request tags can be copied. Request tags here include the conversation tags. |
Prompt versus tools
Conversation history and context injections add text to every request. They need no tool call.
Query tools and write tools run only when the agent calls them.
Use an injection for memories that every request needs. Use a tool when the agent must decide whether to read or write memory.
Selecting a user’s memories
Tags select the memories of one user. Memory reads the conversation tags and the request tags together, so either can hold the user tag. Follow these steps.
- Tag the conversation or the request with
user=alice. In the Conversation API, set"tags": [{"name": "user", "value": "alice"}]in the body. In AG-UI and MCP, send the headerPartite-Conversation-Tags: user=aliceorPartite-Request-Tags: user=alice. When callers come through an access point, set the tag from their token with a boundary, so they can’t read other users’ memories. - A Sliced scope that uses the key
userfiles each new fact underuser=alice. - An injection has a tag value that comes from the request tag
user. This injection reads only the memories of Alice.
For more about request tags, see Conversation API.