Examples

Agent with memory

Grant the capability:

# axl-config/agents/assistant/agent.toml
toolsets = ["web", "memory"]

That alone works. Add memory.toml only to change the defaults:

# axl-config/agents/assistant/memory.toml
user_prompt_max = 15
session_prompt_max = 20

[ttl]
preference = 365
task_state = 30

[save_defaults]
default_confidence = 0.8
default_scope = "user"

default_scope = "user" is the change that makes preferences follow a person between conversations. Leave it at session when most of what the agent learns belongs to one task.

Next

On this page