# opencode-ai/opencode

A powerful AI coding agent. Built for the terminal.

Repository: https://github.com/opencode-ai/opencode
Canonical: https://ross.abutalabs.com/products/opencode-ai-opencode
Language: Go
License: MIT
License Family: permissive
Topics: ai, claude, code, llm, openai
Archived: true
Last push: 2025-09-18T02:54:28+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 42, release rhythm 40, longevity 38
- inputs: {"age_days": 535, "days_push": 349, "days_rel": 432, "gap_med": 0, "n_releases_24m": 50}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 13697, forks 1794 (observed 2026-08-28T04:11:04.613643+00:00)

## What it is
OpenCode is a terminal-based AI coding agent written in Go, providing a TUI for interacting with multiple AI providers (OpenAI, Anthropic, Gemini, etc.) to assist with coding, debugging, and file editing. The repository has been archived and development continues under the name Crush by the Charm team.

## Use cases
- ai coding assistant in the terminal
- refactor code with an llm from the command line
- debug code with ai help in a tui
- chat with claude or gpt while coding
- let an ai agent edit files and run commands
- terminal-based alternative to claude code

## When to choose
- you want a terminal-native AI coding agent with multi-provider support
- you prefer a TUI workflow with LSP integration and session persistence
- you want a Go-based, MIT-licensed open-source coding agent

## When to avoid
- you need actively maintained software - the repo is archived and development moved to Crush (charmbracelet/crush)
- you need a production-stable tool - it was marked as early development
- you want a GUI or IDE plugin rather than a terminal experience

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: agent-framework, llm-inference, cli, developer-tools
- domain: developer-tools, artificial-intelligence, large-language-models
- platform: cli, windows, cross-platform
- tags: ai-coding-agent, terminal-ui, tui, archived, moved-to-crush, llm, code-assistant, command-line, linux, macos

## Member repositories
- opencode-ai/opencode (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:04.613643+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:06.428415+00:00, confidence not recorded.
  - readme: https://github.com/opencode-ai/opencode (fetched 2026-08-28T04:11:04.613643+00:00, sha 4d35d5cb40c1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
