mrkeyoor.comAsk

tickernelz/opencode-memtested 12 Oct 2026commit 15fa3ed

opencode-mem review

OpenCode Memory is worth a controlled evaluation if you want persistent context inside OpenCode and can accept its provider and platform requirements.

  • Install 18 s
  • Build failed
742/742tests passed
  • 500 packages
LLM Toolsevaluationupdated 24 Oct 2026
+22stars / 7d

OpenCode Memory is an OpenCode plugin for retaining project context and user preferences across sessions. Its README documents local embedded Turso storage with exact cosine vector search, manual memory tools, automatic capture, and a browser interface. Local storage does not mean every operation stays local: automatic capture and profile learning require a configured AI provider.

Verdict

OpenCode Memory is worth a controlled evaluation if you want persistent context inside OpenCode and can accept its provider and platform requirements. In our 2026-10-12 run at 15fa3ed, the test command succeeded with 742 reported passes, 4 skips, and 0 failures, while the source build stopped at a missing svelte-check command. That build result leaves the complete source workflow unverified; it does not establish that the published plugin is broken. Start with disposable project memory, verify what gets captured and retrieved, and check backups before migrating existing history.

We ran it

Lab card: what happened when we ran opencode-mem
Lab card from our sandbox run
Screenshot of opencode-mem (github.com/tickernelz/opencode-mem)
github.com/tickernelz/opencode-mem
Install✓ · 18s500 packages · 847 MB
Build✗ · 11s
Tests✓ · 155s742 passed · 0 failed · 4 skipped of 742 (bun test)
Repo367 files~53,875 lines of source · 2.4 MB · 4 CI workflows · tests dir

Answers from our run

Does opencode-mem build from source?

Dependencies installed in 18 seconds (500 packages), and the build failed. We cloned commit 15fa3ed into a clean Debian container with 3 CPUs and no project-specific setup.

Do opencode-mem's tests pass?

Yes. The project's own test command finished in 155 seconds and reported 742 passed, 0 failed, 4 skipped (bun test).

Who should not use opencode-mem?

Intel Mac users: the README says local persistence lacks a required darwin/x64 native binding. Remote embeddings do not replace that database dependency.

What are the alternatives to opencode-mem?

Mem0, Supermemory. OpenCode Memory is worth a controlled evaluation if you want persistent context inside OpenCode and can accept its provider and platform requirements.

Setup3/5Dependency installation succeeded in our dated run and package setup is documented, but the source build stopped at missing svelte-check. OpenCode loading was not checked.
Docs4/5The supplied README gives specific platform exclusions, provider requirements, configuration paths, migration safeguards, and export limitations.
Community2/5Release and issue extracts show multiple contributors and ongoing activity. They do not establish adoption, response times, or dependable support.
Maturity3/5The recorded test command succeeded and migration protections are documented, but the full build, installed integration, retrieval workloads, and long-term operation remain unverified.

Who it’s for

OpenCode users who want to retrieve decisions and recurring fixes from earlier sessions.
Developers on supported platforms who want local persistence and a choice of local or remote embeddings.
Users willing to inspect captured memories and verify retrieval before relying on it.
Developers who need documented export, import, and recovery options when moving projects.

Who it’s NOT for

Intel Mac users: the README says local persistence lacks a required darwin/x64 native binding. Remote embeddings do not replace that database dependency.
Users who require automatic capture without a structured-output AI provider.
Contributors who need a verified complete source build on the recorded setup: our build stopped because svelte-check was unavailable.
Teams needing demonstrated retrieval accuracy, production workload performance, or long-term storage measurements. Our recorded run establishes none of those.
Windows users who need concurrent OpenCode sessions sharing the same memory databases: the README documents single-session ownership on Windows.

Setup reality

In our recorded run on 2026-10-12 at commit 15fa3ed9b97e74ab77baaef12e30a7786fcf53d0, the dependency-install step succeeded in about 18 seconds. The harness recorded 847 MB and a dependency count of 500; Bun's install tail separately reported 450 packages installed. Those are different recorded counts, not a reconciled package inventory.

The build exited 127 after about 11 seconds because the web build could not find svelte-check. The test command exited 0 after about 155 seconds; its output reported 742 passes, 4 skips, and 0 failures across 105 files. These are recorded runner counts, not independently reconciled exhaustive unique coverage.

The README distinguishes published-package installation through OpenCode from source installation. OpenCode v2 uses the plugins list; v1 uses plugin. Default local embeddings download a model on first use. Our dependency installation does not establish that this model downloaded, that OpenCode loaded the plugin, or that an installed binary was checked.

The recorded checkout contained 367 files, roughly 53,875 source lines, and 2.4 MB. The scan found 4 CI workflows, a tests directory, and no Dockerfile or Compose file.

Persistent memory needs a capture policy as well as local storage

OpenCode Memory can keep project decisions and recurring fixes available across sessions. The README describes local Turso databases, a separate user-preference profile, manual memory tools, and a browser timeline at http://127.0.0.1:4747. These are documented capabilities; our recorded run did not measure whether its memories improved coding outcomes.

Stable instructions still belong in AGENTS.md. Retrieved memory suits context that grows through work, where relevance varies by session. On OpenCode v2, the README says automatic memory enters the model's system context rather than becoming an authored user prompt or a stored chat-transcript entry.

What our recorded run establishes

Our stored run is dated 2026-10-12T03:16:51.279Z and targets commit 15fa3ed9b97e74ab77baaef12e30a7786fcf53d0, dated 2026-10-10T22:45:20+02:00. The recorded sandbox configuration was 3 CPUs, 8 GB of memory, and image lab-node:22. That image label does not independently establish the runtime version. The install output identifies Bun v1.4.3.

The dependency-install step exited 0 after 18.059 seconds. The harness recorded 847 MB and a dependency count of 500, while the install tail reported 450 packages installed in 2.63 seconds. The step duration and Bun's internal duration measure different scopes; the package counts have not been reconciled.

The build exited 127 after 10.740 seconds. Its command reached the web build, where the shell reported svelte-check: command not found. The supplied tail does not establish why that command was missing. It also does not support the earlier diagnosis about unresolved React, Tailwind, or related packages.

The test step exited 0 after 155.076 seconds. Bun's output reported 742 passes, 4 skips, 0 failures, and 5,056 expectation calls, with 746 tests across 105 files. Its internal duration was 150.66 seconds. The skipped cases concern Windows cleanup and Git-command trust handling. These are runner-reported results; no new execution or complete-log reconciliation established exhaustive unique coverage.

Dependency installation, a successful test command, and a complete build are separate results. This record contains no installed-plugin or installed-binary check, confirmed embedding-model download, retrieval-quality benchmark, or representative production workload. No audit result was recorded, so advisory totals and audit coverage are unknown.

Installation and platform limits

According to the README, OpenCode installs the published package's runtime dependencies automatically. OpenCode v2 uses the native plugins list and loads the TUI companion automatically for a normal local setup. OpenCode v1 uses plugin. A source checkout requires dependency installation and a build before configuring OpenCode to load the checkout directory.

Local embeddings use @huggingface/transformers with ONNX and download the selected model on first use. The README pins onnxruntime-node@1.30.0 on supported platforms. It explicitly excludes Intel Mac because both the database dependency and fixed ONNX Runtime releases lack the required native binding. Switching embeddings to a remote service does not supply the missing local database binding.

The README documents CI coverage for Linux, Windows, and Apple Silicon macOS runners. That is a maintainer statement about its matrix, not compatibility proven by our sandbox. It also documents one OpenCode session owning the memory databases at a time on Windows; macOS and Linux sharing uses Turso's experimental multiprocess_wal mode.

Automatic capture requires a provider

Manual search, add, and list operations do not require an auto-capture provider. Automatic extraction and user-profile learning do require a provider capable of structured or tool-call output. Depending on that configuration, background requests can send conversation context to a remote model even when databases and embeddings remain local.

Before enabling automatic capture, decide which provider may receive project context. A useful first evaluation is to add a few disposable memories manually, search for them in a later session, and inspect the browser timeline. This is a suggested evaluation, not a workload we performed.

Keep the browser on 127.0.0.1 unless you intend network access. The README requires webServerApiToken for non-loopback API access and separately documents HTTP Basic Auth. Those documented controls do not constitute a security assessment.

The old DiskANN report is historical

Issue 277 reported a 542 MB shard for about 656 memories with 2,048-dimensional embeddings on version 2.22.2, with suspected applicability through v2.25.0. The reporter described reducing it to 73.3 MB by rebuilding the indexes. Those are the reporter's measurements, not ours.

The issue was closed on 2026-10-01 after an architecture change. A collaborator states that the move to @tursodatabase/database removed DiskANN and that startup conversion rewrites existing DiskANN shards. The README at our recorded commit corroborates exact cosine search through vector_distance_cos, without a DiskANN or approximate index. The historical amplification report therefore should not be presented as an unresolved defect of this commit.

That change does not establish current storage efficiency or search latency at scale. Our run measured neither. Choose an embedding configuration and measure database growth and retrieval on your own representative data before retaining substantial history.

Recovery is documented, but still needs verification

The README describes backups before engine conversion, migration locks, recovery after interrupted re-embedding, and blocked writes for incompatible dimensions. Our test tail includes passing migration and dimension-mismatch cases. That supports those particular test observations, not a guarantee that every migration will preserve data.

For moved projects, the documented tools can list shards and preview migration. Export omits vectors; import recomputes embeddings using the destination configuration. Export files remain plaintext and may contain memory text, identity details, repository URLs, and absolute paths. The README says profiles and prompt history are excluded.

An .opencode-mem-project marker lets nested repositories share one project memory. Use it only where that shared retrieval scope is intentional.

The v2.25.0 release is historical context, not the identity of our October checkout. Its notes list provider-error, data-integrity, Windows, and ANN fixes. Neither those release notes nor an issue count establishes broad adoption or production reliability.

How the scores work

Scores describe the supplied evidence, not benchmark performance or adoption. On this five-point rubric, 1 means substantial documented obstacles or little supporting evidence; 2 means limited support with important unresolved questions; 3 means useful support with material verification gaps; 4 means detailed documentation or a successfully observed workflow within a stated scope; 5 requires broader corroboration than this record provides. An unknown is not proof of poor product quality, but it cannot justify a high evidence-based rating.

Setup receives 3 because dependency installation succeeded and published-package setup is documented, while our complete source build failed. Documentation receives 4 for specific platform, provider, migration, and recovery instructions. Community receives 2 because the extracts show contributors and issue activity without establishing support responsiveness or adoption. Maturity receives 3 because tests and recovery mechanisms provide useful evidence while installation in OpenCode, workload behavior, and long-term operation remain unverified.

Alternatives

ProjectWhat it isPick it when
Mem0 gh↗A memory layer for AI assistants and applications, with library, self-hosted server, and managed platform options.Choose it when you are building memory into an application and want to choose between an SDK, your own server, and a managed service. These are integration and deployment options, not evidence of a drop-in OpenCode replacement.
Supermemory gh↗A memory and retrieval system with application APIs, document connectors, and assistant plugins.Choose it when your evaluation needs document retrieval and connectors alongside conversational memory, or plugins for several assistants. Its README lists an OpenCode plugin; we did not test that integration.

What people are saying

  1. [github-trending] tickernelz/opencode-mem

Sources

  1. OpenCode Memory README
  2. OpenCode Memory v2.25.0 release
  3. DiskANN shard growth issue 277
  4. OpenCode Memory issues and pull requests

More llm tools reviews