Plutarch01

Long-memory plugin for OpenCode with context-mode interop

11
0
100% credibility
Found Apr 03, 2026 at 11 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

Opencode-lcm is a plugin for the OpenCode AI assistant that archives past conversation context into searchable summaries and automatically recalls relevant details during long sessions.

How It Works

1
📖 Discover the memory helper

While chatting with your AI coding assistant, you learn about a simple add-on that helps it remember old conversations without forgetting details.

2
⚙️ Add it to your setup

You update your assistant's preferences to include this memory feature, and it starts working right away with no hassle.

3
💬 Keep chatting normally

You continue your long talks with the AI as usual, and it quietly saves summaries of older parts behind the scenes.

4
Smart recall happens

When something from the past matters now, the AI automatically brings back just the right old details to keep things flowing smoothly.

5
🔍 Search past chats

Need something specific from before? You ask the AI to find and show old notes or files from your history.

🎉 Never forget again

Your AI now handles endless conversations perfectly, helping you build projects faster without losing track.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 11 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is opencode-lcm?

Opencode-lcm is a TypeScript plugin for OpenCode that implements lossless context memory (LCM), archiving older chat context into a local SQLite database as searchable summaries, messages, and artifacts. It solves the problem of vanishing details in long AI sessions by automatically recalling only relevant bits into prompts via TF-IDF search across session, root, or worktree scopes. Users get leaner prompts, resume notes during compaction, and context-mode interop to cut tool-output waste.

Why is it gaining traction?

It stands out among ai long term memory github options like langgraph long term memory github or llm long term memory github by transparently externalizing artifacts (files, tool outputs) with previews, while offering 16 tools: lcm_grep for search, lcm_describe for summaries, lcm_artifact for blobs, lcm_lineage for branches, plus export/import snapshots. Developers notice smarter agent behavior over long sessions without manual context juggling, plus privacy redaction and retention pruning.

Who should use this?

OpenCode users running long-memory agents or multi-session workflows, like backend devs debugging across git worktrees, AI prompt engineers handling branched conversations, or teams building persistent LLM apps needing long term memory github persistence without token bloat.

Verdict

Grab it if you're deep in OpenCode and need long short term memory github-style recall—tools and config are polished for immediate use. With 11 stars and 1.0% credibility, it's an early community plugin; test thoroughly as APIs evolve.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.