Pinned··Builder, APIs
AI in Unlayer: What's New
🆕 WebMCP & AI Agent Support (available in the latest release, Builder 1.519.0+)
AI agents can now work directly with the builder through WebMCP tools or the unlayer.agent JavaScript API. Agents can discover editor capabilities, read and modify designs, preview them across devices, and export HTML. Designs are validated before loading, changes can be undone, and protected content stays protected. See docs.
🆕 Brand Context (available in the latest release)
Provide context to the AI Assistant to follow your brand identity, visual style, and tone. Brand Context can be configured at runtime or managed in Console, including importing a public website to create a draft. See docs.
🆕 AI Assistant (available in the stable release)
New chat-based AI assistant inside the builder — describe a change and it edits the design in place. See docs.
🆕 AI Importer (available in the stable release)
Convert an existing HTML email or a screenshot into a fully editable template in one click. See docs.
🆕 AI Credits API (available now)
Programmatically manage and monitor AI Assistant credit consumption for your end-users:
Balance & usage — retrieve total/used/remaining credits and per-user, per-feature usage breakdowns
Settings — configure exhaustion behavior, threshold alerts, and your webhook endpoint
Webhooks — real-time
usage_recorded,threshold_reached, andexhaustedevents, signed with HMAC-SHA256
Read the docs → https://docs.unlayer.com/server/cloud-api/ai-credits
Note: In-editor credit enforcement — hiding AI features (
disable) or showing an exhausted-credits message (show_error) once credits run out — is available on the latest editor version. On stable, usage is still metered and all webhooks fire, but AI generations won't be blocked at exhaustion until you move to latest.

