---
name: "Give OpenCode project sessions persistent memory with opencode-mem"
slug: "give-opencode-project-sessions-persistent-memory-with-opencode-mem"
description: "Add opencode-mem to OpenCode so coding sessions can store, search, and reuse project memories through a local SQLite and vector index."
github_stars: 1003
verification: "security_reviewed"
source: "https://github.com/tickernelz/opencode-mem"
author: "tickernelz"
publisher_type: "individual"
category: "Developer Tools"
framework: "Custom Agents"
tool_ecosystem:
  github_repo: "tickernelz/opencode-mem"
  github_stars: 1003
  npm_package: "opencode-mem"
  npm_weekly_downloads: 12093
---

# Give OpenCode project sessions persistent memory with opencode-mem

Add opencode-mem to OpenCode so coding sessions can store, search, and reuse project memories through a local SQLite and vector index.

## Prerequisites

OpenCode, opencode-mem plugin, Bun or standard OpenCode plugin runtime

## Installation

Basic usage or getting-started notes:
- This plugin uses USearch for preferred in-memory vector indexing with automatic ExactScan fallback. No custom SQLite build or browser runtime shim is required.
- **Recommended runtime:**
- Bun

- Source: https://github.com/tickernelz/opencode-mem
- Extracted from upstream docs: https://raw.githubusercontent.com/tickernelz/opencode-mem/HEAD/README.md

## Documentation

- https://github.com/tickernelz/opencode-mem

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/give-opencode-project-sessions-persistent-memory-with-opencode-mem/)
