Harness Notes

Memories

Updated 2026-11-22,

On this page

Memory here means notes the harness saves from your sessions and brings back in later ones. Instruction files you write yourself, such as AGENTS.md or CLAUDE.md, are on the Instructions page.

No built-in memory

OpenCode

checked at 2.0.29

OpenCode 2.x has no built-in memory either: nothing is saved from one session for a later one, so there is nothing to turn on or off. Use AGENTS.md files for persistent guidance, or a plugin written for the V2 plugin API.

Community memory plugins such as opencode-supermemory target the 1.x plugin API; V2 uses a new plugin API.

Add the fact to AGENTS.md (project) or ~/.config/opencode/AGENTS.md (personal), or ask the agent to edit it. Changes apply to a running session on the next prompt.

Notes and sources

OpenCode, 2 sources
Is it on, and how do I switch it?, 2
Make it remember something, 1