Skip to contentBlack Friday: Framescript for €79 instead of €99 with the code BF2026

What an agent can do

While Framescript is open, it serves its tools over the Model Context Protocol (MCP) at http://127.0.0.1:47321/mcp, to a client that sends the token the person gave it. How the person lets an agent in, and ends it, is on Connecting an agent. This page is what the agent has once it is in. The tools an agent has lists every tool with what it takes.

The shell and the checks

  • bash is a shell on the person's videos, in a sandbox. /videos is their videos folder, /framescript/docs these pages and /framescript/videos/examples an example video for every concept, each where it lies beside the other in Framescript's own files, so a page's links to the examples, such as ../../videos/examples/basics/tweens/index.ts from a page of /framescript/docs/framework, lead to them there. The pages written for agents are under /framescript/docs/framework, starting with /framescript/docs/framework/index.md. The usual commands are there (ls, cat, grep, sed, find, jq, mkdir, heredocs and pipes), with no network and no other programs, and nothing it does reaches the disk directly.
  • Changes are written through Framescript's checks. When a command ends, what it changed under /videos is written only when it passes them. A new folder is made, and a new folder with an index.ts becomes a video, a sub-video when it lies in a video; a sub-video's files are its own, and its scenes' are the video's. The changed files of a video, or of its package's src/, are first checked as they would be, in memory, with nothing written or copied: that every file still is as it was read, that it parses, that it lints clean under Framescript's rules (a video reaches no Node module, the disk or the network, and repeats on every run: the rules of the video's source), and that every video of the package that loads a changed file still runs. Only then are they written, all at once, unless a file that check rested on changed meanwhile; an edit to any other file does not stop it. A refused change leaves the video as it was, and the answer names the step and what was wrong, with its file and line. Removing or moving a video's files is written the same way. A file under a video's public/ or media/ is written as its bytes, a picture as much as a text, unchecked and all at once with the rest of that folder's changes (Bringing files in); every other file of a video must be text.
  • Every change is a checkpoint. In a video's folder, history lists its checkpoints, checkpoint <message> makes one by name, and restore <id> puts one back through the checks, so an agent can always go back (History).

The video tools

The video tools run a video: check after every change (Checking a video), inspect for what is on screen, what moves it and its sound (Reading a video, Looking at a frame, Hearing a video), frame to look at a frame, controls and comments for what the person turns and says in the studio (Controls and comments), and render to export a file in one call. Each takes video, a video as bash shows it, such as /videos/launch; left out, it is the video of the window the person used last. A file a video tool reads or writes lies inside its video, and a path that leads out of it, by .., into another video or through a link, is refused.

Exports

exports holds the studio's exports, the same jobs the person starts and follows in Exports: an export an agent starts shows there once it renders, and the person's are the agent's to read. start takes what the export dialog chooses and answers at once with the export's id; status reads its progress, cancel stops it, remove takes an ended one off the list with its file, list lists them all, and save answers where a finished file was saved for the person, the library's Exports folder at the video's place, or copies it into the video where out names a place there, never over a file that is there. How an export is made says more.

The windows and the library

  • app shows and drives the windows: a picture of one as the person sees it, with what it shows; its state; the open windows; and one action carried out as the person would: open a video, seek, play, pause, show a tab of the sidebar, select an object or a step, choose a section's bar on the timeline, show the top bar's Video, Brief or History, open a comment's thread, loop, turn the full view on or off and choose the theme. Each answers once the window has settled and drawn, so the state and the picture agree. It also opens a new window, on the videos or on a video, and closes a video's tab or a window; the last window stays open, since closing it would quit Framescript.
  • app also manages the library's videos, each named as bash shows it: trash moves one to Framescript's trash, trashed lists the trash, restore puts one back unchanged, rename gives one a new name, keeping its history and comments, and duplicate copies one beside it as a video of its own. A video a window has open is renamed or trashed through that window or once none has it open; the answer says which.

What waits for the person

What cannot be undone, or reads a file of the person's computer, waits for them in the window: app's delete-forever and empty-trash, and import, which copies files the agent names by their paths into a video's public/ or media/. The window shows which agent asks and what, with Decline and Allow, and the tool answers with their choice: declined, nothing happens and the agent is told so. pick shows the window's dialog for bringing files in, and what the person drops or chooses there is the answer; nothing of their computer is read before. A call refused for what it names, such as a video not in the trash or a file that is not there, asks nothing.

What stays the person's alone: letting clients in and giving them a new token, answering what an agent asks, and quitting the app. The tools an agent has lists each.

What an agent is told

When a client connects, the app tells it where the person's videos are, to read each video's brief and keep its approved decisions, to read the pages under /framescript/docs/framework and start from the closest example before writing a video, to make it as Making a video that holds up says (the story agreed in the brief before building, the video built in parts and each part looked at, after every change a hundred frames of the whole video and the moments that matter at full size, and the person as the only judge), and to work in the loop on The loop an agent works in: check after every change, inspect to find the line behind what is on screen, frame to look, the controls and the comments, and render or exports to export.

Each video's brief.md holds what the person wants of it and the decisions they approved, which they write in the studio's Brief; app answers an open with it. A video the app makes tells agents the same: its AGENTS.md says so, and its .claude/settings.json turns an agent client's own editing tools off inside it, so its changes go through bash and its checks. While an agent works, its name shows at the top right of every window, with what it did, and goes ten minutes after its last call.

What a tool answers

A video tool answers with JSON, the same every time for the same video. These pages show it for each tool. Three answers carry more:

  • A frame is a picture. frame returns its summary and, with it, the PNG as an image, so an agent that can see looks at the frame at once. Without out, the picture is written into a temporary folder, and the summary's path says where. Given a stretch (from and to in seconds), it returns the contact sheet as the image: one call to see a second of motion. A loop is written to its file only, for a person to watch.
  • Shots are a yes. check takes shots as true: the pictures of its taste findings come back as images beside the answer, the first eight of them, also when the check fails (Pictures of what taste finds).
  • A failure is an error. When a call fails, its answer is marked as an error and carries what was wrong. Asking for a video that is not there answers:
Text
/videos/nothing is no video of /videos.

check fails when the video has an error. Its answer is then marked as an error and still holds the diagnostics, which is what was asked for.

A parameter a tool does not know is refused, and so is a call that leaves a required one out. While no window of the app is open, every tool answers that the person should open one.

See also