🔧 Công cụ lập trình•Mã nguồn mở•Đang hoạt động

OpenCode

AI coding agent mã nguồn mở viết bằng Go, hỗ trợ 75+ LLM providers với TUI terminal-first

#opencode
Danh mục
🔧 Công cụ lập trình
Giá
Mã nguồn mở
GitHub Stars
⭐ 211,450
Ngôn ngữ
TypeScript
License
MIT
Ngày thêm
2026-03-28
Tóm tắt từ README GitHub
The open source AI coding agent. English 简体中文 繁體中文 한국어 Deutsch Español Français Italiano Dansk 日本語 Polski Русский Bosanski العربية Norsk Português (Brasil) ไทย Türkçe Українська বাংলা Ελληνικά Tiếng Việt --- Installation Remove versions older than 0.1.x before installing. Desktop App (BETA) OpenCode is also available as a desktop application. Download directly from the releases page or opencode.ai/download. Platform Download --------------------- ---------------------------------- macOS (Apple Silicon) macOS (Intel) Windows Linux , , or Installation Directory The install script respects the following priority order for the installation path: 1. - Custom installation directory 2. - XDG Base Directory Specification compliant path 3. - Standard user binary directory (if it exists or can be created) 4. - Default fallback Agents OpenCode includes two built-in agents you can switch between with the key. - build - Default, full-access agent for development work - plan - Read-only agent for analysis and code exploration - Denies file edits by default - Asks permission before running bash commands - Ideal for exploring unfamiliar codebases or pl
Xem thêm từ README.md

Đánh giá chi tiết

Tổng quan

OpenCode là AI coding agent mã nguồn mở, viết bằng Go, hoạt động trực tiếp trong terminal. Project đạt 100K+ stars trên GitHub, được phát triển bởi team đứng sau terminal.shop. OpenCode hỗ trợ 75+ LLM providers, không bị gắn cứng vào bất kỳ nhà cung cấp nào.

Tính năng chính

  • Terminal UI (TUI) với 2 agent tích hợp: build (full-access) và plan (read-only để phân tích code)
  • Hỗ trợ 75+ LLM providers: Claude, OpenAI, Google, Ollama, và local models
  • LSP (Language Server Protocol) tích hợp sẵn cho code intelligence
  • Kiến trúc client/server cho phép điều khiển từ xa qua mobile app
  • Desktop app cho macOS, Windows, Linux (beta)
  • Cài đặt qua npm, brew, scoop, pacman, nix

Stack kỹ thuật

Go backend, TypeScript frontend, kiến trúc monorepo. Hỗ trợ MCP (Model Context Protocol) để mở rộng capabilities.

Điểm mạnh

  • Provider-agnostic: chuyển đổi giữa Claude, GPT, Gemini mà không thay đổi workflow
  • TUI thiết kế bởi neovim users, focus vào developer experience trong terminal
  • LSP support out-of-the-box, không cần config thêm
  • Kiến trúc client/server cho phép remote access

Hạn chế

  • Yêu cầu API key từ ít nhất 1 LLM provider
  • Desktop app còn beta, chưa ổn định bằng CLI
  • Tài liệu về custom agent configuration còn hạn chế

Phù hợp khi nào

Developer muốn coding agent mã nguồn mở, không phụ thuộc 1 provider, và ưu tiên trải nghiệm terminal.

OpenCode | Atlas for AI