Skip to content
  1. Home
  2. AI tools
  3. OpenCode Memory

OpenCode Memory

Persistent vector-backed memory plugin for OpenCode

What it is

Gives OpenCode long-term memory using an embedded local vector database. Sessions are summarised into project memories when idle, recalled automatically later, and a cross-project user profile of preferences is built up.

Good for

  • Recall past decisions across sessions
  • Keep a learned user profile
  • Search project memories

Install or run

"plugin": ["opencode-mem@latest"] in opencode.json

Command as given in the project README. Read the repository before you run anything on your machine.

What you need

OpenCode; a model call for memory extraction

Worth knowingBackground extraction makes extra model requests, so it adds some cost.

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for productivity & knowledge

See the topic →
  • Ollama

    ollama/ollama

    Download and run open LLMs locally behind a simple CLI and API

    ToolGitHub stars: 187k
  • Open WebUI

    open-webui/open-webui

    Self-hosted chat interface for Ollama and OpenAI-compatible APIs

    ToolGitHub stars: 159k
  • llama.cpp

    ggml-org/llama.cpp

    C/C++ LLM inference engine with CLI and OpenAI-compatible server

    ToolGitHub stars: 135k
  • Claude-Mem

    thedotmack/claude-mem

    Records what your agent did and loads a summary into later sessions

    ToolGitHub stars: 117k