OpenCode is a Go‑based command line tool that adds an AI coding assistant directly into the terminal via an interactive TUI. It supports many LLM providers, session management, code editing, and automatic summarisation of conversations.
Highlights
Interactive TUI built with Bubble Tea for a smooth terminal experience
Features session persistence in SQLite, file‑change tracking, LSP integration and an embedded Vim‑like editor
Auto‑compact mode summarises conversations when token limits are approached
Multiple installation paths: install script, Homebrew, AUR, or `go install`
auto-generated
opencode-ai · via GitHub
Context
Audience
Software developers who work in the terminal and want AI‑driven code assistance, as well as DevOps engineers or toolsmiths interested in integrating LLM capabilities into CLI workflows.