OpenCode
OpenCode is an open-source AI coding assistant written in Go. It provides a terminal-native interface for AI-powered code editing and development assistance.
Overview
OpenCode brings AI coding assistance to the terminal with a fast, lightweight interface built in Go. It supports multiple AI providers and can work with both cloud and local models, making it a flexible choice for developers who prefer terminal-based workflows.
Key Features
- Terminal-Native TUI: Fast terminal interface built with Go
- Multi-Provider Support: Works with various AI providers (Anthropic, OpenAI, etc.)
- Local AI Compatible: Can be configured to use local LLM endpoints
- Code Editing: Read, write, and modify files directly from the terminal
- Lightweight: Minimal resource usage compared to Electron-based alternatives
- Open Source: Fully open source and community-driven
- Extensible: Plugin system for custom tools and integrations
Metadata
| Property | Value |
|---|---|
| Language / Framework | Go (custom TUI framework) |
| Main Use-Case | Programming assistant |
| License | Open Source |
| Can Run with Local AI | Yes — supports any OpenAI-compatible local endpoint |