AgencyDotNet.Acp
0.1.198-ga453511f0e
dotnet add package AgencyDotNet.Acp --version 0.1.198-ga453511f0e
NuGet\Install-Package AgencyDotNet.Acp -Version 0.1.198-ga453511f0e
<PackageReference Include="AgencyDotNet.Acp" Version="0.1.198-ga453511f0e" />
<PackageVersion Include="AgencyDotNet.Acp" Version="0.1.198-ga453511f0e" />
<PackageReference Include="AgencyDotNet.Acp" />
paket add AgencyDotNet.Acp --version 0.1.198-ga453511f0e
#r "nuget: AgencyDotNet.Acp, 0.1.198-ga453511f0e"
#:package AgencyDotNet.Acp@0.1.198-ga453511f0e
#addin nuget:?package=AgencyDotNet.Acp&version=0.1.198-ga453511f0e&prerelease
#tool nuget:?package=AgencyDotNet.Acp&version=0.1.198-ga453511f0e&prerelease
Agency.Acp
Agent Client Protocol (ACP) host for the Agency AI Toolkit: exposes the agent harness as a process that speaks newline-delimited JSON-RPC 2.0 over stdio, so any ACP client can drive an Agency agent without linking against it.
Install
dotnet add package AgencyDotNet.Acp
Status
This package currently ships the protocol transport, method dispatcher, and session lifecycle:
initialize is fully implemented; unsupported v1 methods (authenticate, logout,
session/load, session/list, session/resume, session/set_mode) return a proper JSON-RPC
MethodNotFound error; and session/new, session/close, session/delete create and dispose the
per-session object graph (model catalogue resolution, MCP tool discovery, per-session context
window). A session is always disposed exactly once, whether via session/close, transport
disconnect, or process shutdown — the first real ACP client never sends session/close, so
disposal cannot depend on it. session/prompt, session/cancel, and session/set_config_option
are routed but not yet implemented.
Guarantee
stdout carries JSON-RPC protocol bytes only. Every log sink writes to a file, never to the console,
and Console.Out is replaced with a no-op writer before the transport starts, so a stray write from
anywhere in the process cannot corrupt the protocol stream.
Part of the Agency AI Toolkit — an open-source .NET agentic AI toolkit.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- AgencyDotNet.Configuration (>= 0.1.198-ga453511f0e)
- AgencyDotNet.Harness (>= 0.1.198-ga453511f0e)
- AgencyDotNet.Llm.Common (>= 0.1.198-ga453511f0e)
- Anthropic (>= 12.31.0)
- dotacp.protocol (>= 2026.7.19)
- Microsoft.Extensions.AI (>= 10.7.0)
- Microsoft.Extensions.AI.OpenAI (>= 10.7.0)
- Microsoft.Extensions.Configuration (>= 10.0.9)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.9)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.9)
- Microsoft.Extensions.Configuration.Json (>= 10.0.9)
- Microsoft.Extensions.Configuration.UserSecrets (>= 10.0.9)
- Microsoft.Extensions.DependencyInjection (>= 10.0.9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Hosting (>= 10.0.9)
- Microsoft.Extensions.Http (>= 10.0.9)
- Microsoft.Extensions.Logging (>= 10.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Options (>= 10.0.9)
- Microsoft.PowerShell.SDK (>= 7.6.3)
- ModelContextProtocol (>= 1.4.0)
- Newtonsoft.Json (>= 13.0.4)
- Npgsql (>= 10.0.3)
- OpenAI (>= 2.11.0)
- pgvector (>= 0.3.2)
- Serilog (>= 4.3.1)
- Serilog.Extensions.Logging (>= 10.0.0)
- Serilog.Sinks.File (>= 7.0.0)
- System.Security.Cryptography.Xml (>= 10.0.10)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.198-ga453511f0e | 38 | 9/18/2026 |
| 0.1.196-g29f327a13f | 40 | 9/17/2026 |