Episodes
Where engrams are knowledge (“always do X”), episodes are history (“X happened at 14:32 in the deploy run”). They share infrastructure but answer different questions.
Anatomy
Section titled “Anatomy”id: EPS-2026-0525-014ts: 2026-05-25T14:32:18Zagent: claude-code # who emitted itchannel: session # session | hook | incident | mcp | webhooksummary: "Deploy failed at migration step — column NOT NULL on populated table."session: s_8f3a92 # links episodes from the same sessionEpisodes are append-only. Once written they’re never edited — only superseded by another episode.
When to use episodes vs engrams
Section titled “When to use episodes vs engrams”| Question | Use |
|---|---|
| ”Should I always do X?” | Engram |
| ”What did the agent do last Tuesday?” | Episode |
| ”Why did the deploy fail at 14:32?” | Episode |
| ”What’s the deploy procedure?” | Engram |
| ”How did we resolve this incident?” | Episode (timeline) + engram (learning) |
The natural flow is: episodes capture what happened, then a periodic distillation step promotes recurring patterns into engrams. The MCP tool plur_episode_to_engram does this on demand.
Query the timeline
Section titled “Query the timeline”plur timeline --from "2026-05-20" --to "2026-05-25" --agent claude-codeplur timeline --channel incident --limit 20plur timeline --session s_8f3a92Or, from the agent, via plur_timeline — same parameters, MCP-shaped.
Sessions
Section titled “Sessions”A session groups episodes that happened together. Every adapter starts a session at the beginning of a conversation and ends it when the user wraps up. The session ID flows through every episode emitted in that window, so you can reconstruct a single chat as a coherent timeline.
plur_session_start and plur_session_end are the explicit calls; adapters with lifecycle hooks (Claude Code, OpenClaw) call them for you.
Linking to engrams
Section titled “Linking to engrams”When an engram is created during a session, the episode log records the link:
ts: 2026-05-25T14:40:01Zchannel: learningsummary: "Saved engram ENG-2026-0525-001 from correction."links: [ENG-2026-0525-001]This means every engram has a provenance — you can always trace back to the conversation that produced it. The CLI’s plur history ENG-... follows the chain.
Next: Scopes & domains →