Skip to content

AI assists

An AI assist is a prompt you set up on a slot. Editors see it as a sparkle beside the slot’s Settings in the edition editor. One press asks the model you chose and puts its answer into the slot as an unsaved change: the editor reads it, then saves it or reverts.

Open a publication from Messaging › Email & Push Editions › Publications, and in its slots select Add AI assist on a rich text, curated or image slot, or on such an entry in a stack slot’s palette. A slot has at most 5 assists, shown in a menu when it has more than one.

Field Holds
Label What editors see, up to 80 characters.
Description Optional. What it does, up to 200 characters, shown when editors hover the sparkle.
Key Its name in the config tree, unique on the slot.
Model One of the models.
Reads This slot, Its stack slot (a palette entry only) or The whole edition.
Changes On rich text: Replace the text. On curated: Pick stories or Reorder the stories. On image: Place badges on the image.
Picks from feed Pick stories only: the feed the stories come from.
Story fields sent What the model reads of each story: Headline, Summary, Date, Authors, Link, Body. Headline, Summary and Link by default.
Prompt What the model is told, up to 8,000 characters.

An assist is part of the publication’s setup, so it reaches editors on the next deploy, like any slot change.

EdgeKit sends your prompt, then what the assist reads, as the edition was last saved and as the variant or experiment arm on screen sends it:

  • Rich text as Markdown.
  • Each story as its number among the edition’s curated stories and its id, then the story fields the assist names. Body, the published story’s whole text up to 6,000 characters, is sent only when named.
  • With The whole edition, the subject and preheader too.
  • With Pick stories, up to 50 candidates from the feed: published stories in the feed’s window ending at the edition’s send time, without the stories the edition’s other slots already show.
  • With Place badges on the image, the image’s size in pixels and the badges it has now.

EdgeKit tells the model the shape of the answer, and checks it:

Changes The answer becomes
Replace the text The slot’s text: paragraphs, headings, quotes, lists, bold, italic and links. The slot’s images are kept, where the model leaves them or after the text. Tables and code are dropped. A link that is not https, http or mailto loses its link.
Pick stories The slot’s stories, in the model’s order, up to the slot’s Stories limit. Ids not among the candidates are ignored.
Reorder the stories The same stories, in a new order, each keeping its headline and summary changes.
Place badges on the image The slot’s badges, replacing the ones it had: at most 50, each label cut at 12 characters and kept inside the image. They are drawn when the edition saves.

An answer that does not fit is refused, and the slot stays as it was.

Place badges on the image needs the slot’s image from the Media Library and a badge style, both set in the publication’s setup. Without either, a run is refused before the model is asked.

With unsaved changes the editor asks, then saves the edition first, so the model reads what you see. The result is unsaved: a notice says how many words shorter or longer the text is, and its Undo takes only the assist back. A slot holds at most five assists. A run takes at most 30 seconds and is never retried. It fails, and changes nothing, when the model is slow, its answer cannot be used, or your organization’s daily AI limit is reached.

An assist runs on a draft or scheduled edition, for an editor holding the edition and allowed to edit publications. With another variant or an experiment arm on screen, the answer goes into that variant’s or arm’s own content. Badges belong to the main version, so an image slot shows its sparkle only there.

Model Runs on
deepseek/deepseek-flash DeepSeek’s API
deepseek/deepseek-v4-pro DeepSeek’s API
google/gemini-3.6-flash Google AI Studio
google/gemini-3.8-flash Google AI Studio
google/gemini-4-argon Google AI Studio
anthropic/claude-haiku-5-5 Anthropic’s API
anthropic/claude-sonnet-5-5 Anthropic’s API
anthropic/claude-opus-5-5 Anthropic’s API
anthropic/claude-fable-5-1 Anthropic’s API
openai/gpt-6-luna OpenAI’s API
openai/gpt-6-astra OpenAI’s API
openai/gpt-6.1-terra OpenAI’s API
openrouter/deepseek/deepseek-v4.1-flash:nitro OpenRouter
openrouter/deepseek/deepseek-v4-pro:nitro OpenRouter
openrouter/openai/gpt-oss-120b:nitro OpenRouter
openrouter/z-ai/glm-5.3-prime:nitro OpenRouter
openrouter/z-ai/glm-5.3-flash:nitro OpenRouter
openrouter/moonshotai/kimi-k3.1-pro:nitro OpenRouter
openrouter/qwen/qwen3.8-max-0902:nitro OpenRouter
openrouter/google/gemini-4-argon:nitro OpenRouter
openrouter/google/gemini-3.8-flash:nitro OpenRouter
openrouter/google/gemini-3.6-flash:nitro OpenRouter
openrouter/openai/gpt-6.1-terra:nitro OpenRouter
openrouter/openai/gpt-6-astra:nitro OpenRouter
openrouter/openai/gpt-6-luna:nitro OpenRouter

Each runs under its vendor’s standard API terms, not zero retention; DeepSeek’s API processes data in China, and an OpenRouter model runs on whichever host serves it fastest: choosing a model is choosing its vendor. EdgeKit keeps no prompt or answer.

Each run counts as one AI action on your usage.

A slot’s or palette entry’s assists is a map by key, in menu order:

slots:
picks:
kind: curated
block: story-cards
maxItems: 3
assists:
top-three:
type: ai
label: Pick today's top three
description: Picks the three stories a busy subscriber most needs.
model: anthropic/claude-sonnet-5-5
scope: edition
apply: pick
feed: top-stories
storyContext: [headline, summary, date]
prompt: |
Pick the three stories a busy subscriber most needs today.

type is always ai. scope is slot, stack or edition; apply is replace, pick, reorder or badges; feed is a feed’s key, set exactly when apply is pick. description is optional. storyContext lists the story fields in this order: headline, summary, date, authors, url, body. Left out, it is [headline, summary, url]; [] sends none. A stage is refused while an assist names a model that is no longer offered, or a feed that is archived or not deployed.

edgekit.ai