Introduction
The Akapulu Web SDK is a package family for building browser and server integrations on top of Akapulu. It is split into these public packages:@akapulu/server@akapulu/react@akapulu/react-ui
Package structure
| Package | Purpose | Runtime |
|---|---|---|
@akapulu/server | Server-side client for calling Akapulu APIs | Server |
@akapulu/react | React provider, hooks, media controls, and event subscriptions | React app |
@akapulu/react-ui | Prebuilt React conversation UI on top of @akapulu/react | React app |
How the packages relate
- Your frontend calls your own local
connectandupdatesroutes. - Your local server routes call Akapulu with
@akapulu/server. - Your React frontend uses
@akapulu/reactto manage session state and media. - If you want prebuilt UI,
@akapulu/react-uirenders on top of@akapulu/react. - Shared event and transcript models are handled internally across the SDK packages.
@akapulu/serverhandles API calls and keeps your API key on the server@akapulu/reacthandles session state, event subscriptions, and media controls@akapulu/react-uiis optional and gives you a higher-level conversation UI
Explore the packages
Choose the package that matches the layer you are working on:@akapulu/serverfor backend route integrations@akapulu/reactfor React providers, hooks, and media helpers@akapulu/react-uifor prebuilt React conversation UI
Guides and examples
Reference implementations and implementation guides:- Pre-built UI
Uses
@akapulu/react-uiwith Default and Styled pages so you can compare the baseline prebuilt UI and a styled variant side by side. - Custom UI
Uses
@akapulu/reactonly and renders the conversation UI manually. - Customize Conversation UI

