Sooua
登录

#OpenCode

标签 · 共 23 篇

OpenCode··6 分钟

故障排查指南

flowchart TD

#OpenCode#AI 编程#终端 Agent
OpenCode··3 分钟

企业部署与治理

flowchart TB

#OpenCode#AI 编程#终端 Agent
OpenCode··5 分钟

IDE 扩展开发

flowchart TB

#OpenCode#AI 编程#终端 Agent
OpenCode··4 分钟

LSP 与 ACP

flowchart TB

#OpenCode#AI 编程#终端 Agent
OpenCode··4 分钟

服务器部署

flowchart TB

#OpenCode#AI 编程#终端 Agent
OpenCode··5 分钟

Go SDK 使用

flowchart TB

#OpenCode#AI 编程#终端 Agent
OpenCode··11 分钟

插件系统

Plugin 是比 Tool 更强大的扩展机制。如果说 Tool 是给 AI 添加「能力」,Plugin 则是给 OpenCode 本身添加「行为」。

#OpenCode#AI 编程#终端 Agent
OpenCode··12 分钟

自定义工具开发

当内置工具无法满足需求时,你可以编写自己的 Tool。OpenCode 的工具系统遵循 MCP (Model Context Protocol) 规范,允许 AI 在对话中安全地调用外部能力。

#OpenCode#AI 编程#终端 Agent
OpenCode··11 分钟

代理技能

技能(Skills)是可复用的指令集,让 OpenCode 在需要时加载特定能力。它们是团队知识沉淀的最佳载体——将反复使用的提示词、规范、流程封装为标准化模块。

#OpenCode#AI 编程#终端 Agent
OpenCode··8 分钟

Web 界面与 IDE

OpenCode 提供三种界面形态,适应不同场景:TUI(终端)、Web(浏览器)、IDE 插件。理解各自特点,能帮助你在正确场景选择最高效的工具。

#OpenCode#AI 编程#终端 Agent
OpenCode··8 分钟

GitHub/GitLab 集成

OpenCode 原生支持 GitHub 和 GitLab 工作流,配合 MCP 服务器可以实现从 Issue 查看到 PR 创建的全流程自动化。本章覆盖配置方法、实战场景和标准化工作流。

#OpenCode#AI 编程#终端 Agent
OpenCode··5 分钟

MCP 服务器集成

flowchart TB

#OpenCode#AI 编程#终端 Agent
OpenCode··10 分钟

规则系统

规则(Rules)是告诉 AI "应该怎么做" 的指令。它们会:

#OpenCode#AI 编程#终端 Agent
OpenCode··8 分钟

工具系统与权限

工具(Tools)是 AI 代理执行操作的能力。OpenCode 的工具系统让 AI 能:

#OpenCode#AI 编程#终端 Agent
OpenCode··9 分钟

模型选择与切换

OpenCode 通过 AI SDK 支持 75+ 提供商、数百种模型。面对如此多的选择,如何为你的任务挑选最合适的模型?本章提供系统化的决策方法和实战配置。

#OpenCode#AI 编程#终端 Agent
OpenCode··8 分钟

配置系统详解

OpenCode 的配置系统采用多层合并策略,让你可以在组织、个人、项目、环境变量等多个层级管理设置。理解这套体系,是高效使用 OpenCode 的基础。

#OpenCode#AI 编程#终端 Agent
OpenCode··9 分钟

个性化设置

flowchart TB

#OpenCode#AI 编程#终端 Agent
OpenCode··10 分钟

常用内置命令

mindmap

#OpenCode#AI 编程#终端 Agent
OpenCode··6 分钟

基础工作流

flowchart TD

#OpenCode#AI 编程#终端 Agent
OpenCode··8 分钟

TUI 界面导航

┌─────────────────────────────────────────────────────┐

#OpenCode#AI 编程#终端 Agent
OpenCode··8 分钟

第一次运行

OpenCode 需要 LLM 提供商的 API 密钥才能工作。首次运行时会提示配置。

#OpenCode#AI 编程#终端 Agent
OpenCode··8 分钟

安装与环境准备

使用官方安装脚本,一行命令搞定:

#OpenCode#AI 编程#终端 Agent
OpenCode··8 分钟

什么是 OpenCode

OpenCode 是一个开源的 AI 编码代理(AI Coding Agent)。简单来说,它是一个住在你的终端/编辑器里的智能助手,能帮你:

#OpenCode#AI 编程#终端 Agent