What profiles are
Profiles are a convenience layer over memory. Instead of running multiple search calls to gather broad context, call a single endpoint:Profile sections
The response has two sections:| Section | Contents | Source |
|---|---|---|
static | Stable preferences and facts | Older memories with category preference or fact |
dynamic | Recent context | Memories from the last 14 days across all categories |
When to use profiles
Profiles work well for:- Application startup - load broad user context in a single call
- Personalization - tailor content or UI based on known preferences
- Content generation - provide a persona or style guide derived from memory
- Support systems - give agents background before the user explains anything
Profiles vs search
| Profile | Search | |
|---|---|---|
| Use case | Broad context | Specific retrieval |
| Query | None (returns everything relevant) | Natural language query |
| Results | Two arrays of strings | Ranked memory objects with relevance scores |
| Caching | Cached for performance | Always fresh |
Scoping by scope and project
Pass ascope query parameter to build profile context from one isolated memory container only:
scope to build a profile from unscoped/global memories only.
You can also add project to narrow the profile inside that scope:
user_123.