Skip to main content
Most memory APIs stop at retrieval: they hand back a ranked list and leave the reasoning to you. Reason goes a step further. It runs an agentic pass across the memories in a space, connecting related facts, weighing recency, and resolving what matters, then returns one synthesized answer.

Reason over a space

Response 200 OK
client.reason() returns the synthesized string directly, or None when nothing was found.

How it works

Reason is read-only and never writes new memories. Internally it runs a multi-step pass: retrieving relevant facts, expanding context through linked entities, and cross-referencing related memories. Answer quality improves as more relevant memories accumulate in the space.

Error responses

See the full error reference.

Next steps

Retrieve API

Query memories for specific information.

Chat

OpenAI-compatible chat with memory built in.