arrow_back Embeddables
AI Course Coach Scale and above
The AI Course Coach embeds Coassemble's agent as a chat editor for an existing course. Your users ask it to add screens, rewrite content, generate quizzes, and more — and it edits the course for them. It's chat only: there's no builder canvas, so live-builder tools (selecting a screen, capturing the screen) are unavailable.
Edits are persisted server-side as the agent works. Because this embed has no canvas of its own, it emits a course-updated event after each change so you can refresh a course player or builder you're showing alongside it.
API Endpoint
POST
/v1/headless/embed/agentBody parameters
| Field | Type | Example | Description | Demo Value |
|---|---|---|---|---|
mode | string | coach | — | — |
courseId | number | 123 | The course the agent edits (required). | |
identifier | string | your-user-id | — | — |
clientIdentifier | string | your-tenant-id | — | — |
themeId | number | | Custom theme ID to render with. | |
options.ai | boolean | true | Same flag as course and builder embeds. Does not disable the coach chat itself. | |
options.language | string | en | Language for the conversation and edits. | |
options.brandVoice | boolean | false | Apply the workspace brand voice during edits. |
Emitted Events
How to listen to events| Type | Event | Description | Notes |
|---|---|---|---|
agent | course-updated | Fires after the agent edits the course. Payload includes { courseId }. | |
session | error | Fires when an error occurs. | |
session | expired | Fires when the session expires. |