CLI Tools2026年4月9日·1 分钟阅读

OpenCode — Open-Source AI Coding Agent for Terminal

Open-source AI coding agent with 140K+ stars. TUI-first design, LSP integration, works with Claude, OpenAI, Google, or local models. Two built-in agents: build and plan. MIT license.

Introduction

OpenCode is an open-source AI coding agent with 140,000+ GitHub stars — one of the fastest-growing developer tools of 2025–2026. TUI-first design, built-in LSP support, two agents (build with full permissions, plan read-only), and support for Claude, OpenAI, Google, and local models. Ideal for developers who want a fully open, vendor-neutral AI coding tool.


OpenCode — Open-Source AI Coding Agent

Core Advantages

  • No vendor lock-in — Claude, GPT-4, Gemini, Llama, or any other model
  • Terminal-native — carefully designed TUI interface
  • LSP integration — genuine language understanding
  • Client/server architecture — remote development support
  • Desktop app — macOS, Windows, Linux

Two Built-In Agents

Agent Permissions Purpose
build Full read/write/execute Develop features, fix bugs, run tests
plan Read-only analysis Understand code, plan architecture, review

FAQ

Q: What is OpenCode? A: A free, open-source terminal AI coding agent supporting 75+ LLM providers. MIT licensed.

Q: How does it compare to Claude Code? A: OpenCode is fully open source and vendor-neutral; Claude Code is Anthropic-only. OpenCode also offers a TUI design and remote development.


🙏

来源与感谢

Created by anomalyco. Licensed under MIT.

OpenCode — ⭐ 140,000+

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产