For engineering and operations teams that write down why, and want agents to read it.
Updated
Decision records and incident postmortems explain why things are the way they are, which an agent cannot infer from code or schema. Record each as an Intelligence Trace with process_event, tagged with the entities it concerns and linked to its source, and agents can recall what was decided or what went wrong about any entity, thread or team.
Call process_event with the document text, an eventType of document or other, the participants, and a source pointer to where the original lives. Use a threadId for a series, such as every decision about one service. Set source.externalId so a retry does not duplicate the trace.
{
"text": "ADR-014: Move billing reads to the replica. Context: ...",
"eventType": "document",
"participants": ["platform-team"],
"source": { "type": "document", "uri": "docs/adr/014-billing-replica.md", "externalId": "adr-014" },
"threadId": "adr-billing"
}When a later record supersedes or extends an earlier one, pass continuesTraceId. The trace is never edited; the chain is the history. Strong learningCandidates in the result can be saved with create_learning.
recall_traces takes an entity, a thread id, a team and a time range, and returns each trace with a short excerpt. get_trace returns the full narrative.
Use brain-recall: what decisions have we made about the billing service, newest first?| Trace (process_event) | Wiki page (sync) | |
|---|---|---|
| What is stored | The interpretation, tagged with entities, plus a pointer to the source | The document verbatim |
| Best for | Asking what was decided or what happened about an entity | Reading or searching the full text |
| Changes | Immutable; a follow-up is a new trace | A re-sync stores a new version |