Docs
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/agent

Body parameters

FieldTypeExampleDescriptionDemo Value
modestringcoach
courseIdnumber123The course the agent edits (required).
identifierstringyour-user-id
clientIdentifierstringyour-tenant-id
themeIdnumberCustom theme ID to render with.
options.aibooleantrueSame flag as course and builder embeds. Does not disable the coach chat itself.
options.languagestringenLanguage for the conversation and edits.
options.brandVoicebooleanfalseApply the workspace brand voice during edits.
TypeEventDescriptionNotes
agentcourse-updatedFires after the agent edits the course. Payload includes { courseId }.
sessionerrorFires when an error occurs.
sessionexpiredFires when the session expires.

Live Demo