flow-mcp
Drives Google Flow (flow.google.com) through the user's signed-in Google account and Flow credits, including creating characters, stills, clips, and optionally using Google AI Studio narration voices.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
flow-mcp
Drive Google Flow (flow.google.com) from Claude, Codex or any other MCP app, or from a local control panel, using Flow's own credits (free with any Google account: 50 a day), not the pay-per-use video API.
It is a small program that runs on your own machine. It opens its own Chrome window, signs in as you, and clicks Flow's real buttons. There is no browser extension, no hosted service and no account to create.
Claude / Codex ──stdio──> flow-mcp ──Chrome DevTools Protocol──> Chrome (its own profile) ──> FlowMCP = Model Context Protocol, the standard that lets Claude use outside tools. New here? GETTING-STARTED.md takes you from nothing to your first video, step by step, and OVERVIEW.md explains what it does in plain English, with no code names.
About this repository. It continues GTAI-1/flow-mcp, where no community pull request has been merged. It carries that project's work up to 21 November 2026, the community pull requests that were waiting there (reviewed and fixed first), and fixes of its own. Issues and pull requests are welcome here. See What this continuation adds.
What you need
macOS, Windows 10/11 or Linux | Runs on macOS, Windows and Linux. On Linux, Chrome and Chromium are found where distributions put them, deletes go to the freedesktop Trash, and the panel starts with |
Node.js 22 or newer |
|
Google Chrome | Any recent version. On Linux, Chromium is used if Chrome is not installed ( |
A Google account | Free. Flow gives every account 50 credits a day; a paid Google AI plan adds more and unlocks 1080p downloads. Developed on a Pro plan |
FFmpeg (optional) | Mac: |
A Google AI Studio key (optional, free) | Only for the Google narration voices. See below |
whisper.cpp (optional, free) | Only for captions: it hears the words, on your computer. Mac: |
A display must stay awake: the Chrome window is really being driven, so the machine cannot be headless or asleep mid-run.
Related MCP server: google-flow-mcp
Install
git clone https://github.com/Pho3niX90/flow-mcp.git
cd flow-mcp
npm install
npm run buildMac: do not put this folder in
~/Desktop,~/Documentsor~/Downloads. macOS protects those folders, and apps that launch the server from there can be refused permission to read its own files (EPERM: operation not permitted).~/flow-mcpor anywhere in your home folder is fine.Windows: keep it out of folders OneDrive syncs (often Desktop and Documents), where files can be held online-only.
C:\Users\<you>\flow-mcpis fine.
Then sign in, once:
npm run loginThat opens the dedicated Chrome window. Sign into Google by hand, open (or create) a Flow project,
and leave the window open. The program never types your password; it only uses the session you
created. That Chrome profile lives in ~/.flow-mcp/chrome-profile and is separate from your
everyday browser.
Connect it to Claude, Codex or Antigravity
Claude Code
claude mcp add --scope user flow -- node /absolute/path/to/flow-mcp/dist/index.js--scope user makes it available in every folder; the default (local) only works in the folder you ran it from.
Use Dia instead of Chrome (macOS)
Set FLOW_MCP_CHROME when logging in and when registering the MCP server:
FLOW_MCP_CHROME=/Applications/Dia.app/Contents/MacOS/Dia npm run login
claude mcp add --scope user flow -e FLOW_MCP_CHROME=/Applications/Dia.app/Contents/MacOS/Dia -- node /absolute/path/to/flow-mcp/dist/index.jsKeep flow before -e: Claude treats -e as accepting one or more environment variables. Flow MCP stores its separate session in ~/.flow-mcp/chrome-profile, so it does not use your everyday Dia profile.
Claude Desktop: add to claude_desktop_config.json (Mac: ~/Library/Application Support/Claude/, Windows:
%APPDATA%\Claude\). On Windows, write the path with doubled backslashes, like
"C:\\Users\\you\\flow-mcp\\dist\\index.js":
{ "mcpServers": { "flow": { "command": "node", "args": ["/absolute/path/to/flow-mcp/dist/index.js"] } } }Codex: add to ~/.codex/config.toml (on Windows, %USERPROFILE%\.codex\config.toml):
[mcp_servers.flow]
command = "node"
args = ["/absolute/path/to/flow-mcp/dist/index.js"]Or run codex mcp add flow -- node /absolute/path/to/flow-mcp/dist/index.js. No timeout setting is needed:
Codex, like most MCP apps, gives up on a tool call after 60 seconds, so any call that runs longer than about
45 seconds (creating a character, a 1080p download) answers with a task id instead and keeps working, and
flow_wait collects the result.
Antigravity (Google's coding app): add a flow entry to mcp_config.json.
macOS / Linux:
~/.gemini/antigravity/mcp_config.jsonWindows:
%USERPROFILE%\.gemini\antigravity\mcp_config.jsonOr open it from the agent panel's … menu → Manage MCP Servers → View raw config.
Keep any servers already listed and add this one beside them (use doubled backslashes \\ on Windows, and optionally set FLOW_MCP_OUTPUT to store outputs on any drive):
{
"mcpServers": {
"flow": {
"command": "node",
"args": ["/absolute/path/to/flow-mcp/dist/index.js"],
"env": {
"FLOW_MCP_OUTPUT": "/optional/path/to/output"
}
}
}
}Other MCP apps (Cursor, VS Code and others) take the same command and arguments in their own MCP settings. ChatGPT in the browser or the ChatGPT app can't use it: its connectors only reach servers on the internet, and this tool has to run on your own computer to drive your Chrome window.
Developed and tested with Claude. Codex and Antigravity speak the same protocol, so they should work the same way, but neither has been tried yet, so please report how it goes. Running two of them at once is safe: the first one started drives Flow, and the others pass their requests to it.
Restart the app, then ask it: "check my Flow session". You should get your plan and credit balance back. Everything after that is plain English; you never type tool names.
Your first film
Nothing below costs a credit until step 4, and the assistant asks before spending.
Check the session. "Check my Flow session." This confirms sign-in, plan and credits.
Make a character. "Create a character called Pip, a small lamplighter in a flat cartoon style." Flow draws the portrait. Free.
Draw the key frames. "Draw three stills with Pip: a dark rooftop, him lighting a lamp, the whole hillside glowing. Match each one to the last." Free: stills cost nothing, so get the look right here before spending.
Shoot it. "Turn those into three 10-second shots, each starting where the last one ended, 720p, no more than 15 credits each." This spends credits. The price is read from Flow's own quote first and the scene is skipped if it is over your cap.
Narrate it. "Record this line with a warm documentary voice." Free, any length.
Cut it. "Join the three shots under the narration, don't freeze the last frame." The finished file lands in
~/flow-mcp-out/<project>/.
The control panel
The same features, without an AI assistant in the loop:
npm run studio # then open http://127.0.0.1:8787or double-click Flow Studio.command (Mac), Flow Studio.cmd (Windows) or Flow Studio.sh (Linux).
Eight tabs, in the order you would use them:
Cast: reusable characters. Create them, edit them in place, or build one from a picture.
Frames: free stills, with match previous frame to keep a set on-model.
Shots: paid clips, with first/last frames, chaining, a live credit estimate, and a card that continues a finished clip from its own last frame.
Voice: free narration with Kokoro (the default: 28 voices, runs on your computer, no key) or Google's voices. Your saved narrations are listed here to play or delete, and there's a field for your Google AI Studio key (checked with Google, stored only on your computer; never paste it into a chat).
Restyle: change a clip you already have.
Cut: join any videos into one film, in the order you pick. Upload one, or choose from films you've already made. Add a narration (from your saved ones or an upload) and music, and turn the clips' own sound down so the narration sits on top.
Captions: put the spoken words on screen, the way short-form videos do, on wide or vertical videos. Pick a video and the language spoken in it (about 100 languages, or Detect automatically), choose a style (Bold pop, Highlight, Word by word, Clean, Boxed), where it sits (bottom, middle, top, an exact height, or tap the preview), its size (a slider), its letters (normal, CAPS or lowercase) and highlight colour, and see it on a real frame of your video before anything is made. Fix any misheard word in the text box and it keeps its timing; press Enter to start a new caption. Saves
<name>-captions.mp4plus an.srtfor YouTube. Everything happens on your computer; nothing is uploaded.Library: everything in your Flow project. Download it again for free (a scene comes down as one finished film, not loose clips), or move it to Flow's Trash.
A progress monitor and a gallery of your saved work sit alongside. The gallery shows stills or clips on the tabs that use them. On a wide screen, each side scrolls on its own. Two kinds of delete, clearly labelled: Move to the Mac's Trash / Recycle Bin removes a file from your computer; Move to Flow's Trash removes it from your Flow project only. Both can be undone.
The panel ships with the repo but is not started for you: run npm run studio when you want it.
Opening studio/index.html as a plain file does nothing; the page needs the server behind it, and
says so in red if you try.
Claude's own process serves the same panel while it runs. Whichever process starts first owns the
Chrome tab and the job queue; the other talks to it over a local API, so Claude and the panel always
agree on what is running. That API listens on 127.0.0.1 only and needs a per-run token
(~/.flow-mcp/token).
Background service
If you want the control panel running without keeping a terminal window open, use flow-studio
(after npm run build; run it via npm run flow-studio -- <command> or install the bin with npm link):
npm run flow-studio -- start --open # start in the background and open the panel
npm run flow-studio -- status # show URL, process id, Chrome window, and paths (--json supported)
npm run flow-studio -- stop # stop the background service and close Flow Studio's Chrome windowstoprefuses to interrupt an active generation unless you pass--force, refuses to stop a server owned by your AI assistant, and only closes Chrome windows that Flow Studio itself launched (pass--keep-chrometo leave Chrome open).Settings live in
~/.flow-mcp/config.json(port,cdpPort,output,chrome), the running owner is recorded in~/.flow-mcp/studio.json, and background logs go to~/.flow-mcp/logs/studio.log(rotated at 5 MB, keeping one backup). Environment variables still overrideconfig.json.If the configured panel or Chrome port is already held by another unrelated program, Flow Studio picks the next free port automatically and records it so
status,stop, and MCP clients find it.
Several accounts at once
With one Google account, everything stays in ~/.flow-mcp/ with no extra setup. If you have more than
one Google account and want Flow MCP to share batches across them in parallel, add extra accounts:
npm run login -- backup # opens a separate Chrome window for "backup"; sign in and open a Flow projectOr ask your assistant to use flow_accounts (add, list, enable, disable, remove). Each
additional account keeps its own Chrome profile, port, downloads, and memory under
~/.flow-mcp/accounts/<name>/, while the default main account stays in ~/.flow-mcp/. Ready,
enabled accounts automatically share unpinned scenes from the queue in parallel (one active job per
account, respecting each account's pacing).
Parallel image batches
By default flow_generate runs one scene at a time. When generating several independent stills
(kind: "image" with no chain_previous / first_frame / last_frame), you can pass
parallel_images: true on flow_generate to submit up to 6 stills per account at a time (10–20 s
apart inside Flow's composer, reading each scene's credit quote before sending) and wait for all of
them together. Each finished image is matched back to its scene by its prompt and attached references
so scene numbers stay right regardless of finish order. Video scenes always stay serial.
Tools
Tool | Purpose |
| Session state (signed in, which project is open, plan, credits left), queue, pacing, prompt playbook |
| Manage Google Flow accounts ( |
| List Flow's available image models and optionally save a default image model (used when |
| List the projects on your Flow home page (in a temporary tab so the open project is untouched) and mark which one is open |
| Create a new, empty Flow project and open it, optionally with a title |
| Open one of your existing Flow projects by name, UUID or URL; |
| Rename the currently open Flow project from the project grid and confirm Flow kept the new title |
| Queue scenes: prompt, image or video, model, aspect, duration, resolution, variants, first/last frame, reference images, |
| Wait for jobs, or for the task id of a slow call; returns file paths and results. Answers within about 40 s, so call again until |
| Cancel a job that has not started |
| Re-queue failed jobs with the same settings and file names (a failed tile is first retried inside Flow with its own free Retry button: |
| List images, videos, scenes, characters and collections in the Flow project (usable as |
| Download existing project media without regenerating. Free, including the 1080p / 2K upscale. Pass |
| Move an image, video or scene in the Flow project to Flow's Trash, where it can be restored. Exact title only; refuses if two items share it; never deletes permanently |
| Rename an existing image, video or scene in the Flow project by its exact current title. Refuses ambiguous or already-taken titles |
| Fast image batch: hands up to 50 scenes to Flow's own Agent mode, rendered in parallel (20 images in ~204 s), 0 credits. The finished images are gathered into a Flow collection and come down as ONE ZIP of originals, checked against the batch and downloaded again if one is missing; if that step fails, the batch stops and says where the images are, and never downloads them one by one. If Agent mode cannot be used at all, the batch stops with the reason. Each image is matched back to its scene by its stored prompt, so file numbers are right in any finish order. Scenes the agent drops are re-asked of it (up to 2 rounds), then re-run one by one. |
| An image with a transparent background (PNG): Flow draws the subject on pure white, redraws the same picture on pure black, and the two are compared pixel by pixel on your computer (difference matting), so glass, hair and soft edges keep real partial transparency. From a |
| Video-to-video edit of a clip already in the project (relight, weather, remove objects). Flow shows no quote first; about 20 credits for a 4 s clip |
| Start a clip from the last frame of an existing one with a character or your avatar still attached. The composer allows a start frame or attached characters, never both, so this drives Flow's agent mode, which does both. No quote beforehand |
| Create a reusable character from a description (Flow draws the portrait) or an image, with a personality and a stock voice (or |
| Restyle an existing character in place (free) and save the new portrait, or change its voice ( |
| List the project's characters with their remembered voices ( |
| 39 film-technique prompt presets (camera moves, product shots, transitions, image commands); pass an id as a scene's |
| Free narration audio, any length: |
| Narrator voices available, whether Kokoro's model is downloaded yet, and whether a Google key is set up |
| Burn spoken-word captions into any video, landscape or vertical, in one of five styles, at any height and size, in normal, capital or lowercase letters, in about 100 languages; returns the transcript so a misheard word can be fixed and the call repeated (local whisper.cpp, Chrome and FFmpeg, no credits) |
| Hear the words in any video or audio on your computer, with each word's start and end time (local whisper.cpp, free) |
| Join clips into one MP4 (a project's clips, or any you list, in order) with optional music and voiceover, and separate volume for the clips' own sound. A voiceover can also be built line by line ( |
Continuity between shots: chain_previous (this clip starts on the last frame of the previous
one), first_frame + last_frame (animate between two stills you chose), reference_images (keep a
character or product consistent). Flow's composer takes either frames or references, never both, so
when you need a start frame and a character locked together, use flow_continue, which goes through
Flow's agent mode and does both.
Output lands in ~/flow-mcp-out/<project>/scene-NN.ext.
Narration voices
flow_narrate uses Kokoro by default: a free voice that runs on your own computer, with no key, no daily
limit and no length cap. Pick any of its 28 English voices (American and British) and a speed. The first take
downloads its model once (326 MB, about a minute); after that a take records in a couple of seconds.
Google's voices (optional)
For Google's voices (the same ones Flow offers), get a free key from
Google AI Studio and paste it into Flow Studio → Voice → Google AI Studio
key → Save key. It's checked with Google before it's saved, and stored only on your computer. Or set
GEMINI_API_KEY. Either way, never paste the key into a chat; it would end up in the conversation history.
Behaviour and settings
One generation at a time, with a random 25–70 second pause between them. The page carries an invisible reCAPTCHA; this drives the real interface at human pace and does nothing to evade it.
Before each generation the server reads Flow's own credit quote and skips the scene if it exceeds
max_credits(default 25).Any Google account language works. The server finds Flow's buttons by their English names, so its Chrome window always shows Flow in English (it adds
?hl=ento the address). Your account's own language setting is never changed, and prompts can be written in any language.Settings file:
~/.flow-mcp/config.json(port,cdpPort,output,chrome), created on firstflow-studio start. Environment variables override it:GEMINI_API_KEY,FLOW_MCP_PORT(8787),FLOW_MCP_OUTPUT,FLOW_MCP_HOME,FLOW_MCP_CDP_PORT(9333),FLOW_MCP_CHROME,FLOW_MCP_PROJECT,FLOW_MCP_PAUSE_MIN_S,FLOW_MCP_PAUSE_MAX_S. Helper programs, if they are not on your PATH:FLOW_MCP_FFMPEG,FLOW_MCP_FFPROBE,FLOW_MCP_WHISPER.Everything can live on another drive.
FLOW_MCP_HOMEmoves the Chrome profile, downloads, settings and logs; working files for cutting and captions then go to atmpfolder inside it (or whereverFLOW_MCP_TMPpoints) instead of the system's temp folder.FLOW_MCP_OUTPUTmoves the finished films.Downloads go to a folder only this tool uses. If Chrome ever saves one to your own Downloads folder instead, it is taken from there only with proof that it came from Flow; nothing else in that folder is touched.
FLOW_MCP_TRACE=1writes every step of a job, with how long it took, to stderr (logs/studio.logfor the background service). Use it to see where a job is slow or where it stopped.
If something goes wrong
Symptom | Cause |
Mac: the server will not start, | The folder is in a macOS-protected location. Move it out of |
"Not signed in" or "no project open" | Run |
A clip generated but no file arrived | The media is still in Flow. |
Everything times out | The Chrome window was closed, or the machine slept. Reopen it with |
Linux: | Its installer wants GPU files that are no longer published. This repository's |
"Could not attach to Chrome: this is Chrome 156..." ( | Chrome 156 refuses a call Playwright makes when attaching. Update Google Chrome (this does not happen on Chrome 158+) and try again |
"Chrome is translating Flow's page..." | Chrome's auto-translate rewrites button labels so selectors miss, even when the page still looks English. Click the translate icon in the Flow Chrome address bar and choose never to translate this site, or close Flow's Chrome window so it reopens with translation off |
"This account shows Flow's agent-only composer..." | Google is serving a composer variant with no per-generation settings controls to that account; nothing was generated or charged. |
Every click takes seconds and jobs crawl | Flow's Chrome window was opened by an older version. Chrome slows a window that is covered by other windows to one frame a second, and this version starts Chrome so that it does not. Close Flow's Chrome window; the next job opens it again |
A job is slow or stops and you cannot tell where | Start it with |
Updating
Tell your assistant: "Update Flow MCP: in my flow-mcp folder, run git pull, then npm install, then npm run build." Then fully quit and reopen your assistant app so it loads the new version.
Security
Flow's Chrome remote-control port: to drive Flow, this tool starts its dedicated Chrome window with a remote-debugging port (
--remote-debugging-port) listening on127.0.0.1(this computer only) with no password. While that window is open, any program running on your computer can reach that port and drive the signed-in Google session.Control panel API: Flow Studio's HTTP API also listens on
127.0.0.1only and requires a per-run token saved in~/.flow-mcp/token.File and folder boundaries: downloads go to a dedicated folder under
~/.flow-mcp/; if Chrome ever falls back to your own~/Downloadsfolder, a file is taken only with proof that it came from Flow, so unrelated downloads are never touched. Project names like..are refused so outputs can never be written outside your output folder.Practical advice: use a dedicated Google account kept for Flow MCP, close Flow's Chrome window when it is not in use (
flow-studio stopcloses it for you), keep two-step verification turned on, and install from a commit you have reviewed rather than updating blindly.
What this continuation adds
Everything below is on top of upstream as it stood on 21 November 2026.
Community pull requests, brought in after review. Each was ported onto current code and committed under its author's name, with the fixes it needed as separate commits. The numbers are the pull requests on GTAI-1/flow-mcp.
What it brings | By | |
#1 |
| |
#2 | FFmpeg is found when it was installed after the server started; Antigravity setup | |
#6 | Windows narration fix, the Check key button, a clear stop at Flow's image-rights dialog | |
#8 |
| |
#9 | Cut films are tagged Rec.709, so QuickTime no longer washes them out | |
#10 | The open project tab is preferred over Flow's marketing page; Dia on macOS | |
#11 | A failed save no longer downloads the file again; the paid 4K upscale is never picked | |
#13, #14 | Tiles identified by their media id, never by title or position; | |
#15, #17 |
| |
#16 |
| |
#21 | The queue stops on Flow's "unusual activity" refusal; model names match across renames | |
#23 | Video tiles identified by their signed address; a download fallback for Chrome 156 | |
#25 | Linux support; reliable tile hover; agent panel handling | |
#27 | Library collections: list them, walk nested ones, download what is in them | |
#30 | Omni 1.2 model matching whatever the word order, with the first unit tests | |
#32 | A Docker image | |
#38 | Flow's renamed agent switch | |
#41 | Renaming from the item's own page, since the grid's Rename stopped saving |
Not brought in: #5, #34, #35 and #36 (upstream's own 21 November update does the same), #31 (withdrawn by its author), #33 (it skipped the clip length on Omni 1.2) and #29 (its credit estimate undercounted 11 to 15 second clips, which would have let a job spend past its limit).
Fixes made here.
A file you download yourself is never taken from your Downloads folder and renamed as a clip.
A project called
..no longer saves outside the films folder.Jobs take about a third of the time: Chrome keeps drawing when its window is covered, and attaching a reference image no longer waits 30 seconds.
A failed tile left by an earlier job is not mistaken for a new failure, so Flow's Retry is not pressed on old work.
On Windows, Chrome opens in a visible window when the server was started hidden, starts correctly from a folder with a space in its name, and saves to another drive.
A Flow Chrome window left open by an older version is found again after updating.
flow_trashandflow_renamerefuse whole Library collections.Working files follow
FLOW_MCP_HOMEto another drive.npm installworks on Linux again (a dependency's GPU download had started failing the whole install).Tests:
npm testruns them, and they run on Windows, macOS and Linux for every change.
Upstream issues addressed. Numbers link to GTAI-1/flow-mcp.
#3, #37, #43: agent switch matched across all UI variants, with no 30-second wait when the toggle is absent.
#4: Flow pinned to English (
?hl=en); Chrome page translation disabled on launch and detected if already active.#18, #24: docked agent side panel closed automatically; the agent-only composer variant fails fast with a clear message (not yet supported for single generations).
#19: tiles identified by media id instead of title or grid position.
#20: project tools (
flow_projects,flow_new_project,flow_open_project,flow_rename_project).#22: clear Chrome 156 error message advising an update to Chrome 158+.
#26: Library collections listed, walked recursively, and downloaded.
#28: all four parts addressed (Downloads folder provenance checks, Security section above, safe project folder names,
LICENSEand dependency audit fixes).#40: too little detail in the report to reproduce directly; the rendering speed and stability fixes here may cover it.
#42: docked agent side panel closed, Flow Studio plan and credit pills survive reloads, and Windows
whisper.cppnotes added (a Studio language picker is welcome as a pull request).
Licence and risk
Upstream declares the ISC licence in package.json and ships no licence file. This repository keeps that
declaration, includes the ISC text in LICENSE, and takes contributions under it.
This automates Flow's web interface. It can break whenever Google changes that interface, and automated use may be against Google's terms of service. Use it on your own account, at your own risk.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Google Flow's agent: chat that plans and makes images and videos, approvals, your own media
A film studio inside your own Claude: your Claude plans, writes, makes, checks and finishes films, pictures, voices and music with you, on your own provider keys.
- Wireflow MCP serverDeprecatedai.wireflow
Connect Claude or any MCP client to Wireflow, the AI canvas for image, video and audio workflows. List, build, inspect and run your workflows and published apps, browse templates, check models, prices and credits, edit a video node's timeline, and plan or schedule social posts. Drafts and edits cost no credits; run tools spend the user's credits.
The agentic video editor for ChatGPT and Claude. Ask in your chat and it cuts, captions, adds music, titles and motion graphics on a real timeline you can open and adjust.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to drive Google Flow through a real Chrome profile to generate images, videos, characters, and scenes without sharing credentials.192MIT
- AlicenseAqualityCmaintenanceEnables AI agents to generate Google Flow videos and images and automate Scene Builder clip extensions through a user's own Chrome session.11308 npm14MIT
- AlicenseAqualityBmaintenanceEnables Claude to drive Google Flow end-to-end: batch video generation on Veo 3 / Omni 1.1, scene chaining, keyframe transitions, video-to-video edits, and automatic downloads, all through a local bridge with the OmniFlow Chrome extension.5489 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables an AI agent to drive Google Flow through a real logged-in browser session: read projects, media, characters, scenes and credits, create and delete them, upload media, generate Veo video and Nano Banana images, and assemble scenes into a film. Every paid action is priced in its tool description and written to a spend ledger before the click, with a job-id guard against double charges.3MIT