Open-source AI pair programmer that edits code in your git repo from the terminal.
OpenCode
Open-source AI coding agent for the terminal that works with many model providers.
What is OpenCode?
OpenCode is an open-source coding agent built primarily for the terminal, with a polished text interface plus desktop and IDE options. It can understand a codebase, edit files and run commands to complete tasks, and it is model-agnostic: you can use free models it includes or connect accounts and API keys from a wide range of providers, including local models. That flexibility makes it attractive to developers who want an agent like the commercial ones without being tied to a single AI vendor. The software is free and open source, and you pay only for any paid models you choose to use.
Tags
OpenCode alternatives & related tools
Anthropic's agentic coding tool that works in your terminal, IDE and the web.
Google's open-source AI agent that brings Gemini into your terminal.
Frontier coding agent and dev environment that runs on your machine or unattended in the cloud.