Mux.Core
1.0.0
dotnet add package Mux.Core --version 1.0.0
NuGet\Install-Package Mux.Core -Version 1.0.0
<PackageReference Include="Mux.Core" Version="1.0.0" />
<PackageVersion Include="Mux.Core" Version="1.0.0" />
<PackageReference Include="Mux.Core" />
paket add Mux.Core --version 1.0.0
#r "nuget: Mux.Core, 1.0.0"
#:package Mux.Core@1.0.0
#addin nuget:?package=Mux.Core&version=1.0.0
#tool nuget:?package=Mux.Core&version=1.0.0
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 anIAsyncEnumerable<AgentEvent>you render live.- Sessions —
SessionStore/SessionSnapshot/SessionResumeService/SessionExporter. - Tools & MCP —
BuiltInToolRegistry,McpToolManager, allow/deny + sandbox governance. - Telemetry —
UsageTelemetry+UsageQueryServiceover a shared local SQLite store. - Config —
SettingsLoaderover the~/.muxconfig directory.
License
MIT. See the repository for full documentation.
Alpha: APIs, tool schemas, and configuration formats may change between releases.
| Product | Versions 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. |
-
net10.0
- Microsoft.Data.Sqlite (>= 9.0.11)
- Microsoft.Playwright (>= 1.62.0)
- Mux.Search (>= 1.0.0)
- PolyPrompt (>= 2.6.0)
- SQLitePCLRaw.bundle_e_sqlite3 (>= 2.1.13)
- Voltaic (>= 0.7.1)
-
net8.0
- Microsoft.Data.Sqlite (>= 9.0.11)
- Microsoft.Playwright (>= 1.62.0)
- Mux.Search (>= 1.0.0)
- PolyPrompt (>= 2.6.0)
- SQLitePCLRaw.bundle_e_sqlite3 (>= 2.1.13)
- Voltaic (>= 0.7.1)
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 |