> For the complete documentation index, see [llms.txt](https://blogs.nhquydev.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blogs.nhquydev.net/ai-cli-tools/opencode.md).

# OpenCode

- [OpenCode - Personal AI Assistant](https://blogs.nhquydev.net/ai-cli-tools/opencode/opencode-personal-ai-assistant.md): Tổng quan OpenCode - Personal AI Assistant: cài đặt, TUI, CLI, environment variables, tools, permissions, AGENTS.md, config, commands, plugins.
- [OpenCode V2: Những thay đổi quan trọng](https://blogs.nhquydev.net/ai-cli-tools/opencode/opencode-v2-nhung-thay-doi-quan-trong.md): OpenCode V2: agent phân vai, phân quyền action + resource + effect, compaction, references, MCP Code Mode và Skills.
- [Migrate từ OpenCode V1 sang OpenCode V2](https://blogs.nhquydev.net/ai-cli-tools/opencode/migrate-opencode-v1-sang-v2.md): Hướng dẫn migrate từ OpenCode V1 sang V2: breaking changes, lộ trình 5 bước, bảng đổi tên field, port plugin, MCP, compaction, skills.
