BACK_TO_FEEDAICRIER_2
opencode-lcm stretches local context windows
OPEN_SOURCE ↗
REDDIT · REDDIT// 8d agoOPENSOURCE RELEASE

opencode-lcm stretches local context windows

opencode-lcm is an open-source OpenCode plugin that archives older turns to SQLite and swaps them for compact extractive summaries, letting long local-model sessions keep going without blowing the context window. It also adds search and recall tools so past details stay retrievable on demand, and it pairs well with context-mode to keep tool output out of context entirely.

// ANALYSIS

The core idea is practical rather than flashy: preserve full fidelity off-context, keep only what matters in-context, and stop paying for repeated re-summarization with extra model calls.

  • Good fit for local-model workflows where context decay, not raw model quality, is the bottleneck
  • Extractive summaries are a smart tradeoff for searchability and zero extra inference cost, but they will be terse by design
  • The SQLite archive plus 16 recall tools makes this feel more like session memory infrastructure than a simple prompt compressor
  • The biggest limitation is surface area: it only helps if you are already using OpenCode, so adoption depends on that ecosystem
  • Pairing it with context-mode is the right architectural move because it solves both context bloat and output flood
// TAGS
opencode-lcmopen-sourcecliautomationai-codingmcp

DISCOVERED

8d ago

2026-04-03

PUBLISHED

8d ago

2026-04-03

RELEVANCE

8/ 10

AUTHOR

HealthyPaint3060