Opencode_
展示 生态 源码解读 文档
GitHub
🇺🇸 English 🇨🇳 简体中文 🇯🇵 日本語 🇰🇷 한국어

OpenCode 源码解读

深入理解 OpenCode 的架构设计与核心模块。

Agent

→

决策循环、工具调用、上下文管理

阅读 →

Provider

→

接口设计、模型路由、回退策略

阅读 →

LSP

→

语言服务器协议集成、代码智能

阅读 →

MCP

→

Model Context Protocol、工具链集成

阅读 →

Permission

→

权限系统、安全模型

阅读 →

Config

→

配置管理、分层策略

阅读 →

CLI

→

命令行入口、交互循环

阅读 →

Command

→

斜杠命令系统、命令注册

阅读 →
Opencode_

The Open Source AI Coding Agent.

$ npm i -g opencode

Project

GitHub Documentation Showcase

Community

Discord Twitter Blog

© 2026 Anomaly Co. Open Source (Apache 2.0).