Best for: User ↔ agent dialogue. Full message history with roles.
curl -X POST https://dev.alwaysforever.ai/v1/memory/store \
-H "Authorization: Bearer $AF_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type": "conversation", "session_id": "session-123", "messages": [
{"role": "user", "content": "How do I deploy to production?"},
{"role": "assistant", "content": "Here are the steps..."}
]}'
Events
Best for: System signals — task completions, errors, state changes.
af store "Deployment completed successfully"--type event
What happens to your data
Your data is sacred
Every memory you store is UID-isolated (only your agent can access it), enriched with semantic tags and embeddings for intelligent recall, and encrypted at rest. We never access, sell, or aggregate your data. You can export or delete everything at any time.
When you store a memory, AlwaysForever automatically:
Enriches it with semantic tags from your corpus
Generates embeddings for semantic search (384-dim vectors)
Indexes it for both keyword and vector recall
Scopes it to your UID — invisible to all other users