LogoAIAny
Icon for item

OpenCode

OpenCode is the open source AI coding agent built for the terminal. It features built-in agents (build, plan, general), LSP support, multi-provider LLM compatibility (75+ including Claude, GPT, Gemini, local), native TUI, multi-session, share links, and privacy-first design. No account needed, 35k+ stars.

Introduction

OpenCode: The Open Source AI Coding Agent for Terminal

OpenCode is a powerful, open-source AI coding agent designed specifically for the terminal, empowering developers to write, analyze, edit, and execute code with AI assistance directly from the command line. Unlike provider-locked tools, it supports over 75 LLM providers via Models.dev, including popular ones like Anthropic's Claude (with Pro/Max login), OpenAI's GPT, Google's Gemini, and even local models—ensuring flexibility as models evolve and costs drop.

Key Features
  • Native Terminal UI (TUI): Responsive, themeable interface optimized for terminal users, built by Neovim enthusiasts and creators of terminal.shop. Pairs seamlessly with any IDE/editor, with extensions for VS Code, Cursor, Windsurf, etc.
  • Built-in Agents: Switch via Tab key between:
    • build: Full-access for development (file edits, bash commands).
    • plan: Read-only for analysis/exploration (permission-gated edits/commands).
    • general (@general): For complex searches/multi-step tasks.
  • LSP Integration: Auto-loads language servers for accurate completions/context.
  • Multi-Session & Collaboration: Run parallel agents on projects; share session links for debugging/reference.
  • Privacy-First: No code/context storage; ideal for enterprise/sensitive envs (/docs/enterprise).
  • Client/Server Architecture: Run core on machine, control remotely (e.g., mobile); web/desktop (soon) clients.
Installation (One-Liner YOLO)
curl -fsSL https://opencode.ai/install | bash

Supports npm, brew, choco, scoop, paru, mise, nix, etc. Custom dirs via env vars.

Compared to Claude Code
  • 100% open source.
  • Provider-agnostic (not tied to Anthropic).
  • Out-of-box LSP + TUI focus.
  • Scalable architecture.
Community & Impact

35k+ GitHub stars, 350 contributors, ~5k commits, 400k monthly users. Latest releases Dec 2025 (v1.0.134). Active Discord/X community. Zen offers benchmarked coding models.

Docs: opencode.ai/docs. Contribute: CONTRIBUTING.md.

Information

  • Websitegithub.com
  • Authorssst, thdxr
  • Published date2025/06/20