opencode
Installation
SKILL.md
OpenCode
Overview
OpenCode is an open source AI coding agent that runs in your terminal, IDE, or desktop. It provides a server mode that exposes an OpenAPI specification, allowing developers to build custom clients and integrations.
Using OpenCode
For general information about OpenCode features, privacy, and ecosystem, see references/overview.md.
Building Client Applications
To build a client application that interacts with OpenCode, you should communicate with the OpenCode HTTP server.
Quick Start
See scripts/simple_client.py for a complete Python example of connecting, creating a session, and sending a message.
Client Development Guide
For detailed patterns on session management, messaging loops, and event streaming, see references/client_guide.md.