Microsoft.AI.Foundry.Local.Runtime 2.2.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.AI.Foundry.Local.Runtime --version 2.2.0
                    
NuGet\Install-Package Microsoft.AI.Foundry.Local.Runtime -Version 2.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="Microsoft.AI.Foundry.Local.Runtime" Version="2.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AI.Foundry.Local.Runtime" Version="2.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.AI.Foundry.Local.Runtime" />
                    
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 Microsoft.AI.Foundry.Local.Runtime --version 2.2.0
                    
#r "nuget: Microsoft.AI.Foundry.Local.Runtime, 2.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 Microsoft.AI.Foundry.Local.Runtime@2.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=Microsoft.AI.Foundry.Local.Runtime&version=2.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.AI.Foundry.Local.Runtime&version=2.2.0
                    
Install as a Cake Tool

Microsoft AI Foundry Local Runtime

The Microsoft AI Foundry Local Runtime NuGet package provides the native runtime libraries used by the Foundry Local SDK.

The package includes platform-specific native assets for Windows x64, Windows ARM64, Linux x64, Linux ARM64, and macOS ARM64. Windows packages also include the foundry_local.lib import library for applications that link against foundry_local.dll.

C and C++ Applications

No source build is required. Restore Microsoft.AI.Foundry.Local.Runtime and its dependencies directly with the NuGet CLI. This is also the native dependency of the Microsoft.AI.Foundry.Local C# SDK package, without the managed SDK dependencies.

nuget install Microsoft.AI.Foundry.Local.Runtime -OutputDirectory packages

The Runtime package includes public headers under build/native/include/ and native libraries under runtimes/<rid>/native/. Add the header directory to your include path, link the library for your target RID, and deploy the matching native dependencies from the restored packages alongside your application. The C API uses foundry_local/foundry_local_c.h; the header-only C++17 wrapper uses foundry_local/foundry_local_cpp.h. A .NET runtime is not required by native applications.

For SDK usage and development documentation, see the Foundry Local repository.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Microsoft.AI.Foundry.Local.Runtime:

Package Downloads
Microsoft.AI.Foundry.Local

Microsoft AI Foundry Local SDK for .NET

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.2.1 454 10/21/2026
2.2.0 175 10/20/2026
2.1.0 3,169 9/29/2026
2.0.1 7,940 8/31/2026