UnityAgentClient

by nuskey8Verified

Provides integration of any AI agent (Gemini CLI, Claude Code, Codex CLI, etc.) with the Unity editor using Agent Client Protocol

276
Stars
23
Forks
C#
Language
8/23/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/nuskey8/UnityAgentClient

Getting Started

Guides for using skills like UnityAgentClient.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

Unity Agent Client

GitHub license Unity 2021.3+

English | 日本語

Provides integration of any AI agent (Gemini CLI, Claude Code, Codex CLI, etc.) with the Unity editor using Agent Client Protocol(ACP).

demo

Overview

Unity Agent Client is an editor extension that uses the Agent Client Protocol (ACP) proposed by Zed to enable any AI agent to run on the Unity editor.

Features

  • Integrate any AI agent into the Unity editor
  • Supports all AI agents compatible with ACP (Gemini CLI, Claude Code, Codex CLI, etc.)
  • Utilize assets and editor information as context
  • Provides a built-in MCP server

What's Agent Client Protocol?

Agent Client Protocol is a new protocol proposed by Zed to connect AI agents and code editors. It is a protocol based on JSON-RPC and is designed with integration with MCP (Model Context Protocol) in mind.

Zed enables the integration of external AI agents into editors using ACP. Unity Agent Client adopts a similar approach, implementing an ACP Client as an editor extension, allowing any AI agent to run on the Unity editor.

Currently, Gemini CLI provides experimental support (--experimental-acp), and Zed's adapters enable ACP compatibility for Claude Code, Codex CLI, and others. A list of AI agents supporting ACP can be found at the following page:

https://agentclientprotocol.com/overview/agents

Why not Unity AI?

From Unity 6.2 onwards, the official Unity AI can be used. So why use Unity Agent Client?

Unity AI uses models provided by Unity, which means users cannot choose the optimal model for their needs. Additionally, Unity AI requires dedicated tokens (points), making it mandatory to connect Unity projects to Unity Cloud.

Unity Agent Client does not depend on specific LLM providers or agents, allowing users to integrate their preferred AI agents into the editor. Furthermore, ACP supports integration with MCP, enabling users to connect any MCP server of their choice.

Setup

Unity Agent Client requires Unity 2021.3 or later and a Node.js runtime.

1. Install the AgentClientProtocol Package

Unity Agent Client depends on the AgentClientProtocol package, which must be installed from NuGet.

Use NugetForUnity (recommended) or add all dependency packages as DLLs to the project.

2. Install the UnityAgentClient Package

Open the Package Manager and enter the following URL in + > Add package from git URL...:

https://github.com/nuskey8/UnityAgentClient.git?path=Assets/UnityAgentClient

3. Set Up the Agent to Use

Open Project Settings > Unity Agent Client and fill in the settings according to the AI agent you want to use.

[!NOTE] On macOS, PATH resolution may fail in zsh. If an error occurs, use the which command to check the full path of the binary and enter it in Command.

[!WARNING] The settings are saved in the project's UserSettings folder. While the UserSettings folder is usually excluded by .gitignore, be careful not to accidentally upload API keys, etc.

Gemini CLI

Gemini CLI currently provides experimental ACP support. This can be executed by specifying the --experimental-acp option.

CommandArguments
gemini--experimental-acp

If using an API key for login, add GEMINI_API_KEY to Environment Variables.

Claude Code

Claude Code itself does not support ACP, so use the adapter provided by Zed. Follow the README in the following repository to set up claude-code-acp:

https://github.com/zed-industries/claude-code-acp

CommandArguments
claude-code-acp-
Codex CLI

Codex CLI itself does not support ACP, so use the adapter provided by Zed. Follow the README in the following repository to set up codex-acp:

https://github.com/zed-industries/codex-acp

CommandArguments
codex-acp-
opencode (Recommended)

opencode is an open-source AI agent that runs on the CLI and supports any LLM provider, as well as MCP and ACP by default.

https://opencode.ai/

CommandArguments
opencodeacp
Goose

Goose is an open-source AI agent that runs on the CLI/desktop and supports any LLM provider, as well as MCP and ACP by default.

https://block.github.io/goose/

CommandArguments
gooseacp

Usage

Open Window > Unity Agent Client > AI Agent to automatically connect to the session.

  • Enter a prompt in the field and press Send to submit.
  • Drag and drop assets into the window to attach them as context.
  • When executing tools, the agent may request permission (whether permission is requested depends on the agent's settings).
  • If supported by the agent in use, you can switch modes or models when sending.

Best Practices

Unity Agent Client DOES NOT recommend using AI agents for coding within the editor. Due to Unity's constraints, editing C# scripts triggers a Domain Reload, disconnecting the session. Moreover, the Unity editor is not suited for reviewing AI-edited code. Instead, use AI agents integrated into IDEs or code editors.

Unity Agent Client focuses on utilizing AI agents to leverage the entire Unity project as a document. By using AI with the entire editor as context, development team members can deepen their understanding of the project or use it as a tool to identify issues and bottlenecks.

Traditional MCP-based approaches required using tools outside the editor, but Unity Agent Client operates within the editor, eliminating the need to switch windows frequently.

License

This library is provided under the MIT LICENSE.

Frequently Asked Questions

What is UnityAgentClient?

UnityAgentClient is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by nuskey8. Provides integration of any AI agent (Gemini CLI, Claude Code, Codex CLI, etc.) with the Unity editor using Agent Client Protocol. It has 276 GitHub stars.

Is UnityAgentClient safe to use?

Yes. UnityAgentClient passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install UnityAgentClient?

Clone the repository with "git clone https://github.com/nuskey8/UnityAgentClient" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is UnityAgentClient written in?

UnityAgentClient is primarily written in C#. It is open-source under nuskey8 on GitHub, so you can review or fork the full source.

Are there alternatives to UnityAgentClient?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh UnityAgentClient against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details