UnityAgentClient.Core
0.2.0
dotnet add package UnityAgentClient.Core --version 0.2.0
NuGet\Install-Package UnityAgentClient.Core -Version 0.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="UnityAgentClient.Core" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="UnityAgentClient.Core" Version="0.2.0" />
<PackageReference Include="UnityAgentClient.Core" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add UnityAgentClient.Core --version 0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: UnityAgentClient.Core, 0.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package UnityAgentClient.Core@0.2.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=UnityAgentClient.Core&version=0.2.0
#tool nuget:?package=UnityAgentClient.Core&version=0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
UnityAgentClient.Core
Core engine for Unity Agent Client — an AI agent plugin for Unity Editor.
This package bundles:
ACP Protocol (AgentClientProtocol namespace)
- Full Agent Client Protocol implementation (v0.3.0)
ClientSideConnection/AgentSideConnection— JSON-RPC over stdio- Session lifecycle: initialize, authenticate, prompt, cancel, load, list, config
- Elicitation (structured user input), usage tracking, context window
MCP Tool System (UnityAgentClient namespace)
IMcpTool— Interface for implementing MCP tools callable by AI agentsMcpToolRegistry— Tool registration, permission checking, and main-thread dispatchMetaToolRouter— Groups multiple tools under a single agent-facing tool with action routingBatchTool— Cross-category batch execution
Skill System
SkillRegistry— YAML-based skill recipe loading and queryingSkillTool— MCP tool that exposes skill browsing/searching to agentsBuiltinSkills— 14 built-in skill recipes
Utilities
SessionStore— Session metadata persistenceLogger— Injectable logging facade (wire toUnityEngine.Debugor any backend)
Usage
Implement IMcpTool to create a custom tool:
public class MyTool : IMcpTool
{
public string Name => "my_tool";
public string Description => "Does something useful";
public JsonElement InputSchema => ...;
public bool RequiresMainThread => true;
public McpToolResult Execute(JsonElement args)
{
return McpToolResult.Success("Done!");
}
}
Publishing
- Ensure the repository secret
NUGET_TOKENis set to a nuget.org API key with push permission. - Run the Publish NuGet package workflow from the default branch in GitHub Actions.
- Leave the workflow input at the default
minorbump unless you explicitly wantpatchormajor.
The workflow bumps <PackageVersion> in src/UnityAgentClient.Core.csproj, packs and publishes that new version to nuget.org, commits the bumped version back to the repository, pushes the commit to the default branch, then updates the matching v<PackageVersion> git tag and GitHub Release page with the package asset attached.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- System.Text.Json (>= 8.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.