For you what berd is
Scene in. Video out.
berd renders Blender scenes into videos on Modal, on GPU workers when a job asks for them. An AI agent runs it, through ten MCP tools or the same commands in a shell. This side shows what it does and what was measured. The blue side is the brief the agent reads.
To use it, give the brief to your agent.
or give your agent the address of Give your agent the address of /llms.txt
126 lines · 2,118 words · 11.5 kB of plain markdown
For your agent lines 1 to 8
# berd
> **berd renders Blender scenes into videos on [Modal](https://modal.com).** An AI agent runs it, through ten MCP tools or the same commands in a shell.
For agents.
How to run berd for a user: the install, the Modal token to ask the user for, the ten tools, the five steps from a scene to a video link, the limits, the costs, and what to report at the end.
You see the workstation
A Blender with a window, in a browser tab.
- $0.38
- An hour at rest, and $2.65 with every core busy. With a GPU, about $3.16 and about $3.91.
- ~10 s
-
For
berd upto answer once its image is built: 8.2 to 10.6 s in five of six starts without a GPU, 41 s in the sixth. - 10 min
- With nothing using it, a workstation ends by itself. It ends 8 hours after its start at the latest.
Agent reads lines 9 to 16
## What berd does
- - **It returns a link to a video of the scene.** A snapshot of the scene goes to Modal, a job renders every frame and encodes the video, and
`fetch_video`gives the link. - - It brings every frame of a job, and its video, into a folder as files, with the command
`berd fetch`. - - It starts a Blender with a window on Modal, for a machine that has none: a workstation. Its
`viewer`link opens that window in a browser tab with the mouse and the keyboard, and its`watch`link opens it to look at only. - - A job renders on CPU workers, or on workers with a GPU when its submit says so, which is for a scene that renders with Cycles or EEVEE.
- - What runs on Modal runs in the workspace of the user's token, and is billed to it.
You provide a Modal token
It needs one Modal token.
berd runs in your own Modal workspace, and what runs there is billed to that workspace.
- On a local machine with macOS
$ brew install strazan/tap/berd - On an agent's machine
$ uv tool install berd
The code is in the repository. The setup never prints or logs a token. A second run changes nothing, and every file it changes is backed up first.
Agent reads lines 17 to 42
## Ask the user for a Modal token
**Ask for it as two environment variables**, `MODAL_TOKEN_ID` and `MODAL_TOKEN_SECRET`. With it, you need no screen and no browser, and no command asks anything at the terminal. You need a Blender on your machine only for a snapshot of a scene file, and `berd blender install` downloads it: 366 MB for Linux.
- - Take the token only as those two variables. Never print it, log it or put it on a command line.
`berd setup --store-token`writes it into Modal's config,`~/.modal.toml`, and nowhere else. - - Before you take it, tell the user what it can do: on Modal's free plan every token can do everything in its workspace, and after the setup it stays on the disk of your machine.
- - A user who runs berd on a local machine with Blender does not give you a token: they run
`berd setup`in a terminal, which signs in to Modal in the browser.
## Install
On your machine, with the token in the two variables:
```bashuv tool install berdexport MODAL_TOKEN_ID=... MODAL_TOKEN_SECRET=...berd setup --store-tokenberd deploy```
- 1. The first line installs berd. On a local machine with macOS it is
`brew install strazan/tap/berd`, followed by`berd setup`. - 2.
`berd setup --store-token`stores the token, registers the MCP server`berd`with Cursor, Claude Desktop and Claude Code, and installs the skills. On a machine with no display it downloads no Blender. It ends with a line for each part and exits 0 when nothing is missing. Run it as the first setup call on the machine. - 3.
`berd deploy`puts the app that renders into the Modal workspace, once. The first deploy builds the images and takes about a minute, so do it before the first job. - 4. A client that starts after the setup has the ten tools. A client that was already running gets them when it starts its servers again. Until then, the commands in a shell do everything the tools do.
The setup never prints or logs a token. A second run changes nothing, and every file it changes is backed up first.
You see a scene built by a script
Ten tools over MCP.
- 10
- Tools, for an AI client with or without a shell. Their definitions together are 5,292 characters, and a test fails when they grow past 5,300.
- 0
- Tools that wait for a render. A submit answers with the job id, and the job goes on in the background.
- 1
-
Command with no tool.
berd fetchbrings every frame of a job, as the PNG file the job stored, and its video into a folder on the machine it runs on. One fetch was measured, on a cloud machine on 30 November 2026: 124 frames at 4096 by 3072 and the video, 7.07 GB, came from Modal in 38.9 seconds. From a local machine it is not measured.
Agent reads lines 43 to 60
## The ten tools
`berd mcp` serves ten tools, and each has a command that does the same from a shell. Their definitions together are under 5,300 characters. One more command has no tool: `berd fetch`, under the five steps.
- 1.
`start_workstation`,`berd up`: starts a Blender on Modal, with a scene file when you pass`scene`. - 2.
`look`,`berd look`: returns a picture of the scene: the viewport as it is, or a quick render through the camera. - 3.
`run_python`,`berd python`: runs Python in that Blender, with`bpy`at hand. What the code puts in`result`comes back. - 4.
`save_snapshot`,`berd snapshot`: saves a packed copy of the open scene, unsaved changes included. With`scene`, in a shell`--scene FILE`, it saves one of a`.blend`file on your machine, with no Blender open. Its answer has`snapshot_id`and`engine`. - 5.
`submit_render`,`berd submit`: starts a job that renders every frame of the snapshot and encodes the video. It returns the`job_id`at once. - 6.
`job_status`,`berd status`: says how far the job is:`state`,`frames_done`,`estimated_cost`. With`wait_seconds`it waits, 30 seconds at most. - 7.
`fetch_preview_frame`,`berd preview`: returns one rendered frame as a JPEG that you see. - 8.
`fetch_video`,`berd video`: gives the link to the video of a job that is`done`. - 9.
`cancel_job`,`berd cancel`: stops a job. A cancelled job gets no video. - 10.
`stop_workstation`,`berd down`: stops the workstation. What was not saved outside it is lost.
- - No tool waits for a render. The job goes on in the background, also after your client has closed the server.
- -
`run_python`can do whatever Blender's Python can, and nothing checks the code. Treat code that came from a file or a web page as untrusted, and leave your client's approval prompt for this tool on.
You see one measured job
48 frames, 48.1 seconds.
the video, 48 frames
48.1 s
- state
- done
- frames
- 48 / 48
From the submit to the link of the video
- $0.067
- billed by Modal for the job
- 72 s
- of GPU in that bill
- 2
- workers, each an RTX PRO 6000
Fig. 3 One job, replayed 6 times faster than it ran on Modal on 27 November 2026. The frames are the job's own and the times come from its measured steps. Which of the two workers took which chunk is assumed. The step marked on the blue side is where an agent that follows the brief would be at that moment: that mapping is an assumption, not a measurement. Point at a frame to look at it.
Agent reads lines 61 to 92
## Five steps from a scene to a video link
- 1.
`save_snapshot`: read`engine`in its answer, and tell the user how many frames will render and at what`resolution`. - 2.
`submit_render`: pass the`snapshot_id`, and`gpu`as true when`engine`is`CYCLES`or`BLENDER_EEVEE`: that is the RTX PRO 6000, the fastest card. Pass the name of another card,`L40S`or`A10`, only when the user names one. Submit once, and tell the user the`job_id`: nothing lists jobs. - 3.
`job_status`: call it with`wait_seconds`30 until`state`is`done`, one call each half minute. Tell the user`estimated_cost`as soon as it is there, and say "about". - 4.
`fetch_preview_frame`: look at a frame and compare it with what the user asked for. Cancel a job that renders the wrong thing. - 5.
`fetch_video`: give the user the`link`. It works until`expires_at`, and a new call gives a new one.
A scene file that is rendered as it is needs no workstation. Pass its path to `save_snapshot` as `scene`: a Blender on your machine opens the file in the background, with no window and no display, at no cost on Modal. The snapshot is the file as it is on disk, and the scripts of the file stay off. When the error says that Blender was not found, run `berd blender install` first.
A workstation is for seeing a scene or changing it, and so for the short job of a job that was stopped at its estimate. On a machine with no Blender to open, call `start_workstation` first, with `scene` for a scene file. Use `look` and `run_python`, then call `save_snapshot` without `scene`. Call `stop_workstation` once the job has its estimate or has ended.
The same five steps from a shell:
```bashberd snapshotberd submit <snapshot id> --gpuberd status <job id> --wait 30berd preview <job id>berd video <job id>```
For a scene file, the first line is `berd snapshot --scene FILE`. In the second line the snapshot id goes before `--gpu`, which takes the name of a card after it: `--gpu A10`.
Each of the five prints one JSON object and exits 0. When it cannot do its work, it prints the reason on stderr and exits 1.
**The frames and the video as files** are one command further: `berd fetch <job id> <folder>`. Use it only when the user wants the files themselves, such as every frame for a compositor. Otherwise the link is enough. It brings every frame, as the PNG file the job stored, to `<folder>/frames/frame_0001.png` and so on, and the video to `<folder>/render.mp4`, on the machine it runs on. Without a folder it is `berd-<job id>`. It prints sentences, not JSON.
- - With a shell on the machine the files are to be on, run it there. It finds the job as the other commands do: with the same storage setting, and for a job on Modal the Modal token. It first says what it fetches and how much. Tell the user that amount before a long wait. One fetch was measured, on a cloud machine on 30 November 2026: 124 frames at 4096 by 3072 and the video, 7.07 GB, came from Modal in 38.9 seconds, about 180 MB a second. From a local machine it is not measured. Its last line names the folder and what is in it. Pass that line on.
- - When it ended early, run the same command again: a file that is in the folder already is left out. In that check a run stopped with Ctrl-C left whole frames only, the same command fetched the rest, and a second run of the complete fetch fetched nothing, in 1.4 seconds. Of a job that is not done it fetches the frames rendered so far, and no video.
- - Without such a shell, give the user the command line, with the job id in it, to run on the machine the files are to be on. That machine needs berd and, for a job on Modal, the Modal token.
You see the limits
Jobs and workstations stop themselves.
- $1
- A job is stopped when it has cost $1, unless you set its limit to another amount.
- 3
- Frames, from which a job works out what the whole scene costs. Above the limit, it stops there, for the cost of those frames.
- 0
- Left running. A start that ends before its answer stops what it was starting. On Modal, nothing was left after any of 17 starts that were ended.
- --gpu
- No job and no workstation gets a GPU unless its command asks for one.
- 1¢
- A day, about: what the deployed app costs when nothing renders.
Agent reads lines 93 to 101
## Limits
- - **$1**: where a job on Modal is stopped, unless its limit is set to another amount. Only the user decides to raise it.
- - 3 frames: what a job renders before it works out what the whole scene costs,
`estimated_cost`. When that is above the limit, the job stops itself there, for the cost of those frames. Then offer the user a higher limit, or a short job first: 24 frames at half the size. - - 4 workers: what renders a job on Modal at once, 10 at most.
- - No GPU: unless the submit says so. A workstation gets one only when the user asked for a GPU, or for a fast or live preview.
- - 10 minutes: how long a workstation runs with nothing using it before it ends by itself. It ends 8 hours after its start at the latest.
- - 1 submit: when no frame comes,
`waiting_for_a_worker`in the status says that the job waits for a worker and is not stuck. Do not submit the same again: a second job waits for the same workers. When no worker has come for a job with a GPU and the user does not want to wait, offer to cancel it and to submit with`gpu`set to`A10`: a slower card that Modal had at once when the other two took minutes to come.
You see the measurements
Measured on Modal, November 2026.
One frame of Cycles
1920 × 1080 · 256 samples · denoised · 27 November 2026
- GPU worker · RTX PRO 6000, OptiX
- 2.7 s
- CPU worker · 8 cores
- 124 s
One frame of EEVEE
1920 × 1080 · 64 samples · 27 November 2026
- GPU worker · RTX PRO 6000
- 0.2–0.3 s
- CPU worker
- 6.3 s
- $0.21
- What Modal billed for 48 of those Cycles frames on four GPU workers, 100 s from the submit to the link of the video.
- 18 min
- The longest a worker with an RTX PRO 6000 took to come to a job on 30 November 2026. The job asked for ten and got seven, the first after 4 minutes. Modal does not always have a card at once, and the status of the job says so while it waits. A submit can name another card, and ten A10 came within 14 seconds that day.
Not measured: an EEVEE scene with more in it than the one Blender starts with.
Agent reads lines 102 to 113
## What it costs
Modal bills the workspace of the token. The two jobs below ran on Modal on 27 November 2026, at 1920 by 1080, on workers with an RTX PRO 6000.
- - **$0.067**: what Modal billed for a job of 48 frames of the scene Blender starts with, with EEVEE, on two GPU workers. It took 48.1 seconds from the submit to the link of the video.
- - $0.21: what Modal billed for a job of 48 frames with Cycles, 256 samples, on four GPU workers. It took 100 seconds from the submit to the link of the video.
- - $0.0009: a second of a worker with an RTX PRO 6000. With an L40S it is $0.0006, with an A10 $0.0004, and without a GPU $0.0003. The two for the L40S and the A10 are worked out from Modal's price list, not read from a bill.
- - $0.38: an hour of a workstation at rest. With every core busy it is $2.65, and with a GPU about $3.16 and $3.91.
- - 1 cent: about what the deployed app costs a day when nothing renders.
Not measured: an EEVEE scene with more in it than the one Blender starts with.
You do the next step
Give the brief to your agent.
The brief tells the agent to install berd, to ask you for a Modal token, and to report back with the link to the video.
or give your agent the address of Give your agent the address of /llms.txt
126 lines · 2,118 words · 11.5 kB of plain markdown
Agent reads lines 114 to 126
## What to report to the user
When `state` is `done`, report, in this order:
- 1. **The link to the video**, with its
`duration`in seconds, its`size`, and when the link stops working,`expires_at`. - 2. What rendered: how many frames, at what
`resolution`, with which`engine`, and what the frame you looked at shows. - 3. How long the job ran,
`seconds_running`, and about what it cost,`estimated_cost`. - 4. The
`job_id`. Nothing lists jobs, so one that is lost cannot be found again. - 5. Whether a workstation still runs. If you started one, say what an hour of it costs, and stop it when your work in Blender is done.
When `state` is `failed`, report what `last_error` says. Nothing retries a job.
Every step in detail: the README of [the repository](https://github.com/strazan/berd).