Opencode_
Showcase Ecosystem Source Code Docs
GitHub
đŸ‡ē🇸 English đŸ‡¨đŸ‡ŗ įŽ€äŊ“中文 đŸ‡¯đŸ‡ĩ æ—ĨæœŦčĒž 🇰🇷 한ęĩ­ė–´

Source Code Analysis

Deep dive into the architecture and core modules of OpenCode.

Agent

→

Decision loop, tool calling, context management

Read →

Provider

→

Interface design, model routing, fallback strategy

Read →

LSP

→

Language Server Protocol integration, code intelligence

Read →

MCP

→

Model Context Protocol, toolchain integration

Read →

Permission

→

Permission system, security model

Read →

Config

→

Configuration management, layered strategy

Read →

CLI

→

Command-line entry point, interaction loop

Read →

Command

→

Slash command system, command registration

Read →
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).