OpenCode — Agent Framework Reference OpenCode is the AI agent framework running this environment. It manages agents, skills, tools, commands, sessions, providers, and plugins. Everything is configured via files in the config directory ( in the Kortix sandbox, or in a project). Architecture Overview --- Agents What is an Agent? An agent is a persona — a system prompt combined with permission rules, model preferences, and behavioral constraints. Defined as files with YAML frontmatter. Agent Definition File Location: or in the config directory. Frontmatter Fields | Field | Type | Required | Desc…