Overview
sunpeak provides a multi-platform runtime abstraction layer that helps you build components once and deploy them across different AI chat platforms like ChatGPT, Gemini, and Claude.Why Multi-Platform?
Write Once, Deploy Everywhere
Build your component logic once, run it on multiple platforms without rewriting.
Consistent Developer Experience
Same React hooks and patterns across all platforms.
Future-Proof
Automatically support new platforms as they emerge.
Easy Migration
Switch platforms without major code changes.
React Hooks
sunpeak provides access to the entire platform runtime API via platform-agnostic React hooks. Here is an example component using some of these hooks:Widget API
One of these hooks, theuseWidgetAPI, provides methods for interacting with the
platform runtime, including calling MCP tools, sending messages,
and controlling the platform display.
Dive Deeper
Runtime API Reference
All hooks provided by sunpeak.