mnemo

OpenCode memory surfaces

Native model

OpenCode V2 documents instructions as privileged context. It combines built-in context, discovered AGENTS.md files, and dynamic sources such as skills, references, MCP, and session context. For durable project guidance, OpenCode recommends AGENTS.md.

OpenCode does not document a separate user-facing semantic memory database. Its session instruction deltas are runtime/session infrastructure and should not be treated as the primary migration source.

Locations

Global:

Project:

Shape and retrieval

Conversion notes for mnemo

Recommended import order:

  1. Project AGENTS.md files from root/nested directories.
  2. Global ~/.config/opencode/AGENTS.md only with explicit user-scope opt-in.
  3. Session internals should be ignored unless OpenCode later exposes a documented export.

Suggested mapping:

Important importer behavior:

Sources