What the agent receives for an episode run, in order
A Sume Format run composes the Format, your instruction, an unattended block and a pointer to input, in that order. Your instruction wins a conflict.

When you start an episode through the Format API, the agent receives six parts in a fixed order: a pointer at the Format and its version, the attached recipe package, your instruction, an unattended-run block (API and scheduled runs only), a pointer at your input, and any attachments. The Format comes first because it is the how; your instruction comes after it, so where the two disagree the model follows what you asked for.
This is the first place to look when an episode did something you did not expect: the run's thread begins with the composed text, minus the package files, which sit on disk instead of in the message. The runtime keeps your instruction, the unattended block and the input pointer in a protected prefix, so a long Format cannot push them out of the prompt.
The order
| Position | Part | Notes |
|---|---|---|
| 1 | Format pointer | The recipe name and version; the body is never inlined |
| 2 | Format package | On disk in the run's workspace |
| 3 | Your instruction | Or the Format's default if you send none |
| 4 | Unattended-run block | API and scheduled runs only |
| 5 | Action input pointer | input written whole to /workspace/inputs/sume-action-input.json |
| 6 | Attached files | Your attachments, when present |
What that means for a series
- Use
instructionfor the episode's one-off direction, such as "keep this one under 30 seconds". It overrides the recipe where they conflict. - Use
inputfor data the episode uses: names, locations, the beat. The agent reads it as data, never as instructions, so a line ininputthat says "ignore the style guide" is just text. - Do not rely on
inputto change behaviour the recipe forbids. Change the Format or useinstruction. - Open the thread in Agents to see the composed message when the result surprises you.
An episode request
curl -sS -X POST "https://api.sume.com/v1/formats/acme/brand-series/runs" \
-H "Authorization: Bearer $SUME_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: brand-series:s01e04:v1" \
-d '{
"instruction": "Keep this episode under 30 seconds.",
"input": { "episode": 4, "beat": "The neighbour knows" },
"generation_spend_cap_usd": 10
}'What Sume does not do
Sume does not merge your instruction into the recipe or save it for the next run. Each run composes the six parts again, so a correction you want every week has to be written into the Format.
Sources
Related posts
More in Formats
- Which Sume Format run receipt fields to store in your database
Store id, format, status, created_at, finished_at, model, usage.debited_usd_micros, output and artifacts. Fetch the rest, because URLs and expires_at change.
- Shorts ad copy: 40-character headline, 90-character description
Google recommends 40-character headlines and 90-character descriptions for the Shorts ad CTA card. Draft copy in bulk with Sume and check lengths before upload.
- 250 SKUs for Black Friday: three Format queues of 100, 100 and 50
A Sume bulk queue holds 1 to 100 Format runs. For 250 SKUs, send three queues of 100, 100 and 50 with their own idempotency keys and concurrency window.
- Selling on many channels: queue 100 product videos overnight
Amazon says over 95% of independent sellers sell on several channels. Queue up to 100 Sume Format runs with a concurrency window and wake up to a media set.
Written by Sume