#196196th of 389 in Skills, plugins and prompts

opencode-mem

Persistent vector-backed memory plugin for OpenCode coding agent sessions

Stars
1.9k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
TypeScript
Stars, last 29 weeks+1,368
21 Apr 2026: 486 stars28 Apr 2026: 536 stars5 May 2026: 600 stars12 May 2026: 645 stars19 May 2026: 687 stars26 May 2026: 738 stars2 Jun 2026: 783 stars9 Jun 2026: 841 stars16 Jun 2026: 882 stars23 Jun 2026: 925 stars30 Jun 2026: 970 stars7 Jul 2026: 1,007 stars14 Jul 2026: 1,069 stars21 Jul 2026: 1,168 stars28 Jul 2026: 1,200 stars4 Aug 2026: 1,248 stars11 Aug 2026: 1,300 stars18 Aug 2026: 1,340 stars25 Aug 2026: 1,485 stars1 Sept 2026: 1,580 stars8 Sept 2026: 1,605 stars15 Sept 2026: 1,627 stars22 Sept 2026: 1,651 stars29 Sept 2026: 1,679 stars6 Oct 2026: 1,704 stars13 Oct 2026: 1,730 stars20 Oct 2026: 1,766 stars27 Oct 2026: 1,787 stars3 Nov 2026: 1,818 stars10 Nov 2026: 1,854 stars

486 on 21 Apr 20261,854 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

OpenCode plugin that captures project memories when a session goes idle, stores them in an embedded Turso/libSQL database with exact cosine vector search, and injects relevant ones into later sessions. It also learns a cross-project user profile and ships a web UI at 127.0.0.1:4747 for browsing memories, skills and stats. Embeddings run locally on CPU or through an OpenAI-compatible API.

Who it is for: OpenCode users who want long-term memory across coding sessions

Strengths

  • Embedded Turso/libSQL storage, so no separate vector database to run
  • Local CPU embeddings with 12+ models, or any OpenAI-compatible embeddings API
  • Redacts recognizable credentials and honors <private> tags before auto-capture
  • Optional AES-256-GCM encryption at rest and Markdown vault export/import

Weaknesses

  • Intel Mac (darwin/x64) is not supported
  • On Windows only one OpenCode session can own the memory databases
  • Auto-capture needs a provider that returns structured or tool-call output
  • Credential redaction is partial and does not scan existing stored memories

What it needs

  • RAM ≥ 0.5 GB
  • no GPU
  • Needs OpenCode, Bun, @tursodatabase/database, @huggingface/transformers
  • Models: Xenova/nomic-embed-text-v1, OpenAI Chat Completions, OpenAI Responses, Anthropic, MiniMax
  • port 4747

Quick answers

Is opencode-mem open source?

Yes. Its code is on GitHub under the MIT license.

Also in Skills, plugins and prompts

See all 389
Also in Skills, plugins and prompts
RankProjectScore
1claude-memPersistent cross-session memory plugin for Claude Code and other coding agents116.1k stars+16,557 (+17%) in 30 daysApache-2.097 out of 100
2impeccableDesign skill with 24 slash commands for AI coding agents' frontend output Live demo ↗ (opens in a new tab)108k stars+28,186 (+35%) in 30 daysApache-2.097 out of 100
3gstackMarkdown slash-command skills that give Claude Code planning, review, QA and ship roles141.2k stars+5,515 (+4.1%) in 30 daysMIT96 out of 100
#4rufloAgent harness adding swarms, memory and hooks to Claude Code and Codex Live demo ↗ (opens in a new tab)81.5k stars+7,413 (+10%) in 30 daysMIT96 out of 100
#5cavemanShortens coding-agent replies and compresses tool output before the model reads it Live demo ↗ (opens in a new tab)119k stars+8,390 (+7.6%) in 30 daysApache-2.095 out of 100