Agentic AI Wiki

A practical guide to OpenCode concepts. What each thing is, why it exists, and how to use it.

How It All Fits Together

OpenCode Architecture
You
Session
Agent
Tools
Codebase
Skills
Agent
Context
Plugins
Hooks
MCP
Tools

Core Concepts

Key Relationships

Who uses whom?

Agent uses Skills Tools Context
Agent invokes Subagents
Plugin provides Hooks Custom Tools
MCP adds External Tools
Command triggers Agent + Prompt

About

Each page explains what something is, why it exists, where it lives in your project, how to create it, and includes a minimal copyable example. Content is grounded in real OpenCode documentation.

Start with Agent if you're new, or browse the full concept index.