I produced the promotional video for Policy Hub (published here) without opening a video editor once.
An AI agent did the whole thing:
- it identified the features
- wrote the narrative
- drove a real browser to record the demos
- styled the title cards to the corporate design manual, and
- assembled the final cut in Blender through an MCP bridge.
Everything ran locally on my own hardware with qwen3.8-flash-next served through vLLM — no cloud API, no per-token cost, no footage leaving the machine.
The result: a 2:34, 1920x1080 @ 24 fps video, and a reusable pipeline that took about 15 minutes of machine time to regenerate end to end.
flowchart LR
A[Running app] -->|agent proposes| D[Montage script]
D -->|Playwright| E[Demo recordings]
G[Corporate design] -->|title cards & overlays| H[Edited timeline]
E -->|Blender MCP bridge| H
H -->|ffmpeg NVENC| J[Promo video]

Step 1 — Ask the agent to identify the features
The starting point was not a script, it was the app itself. I asked the agent to walk the running application and propose one capture scenario per user-visible feature. It read the feature list, browsed every route, and came back with a numbered scenario plan: catalogue browsing and filters, the members-only card, the criteria mapping, the scope/definitions/policies registers, the 3D reference graph, search, the initiative roster, adequacy decisions, the scheme builder, local schemes, and the about/login/account pages.
Two things mattered here. First, the agent had to run the app to know it: the scenarios exercise real data (the actual 143-scheme package), not mocks. Second, I reviewed the list like a table of contents — which features deserve screen time, which are internal. The staff mapping editor, for instance, was initially a scenario; I cut it, because it is an internal tool and not something the promo should show.
Step 2 — An overarching narrative, in a machine-readable script
Raw clips are not a video. The agent wrote a montage script, tour.json, where each beat is one feature: an animated title card, the demo clips that follow it, up to three bullet points, a narration line, and the transition leading in.
{
"id": "catalogue",
"kind": "feature",
"title": "Policy Hub",
"bullets": [
"143 schemes: EU acts, national law, Gaia-X labels and aDRI",
"Filter by jurisdiction, domain or name",
"Server-side full-text search across every provision"
],
"card_duration": 4.5,
"source": ["artifacts/01-home-browse-and-filters/session.mp4"],
"source_use": { "in": 0.0, "out": 13.6 },
"transition": { "type": "crossfade", "duration": 0.5 },
"narration": "Policy Hub puts every conformity-relevant text in one place."
}
This file is the single source of truth: the title cards render from it, and the Blender assembly reads it. Changing a headline or reordering the story is a JSON edit, not a re-render marathon. Reviewing the narrative was conversational: “make adequacy decisions a standalone feature and insist on the international coverage”, “never say ‘regulatory catalogue’, say Policy Hub” — the agent rewrote the beats and the card texts accordingly.
Step 3 — Fine-tuning the user actions by prompting
This is where the iteration loop earned its keep. A screen recording is only convincing if the mouse does what a human would do, and getting there was a dialogue:
- “The filter chips are styled spans, not checkboxes — click the text.”
- “In the search demo, type
resilienceinstead oflegally binding.” - “For the criteria panel, click ‘Expand all’ and scroll down until a mapped criterion is actually on screen.” (This one exposed a real app subtlety: the mapping columns only render on the
/criteriatab, so the agent switched the scenario to that URL and scrolled to the first row carrying a criterion badge.) - “On the reference graph, go fullscreen and click ‘Load more’ to grow it — and demo it on the AI Act, not the CRA.”
- “Use NIS2 instead of CRA for the mapping demo.”
Some fixes were Playwright-specific: on a page with hundreds of rows, Playwright’s actionability waits never settle, so the agent switched to driving clicks through page.evaluate DOM calls — same visible outcome, no timeout.

The capture itself is a plain Playwright script with video recording on:
VIEWPORT = {"width": 1920, "height": 1080}
self.context = browser.new_context(
viewport=VIEWPORT,
record_video_dir=str(self.dir / "video"),
record_video_size=VIEWPORT,
)
Paid pages are reached by forging the session cookie with the app’s own dev signing key (the same technique the test suite uses) — no identity provider involved. Each scenario’s webm is converted to H.264 mp4 with ffmpeg so Blender’s VSE can eat it directly:
uv run python promo-material/capture.py
Step 4 — Corporate design, from the manual to the title cards
I dropped the Gaia-X corporate design manual (PDF) into the project and told the agent to follow it. It extracted the rules — Titillium Web (Light body, Semibold headlines), the primary diagonal gradient (~15% purple #B900FF, 60% blue #000094, 25% turquoise #46DAFF) reserved for key visuals, the rounded-end accent line above headlines, logo top-right — and encoded them in a card renderer.
render_cards.py turns each beat of tour.json into an animated mp4 title card plus a transparent RGBA overlay PNG carrying the (up to three) bullet points:
uv run python promo-material/tour/render_cards.py
Cards and captures share the exact geometry (1920x1080 @ 24 fps), so the montage never rescales anything.
Step 5 — Assembly in Blender, through an MCP bridge
The last step is where the local LLM drives a 3D-suite-grade tool through a socket. The Blender MCP bridge runs as a headless container (Blender 5.2 LTS + the official blender_mcp extension), with GPU access wired through the compose file and a Cycles CUDA preference baked into the image entrypoint. The agent sends NUL-delimited JSON over TCP:
payload = json.dumps({"type": "execute", "code": python_code, "strict_json": True}) + "\0"
sock.sendall(payload.encode())
and the code it sends builds the whole timeline from tour.json: card strip on channel 1, demo clips after it with the in/out trims, bullet overlay on channel 2. The script also carries the transition spec (0.5 s crossfades between beats, with the cards’ solid-color head doubling as the fade handle) — the published cut currently uses hard cuts, and wiring the cross strips into the assembler is the next iteration. Then a headless render and a GPU encode:
blender -b /project/policy-hub-promo/promo.blend -a
ffmpeg -framerate 24 -i frames/f_%04d.png \
-c:v h264_nvenc -preset p5 -cq 19 -pix_fmt yuv420p \
-movflags +faststart policy-hub-promo.mp4
Everything local, including the brain
The agent itself ran against qwen3.8-flash-next served locally through vLLM. That has a practical consequence worth noting: the GPU is a shared resource between the model and the renderer. Before the Blender steps, the serving container gets stopped and the GPU is free for Cycles and NVENC:
docker compose -p llm-qwen38-flash-next stop
There is no latency or cost budget to protect, so the pipeline defaults to the most thorough mode: full extraction, thorough review, re-running captures whenever a scenario changes.
Timings for the final 1080p cut
For a ~2:30 video at 1920x1080 @ 24 fps, the machine time of a full regeneration is roughly:
| Stage | Time |
|---|---|
| Playwright capture, 14 scenarios | ~4 min |
| Title cards + overlays | ~1 min |
| Blender VSE render (3691 frames) | ~9 min |
| NVENC encode | ~20 s |
About 15 minutes end to end — and most of the actual effort went into the conversational review loop (steps 2 and 3), which is exactly where human taste is irreplaceable: what to show, in what order, with which words.
What I would reuse as-is
The pipeline is project-agnostic: capture.py holds the scenarios, tour.json holds the story, render_cards.py holds the design language, and the Blender assembly is generated from the script. Porting it to the next product (the Gaia-X compliance wizard) means rewriting the scenario list and the beats — the plumbing, the MCP protocol notes, the gotchas and the commands are already written down in a PIPELINE.md that travels with the repo.
