For the complete documentation index, see llms.txt. This page is also available as Markdown.

Beefree AI AddOn (closed beta)

The Beefree AI AddOn is a Partner AddOn for the email builder. It adds an out-of-the-box AI agent that your user can prompt to create email designs, edit layouts, generate variations, and review templates. You install it in the Developer Console, choose a supported provider, and configure your model to make it available for your end users. Hosts can also persist chat history to continue guided sessions across visits and future revisions.

Overview

The Beefree AI Addon is a Partner AddOn — part of the same family of ready-to-install extensions available through the Beefree SDK Partner AddOns directory. Like other Partner AddOns, it is installed and configured directly from the Beefree SDK Developer Console, without any changes to your integration code. For a general walkthrough of how Partner AddOns work, see Installing Partner AddOns.

The Beefree AI AddOn is a ready-made conversational agent that enables advanced workflows in the Beefree SDK email builder. Your users can prompt the agent to:

  • create full email designs from scratch

  • edit existing designs, for example by adding a content block, changing the structure, or switching the color palette

  • generate content variations while preserving core brand elements

  • check an existing template for quality or accessibility issues, for example missing image links or alt text

Unlike the AI Writing Assistant, which targets individual content blocks, this AddOn surfaces a "Create with AI" panel. Thanks to this, your users can generate, iterate on, and apply content across their design in a guided chat experience within the Beefree email builder embedded in your application.

End users can always manually edit any design the agent generates. That keeps the workflow collaborative: AI helps your users move faster, while they stay in control as creative directors, shaping the final result to match their vision.

The AddOn is registered as ai-agent in the standard addOns array passed to BeePlugin.create(). Message history is surfaced through the existing onInfo callback.

Activation

To enable the AddOn, contact your Beefree SDK Customer Success Manager. Once enabled for your application, you can configure it through the Beefree SDK Developer Console under AddOns → Beefree AI AddOn.

Prerequisites

  • An active Beefree SDK Superpowers or Enterprise plan.

  • An API key from one of the supported AI providers.

  • The AI AddOn enabled in the Developer Console for your application.

Configure in the Developer Console

  1. Navigate to your application, then open the AddOns section.

  2. Click on Browse AddOns.

  3. Select the Beefree AI AddOn.

  4. Click Install.

  5. You will then see the AI AddOn available in the installed AddOn section.

  6. Set up your AI AddOn:

    • Select your provider.

    • Select your model.

    • Enter your API key.

Once you’ve completed the setup, toggle on Enable, then click Save.

Supported Providers

The Beefree AI AddOn currently supports three AI providers. Three models are marked as Recommended—they offer the best trade-off between cost, speed, and output quality for typical builder workflows. This is not a quality ranking: higher-tier models (Claude Opus 4.7, GPT-5.4, Gemini 2.5 Pro) will generally produce stronger results on demanding tasks, but come with higher cost and latency. For most end-user sessions in a builder context, the recommended models are a good starting point.

Anthropic

Anthropic's Claude models prioritize safety, alignment, and high-quality conversational output — making them well-suited for creative and editorial workflows inside the builder.

Available models:

Model Name

Model String

Claude Haiku 4.5 [recommended]

claude-haiku-4-5

Claude Sonnet 4.6

claude-sonnet-4-6

Claude Opus 4.7

claude-opus-4-7

OpenAI

OpenAI's GPT models offer broad language coverage and advanced text generation capabilities across a wide range of writing styles and use cases.

Available models:

Model Name

Model String

GPT-5.4

gpt-5.4

GPT-5.4 Mini [recommended]

gpt-5.4-mini

GPT-5.4 Nano

gpt-5.4-nano

Gemini

Gemini models from Google DeepMind offer multimodal capabilities and competitive performance on text generation tasks.

Available models:

Model Name

Model String

Gemini 2.5 Pro

gemini-2.5-pro

Gemini 2.5 Flash [recommended]

gemini-2.5-flash

Gemini 2.5 Flash Lite

gemini-2.5-flash-lite

AddOn Configuration

Add an entry with id: 'ai-agent' to beeConfig.addOns. All settings fields are optional.

Settings Reference

Field
Type
Required
Description

initialMessages

message array

No

Loads a previous conversation at panel mount. Pass back exactly what you received from onInfo as detail.messages — the shape is identical. Persist that array (e.g. in localStorage) and replay it here on the next session. Pass [] or omit to start blank.

systemPrompt

string

No

Forwarded verbatim with every chat request. Use it to inject role, tone, or brand voice instructions.

maxIterations

number

No

Caps the agent's auto-continue loop on tool-call turns. Defaults to 10. Lower it to control cost and latency.

loadingPhrases

string[]

No

Replaces the default cycling phrases shown under the loader (e.g. "Sending request", "Working"). Phrases cycle per auto-continue turn and are announced via aria-live.

Receiving Message Updates (onInfo)

The panel's chat history is broadcast through the SDK's top-level onInfo callback. Filter by code and detail.handle:

Event Shape

Field

Value

code

1010

message

"Messages changed for addon handle: ai-agent"

detail.handle

"ai-agent"

detail.messages

Complete chat history — same shape as initialMessages

When it Fires

  • After each auto-continue turn (partial progress is preserved if the user closes the panel mid-iteration).

  • When the model finishes its full response.

  • When the user clicks Stop or closes the panel during active generation.

The initial emission caused by seeding the store from initialMessages is not echoed back — only real changes trigger the callback.

Persisting Chat History

The SDK does not store the conversation itself — persistence is the host application's responsibility. The simplest approach uses localStorage:

This produces a conversation that survives page reloads and follows the user across sessions.

Full Configuration Example

Disable the AddOn Per User

To disable the AI AddOn for a specific user, set enabled: false on the AddOn entry. To re-enable it, change the value to true.

Additional Considerations

  • Only one provider can be active per application at a time. You can switch providers at any time from the Developer Console without code changes.

  • The systemPrompt field is a powerful lever for brand alignment — use it to enforce tone, language, and content guardrails across all end-user sessions.

  • Lowering maxIterations from the default of 10 is recommended in cost-sensitive environments, especially when using larger models such as Claude Opus or GPT-5.4.

  • For data security and privacy information, refer to the AI Providers and Data Security page.

Last updated

Was this helpful?