Mux.Core 1.0.0

dotnet add package Mux.Core --version 1.0.0
                    
NuGet\Install-Package Mux.Core -Version 1.0.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="Mux.Core" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mux.Core" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Mux.Core" />
                    
Project file
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 Mux.Core --version 1.0.0
                    
#r "nuget: Mux.Core, 1.0.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 Mux.Core@1.0.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=Mux.Core&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Mux.Core&version=1.0.0
                    
Install as a Cake Tool

Mux.Core

The engine behind mux — a backend-agnostic AI coding agent — packaged so you can build your own experiences (desktop apps, services, bespoke tools) on top of it.

Mux.Core gives you an agent loop with streaming events, a built-in tool suite (file edit/read/write, glob, grep, process execution, web retrieval/search), MCP client integration, skills, subagents, session persistence, git checkpoints, approval/sandbox governance, and durable usage telemetry — all provider-agnostic through PolyPrompt (Ollama, OpenAI, vLLM, Azure OpenAI, Anthropic, Gemini, Vertex, Bedrock, and any OpenAI-compatible API).

Quick start

using Mux.Core.Agent;
using Mux.Core.Settings;

EndpointConfig endpoint = SettingsLoader.ResolveEndpoint(
    SettingsLoader.LoadEndpoints(), name: null, model: null, baseUrl: null, adapter: null,
    temperature: null, maxTokens: null);

AgentLoopOptions options = new AgentLoopOptions
{
    Endpoint = endpoint,
    ApprovalPolicy = ApprovalPolicyEnum.Ask,
    PromptUserFunc = async toolCall => "y" // your approval UX returns "y" / "n" / "always"
};

using AgentLoop loop = new AgentLoop(options);
await foreach (AgentEvent evt in loop.RunAsync("List the files in this directory.", CancellationToken.None))
{
    // Render AssistantTextEvent, ToolCallProposedEvent, RunCompletedEvent, etc.
}

What you get

  • AgentLoop — one call per user turn, returning an IAsyncEnumerable<AgentEvent> you render live.
  • SessionsSessionStore / SessionSnapshot / SessionResumeService / SessionExporter.
  • Tools & MCPBuiltInToolRegistry, McpToolManager, allow/deny + sandbox governance.
  • TelemetryUsageTelemetry + UsageQueryService over a shared local SQLite store.
  • ConfigSettingsLoader over the ~/.mux config directory.

License

MIT. See the repository for full documentation.

Alpha: APIs, tool schemas, and configuration formats may change between releases.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Mux.Core:

Package Downloads
Mux.Server

Optional local REST + WebSocket server (Watson 7) exposing the mux engine over loopback: sessions, chat streaming, endpoints, usage telemetry, and the built-in dashboard.

Mux.Desktop.Core

UI-framework-agnostic logic for mux Desktop: localization, view models, and services over Mux.Core and Mux.Server. No Avalonia dependency, so it is unit-testable in isolation.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 50 9/17/2026