Drive Blender from a Coding Agent via Headless Python Scripts
Melvin Vivas · X post · 2026-09-11 · Open on X
Topics: AI Dev Tools & Productivity, AI Agents, Tool Use & MCP · Level: intermediate
Summary
A tip: once Blender is installed, you can ask Astra in Codex to use it. The agent writes Blender Python scripts and runs them headlessly, so you can make 3D content without opening the Blender GUI.
Key points
- Install Blender on the same machine where the coding agent runs.
- Tell Astra in Codex, in plain language, to use Blender.
- The agent writes Blender Python scripts and runs them headlessly (no GUI).
- This shows a general pattern: a coding agent can control any scriptable desktop tool through its CLI.
Resources mentioned
- Blender · tool · blender.org · free
Free, open-source 3D creation software. In the demo the agent opens it to turn a drawing into a 3D model.
Also in: Building a 3D Flight Scene with Sonnet in Cursor, three.js and 3D Models (Melvin Vivas on X · notes), GPT-6 Astra Demo: One Agent Juggling Many Computer Tasks (Melvin Vivas on X · notes), ComfyUI Raises $30M: Open-Source Visual AI Pipelines Move into Production (Melvin Vivas on X · notes) - OpenAI Codex · tool · openai.com · paid
OpenAI's coding agent. In the diagram it writes code, fixes review findings and drives the build loop. The creator also used it to make this video.
Also in: An agent bot that installs and drives Codex on its own (Melvin Vivas on X · notes), Asking a Coder bot to install Codex (Melvin Vivas on X · notes), Sign in with ChatGPT: Setting Usage Limits for Each App (Melvin Vivas on X · notes), Codex Cloud Environments Must Be Saved & Published Before Use (Melvin Vivas on X · notes) and 240 more - GPT-6 Astra · tool · openai.com · paid
The model announced in the quoted launch post, pitched as the developer's most capable model for work, coding, science and cybersecurity, and able to operate a computer.
Also in: Customizing Your Coding Setup with Pi Coding Agent Extensions (Melvin Vivas on X · notes), Pi Agent Council: Ask Multiple LLMs in Parallel and Compare Their Advice (Melvin Vivas on X · notes), Use GPT-6.1 Sol by Default, Save Astra for Emergencies (Melvin Vivas on X · notes), Dots in ChatGPT: always-on AI agents that you hand responsibilities to (Melvin Vivas on X · notes) and 49 more
Try this
- Install Blender and ask your coding agent to make a scene by writing and running headless Blender scripts.
- Use a coding agent to generate 3D scenes or renders automatically through headless Blender Python scripts.
More in AI Dev Tools & Productivity
- Match Reasoning Effort to Task Length in Codex (Astra/Sol)
- Grok Bot Adds Diagram Rendering and LaTeX in Replies
- Use local Ollama models in ChatGPT Desktop (Codex app)
- Cursor Projects: One Persistent Coordinator Agent That Manages Subagents
- Cognition's SWE-2 Coding Model Now in Devin
- Use Codex GPT-5.3 Spark for Testing and Small Changes