Warning
EXPERIMENTAL & IN-DEVELOPMENT
This project is currently an active research prototype. APIs, security protocols, and core logic are subject to rapid, breaking changes. This software performs mutations on 3D scenes; MANDATORY BACKUPS are required before use.
A production-grade AI control interface for deterministic, undo-safe Blender operations.
BlenderVibeBridge lets external tools and AI systems control Blender safely, without giving them unrestricted Python access.
It is a professional-grade intelligent interface that transforms Blender into a Governed Geometry Kernel. It allows AI agents to interact safely, deterministically, and artistically with Blenderโs core engineโturning natural language intents into professional production operations.
| Capability | Feature |
|---|---|
| ๐ก๏ธ Iron Box | Zero-trust security via AST Auditing, Behavioral Circuit Breakers, and local binding. |
| โ๏ธ Kernel Integrity | Real-time invariant enforcement (No negative scales, no non-manifold geometry). |
| ๐ป Ghost Audit | Local-only forensic history via automatic Git checkpointing and LFS tracking. |
| โก Reflex Arc | 2-Agent architecture (Foreman + Operator) for non-blocking engine sync. |
| ๐ Stable Motion | Thread-safe main-loop dispatching via bpy.app.timers (No crashes). |
| ๐ง Epistemic Control | Truth-reconciliation tools that prevent AI hallucinations about scene state. |
- Technical Directors & Pipeline Engineers seeking secure AI automation.
- AI Systems Researchers exploring governed LLM-to-tool interfaces.
- 3D Content Creators who want to use AI without risking scene corruption.
... 5. Prompt: Ask your AI to "Check my Blender scene" to verify the handshake.
This repository is a Governed Geometry Kernel. To maintain bridge stability, AI agents MUST follow the Directory Authority Mandate:
- Local Laws Override: Instructions in subdirectories (e.g.,
blender_addon/.gemini) SUPERSEDE root-level rules. - Path Discovery: Before modifying code in any subdirectory, read the local
.geminiorREADME.mdto reconcile invariants. - Proof of Work: All commits require a
rationale_checkmatching the currentscene_hash. Seecommit_transactiondocumentation.
๐ฐ Not Technical? Start Here!
If youโre new to AI-assisted Blender workflows, donโt worry. Weโve created a Complete Beginner's Manual that explains everything step by step, from setup to safe usage.
| Blender Bridge Interface & Operation |
|---|
![]() |
BlenderVibeBridge is not a toy, a prompt wrapper, or a "magic AI button."
It is a reference implementation of AI-assisted systems design in a high-fidelity, stateful environment. It allows Large Language Models (LLMs) to safely operate inside Blender without risking scene corruption, data exfiltration, or runaway execution.
This project answers a critical engineering question:
How do you let an AI act inside a complex, stateful applicationโwithout trusting it?
The answer is: You donโt. You constrain it.
If you are evaluating this project as an engineer or hiring manager, this repository is a working demonstration of AI Systems Engineering:
- Control-Plane vs. Execution-Plane Separation: LLMs generate intent (Mechanistic Intents), never raw code execution.
- Iron Box Security: Hardened via local binding, static AST auditing, and header-based heartbeats.
- Transactional State Mutation: Every operation is wrapped in undo-safe, atomic blocks. One AI request = One Undo step.
- Deterministic Asset Manipulation: Control over material slots, colors, and hierarchies is handled mechanistically, eliminating the fragility of raw scripts.
- Truth Reconciliation Loop: Tools like
reconcile_stateallow the agent to verify multiple assumptions about the scene in a single round-trip.
reconcile_state: Forces the agent to verify its assumptions against actual Blender state.assert_scene_facts: Declares and verifies ground-truth facts before high-impact mutations.request_human_confirmation: Pauses for human arbitration on value-judgments or destructive acts.- Stale Session Guard: Automatically invalidates beliefs if Blender restarts (SESSION_ID tracking).
validate_scene_integrity: Checks for scale sanity, missing cameras, and empty meshes.get_mesh_metrics: Numerical analysis of N-Gons, non-manifold edges, and vertex counts.manage_object_locks: Granular axis locking (Loc/Rot/Scale) and "Freeze" (hidden/unselectable) modes.begin_transaction: Atomic Undo/Redo block labeling for complex sequences.
execute_strategic_intent: Runs "Compiled Recipes" (e.g.,BLOCKOUT_HUMANOID,THREE_POINT_LIGHTING).add_primitive: Spawns Cubes, Spheres, or Monkeys.transform_object: Precise location, rotation, and scale adjustments.select_objects: Manages selection sets (ALL,NONE, or by name).manage_collection: Organizes objects into collections.
manage_material: Create and assign materials.manage_nodes: Build Shader Graphs and Geometry Node trees (Add & Link).manage_modifier: ConfigureSUBSURF,ARRAY,BOOLEAN, etc., with hardware safety caps.trigger_bake: Automated texture baking (Capped at 2048px).process_mesh: shade smooth/flat, subdivide, and object joining.
set_animation_keyframe: Inserts keyframes for transforms across the timeline.apply_physics: Sets up Rigid Body, Cloth, or Collision simulations.manage_constraints: Rigging tools likeTRACK_TO,FOLLOW_PATH, andCOPY_LOCATION.create_procedural_curve: Spawns 3D Bezier splines from coordinate lists.manage_vertex_groups: Sets up groups for character rigging and weight painting.
setup_lighting: Points, Suns, Spots, and Area lights with safety energy caps (10k).manage_camera: Dynamic camera creation and active view control.set_world_background: Sets the global environment color.set_viewport_shading: Switches between Wireframe, Solid, Material, and Rendered.take_viewport_screenshot: High-speed visual feedback for the agent.setup_spatial_audio: Places 3D Speaker objects with secure audio path validation.
import_export_asset: Safe data flow for FBX, OBJ, STL, and GLB files.link_external_library: Professional multi-file asset linking.create_3d_annotation: 3D markup for AI-to-Human communication.secure_write_file: AST-validated Python/C# file writing.
To maintain a secure and deterministic environment, this project follows strict operational doctrines. Please refer to the following documentation for setup, security, and philosophical guidance:
- The Complete Beginner's Manual: A step-by-step guide to setting up Blender, Python, and the AI bridge.
- For Hiring Managers: Engineering audit and systems design overview for technical recruiters.
- Technical Installation Guide: Deep dive into architecture, AST auditing, and main-thread dispatching.
- Technical Architecture: Details on the split-thread consumer model and context overrides.
- Coordinate Systems & Normalization: Formulas for Vibe-Meters and Axis Translation.
- Testing & Validation Guide: Procedures for Unit, Integration, and Security testing.
- AI Engineering Constraints: The "AI Constitution" โ non-negotiable safety and structural rules.
- Blender AI Procedural Workflow: Mandatory procedural steps for identity and state management.
- Blender AI Procedural Flow: Absolute execution order for AI operations in Blender.
- Vibe Lifecycle Discipline: Final safety addendum for lifecycle and IO integrity.
- ISA Specification: The Instruction Set Architecture (Opcodes and Intent Binding).
- Blender Kernel Tool Inventory: Exhaustive list of all low-level tools and capabilities.
- Security Policy: Vulnerability reporting and baseline security mandates.
- Security & Architecture Deep Dive: The "Iron Box" safety model explained.
- Triple-Lock Invariance Model: The three-layer verification system for absolute determinism.
- Agent Isolation Architecture: Multi-agent sandboxing to prevent context poisoning.
- Freeze-Proofing & Recovery Guide: Prevention and recovery from Blender hangs and crashes.
- Governance & Override Policy: Rules for the "Fourth Order" (Human-in-the-Loop).
- Non-Goals & Doctrine: Intentional limitations to prevent "AI Psychosis."
- AI Context & Philosophy: Philosophical guide to adversarial prompting and the "Overconfidence Trap."
- Full Feature Manifest: The authoritative list of all functional abilities.
- Contributing Guide: Standards for code quality and the "Zero Trust" philosophy.
- Privacy Policy: Local-first, zero-telemetry commitment.
The bridge is hardened via three distinct layers:
- AST Auditing: All incoming Python code is parsed and scanned for forbidden calls (e.g.,
os.system,subprocess). - Asset Scanning: Binary assets are greedily scanned for embedded scripts before linking.
- OS Sandboxing: Optional kernel-level isolation.
You can enable additional protection by setting environment variables before running start_bridge.sh:
| Layer | Variable | Description |
|---|---|---|
| Bubblewrap | USE_BWRAP=true |
Uses Linux namespaces to isolate the filesystem. |
| Firejail | USE_FIREJAIL=true |
Applies restricted security profiles and network filtering. |
| AppArmor | USE_APPARMOR=true |
Kernel-level Mandatory Access Control (MAC). |
Usage Example:
USE_BWRAP=true ./start_bridge.shNote: AppArmor requires loading the profile once via sudo apparmor_parser -r security/blender_vibe_bridge.apparmor.
- Download: Use Blender 3.6 LTS or newer.
- Install:
- Zip the
blender_addon/vibe_bridgedirectory. - Install the
.zipvia Blender's Edit > Preferences > Add-ons > Install. - Enable BlenderVibeBridge.
- Zip the
- Local Project Setup (Ghost Audit):
- To enable automatic forensic logging and easy reverts, initialize Git in your project folder:
cd /path/to/your/project git init git lfs install git lfs track "*.fbx" "*.mat" "*.png" "*.blend" "*.unity" git add .gitattributes && git commit -m "Initial Ghost Audit Setup"
- To enable automatic forensic logging and easy reverts, initialize Git in your project folder:
- API Key Configuration:
- To enable the Reflex Arc (fast script generation), set your API key in your terminal environment:
export VIBE_API_KEY="your_gemini_flash_key"
- To enable the Reflex Arc (fast script generation), set your API key in your terminal environment:
- Start Server:
./start_bridge.sh
- Build: Use natural language to orchestrate your production pipeline.
It is a natural human instinct to be impressed by an articulate, expert-sounding response. When an AI presents a solution with high confidence and professional terminology, it is very easy to fall into Magical Thinkingโthe belief that the AI has discovered a "groundbreaking" shortcut or a "unique" fix that defies standard technical limitations.
- The propensity to rush: In the heat of production, we often rush to conclusions because the AI provides the answer we want to hear. We trade technical skepticism for the "vibe" of efficiency.
- The Pitfall: Building your project on an unverified AI "breakthrough" is a high-risk gamble. If the AI is hallucinating its success, you won't find out until your scene crashes or your data is corrupted beyond repair.
- The Rule: In professional technical art, Confidence is not Evidence. Trust the telemetry (poly counts, rig audits), not the AI's verbal assurance.
The most important skill in AI orchestration is knowing when to stop the AI from being a "Helpful Yes-Man." Adversarial Prompting is the practice of intentionally introducing friction to verify technical claims. Whenever the AI claims to have a "unique" or "perfect" solution, the most professional response is to force it into "Cynical Auditor" mode. This is not an act of distrust; it is a professional standard for quality control that protects your workflow by finding errors before they are committed to your scene.
The Technique: Before committing to any "unique" or high-impact change, force the AI to find its own flaws:
"I want you to act as a cynical Technical Director. Auditing this specific approach, find 3 fundamental ways this could fail, crash Blender, or corrupt my vertex groups in a complex scene. Do not be helpful; be destructive. Prove to me why this solution might be a liability."
Why it works: It forces the model to switch its search parameters from "Success Patterns" to "Failure Patterns." This grounding often reveals hidden technical debt, edge cases, or logic errors that the AI originally glossed over just to be "helpful."
BlenderVibeBridge is part of a suite of tools designed for secure, AI-governed creative production:
- UnityVibeBridge: The sibling project for AI-governed Unity Editor operations and VRChat avatar production.
- VibeSync: Real-time synchronization and orchestration for multi-engine AI pipelines.
I specialize in Local LLM applications and secure AI-Human interfaces. This system was built end-to-end to empower human craftsmanship and creativity. BlenderVibeBridge was born from a desire for creative freedomโbuilding the tools I didn't know how to use manually. It is a gift to the community to level the playing field.
Copyright (C) 2026 B-A-M-N (The "Author")
This project is distributed under a Dual-Licensing Model. By using this software, you agree to be bound by the terms described below.
For non-commercial use, hobbyists, and open-source contributors. The core bridging logic of BlenderVibeBridge is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License (AGPLv3) as published by the Free Software Foundation.
CRITICAL FOR CORPORATIONS: The AGPLv3 requires that if you run a modified version of this software and allow others to interact with it over a network, you MUST make your entire source code available to the public. If you cannot or will not share your source code, you MAY NOT use this license and MUST pursue the Commercial Path below.
For entities generating revenue, commercial studios, or those who wish to keep their modifications private. Pursuant to Section 7 of the GNU AGPLv3, commercial use requires satisfying ONE of the following:
- Maintenance Contribution: Documented and verified "Significant Maintenance Contributions" to the project.
- License Fee: Payment of a stipulated commercial license fee.
- Discretionary Waiver: A written waiver granted by the Author at their sole discretion.
By submitting a contribution (pull request, code snippet, bug fix, or documentation) to this project, you grant the Author a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to use, reproduce, prepare derivative works of, publicly display, and sublicense your contributions in both the open-source and commercial versions of the software.
TRACKING WAIVER: This grant is made without the requirement for the Author to track, notify, or seek further approval from the Contributor for any future use. You represent that you are legally entitled to grant this license and that your contributions do not violate any third-party rights.
- NO WARRANTY: This software is provided "AS IS." The Author is not responsible for the non-deterministic nature of AI-interpreted operations.
- AI NON-DETERMINISM: The Author is not liable for "hallucination drift," unintended asset deletion, project corruption, or "vibe loss" resulting from LLM-to-Blender translations.
- HUMAN-IN-THE-LOOP MANDATE: All AI-suggested mutations are considered "Proposed" until a Human User executes a "Finalize" check. THE USER ACCEPTS FULL LEGAL AND TECHNICAL RESPONSIBILITY FOR ANY CODE OR MUTATION THEY ALLOW THE AI TO EXECUTE.
- INDEMNIFICATION: You agree to indemnify, defend, and hold harmless the Author from and against any and all claims, liabilities, damages, and expenses (including attorney fees) arising from your use of the software, your breach of this license, or any assets produced using this software.
- THIRD-PARTY IP & EULA COMPLIANCE:
- NON-AFFILIATION: BlenderVibeBridge is an independent project and is not affiliated with, endorsed by, or sponsored by the Blender Foundation or any other engine provider.
- USER RESPONSIBILITY: Users are solely responsible for ensuring their use complies with the End User License Agreements (EULA) and Terms of Service of Blender and any assets used.
- LIMITATION OF LIABILITY: TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES (INCLUDING LOSS OF DATA, PROFITS, OR CREATIVE FLOW).
Created by the Vibe Bridge Team.
