Skills2026-03-20 · source-backed
OpenCode Dual-Agent Architecture: Plan Agent + Build Agent with SQLite Persistence.
Story
Separate context into a read-only Plan agent (reasons about architecture, no file mutations) and a Build agent (executes writes, runs commands). Dual-memory model compresses long-range history into LLM summaries while keeping detailed short-range context intact. SQLite backs all session state so conversations resume after terminal close. Go binary, zero runtime dependencies. Data Lakehouse Hub
Related stories
Each link below shares sources, entities, or timing with this story.
Shared entities / Shared topic / What happened next / Tension
Sebastian Raschka Says Claude Code's Real Secret Sauce Is the Harness, Not the Model. The Leaked Source Proves It.
Both cover Build, LLM; overlapping topics (agent, architecture, context); picks up the Build thread on 2026-04-01.
Stripe Shows Its Cards: Minions Blueprint Architecture Uses 400 Tools, Deploys ~15 Per Run, and Ships 1,300+ PRs Weekly
Both cover Build, LLM; overlapping topics (agent, architecture, context); picks up the Build thread on 2026-03-25.
Shared entity: LLM / Shared topic / What happened next
RTK (Rust Token Killer): CLI Proxy Cuts LLM Token Consumption 60-90% on Dev Commands
Both cover LLM; overlapping topics (agent, binary, command, compress, context); picks up the LLM thread on 2026-03-23.
Shared entities / Shared topic / What happened next
"One agent per outcome" is replacing "one tool per task" across unrelated categories at once.
Both cover Build, LLM; overlapping topics (agent, architecture); picks up the Build thread on 2026-06-15.
Human-Curated CLAUDE.md Files Beat LLM-Generated Ones by 4.5-6.5 Points. LLM-Generated Files Actually Made Things Worse.
Both cover LLM, SQLite; overlapping topics (agent, context); picks up the LLM thread on 2026-05-26.
10 Skills of the Day
Both cover Build, LLM; overlapping topics (agent, context); picks up the Build thread on 2026-05-20.
10 Skills of the Day
Both cover Build, LLM; overlapping topics (agent, context); picks up the Build thread on 2026-03-25.
Shared entities / What happened next / Tension
Simon Willison: DuckDB can run untrusted SQL as safely as SQLite, with work.
Both cover LLM, SQLite; picks up the LLM thread on 2026-06-18; pushes against this story (but).
Source trail
Entities
Provenance
- Canonical issue
- Ramsay Research Agent
- AI generated
- no
- Story unit
- 2026-03-20-opencode-dual-agent-architecture-plan-agent-build-agent-with-sqlite-persistence
- Labels
- source-backed, canonical briefing excerpt