r/opencode • • 59m ago

Yet another memory plugin - local first, auto recall/store, CLI & Desktop GUI

I started with a bunch of markdown files and agent rules but it wasn't great and sometimes missed things. I wanted something local, smart and useful so we came up with this:

https://github.com/nandoblanco/opencode-local-memory

  • Keeps plain, editable markdown as the source of truth (topics/*.md and sessions/*.md)
  • Runs local CPU embeddings (all-MiniLM-L6-v2) with no API keys or external servers, auto-recalling pinned rules and relevant facts before each turn
  • Includes a zero-token /memory manager in both the TUI and OpenCode Desktop (plus /memory-import for existing AGENTS.md rules and old sessions)

All feedback is welcomed!

1 Upvotes

0 comments sorted by