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.

