Foundry Local Rust SDK
A Rust SDK for interacting with the Microsoft Foundry Local service. This SDK allows you to manage and use AI models locally on your device. See Foundry Local for more infromation.
Features
- Start and manage the Foundry Local service
- Download models from the Foundry catalog
- Load and unload models
- List available, cached, and loaded models
- Interact with loaded models using a simple API
Usage
use FoundryLocalManager;
use Result;
async
Installation
Add the following to your Cargo.toml:
[]
= "0.1.0"
Requirements
- Foundry Local must be installed. On Windows you can run the following to install latest.
winget install Microsoft.FoundryLocal
- Rust 1.70.0 or later
License
Licensed under the MIT License.