Introduction

The core philosophy of DeepSeek Harness is “everything is a plugin,” which provides the foundation for building various automation workflows. For game developers, enabling agents to interact directly with the Unity editor is a key scenario for improving development efficiency. The opdsh/unity-plugin plugin solves the pain points of agent-to-Unity editor interaction. It does not rely on screenshot recognition or simulators; instead, it establishes a connection through Unity’s official command-line tools, allowing the Agent to perform operations in a real editor environment.

What Is This

This is a DeepSeek Harness plugin maintained by opdsh, designed to control the Unity editor via Unity CLI. It uses natural language descriptions to drive the Unity editor to carry out operations such as project creation, scene building, code writing, Asset Store asset import, test execution, and build and release. The plugin runs through a real editor process, ensuring that operations stay in sync with the on-screen display.

Core Features

The plugin provides the following verified capabilities:

  • Project Management: Supports starting a new game from scratch.
  • Scene Building: Adds GameObjects through conversation, sets positions, adds components, connects prefabs, and achieves extremely short scene command round-trip times.
  • Code Writing: Creates C# scripts, waits for compilation to complete, and attaches scripts to specified objects.
  • Asset Store Integration: Uses purchased assets, searches for them, and imports them into the current project.
  • Testing and Feedback: Supports taking screenshots to view scene results, entering/exiting Play mode, and running EditMode and PlayMode tests.
  • Build and Release: Supports launching player builds for target platforms.
  • Learning Best Practices: Includes Unity’s official skill collection (Playbook) to guide the Agent in following Unity best practices.

Installation and Enablement

Before installing, ensure the following prerequisites are met:

  1. DeepSeek Harness 0.1.7 or later.
  2. Unity 6.0 or later.
  3. Python 3.9 or later (only required when using Asset Store features).
  4. The unity command-line tool is installed, logged in, and has an activated license.
  5. The project includes the com.unity.pipeline package.

Install the plugin into the specified Harness profile:

dsh plugin --profile <name> add @opdsh/unity-plugin

Typical Usage

The Agent can execute specific operation commands, for example:

  • Create the project and basic objects:
    > “Create a new 3D project called SpaceRunner using the URP template” or “Open the project at C:\Games\SpaceRunner, add a Player capsule at the origin with a Rigidbody, and write a script that moves it with WASD.”
  • Use Asset Store resources:
    > “Add the 2D Game Kit to this project” or “Find a low-poly nature pack in my assets and import it.”

Applicable Scenarios and Cautions

This plugin is suitable for Unity developers or developers who need to integrate Unity editor automation into agent workflows.

Cautions:
* The plugin runs with the permissions of the current DSH process and operates the editor directly.
* Please review the source code and license (MIT) before use.
* Ensure the Unity editor is correctly installed and properly licensed.

Summary

opdsh/unity-plugin provides DeepSeek Harness with capabilities for deep interaction with the Unity editor, filling a gap in the client-side game development toolchain. With this plugin, the Agent can become a true game development assistant. For more details, refer to the plugin catalog or the GitHub repository.