Code & Repo Automation · Terminal CLI harness
Multi-Provider Terminal Coding with LSP Diagnostics
OpenCode provides an interactive terminal user interface (TUI) with built-in Language Server Protocol (LSP) diagnostics, allowing developers to switch LLM providers mid-session for code edits.
What This Workflow Does
OpenCode provides an interactive terminal user interface (TUI) with built-in Language Server Protocol (LSP) diagnostics, allowing developers to switch LLM providers mid-session for code edits.
Agent, Harness & Requirements
The workflow runs on OpenCode inside a Terminal CLI harness. The agent runs in your shell, reads the working directory, and executes commands you approve.
- Go or prebuilt binary
- API key for OpenAI
- Anthropic
- or local Ollama
How It Works
- Install OpenCode CLI
- Run `opencode` inside project directory
- Select model provider
- Issue refactoring task and review LSP-verified diffs.
Command or prompt pattern
"Inspect LSP type errors across the workspace and refactor the API client types to resolve all warnings."Evidence & Source
Documented The provider's own documentation describes this workflow, its requirements, and its setup steps. Zyvibe checked the linked source on 2026-11-21 and has not reproduced the workflow.
OpenCode — Open Source Terminal AI Coding Agent
Open the sourceLimitations
- Plugin ecosystem is smaller than IDE extensions
- terminal UI requires modern terminal emulator support.
This record describes what the source states. It is not a review, a benchmark, or a recommendation. If the tool has changed since the check date, report it.