opencode
View on GitHubA powerful AI coding agent. Built for the terminal.
Archived Go terminal AI coding agent, continued as charmbracelet/crush. Bubble Tea TUI that chats with Claude, GPT, Gemini, Groq, Bedrock or local models; runs shell commands, edits files, uses LSP and MCP servers, and supports non-interactive -p mode.
Use Cases
Terminal-based AI pair programmingCode explanation and generation from the CLIAutomated debugging and refactoring with file editsScripted/non-interactive prompts for CI and automationConnecting MCP servers as extra agent toolsLSP-powered code intelligence inside a chat TUIManaging multiple saved conversation sessionsTracking file changes produced during a session
Built With
- Language
- Go
- Frameworks
- Bubble Tea · Lip Gloss · Glamour · Cobra · Viper · SQLite · MCP Go SDK · GoReleaser · sqlc
Tags
terminal · tui · cli · ai-coding-agent · code-assistant · multi-provider · mcp · lsp · session-management · sqlite · shell-execution · non-interactive-mode · go · archived