OpenCode is an open-source AI coding agent developed by Anomaly that operates across terminal environments, desktop applications, and IDE extensions. It functions as an interactive developer assistant capable of reading codebases, executing terminal workflows, and orchestrating multi-file code modifications with integrated language intelligence. In day-to-day workflows, OpenCode connects to over 75 LLM providers via Models.dev, local model runtimes, or direct integrations like Claude, GPT, and Gemini. Developers can leverage existing subscriptions by authenticating directly with GitHub Copilot or ChatGPT Plus/Pro accounts, or utilize free models and OpenCode Zen—a curated tier of benchmarked models optimized specifically for agentic coding tasks. The agent executes within the terminal or standalone desktop interface, allowing users to spawn concurrent agents across project workspaces. OpenCode differentiates itself through automatic Language Server Protocol (LSP) integration, dynamically loading the appropriate LSPs to provide the underlying LLM with precise structural code navigation and type awareness. It also supports native multi-session orchestration on a single project, shareable session links for collaborative debugging, and a privacy-focused architecture that does not store proprietary code or workspace context. OpenCode is fully open source and free to install, supporting standard package managers across macOS, Linux, and Windows, alongside enterprise configurations for air-gapped or sensitive environments.
Tags: ai agent, cli, code assistant, coding agent, developer tools, OpenSource