OpenCode Config Agent is a batteries-included configuration for OpenCode that transforms your AI coding assistant into a structured, memory-aware development partner. It ships a senior architect persona (“Tony Stark”), a 9-phase Spec-Driven Development (SDD) workflow orchestrated by sub-agents, persistent cross-session memory via Engram, and a library of reusable skills that activate automatically based on context.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/lnardev/opencode-config-agent/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart
Get the configuration installed and your first SDD workflow running in minutes.
Tony Stark Agent
Meet the Senior Architect persona — philosophy, behavior, and how to work with it.
Spec-Driven Development
Learn the 9-phase SDD pipeline: explore → propose → spec → design → tasks → apply → verify → archive.
Skills
Auto-loading skills for PR creation, Go testing, adversarial review, and more.
Plugins & MCP
Background Agents plugin for async delegation and Engram for persistent memory.
Configuration
Full reference for opencode.json agents, permissions, and TUI settings.
What’s included
Tony Stark Agent
Senior Architect persona with 15+ years of simulated experience. Teaches concepts over code, corrects mistakes with evidence, and pushes back on shortcuts.
SDD Orchestrator
A primary agent that coordinates the full SDD pipeline by delegating to specialized sub-agents — it never does work inline.
Engram Memory
Cross-session persistent memory backed by a local SQLite store. Decisions, discoveries, and session summaries survive compaction and restarts.
Background Agents
Async parallel sub-agent delegation. Launch multiple agents simultaneously; results are persisted to disk and survive context compaction.
Auto-Loading Skills
Skills activate automatically by context: Go testing, PR creation, adversarial review, and more — injected before any code is written.
MCP Integrations
Three MCP servers: context7 for live library docs, Engram for memory, and Chrome DevTools for browser integration.
How it works
Install the configuration
Clone the repo into your OpenCode config directory (
~/.config/opencode/) and install the npm dependencies.Choose your agent
Start a session with
tony stark for mentored development or sdd-orchestrator for structured change workflows.Initialize SDD in your project
Run
/sdd-init in any project to detect the stack, bootstrap persistence, and enable Strict TDD mode if supported.This configuration is designed to be placed at
~/.config/opencode/ and works with any OpenCode-compatible project. See the Installation guide for full setup instructions.