Type: url

Original: https://jimmysong.io/zh/book/ai-handbook/vibe-coding/opencode/

Status: generated

Summary

A draft chapter of Jimmy Song’s online handbook 智能体构建指南, created 11 January 2026, describing OpenCode, an open-source AI coding agent whose primary interface is the terminal, and Oh My OpenCode, a user-level convention layer built around it. It sets out OpenCode’s three-layer architecture (terminal interface, agent runtime, extension tools), its model-agnostic support for cloud and local models, and its division of labour between a Plan agent that only plans and a Build agent that changes code. It closes with engineering advice: define an AGENTS.md context file, route tasks to models by difficulty, require planning before execution, and connect external tools through MCP.

Generated pages