OpenCode is Claude Code’s open-source alternative, which is a terminal-based AI coding agent that lets you interact with LLMs directly from your command line to write, edit, and reason about code across your entire project.


Basics

Overview

Tools

AGENTS.md (System Prompt for Your Repo)