Discover and explore top open-source AI tools and projects—updated daily.
CLI tool for terminal-based AI coding assistance
Top 5.5% on SourcePulse
OpenCode is a Go-based terminal AI assistant designed to enhance developer productivity by integrating AI-powered coding assistance directly into the command line. It offers a rich TUI experience for interacting with various LLM providers, managing conversations, and executing code-related tasks.
How It Works
OpenCode leverages a modular architecture with a TUI built using Bubble Tea. It supports multiple AI providers (OpenAI, Anthropic, Gemini, etc.) and features session management, tool integration (command execution, file manipulation), a Vim-like editor, LSP integration for code intelligence, and file change tracking. Its Model Context Protocol (MCP) allows for external tool integration via stdio or SSE.
Quick Start & Requirements
curl -fsSL https://opencode.ai/install | bash
or brew install opencode-ai/tap/opencode
Highlighted Details
glob
, grep
, write
, bash
, sourcegraph
).Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
This project is in early development and not production-ready. Features may change or be incomplete. While LSP integration supports the full protocol, only diagnostics are currently exposed to the AI assistant.
19 hours ago
1 day