--- title: "OpenCode" type: entity tags: [ai-coding-assistant, open-source] --- ## 定义 开源 AI 编程助手,可在终端、桌面应用或 IDE 插件中使用。 ## 官方资源 - 官网:[opencode.ai](https://opencode.ai/) - 文档:[opencode.ai/docs](https://opencode.ai/docs) ## 主要功能 - AI 驱动的代码理解和生成 - Plan 模式预览实现方案 - Build 模式执行代码修改 - 项目初始化生成 AGENTS.md 配置 ## 安装方式 ```bash curl -fsSL https://opencode.ai/install | bash ``` ## 使用形态 1. 终端 TUI 界面 2. 桌面应用 3. IDE 插件(VS Code 等) ## 关联 - 类似工具:[[Claude Code]] - 本地 LLM 后端:[[Ollama]] - 场景:Vibe Coding - 上层工具:[[Vibe-Kanban]](自动 spawn OpenCode executor)