OpenCode

Active
GitHub TypeScript MIT

Description

OpenCode is an open-source terminal coding agent that supports multiple LLM providers, offering AI-powered code generation and editing in the terminal.

Key Features

  • Terminal TUI interface - Interactive terminal-based coding UI with multiline editing and streaming output
  • Dual agent mode - Built-in build (full-access dev) and plan (read-only analysis) agents, switch with Tab
  • Multi-LLM provider - Supports Anthropic, OpenAI, Google, and more with flexible configuration
  • Desktop app (Beta) - Native desktop clients for macOS, Windows, and Linux
  • Subagent collaboration - Built-in general subagent for complex searches and multistep tasks
  • Wide package manager support - npm, brew, scoop, pacman, nix, mise, and 10+ install methods

Use Cases

💡 Use AI-assisted coding directly in the terminal without leaving the command line for code generation and refactoring
💡 Use the plan agent to quickly analyze unfamiliar codebases, then switch to build agent for implementation
💡 Invoke the @general subagent for complex cross-file searches and refactoring tasks
💡 Perform AI coding in resource-constrained servers or SSH environments using the lightweight terminal UI

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (203.3k stars)
  • Permissive open-source license (MIT)

Quick Start

# One-line install
curl -fsSL https://opencode.ai/install | bash

# Or install via npm
npm i -g opencode-ai@latest

# Launch in your project directory
opencode

# Press Tab to switch between build and plan agents

Related Projects

KiloCode

27.1k · TypeScript
Active A

KiloCode is an all-in-one open-source coding agent platform for VS Code and JetBrains, integrating 200+ models with autonomous coding, debugging, and iteration capabilities.

codingvscodecli +2
  • · All-in-one coding agent platform supporting VS Code, JetBrains, CLI, Slack, and Cloud
  • · Integration with 500+ AI models including GPT, Claude, and Gemini with transparent pricing
  • · Multi-mode workflow: Architect for planning, Coder for implementation, Debugger for fixes

Qwen Code

27.6k · TypeScript
Active A

An open-source AI coding agent that lives in your terminal, built by Qwen team with support for code generation, editing, debugging and multi-file operations.

codingllmtypescript +2
  • · Multi-protocol multi-provider — supports OpenAI, Anthropic, Gemini-compatible APIs with Alibaba Cloud, OpenRouter and more
  • · Qwen3-Coder co-evolution — both framework and Qwen3-Coder model are open-source and ship together
  • · Built-in Skills and SubAgents — rich built-in tools for full agentic workflow with Claude Code-like experience

Related Articles