Dmon.Providers.Mtplx 0.2.0

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

Dmon.Providers.Mtplx

Managed Apple-Silicon MTPLX provider for the dmon coding agent.

This package attaches to a locally running mtplx serve process — an OpenAI-compatible server for Apple-Silicon multi-token-prediction (MTP) inference — and exposes it as a Microsoft.Extensions.AI IChatClient. It does not spawn the server; it expects mtplx serve to already be running (attach-first lifecycle), probes tool-calling capability at session start, and wires the result into ChatClientCapabilities.SupportsToolCalling.


Prerequisites

mtplx must be installed and mtplx serve must be running before the dmon agent starts. This package does not launch the server.


Options

Configure via MtplxOptions or set environment variables before starting the host.

Property Type Default Env var Description
Host string 127.0.0.1 MTPLX_HOST Host address of the running mtplx serve process
Port int 8000 MTPLX_PORT Port the server is listening on
ModelId string? null MTPLX_MODEL_ID Model identifier to request; when unset, targets the server's currently active model
ServerPath string? null MTPLX_SERVER_PATH Reserved for future use — path to the mtplx binary if dmon is to launch it
ReadyTimeout TimeSpan 120s How long to wait for the server health check before throwing TimeoutException

MtplxOptions.FromEnvironment() constructs an options record from the env vars in the table above.


Building from the monorepo (contributors)

Dmon.Providers.Mtplx lives under providers/ in the dmon-core monorepo. Dmon.Abstractions is consumed via ProjectReference — no local feed or manual pack step is required.

# build / test the whole solution (recommended)
dotnet build Everything.slnx -c Release
dotnet test  Everything.slnx -c Release

# pack the provider package
dotnet pack providers/Dmon.Providers.Mtplx/Dmon.Providers.Mtplx.csproj -c Release -o ./artifacts
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.2.0 111 7/13/2026