| Property | Description |
|---|---|
namespace | Organizational grouping (e.g., preferences, memory, api_keys) |
key | Unique key within user + namespace |
value | Any JSON data |
visibility | private (owner only) or shared (users with namespace :all permission) |
description | Optional description |
tags | Tags for filtering and search |
relevance_score | Priority for context retrieval (0.0–1.0, default: 1.0) |
encrypted | If true, value is encrypted at rest with Fernet and decrypted on read |
expires_at | Optional expiration time |
encrypted: true when creating or updating a state to store the value encrypted. The plaintext value is stored in encrypted_value (Fernet-encrypted) while value is set to {}. On read, the value is transparently decrypted. This is useful for storing API keys, tokens, or other secrets.
Agent state access is declared per agent via enabled_stores:
retrieve_context tool. Read-write stores additionally provide save_context, update_context, and delete_context.
Endpoints: