
OpenCode
Overview
OpenCode is an open-source, terminal-based AI coding assistant that runs directly in the command line, enabling developers to interact with AI models for code generation, editing, and debugging without leaving their terminal environment. It supports multiple LLM providers including Anthropic, OpenAI, Google, and others, giving developers flexibility in choosing their preferred model. OpenCode is designed for developers who prefer keyboard-driven, terminal-first workflows and want a lightweight, extensible AI coding tool.
Key Features
- Terminal-native interface built for command-line-first developers
- Multi-provider LLM support (Anthropic Claude, OpenAI, Google Gemini, and more)
- Open-source and self-hostable with full transparency
- File editing and code generation directly within the terminal
- Session and conversation history management
- Extensible configuration for custom model endpoints
- Keyboard-driven TUI (Text User Interface) for efficient navigation
- Context-aware assistance with local codebase understanding