{Astro.props.code}
+
+
+ OpenCode exposes an HTTP API from its server. Use opencode2 api for authenticated local requests, or
+ build against the generated OpenAPI specification.
+
OpenCode 2
+Build with it in your terminal, connect over the API, or embed the complete agent stack.
+curl -fsSL https://opencode.ai{import.meta.env.BASE_URL}install | bash
+