mxc
mxc copied to clipboard
.NET / C# SDK
Description of the new feature / enhancement
The current MXC SDK is TypeScript/Node only. Developers building agents and tools on .NET (C#) have no native way to integrate MXC without shelling out to the CLI or introducing a Node dependency, neither of which is acceptable for production .NET applications.
Proposed technical implementation details
A first-class .NET SDK (NuGet package) for MXC, mirroring the capabilities of @microsoft/mxc-sdk:
- Declare sandbox policy via C# API or JSON manifest
- One-shot and state-aware (session) execution APIs
- Full stdin/stdout/stderr pass-through for interactive CLI tools
- Support for the same containment backends (processcontainer, isolation_session, etc.)
I created a port here https://github.com/sabbour/mxc-dotnet-sdk
Addressed by #635 and #642, which between them add a dotnet SDK.