Harness Unity Bridge
File-based bridge enabling DeepSeek Harness to control Unity Editor operations in a running editor instance.
Why Harness Unity Bridge?
- Zero config — No network setup, no port conflicts. Just install and go.
- Deterministic CLI — Tested Python script handles UUIDs, polling, retries, and cleanup so DeepSeek Harness doesn't have to.
- Multi-project — Each Unity project gets its own
.harness-unity-bridge/directory. Work on multiple projects simultaneously. - Full editor control — Run tests, compile, check logs, refresh assets, build, and control Play Mode.
- Cross-platform — macOS, Linux, and Windows support.
Installation
Install the CLI:
pip install harness-unity-bridge
harness-unity-bridge install-skill
Or use the one-line installer:
# macOS / Linux / Git Bash
curl -sSL https://raw.githubusercontent.com/WarrenMondeville/harness-unity-bridge/main/install.sh | bash
# Windows (PowerShell)
irm https://raw.githubusercontent.com/WarrenMondeville/harness-unity-bridge/main/install.ps1 | iex
Add the Unity package (in Unity Editor):
Window > Package Manager > + > Add package from git URL...
https://github.com/WarrenMondeville/harness-unity-bridge.git?path=package
Quick Start
Open DeepSeek Harness in your Unity project directory and ask naturally:
"Run the Unity tests"
"Check for compilation errors"
"Show me the error logs"
"Build for Android"
Or use the CLI directly:
harness-unity-bridge run-tests --mode EditMode
harness-unity-bridge compile
harness-unity-bridge get-console-logs --limit 10
harness-unity-bridge get-status
harness-unity-bridge build --target Android
Commands
| Command | Description |
|---|---|
run-tests |
Execute EditMode or PlayMode tests with optional filters |
compile |
Trigger script compilation and report errors |
get-console-logs |
Retrieve Unity console output (filter by Log/Warning/Error) |
get-status |
Check editor state — compilation, play mode, updating |
refresh |
Force asset database refresh |
play / pause / step |
Control Play Mode — enter, pause, step frames |
build |
Build project with direct pipeline or custom method |
How It Works
DeepSeek Harness --> harness-unity-bridge CLI --> .harness-unity-bridge/command.json
|
Unity Editor
|
DeepSeek Harness <-- harness-unity-bridge CLI <-- .harness-unity-bridge/response-{id}.json
- DeepSeek Harness (or you) runs a
harness-unity-bridgecommand - The CLI writes a JSON command with a unique UUID
- Unity Editor polls for and executes the command
- The CLI polls for the response with exponential backoff
- Results are formatted and displayed; response files are cleaned up
All file I/O is atomic (temp file + rename) to prevent corruption. The CLI handles file locking, retries, and stale file cleanup automatically.
Updating
harness-unity-bridge update
Documentation
- Installation Options — Alternative installation methods
- Usage Guide — Command formats and response details
- Architecture — Project structure and design
- Command Reference — Complete command specification
License
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file harness_unity_bridge-0.3.0.tar.gz.
File metadata
- Download URL: harness_unity_bridge-0.3.0.tar.gz
- Upload date:
- Size: 44.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90c352d58e374aea7a630c8e62283a901348c4582cf1589ca07c24cd349d6ed4
|
|
| MD5 |
16d437be2c15375e0d36d39e8bdda0fe
|
|
| BLAKE2b-256 |
a2ba5ad346212497293e75357d6729505f7a3af2c95b78caaf1d81915b39bc7b
|
File details
Details for the file harness_unity_bridge-0.3.0-py3-none-any.whl.
File metadata
- Download URL: harness_unity_bridge-0.3.0-py3-none-any.whl
- Upload date:
- Size: 32.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
008088ad0a8da6edc1048a7318f14ae7ff4186dc3c0da9863009ad9ee6b775e9
|
|
| MD5 |
d48091ca02fd9bffef3b8b2504855677
|
|
| BLAKE2b-256 |
0cb983da55ad9faa2aa8db6b492fae721a50ed78e2fe520443960f2b5475d02b
|