opencodeCLI Tool
OpenCode is an open-source terminal-based AI coding assistant (built in TypeScript) that supports hot-swapping across multiple models including Anthropic, OpenAI, Gemini, and DeepSeek, and integrates into any shell or IDE. It offers interactive chat, file editing, command execution, context management, MCP tool calling, and more, making it a terminal alternative to Cursor and Cline.
Hot-swap across multiple models (Anthropic / OpenAI / Gemini / DeepSeek, etc.); interactive TUI chat; file read/write with diff previews; command execution with output injected into context; MCP tool calling; custom slash commands; context management (@file, @symbol); Git integration; persistent sessions.
Terminal UI learning curve; no native GUI; limited visual understanding (depends on model capabilities); requires Node.js 18+; WSL recommended on Windows.