OpenCode logo

OpenCode

Open-source terminal-based AI coding agent with a rich TUI that works with any LLM

Free and open-source; bring your own LLM API keys

Visit Tool

Overview

OpenCode is a terminal-native AI coding agent built as an open-source alternative for developers who live in the command line. It provides a polished terminal UI (TUI) with syntax-highlighted code diffs, conversation history, and file context management — far beyond a basic REPL — while working with any LLM via API.

Key Features

  • Rich terminal UI (TUI) with syntax highlighting and interactive diffs — no IDE required
  • Supports any OpenAI-compatible LLM including Claude, Gemini, and local Ollama models
  • File reading, editing, and creation with full project context
  • Shell command execution for running tests and build scripts
  • Session history and conversation management within the terminal
  • Fully open-source — inspect, fork, and extend the codebase

Pricing: Free and open-source; bring your own LLM API keys.

Pros

  • Polished terminal UI — much richer experience than basic CLI tools
  • Free and open-source with no lock-in
  • Works with any LLM provider via API keys
  • Native terminal workflow — no IDE required

Cons

  • Terminal-only limits accessibility for non-CLI users
  • Requires API keys with their associated costs
  • Smaller community than IDE-based agents like Cline

Tags

terminalopen-sourcetuicliagenticmulti-modelcoding

Product Updates

Similar Tools