record
Capture reasoning and decisions as structured episodes to build memory for AI agents. Records observations, decisions, tensions, questions, and outcomes with context for session-long pattern accumulation and compression.
Instructions
Record a typed episode to memory. Call this when important decisions are made, patterns are noticed, tensions are identified, questions arise, or outcomes are observed. Record the reasoning, not just the fact — 'Chose X because Y' is more valuable than 'using X'. Episodes accumulate during a session and serve as raw material for compression into the continuity file at session end.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The episode content — what happened, what was observed, decided, or questioned. | |
| episode_type | Yes | Episode type. observation=pattern/insight, decision=committed choice, tension=conflict/tradeoff, question=open question, outcome=result of action, context=environmental/state info. | |
| source | No | Agent or source attribution. Defaults to 'agent'. | agent |
| metadata | No | Optional JSON metadata to attach to the episode. |