The open source Unity Dev Agent
Rust
737
748 commits
updated Sep 5, 2026
Scale game development efficiency and free creators from tedious, repetitive work.
English | 简体中文
Locus for Unity is an open-source AI Agent for Unity projects.
/view command, free of IMGUI's constraintsLocus is currently in early testing. We welcome you to try it and share feedback through Issues. Your input is highly valuable to us.
Locus is a standalone Rust + Tauri + Vue.js application that runs as an independent process.
/view command, the agent can also build Unity editor UI with Vue.js — full HTML and CSS, free of IMGUI's constraints, with data binding and interpreted C# execution built inIf Locus were implemented inside the Unity Editor, or designed as an MCP server, most of these capabilities would be difficult to deliver and some would be nearly impossible technically.
Windows is currently the only supported platform. We plan to add macOS support soon.
We recommend installing from the Releases build. For the post-installation setup flow, see Quick Start.
Locus currently supports Unity 2021 or later on Windows.
If you encounter compatibility issues on older Unity versions, please report them through Issues. We will try to fix them where practical; compatibility fixes that require substantial changes may be handled as branch-specific solutions.
This repository uses bun + Tauri 2, with Windows as the primary development and build platform.
bun tauri dev
This command starts the Vite development server and opens the Tauri desktop app.
bun run locus:test:app
This enables WebView2 debugging and Codex MCP, then creates isolated database, configuration, logs, workspace, WebView2 profile, and process-temp directories. Startup prints LOCUS_RUNTIME_JSON so the complete test environment can be located reliably.
The generated runtime parent is resolved in this order: --runtime-base, LOCUS_ISOLATED_RUNTIME_BASE, the Git-ignored .locus-dev.local.json, then the system temp directory. A checkout-specific local config uses this shape:
{
"isolatedRuntimeBase": "<absolute local directory>"
}
The runtime root and each child directory can also be selected explicitly:
bun run locus:test:app -- --runtime-root <absolute-runtime-root>
The equivalent Tauri entry is bun tauri dev-mcp --isolated. Run bun run locus:test:app -- --help for all options.
Build a fast Windows development installer:
bun run build:installers
This mode uses incremental compilation, 256 codegen units, LTO disabled, and zlib compression. It builds the no-embedded-Python/Git flavor by default and writes an installer with the -dev-without_embed_python_git suffix under src-tauri/target/release/bundle/nsis/.
Use the full embedded runtime flavor when validating bundled Python and Git:
bun run build:installers default
The full embedded development installer uses the -dev suffix.
See GitHub Releases for published installers and release notes.
To build both ThinLTO-optimized Windows release installers locally:
bun run release:installers
The default installer keeps the standard name, for example locus_0.2.5_x64-setup.exe. The no-embed installer uses locus_0.2.5_x64-without_embed_python_git-setup.exe.
The main repository source code is released under GPL-3.0-or-later. See LICENSE for the full text.
docs/ contains the documentation source files and the local documentation build toolchain notes. See docs/BUILD_TOOLCHAIN.md.
The desktop app installer does not include docs/node_modules or the Mint documentation build toolchain.
See THIRD_PARTY_NOTICES for root-level third-party notices.
For Roslyn and related .NET dependency license and distribution notes inside locus_unity/Editor/Roslyn, see locus_unity/Editor/Roslyn/THIRD_PARTY.md. For the private JSON parser bundle, see locus_unity/Editor/Json/THIRD_PARTY.md.
Published installers include the root license file, the root third-party notices, the generated licenses/third_party/ bundle, and the Unity Editor bundle notices under locus_unity/.
This project is a free and open-source tool for the Unity Editor, and is not affiliated with Unity Technologies.
Rust
47.4%
TypeScript
22.1%
Vue
18.0%
C#
10.7%
The open source Unity Dev Agent
Rust
737
748 commits
updated Sep 5, 2026
Scale game development efficiency and free creators from tedious, repetitive work.
English | 简体中文
Locus for Unity is an open-source AI Agent for Unity projects.
/view command, free of IMGUI's constraintsLocus is currently in early testing. We welcome you to try it and share feedback through Issues. Your input is highly valuable to us.
Locus is a standalone Rust + Tauri + Vue.js application that runs as an independent process.
/view command, the agent can also build Unity editor UI with Vue.js — full HTML and CSS, free of IMGUI's constraints, with data binding and interpreted C# execution built inIf Locus were implemented inside the Unity Editor, or designed as an MCP server, most of these capabilities would be difficult to deliver and some would be nearly impossible technically.
Windows is currently the only supported platform. We plan to add macOS support soon.
We recommend installing from the Releases build. For the post-installation setup flow, see Quick Start.
Locus currently supports Unity 2021 or later on Windows.
If you encounter compatibility issues on older Unity versions, please report them through Issues. We will try to fix them where practical; compatibility fixes that require substantial changes may be handled as branch-specific solutions.
This repository uses bun + Tauri 2, with Windows as the primary development and build platform.
bun tauri dev
This command starts the Vite development server and opens the Tauri desktop app.
bun run locus:test:app
This enables WebView2 debugging and Codex MCP, then creates isolated database, configuration, logs, workspace, WebView2 profile, and process-temp directories. Startup prints LOCUS_RUNTIME_JSON so the complete test environment can be located reliably.
The generated runtime parent is resolved in this order: --runtime-base, LOCUS_ISOLATED_RUNTIME_BASE, the Git-ignored .locus-dev.local.json, then the system temp directory. A checkout-specific local config uses this shape:
{
"isolatedRuntimeBase": "<absolute local directory>"
}
The runtime root and each child directory can also be selected explicitly:
bun run locus:test:app -- --runtime-root <absolute-runtime-root>
The equivalent Tauri entry is bun tauri dev-mcp --isolated. Run bun run locus:test:app -- --help for all options.
Build a fast Windows development installer:
bun run build:installers
This mode uses incremental compilation, 256 codegen units, LTO disabled, and zlib compression. It builds the no-embedded-Python/Git flavor by default and writes an installer with the -dev-without_embed_python_git suffix under src-tauri/target/release/bundle/nsis/.
Use the full embedded runtime flavor when validating bundled Python and Git:
bun run build:installers default
The full embedded development installer uses the -dev suffix.
See GitHub Releases for published installers and release notes.
To build both ThinLTO-optimized Windows release installers locally:
bun run release:installers
The default installer keeps the standard name, for example locus_0.2.5_x64-setup.exe. The no-embed installer uses locus_0.2.5_x64-without_embed_python_git-setup.exe.
The main repository source code is released under GPL-3.0-or-later. See LICENSE for the full text.
docs/ contains the documentation source files and the local documentation build toolchain notes. See docs/BUILD_TOOLCHAIN.md.
The desktop app installer does not include docs/node_modules or the Mint documentation build toolchain.
See THIRD_PARTY_NOTICES for root-level third-party notices.
For Roslyn and related .NET dependency license and distribution notes inside locus_unity/Editor/Roslyn, see locus_unity/Editor/Roslyn/THIRD_PARTY.md. For the private JSON parser bundle, see locus_unity/Editor/Json/THIRD_PARTY.md.
Published installers include the root license file, the root third-party notices, the generated licenses/third_party/ bundle, and the Unity Editor bundle notices under locus_unity/.
This project is a free and open-source tool for the Unity Editor, and is not affiliated with Unity Technologies.
Rust
47.4%
TypeScript
22.1%
Vue
18.0%
C#
10.7%