Skip to content

Récit for agents

Récit for agents gives an agent what it needs to write with you: an MCP server that validates, edits and renders a story, skills it can install, and a bible — the characters, sets, style, image prompts and beats of a story world, written once in Markdown. The film below is a micro-film of the Lorem bible, compiled from examples/scenario-lorem. Récit never calls a model and never generates an image: it describes, checks and traces.

Lorem NightOpen fullscreen
The bible of this film
examples/scenario-lorem/cast.md
--- title: Lorem Cast kind: bible lang: en bible: promptLang: en style: ink-flat beats: hook-tension-payoff --- --- id=lorem entry=character ## Lorem Lorem is a small cheerful sprout who loves dolor sit amet after dark. :::identity Small round sprout, thick irregular black ink outline, two-tone green crown, light green stem, no face, no text, flat colors, transparent background. ::: :::traits - species: sprout - palette: crown=#2F5D1E, stem=#7FD14A, ink=#111111 - voice: short sentences, warm, playful {inferred} - forbidden: slang, real brand names - values: curiosity, kindness {inferred} ::: ::pose[Standing still, crown slightly swaying]{id=idle} ::pose[Waving with one leaf]{id=waving} ::pose[Small jump, both leaves up]{id=jumping} ::pose[Waiting, leaves crossed]{id=waiting} ::expression[Delighted]{id=happy} ::expression[Worried]{id=worried} :::avoid - human face, eyes or mouth - text, letters or logos in the image ::: ::reference{src=./cast/lorem-canonical.svg role=canonical} --- id=rooftop-night entry=set ## Rooftop at night A flat rooftop above dolor city, string lights, a small stage in the corner. :::traits - time: night - light: warm string lights, cool blue sky - ambience: distant jazz, light wind {inferred} - palette: sky=#1B2440, lights=#F4C46B - props: string lights, folding chairs, a small stage ::: ::shot[Wide, city skyline behind]{id=wide} ::shot[Medium, stage on the left]{id=medium} --- id=rainy-street entry=set ## Rainy street A narrow street of sit amet, wet cobblestones, one lit doorway. :::traits - time: evening - light: one warm doorway, blue reflections on the cobblestones - palette: street=#22303C, door=#F2A65A - props: an umbrella, a closed shutter, a puddle ::: ::shot[Wide, the doorway at the end of the street]{id=wide} ::shot[Close, the puddle and its reflection]{id=close} --- id=ink-flat entry=style ## Ink flat :::identity Flat vector illustration, thick hand-drawn black ink outlines, limited palette, no gradients, no texture. ::: --- id=p-rooftop-wave entry=prompt subject=lorem set=rooftop-night shot=medium pose=waving aspect=9:16 Lorem greets the crowd before the first song. --- id=p-street-wait entry=prompt subject=lorem set=rainy-street shot=wide pose=waiting expression=worried aspect=9:16 Lorem waits alone in the rain, the doorway still closed. --- id=p-rooftop-jump entry=prompt subject=lorem set=rooftop-night shot=wide pose=jumping expression=happy aspect=9:16 Lorem jumps for joy as the string lights come on. --- id=hook-tension-payoff entry=beats 1. hook — a question or an image that stops the scroll 2. tension — dolor sit amet goes wrong 3. payoff — the resolution, then a call to action --- id=three-act entry=beats 1. setup — who, where, what they want 2. confrontation — what stands in the way 3. resolution — how it ends, and what changed
The Markdown source of this film
examples/scenario-lorem/night.story.md
--- title: Lorem Night description: A micro-film of the Lorem bible, hook, tension, payoff on the rooftop format: motion aspectRatio: 9:16 cast: ./cast.md --- --- id=hook type=pixel beat=hook set=rooftop-night cast=lorem pose=waving prompt=p-rooftop-wave ```pixel id=lorem-waving alt="Lorem waving on the rooftop" fps=4 reveal=scan . = transparent k = text g = accent m = data.mint ...kk... ..kggk.. .kggggk. ..kmmk.. ...kk... ...mm... ...kk... ..kggk.k .kggggkk ..kmmk.. ...kk... ...mm... ``` Lorem waves from the rooftop before the first song. --- id=tension beat=tension set=rooftop-night shot=wide The string lights are off. # Dolor sit amet? --- id=payoff type=pixel beat=payoff set=rooftop-night cast=lorem pose=jumping prompt=p-rooftop-jump ```pixel id=lorem-jumping alt="Lorem jumping for joy" fps=4 reveal=none . = transparent k = text g = accent m = data.mint ...kk... ..kggk.. .kggggk. ..kmmk.. ...kk... ...mm... k..kk..k .kkggkk. .kggggk. ..kmmk.. ...kk... ........ ``` Lorem jumps to the next roof. --- id=cta See the next nights. # Consectetur!

What it gives your agent

Start a story world

  1. Copy the example

    1 min

    The Lorem bible, its three micro-films in English and French and their placeholder images.

    TerminalBash
    cp -r examples/scenario-lorem my-world
  2. Check it

    1 min

    Every scene's cast, set, pose and prompt is checked against the bible. The copy passes with warnings: three traits are still {inferred} and no image is registered yet. Once you have validated them and registered your images, --strict turns those warnings into errors.

    TerminalBash
    recit validate cast.md night.story.md
  3. Derive the prompts

    1 min

    One prompt per shot, the same in every language, with a placeholder image until yours is registered.

    TerminalBash
    recit prompts build cast.md --placeholders

The bible is specified on docs.recit.dev, and the MCP setup on AI › MCP.