Add a first-party .NET client - #206
Conversation
b72eeed to
ca6e1a3
Compare
ef382ab to
5cc1e43
Compare
3c206df to
422ff6b
Compare
4b290c9 to
2f97415
Compare
a2dc900 to
7fe7ca0
Compare
8df6deb to
21ed4b0
Compare
857d205 to
fdc1ed6
Compare
fdc1ed6 to
d4c0544
Compare
7b20e6f to
5f623fb
Compare
|
Josh (@joshmouch) are you still interested in making this contribution? Our team has interest here and the AHP folks encouraged us to start with your changes.
|
First-party .NET client for the Agent Host Protocol: a hand-written JSON-RPC client + multi-host runtime over a pluggable ITransport (WebSocket transport included), generated wire types, and DI integration. Includes OpenTelemetry-native self-instrumentation (a single ActivitySource + Meter named from the generated AhpTelemetryNames holder), the host-* dropped- event stream values from the shared telemetry contract, reconnect-supervisor metrics, an OtelExport example, and recorder-based telemetry tests.
Add netstandard2.0 support, current generated protocol types and reducers, and complete CI and release-tool integration. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
5f623fb to
1a435c3
Compare
Fold WebSocketTransport into the core package and propagate client-lifetime cancellation to background transport operations. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Security follow-up on \FileClientIdStore: the temporary file currently receives the client ID before its Unix permissions are tightened to \ |
|
Thanks Wiktor Kopec (@wiktork) — and yes, absolutely still interested! Genuinely thrilled this ended up being the starting point for your team; honestly that's the best outcome I could have hoped for here. Apologies for the slow reply. Both of your points are covered now, thanks to David Fowler (@davidfowl):
David Fowler (@davidfowl) — #411 is a great read, and the Written up separately rather than widening #411 — happy to open the Swift PR if that's useful. Really glad to keep helping here — this has been a genuinely fun one to work on. |
A first-party .NET / NuGet client for AHP 1.0, at cross-language parity with the Rust, Kotlin, Swift, TypeScript, and Go clients.
What’s included
Microsoft.AgentHostProtocol.Abstractions: generated wire types plus transport and serializer interfaces.Microsoft.AgentHostProtocol: reducers,AhpClient, integratedWebSocketTransport, andMultiHostClient.netstandard2.0andnet8.0; tests and examples run onnet8.0.Validation
netstandard2.0andnet8.0and pack successfully.Ownership and publishing
I’m happy to continue maintaining the .NET client and keep it in protocol parity. Package IDs remain
Microsoft.AgentHostProtocol.*; publishing can be wired to the maintainers’ signed NuGet pipeline.