tickernelz/opencode-mem
Coding agents are stateless by default, which means every new session starts from zero. This plugin changes that for OpenCode by giving agents a local vector store they can read and write across sessions. The practical win: an agent that knows your project conventions, your preferred patterns, your recent refactors — without you stuffing that into a system prompt every time. The local-first design is the differentiator worth flagging. Memory stays on your machine, which sidesteps the obvious concern about sensitive codebase context leaking to a cloud memory service. That said, local vector search means retrieval quality depends on how well the embeddings are configured — a bad chunking strategy will surface irrelevant past context more often than useful context, and tuning that is not a zero-effort task. Worth forking and experimenting with if you spend real time in OpenCode sessions and hate the cold-start problem. -> Best for: solo founder or indie hacker doing heavy daily coding sessions with agent tooling