AnomalyCLI

OpenCode

OpenCode is Anomaly's open-source terminal coding agent with a native TUI, LSP context, multiple sessions, and support for cloud and local LLMs.

OpenCode uses the terminal itself as the main workspace, where developers can keep separate tasks in separate sessions while retaining language-server context. Its provider support also makes it possible to choose between hosted and local models according to project constraints.

OpenCode

Install

$ curl -fsSL https://opencode.ai/install | bash

Launch

$ opencode

What can OpenCode do?

Native terminal TUI

Review conversations and changes through a native terminal interface without moving the coding agent into a separate graphical application.

LSP and multiple sessions

Use language-server information while keeping unrelated tasks in independent sessions so their working state does not become mixed.

75+ LLM providers, including local models

Connect to a broad range of hosted providers or local models according to privacy, cost, and configuration needs.

Pricing

Individual

Open Source

Free

Individual

Zen (Optimized Models)

Usage-based

View full pricing details →

Related Products

Frequently asked questions

What is OpenCode?

It is designed for developers who prefer a terminal-native, open-source agent and want control over both session organization and the model connection.

Which capabilities does OpenCode provide?

OpenCode brings its interface, code intelligence, task separation, and provider choice into one terminal environment without requiring a single hosted model.

How do I run OpenCode?

Use the setup path presented for your operating system, configure an appropriate model connection, and start from the repository you want to edit.

Which operating systems support OpenCode?

OpenCode supports macOS, Windows, and Linux; consult the official documentation for platform-specific requirements.

What are OpenCode's license and pricing options?

OpenCode's core tool is open source, with related model services also available. Official sources describe current model charges and usage conditions.