bend_brief
Turn a design brief into wild directions for one page or two, each with a visual spec for the platform, art queries and a prompt. Without pages it returns wildSpots.
| Plan | Quota | Changes data | Hints |
|---|---|---|---|
| All, unlimited | None | Only with canvasId: saves the directions |
idempotent |
Bending is deterministic: the same brief, wildness, platform, pages, moves and lens give the same directions with the same ids. Your own rate_directions history and the ideas on your last 5 boards shift the odds, so you do not see the same idea on every new brief.
Inputs
Section titled “Inputs”| Name | Type | Required | Limits and default | What it does |
|---|---|---|---|---|
brief |
string | Yes | 1 to 500 characters; a longer brief is trimmed | What is being designed, in a few words: “flight checkout screen” |
wildness |
integer | Yes | 1 to 5 | 1 Fresh, 2 Bold, 3 Weird, 4 Wild, 5 Bananas. Higher combines more moves |
count |
integer | No | 1 to 8, default 4; out of range values are set to 1 or 8 | How many directions |
platform |
enum | No | mobile, tablet, website, webapp, any |
Leave out to detect it from the brief. Rules |
pages |
string[] | No | 1 to 3, each up to 60 characters (a slide, post, logo or brand board: every artboard, up to 8) | The pages the idea is for. Leave out to get wildSpots. A UI bend keeps the first 3 and says so |
moves |
enum[] | No | transplant, material, era, constraint, scale, lens |
Limit which moves are used. Default all six, but lens (a craft tradition) only when the user asked for culture: the brief or context asks, names a tradition, the product is cultural (a museum, a heritage or tourism app), or a lens is set. A market alone never adds one |
lens |
enum | No | sadu, najdi, kufic, mashrabiya, talli, qatt-asiri, desert-modern, memphis, swiss-international, japanese-ma |
Every direction pulls from that tradition |
mustKeep |
string[] | No | 1 to 20, each up to 60 characters | Patterns users rely on (“clear total”, “one primary action”, “step indicator”). A direction that would break one is dropped. Checkout, cart and booking briefs keep a clear total and one primary action by default |
twists |
boolean | No | Default off | Adds a random twist from the word lists, from wildness 3. Leave out unless the user asks: without it no direction carries a twist, and the move that would be the twist does not shape the spec |
job |
string | No | 1 to 60 characters | The screen’s job in 2 to 5 plain UI nouns, like “agent run review inbox”. UI searches use it instead of the brief |
candidates |
object[] | No | 5 to 10 | Grounded ideas your agent writes from the audience’s world. See Candidates |
taste |
string[] | No | 1 to 5 words, each up to 40 characters | Style words, saved on the canvas with canvasId |
context |
object | No | product and audience up to 120 characters each, goal up to 160, market up to 80, languages (one BCP 47 code, English unless you ask), mustKeep (up to 20, 60 characters each; any cut, shortened or merged are named in the reply), pageType, marketRegion, hasSystem, assumed |
Your business answers, saved on the board; later calls on it reuse them. hasSystem: true when your product has its own design system (see new_canvas). assumed lists what the agent filled in itself when you said “just go”: product, audience, goal, market, taste, goal baseline when you gave a goal but no baseline number (then only the baseline is assumed, not the goal), and product name, brand colours or licence for those gaps. Common spellings are read as these (brand colors, license, app name); any other value fails the call. The reply names each assumption so the agent can tell you |
canvasId |
string | No | 1 to 100 characters | Saves the directions to that board, so search_references can take a directionId |
Output
Section titled “Output”Per direction: id, title (at most 14 words; for a candidate-led direction, the candidate’s own name), twist (empty unless twists: true, then from wildness 3), move, searchQuery, platform, pages, mechanic, artQueries (1 to 3 image queries for the art zone, phrased as subject, medium and composition), prompt and spec.
mechanic is { element, how }: the working part of the page the wild idea becomes, one of progress, total, cta, divider, section-nav, header, empty-state, queue, item-card, status, preview, filter, layout, navigation or canvas (a braid as the progress bar, tabs as sections, a woven band as the section divider). It never lands on a protected total or main button. Build the direction around it, and search for UI that has that element.
spec fields:
| Spec field | Example |
|---|---|
typeVoice, typography |
mono: a monospace for display at clamp(48px, 8vw, 120px), the same mono for body at 18px |
color |
Chalky terracotta, sage and bone, no gloss; text at 4.5 to 1 or more |
layout |
12 column grid, fluid type, a scroll story that opens on a hero with one clear action |
imagery, texture, iconography |
Close-up sandstone renders; layered sandstone bands; emoji stand in for every icon |
motion |
Slow 300ms fades, nothing loops, none with reduced motion on |
density |
Airy sections, one message per screen height |
signature, pattern |
The hero section rendered in sandstone; layered panels as the section divider |
steal[], avoid[] |
How light sits on sandstone; text over sandstone without a solid backing |
styleWords[], whyItFits |
minimal; “A dusty matte mood suits hungry people deciding fast” |
Plus platform, pages, wildness, wildnessLabel, lens (with its arabicFont, a Google Fonts display face), suggestedLenses (up to 3 lens ids when the user asked for culture, the brief names a Gulf or Arab market or Arabic, and no lens is set; else empty) and wildSpots (5 spots, empty when pages was given). With canvasId: canvasId and saved; a candidate already bent on that board (the same idea) keeps its earlier direction id, and the reply says so. When the input was repaired: inputFixed (see below).
Cultural candidates (crafts, patterns, clothing, monuments, ancient pieces) lead at most one direction unless the user asked for culture; the others are named in culturalLeftOut and in one line of the reply.
A candidate sent with subtract: true (the same job with items removed and nothing added; at most one, only the first counts) keeps its place in the order you sent it and never pushes out an earlier candidate; its direction carries subtract: true. With no room, leave it out. When your subtract candidate (the one flagged subtract, else the first whose name has the word “subtract”) came past the count, the result carries subtractLeftOut: { name, count } and the reply says so in its own line: The subtract candidate "Fewer fields" was past the count and left out; send it within the first 3.
Slides, posts, logos and brand identity
Section titled “Slides, posts, logos and brand identity”When context.pageType is slide, social_post, logo or brand_identity, the directions are looks for fixed artboards on no device: the platform is any, there are no wildSpots, and the reply opens with a Kind: line (“Kind: logo sheets, fixed artboards on no device. Each direction is one look for the whole set.”). Nothing on an artboard moves or is tapped, so:
- No direction carries a
mechanic: it is not instructuredContent, not saved with the direction, and the reply prints no Mechanic line. The idea lives in the prompt and the skeleton. spec.typographyis “The hero reference’s type: its classes, weights and scale; every word readable at the artboard size.” (with the display size kept when your taste asks for big type),spec.motionis “None: a fixed artboard does not move.” andspec.iconographyis “No UI icon set: only drawn marks.” The reply’sSpec:line leaves motion and icons out, and its language line leaves motion out.- The prompt says “How it works:” and names the artboard, never the screen; the reply has no “First screen:” line; the signature and pattern name each artboard (“Each slide works like a ticket stub: …”), never a navigation or controls.
language.motionisstill, and the type voice is the one the candidate’slooksname (grotesk or sans, condensed, mono, slab, serif) before any spread across directions. withoutItnames what the set loses, never what a user could no longer do: “Without it, every logo sheet falls back to a stock template and the logo sheets no longer show Kraft Stamp.”- With two or more codes in
context.languages, the reply’sBusiness contextline names them all: “Languages: Arabic and English, two scripts.” (two languages in one script say “two languages”). A UI page keeps one language.
The wild card
Section titled “The wild card”With 2 or more directions, one is the wild card: the direction whose skeleton is farthest from the layouts heroes usually have. It carries wild: true and wildReason (one plain line, also printed under its Mechanic line), and the result carries wildCard: { id, reason }. The pick is deterministic (the same directions give the same wild card; a tie goes to the earlier direction). Its draft takes its hero’s look (palette, type, depth, imagery) but builds the layout on its own skeleton, and passes the same floor checks. With canvasId it is saved with the direction, and the board badges the newest set’s wild card. Guide: The wild card.
Candidates
Section titled “Candidates”Each candidate is { name, why, looks, family } plus optional world, nearby (up to 3), details, skeleton, element (one of the mechanic parts above) and subtract. Limits are in Repaired input.
- Order: the first candidates you send lead, at most 2 from one family, and the directions come back in the order you sent them. Ideas you rated down or used recently sink a little in the pick; nothing is rolled. The subtract candidate always leads. No other candidate is moved ahead of yours: an
Own worldcandidate leads only where you put it. - Left out: every candidate that does not lead is named with why, in
leftOutWhyand one reply line: 2 from its family already lead, it would break a must keep, it came past the count, or, for one inside your firstcount, your subtract candidate took its slot or it repeats a recent idea or one you rated down. A candidate inside your firstcountthat is left out also gets aChanged:line. To use one, send it earlier or raise the count. The reply’sNot used: ...line tells your agent to name these and offer that swap only if it can ask you; in a run where it cannot ask, it logs them. - Title: a candidate-led direction is titled with the candidate’s own name, as you wrote it. The page joins the name only when two candidates share one.
- Element: your
elementstays on any page, except a total or main button that is protected or on a page that takes no payment. That one is changed to another part, and the reply says so in its own line with the exact reason: the total or main button is a must-keep, a booking or payment page keeps it plain so users can read the amount, or the page takes no payment:Changed: candidate "Sandstone" element "total" to layout, because the total is a must-keep, so it stays as users know it; the idea lives in the page skeleton around it.Each candidate’sWithout itline (the signature test) is written from its ownwhywhen that opens with a verb (“Drag a visit block along a day ruler” gives “The user could no longer drag a visit block along a day ruler.”), else from its part. - Every change is said: bend_brief never changes your input silently. Each change (an element, a stated type, density, surface, ground or color use that had to move, a candidate left out inside your count, a search text rewritten) is its own
Changed: ..., because ...line in the reply, andinputFixedlists them too. - Your look words stay: a density a candidate states in its
looksorskeleton(“dense rows”, “compact list”) is its direction’s density, over a calm idea and your taste, and its skeleton keeps its density words. A type voice itslooksname outright (mono, condensed, slab, script, rounded sans, serif), a stated surface (flat, paper, glass, photo, textile or another named material) and a stated ground stay for that direction. Words ruled out (“no glow”) count as not said. Glass comes only from looks that write glass, frosted, glossy, chrome, holographic or iridescent: glow, neon and LED are light, not a surface, and the spread never gives glass to a candidate that did not state it (your own taste words still can). The colours a candidate’slooksname set its color use from the looks alone (“one amber” is one colour leading, “grey and orange” restrained); that costs the most to move, and when two directions still have to be kept apart aChanged:line says so (“color use committed changed to drenched”). On a work screen (a booking or payment, live operations or work screen, named in the line) the page surface stays flat or glass, said in one line for all directions with why, and each idea’s own surface stays on its signature element. No direction gets a photo ground or surface unless itslooksname photos. - Names with no subject: a name that is only counts and page parts (“One screen, one button”) searches your product’s nouns instead (“family savings screen”), with a
Changed:line. - Ground: a candidate’s ground comes from the colour words in its
looks(off-white, cream, black, navy), never from a material alone: “a coach’s paper team sheet” no longer turns a dark taste light, while “warm off-white paper” still reads light. A colour named right before “ground” or “background” (“deep violet ground”) is that ground. Looks that name hues and no ground (“butter yellow and tomato red”) never get a dark or photo ground from the mood or the spread: two or more hues give a colored ground, one gives a light page; a ground word in your taste still wins. Looks that name no ground and no colour at all (“saturated warm primaries”) always get the plain light page, never a dark ground from the mood or the spread, unless your taste names a ground; the hero’s own ground replaces it when the direction is reconciled, so noChanged:line is needed. A sans named inlookssets a sans voice even when hand marks are drawn on it. - Recent ideas: a candidate that repeats an idea on your recent boards is left out while enough fresh ones remain, else kept and named.
recentMatchespairs each repeat with the recent idea it repeats. A repeat shares the idea, not your product’s words: on a pet sitting board every idea names the pet, so “Pet’s care sheet day” is not a repeat of “paint the pet’s week”. Ideas on a board saved after this one (another session of yours) are listed innewerIdeasand never left out. A candidate whose name,whyandskeletonhold every distinctive word of a recent idea (your product’s words left out), the subtract candidate too, is a recent idea in other words: it is listed incloseToRecentand named in aClose to a recent idea: ...line, never left out, so your agent rewords it or says how it differs.
Repaired input
Section titled “Repaired input”Candidate text over its limit (name 60, why 240, looks 160, family 40, world 40, details 160, skeleton 200) is trimmed at a word boundary instead of failing the call. An element that is a common part name (list, sidebar, tabs, map, card) is read as the closest known part; any other unknown element or a bad nearby entry is dropped. A known element stays, unless it is a total or main button that may not change on this page (see Candidates). Either way the reply says so, nearby keeps its first 3, more than 10 candidates keep the first 10, count is set into 1 to 8 and a long brief is trimmed. The reply names each repair in one line, Input fixed: candidate 2 skeleton trimmed to 200 characters., and inputFixed lists them. Anything else wrong (a missing name or why, fewer than 5 candidates, a wrong type) fails the call, which names up to 5 problems at once.
Example call
Section titled “Example call”{ "name": "bend_brief", "arguments": { "brief": "launch page for a specialty coffee roaster", "wildness": 3, "count": 2, "platform": "website", "pages": ["launch page"], "twists": true, "canvasId": "c3f1a0d2-6b1e-4d8a-9f4b-0a1b2c3d4e5f" }}Example output
Section titled “Example output”Real output from the bend engine, shortened:
2 directions for "launch page for a specialty coffee roaster" (wildness 3, Weird):Platform: website (website). Each direction is for one wild page or two, not the product's main design.Pages: launch page.
1. Fluxus 1962 sandstone (Twist: only circles and half circles, no exceptions) [material + era] query: sandstone id: bd-z0y2y96z. Prompt: Redesign the specialty coffee launch page. Render every surface as sandstone... Mechanic: build this direction around cta = Sandstone skins the main button; still one button with a plain label. Search for UI that has this element. Spec: type mono: A monospace for display at clamp(48px, 8vw, 120px)... | color: Chalky terracotta, sage and bone... Signature: The hero section rendered in sandstone, with real light and shadow. Pattern: Layered sandstone panels... Art queries: sandstone texture; Fluxus graphic design2. Cereal box (Twist: sparklines blown up huge) [scale + transplant] query: cereal box id: bd-mob5pq35. ... Mechanic: build this direction around section-nav = Cereal box as the tabs that switch between sections. Search for UI that has this element. Art queries: cereal box; oversized sparklines poster
Saved to canvas c3f1a0d2-.... Pass a direction id as directionId (with this canvasId) to search_references.Wild spots
Section titled “Wild spots”Call it with no pages (and no canvasId if you do not want to save anything):
{ "name": "bend_brief", "arguments": { "brief": "personal finance app", "wildness": 3, "count": 1, "platform": "mobile" } }Pages: none given. Where weirdness pays off (wildSpots):- onboarding: Seen once, sets the tone, and nobody has learned the layout yet.- empty state: Nothing to read yet, so the screen has room for a strong idea.- achievement or streak moment: A reward should feel special, not like every other screen.- paywall: A memorable paywall sells the feeling, not just the feature list.- splash screen: A second of brand with no task to get in the way.Messages
Section titled “Messages”| Message | Fix |
|---|---|
| “brief must be 1 to 500 characters, for example “flight checkout screen”.” | Pass a brief |
| “candidates item 2: why must be 1 to 240 characters.” | Give that candidate a why (the same for name, looks and family) |
| “candidates must be 5 to 10 ideas, …” | Pass at least 5 candidates |
| “wildness must be a whole number from 1 (Fresh) to 5 (Bananas).” | Pass 1 to 5 |
| “pages must be 1 to 3 page names (up to 8 artboards on a static board), each up to 60 characters.” | Shorter page names |
| “mustKeep must be 1 to 20 short patterns, each up to 60 characters, like “clear total”.” | Fewer, shorter must keeps |
| “canvasId must be an id from open_canvas.” | Use a real canvas id |
| “The directions were not saved: that canvas was not found or could not be reached…” | Directions still come back; search with their query text, or bend again with a valid id |
Related: Go wild on a screen, Wildness, moves and lenses.