{
  "id": 15588133,
  "title": "Blender forbids Python threads. So my AI add-on talks to itself through two JSON files",
  "url": "https://urgent.news/2026/10/19/blender-forbids-python-threads-so-my-ai-add-on-talks-to-itself",
  "topic": "ai",
  "section": "AI",
  "published": "2026-10-19T09:36:01.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/sicksect/blender-forbids-python-threads-so-my-ai-add-on-talks-to-itself-through-two-json-files-58hb"
  },
  "original_language": "en",
  "account": "The AI add-on called Game Asset Assistant, which runs inside Blender 4.2+, allows users to interact with 3D models using an AI assistant. The assistant accesses the current scene, objects, and their properties, and sends a concise snapshot to the AI model via JSON files. The model responds with code blocks that can be executed in the Blender main thread, allowing for a seamless loop of code generation, execution, and error resolution. The add-on achieves this by communicating with the AI model through JSON files, instead of using Python threads, which Blender prohibits from running outside the main thread due to potential crashes in the drawing code. The development of the add-on is divided into several phases, with the first three focusing on richer scene snapshots, undo functionality, and destructive operation confirmations. The roadmap also includes features like texturing, UV manipulation, auto-rigging, and one-click pipelines. The developer plans to release progress updates and invites collaboration from others working on AI integration in 3D pipelines.",
  "summary": "The pivot I spent the last months building a local multi-agent CLI code generator - planner → coder → tester → executor → reviewer, running on open models via Ollama. It closed the loop: it wrote code, ran it, tested it, and fixed it. It worked. And that's exactly the problem: it solved a problem I don't have. Writing code for files on disk is a solved niche - I was competing with every other…",
  "key_points": [
    "Blender 4.2+ restricts Python threads to prevent crashes",
    "Game Asset Assistant bypasses this by using JSON files",
    "Add-on facilitates AI-assisted interaction with 3D models"
  ],
  "editors_take": "Bypassing Blender's thread restrictions through JSON file communication enables seamless AI-driven code execution without risking the software crashes that typically occur when running external processes in the main thread.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}