Skip to main content
Connectors
Coding Agent
OpenCode Auto-Sync

OpenCode Auto-Sync

Backfill older OpenCode threads from disk. For new work, use the native OpenCode plugin's idle-event live capture.

Start with the setup prompt or connection guide. Open the guide for detailed steps.

Overview

Nowledge Mem can discover and import older OpenCode conversation files into Threads when the desktop app and OpenCode run on the same machine. New OpenCode work should use the native plugin, which captures the active session after OpenCode goes idle.

Setup

Open Nowledge Mem and go to:

  1. Threads → Import
  2. Find AI Conversations
  3. Select OpenCode sessions and import

For live capture and autonomous memory workflows inside OpenCode, install the native connector:

Check opencode --version first. On OpenCode 1.x, install globally with:

Command
opencode plugin opencode-nowledge-mem@0.3.10 --global

On OpenCode 2.x, this command manages the global installation:

Command
opencode plugin add opencode-nowledge-mem

Usage

  • Same-machine import backfills older OpenCode sessions into Threads
  • The native connector gives OpenCode Context Bundle, Working Memory, search, save, thread search, idle-event session capture, pre-compaction flush, and handoff tools
  • In remote mode, use the plugin's live capture or run nmem t sync on the machine running OpenCode

More Coding Agent Connectors