# Simon Willison — driving Blender from a coding agent on macOS

> Install Blender, tell a coding agent where it lives, and it writes the Python that builds and renders the scene.

- Org: Simon Willison
- Date: 2026-09-05
- Category: tutorial, article
- Source: https://til.simonwillison.net/llms/blender-coding-agents-macos
- Canonical page: https://ai-tldr.dev/releases/simonw-blender-coding-agents-sep5/

## In short

Simon Willison points a coding agent at a local Blender install on macOS and lets it write and render Python scene scripts. Three rounds took a pelican on a bicycle from a plain render to a sunset coastal scene.

## What it is

Simon Willison's setup runs the Blender desktop app in headless mode from a coding agent on macOS. His whole instruction is one line — use the already installed /Applications/Blender to render a scene of a pelican riding a bicycle — and the agent takes it from there. He used GPT-6 Astra on medium effort inside Codex in the ChatGPT macOS app.

## How it works

Each round the agent writes a Python file that builds the scene, runs Blender with --background --python so no window is needed, and looks at the render before editing again. Willison shows three passes of the same pelican: a plain render at 2m39s, a beachside version with huts, parasols and balloons at 3m51s, and a sunset coastal scene with flowers, bunting and a sailboat at 5m59s. Movies come from rendering an image sequence and joining it with ffmpeg.

## Why it matters

The write-up ends with a reusable Markdown skill called Blender Local, so a later prompt can name the skill instead of rediscovering the commands. The scene scripts, the .blend outputs, the skill file and the full agent transcript are all in a public GitHub repo, which makes the workflow something you can repeat rather than a one-off demo.

## Who it's for

developers experimenting with agent-driven 3D

## Try it

/Applications/Blender.app/Contents/MacOS/Blender --background --python scene.py

## Links

- [TIL Post](https://til.simonwillison.net/llms/blender-coding-agents-macos)
- [Example Repo](https://github.com/simonw/gpt-6-astra-blender-pelican-bicycle)
- [Blender Local Skill](https://github.com/simonw/gpt-6-astra-blender-pelican-bicycle/blob/main/outputs/blender-local/SKILL.md)
- [Agent Transcript](https://github.com/simonw/gpt-6-astra-blender-pelican-bicycle/blob/main/codex-transcript.md)
