Using Blender with coding agents on macOS
- Source
- simonwillison.net
- Publisher
- Simon Willison
- Date
Simon Willison documented a workflow for pointing ChatGPT Codex at the full macOS Blender application and driving it entirely through plain-language prompts. Instead of hand-writing Blender's Python API calls, he lets the coding agent generate and iteratively refine .blend scenes and renders, describing changes in natural language and letting the agent translate that into working scripts against Blender's scripting interface. The pattern is repeatable with any coding agent that can shell out to a local application's Python API, not just Codex, which makes it a template rather than a one-off trick. For teams doing procedural 3D work, this cuts out a step that used to require someone who actually knew Blender's scripting API, replacing it with someone who can describe the scene they want. It is a concrete example of agents extending past code editors into full creative applications with their own scripting surfaces.

Context
A can produce an editable 3D scene by driving Blender through code. Simon Willison reports using OpenAI's Codex on a Mac with the full Blender installed, prompting it to render a pelican riding a bicycle and then asking twice for more flair and improvement. The post says the resulting image was generated using Blender's Python .
Willison writes that frontier models can produce .blend files that can be edited in Blender itself, and can render images and even movies by rendering a sequence of images and combining them with ffmpeg. That general statement is what makes the output useful as a starting point for further scene work. The post does not show a .blend or assess the image, so editability is described as a capability of the models rather than demonstrated for this particular scene.
- Agent mode — A mode in which one agent can inspect, edit, run commands, and iterate toward an outcome.
- Application — Software arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.
- API — Application programming interface: the agreed set of operations, inputs and outputs through which one piece of software uses another.
- File — A named unit of stored data that keeps its contents while no program is using it.

