berd For you
For your agent llms.txt 115 lines · 1,507 words · 8.3 kB

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

115 lines · 1,507 words · 8.3 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 an open 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.

Blender's window in a browser tab: a grid of monkey heads in the 3D viewport, with the timeline playing
Fig. 1 A still of the viewer tab of a workstation with a GPU on Modal, 28 November 2026.
$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 up to 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 15

## 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 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 designer's Mac 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 16 to 41

## 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 Blender on your machine, no screen and no browser, and no command asks anything at the terminal.

  • - 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 their own 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:

```bash
uv tool install berd
export MODAL_TOKEN_ID=... MODAL_TOKEN_SECRET=...
berd setup --store-token
berd deploy
```
  1. 1. The first line installs berd. On a designer's Mac it is `brew install strazan/tap/berd`, followed by `berd setup`.
  2. 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. 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. 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.

A plywood charging shelf with batteries and chargers, rendered in Blender
Fig. 2 A scene can be written as Python. This charging shelf was built in Blender by a script, from one reference picture, and rendered with Cycles.
10
Tools, for an AI client with or without a shell. Their definitions together are 5,070 characters, and a test fails when they grow past 5,100.
0
Tools that wait for a render. A submit answers with the job id, and the job goes on in the background.

Agent reads lines 42 to 59

## 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,100 characters.

  1. 1. `start_workstation`, `berd up`: starts a Blender on Modal, with a scene file when you pass `scene`.
  2. 2. `look`, `berd look`: returns a picture of the scene: the viewport as it is, or a quick render through the camera.
  3. 3. `run_python`, `berd python`: runs Python in that Blender, with `bpy` at hand. What the code puts in `result` comes back.
  4. 4. `save_snapshot`, `berd snapshot`: saves a packed copy of the open scene, unsaved changes included. Its answer has `snapshot_id` and `engine`.
  5. 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. 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. 7. `fetch_preview_frame`, `berd preview`: returns one rendered frame as a JPEG that you see.
  8. 8. `fetch_video`, `berd video`: gives the link to the video of a job that is `done`.
  9. 9. `cancel_job`, `berd cancel`: stops a job. A cancelled job gets no video.
  10. 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.

berd submit <snapshot id> --gpu

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 60 to 81

## Five steps from an open scene to a video link

  1. 1. `save_snapshot`: read `engine` in its answer, and tell the user how many frames will render and at what `resolution`.
  2. 2. `submit_render`: pass the `snapshot_id`, and `gpu` when `engine` is `CYCLES` or `BLENDER_EEVEE`. Submit once, and tell the user the `job_id`: nothing lists jobs.
  3. 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. 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. 5. `fetch_video`: give the user the `link`. It works until `expires_at`, and a new call gives a new one.

On a machine with no Blender to open, there is no open scene yet. Call `start_workstation` first, with `scene` for a scene file. Use `look` and `run_python` to see the scene and change it. Call `stop_workstation` once the job has its estimate or has ended.

The same five steps from a shell:

```bash
berd snapshot
berd submit <snapshot id> --gpu
berd status <job id> --wait 30
berd preview <job id>
berd video <job id>
```

Every command prints one JSON object and exits 0. When it cannot do its work, it prints the reason on stderr and exits 1.

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 82 to 90

## 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 again: a second job waits for the same workers.

You see the measurements

Measured on Modal, November 2026.

A ring of glossy monkey heads around a glass sphere, rendered with Cycles
Fig. 4 The Cycles frame that was timed, as a GPU worker rendered it.

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.
164 s
The longest a job has waited for its GPU workers so far. Modal does not always have a card at once, and the status of the job says so while it waits.

Not measured: an EEVEE scene with more in it than the one Blender starts with.

Agent reads lines 91 to 102

## 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.

  • - **$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 a GPU. A worker without one is $0.0003 a second.
  • - $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

115 lines · 1,507 words · 8.3 kB of plain markdown

Agent reads lines 103 to 115

## What to report to the user

When `state` is `done`, report, in this order:

  1. 1. **The link to the video**, with its `duration` in seconds, its `size`, and when the link stops working, `expires_at`.
  2. 2. What rendered: how many frames, at what `resolution`, with which `engine`, and what the frame you looked at shows.
  3. 3. How long the job ran, `seconds_running`, and about what it cost, `estimated_cost`.
  4. 4. The `job_id`. Nothing lists jobs, so one that is lost cannot be found again.
  5. 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/blendercloud).