๐ Foundry Local Documentation
April 6, 2026 ยท View on GitHub
Documentation for Foundry Local can be found in the following resources:
- Microsoft Learn: This is the official documentation for Foundry Local, providing comprehensive guides, tutorials, and reference materials to help you get started and make the most of Foundry Local.
- SDK Reference:
- C# SDK Reference: This documentation provides detailed information about the C# SDK for Foundry Local, including API references, usage examples, and best practices for integrating Foundry Local into your applications.
- JavaScript SDK Reference: This documentation offers detailed information about the JavaScript SDK for Foundry Local, including API references, usage examples, and best practices for integrating Foundry Local into your web applications.
- Python SDK Reference: This documentation provides detailed information about the Python SDK for Foundry Local, including API references, usage examples, and best practices for integrating Foundry Local into your Python applications.
- Rust SDK Reference: This documentation provides detailed information about the Rust SDK for Foundry Local, including API references, usage examples, and best practices for integrating Foundry Local into your Rust applications.
- Foundry Local Lab: This GitHub repository contains a lab designed to help you learn how to use Foundry Local effectively. It includes hands-on exercises, sample code, and step-by-step instructions to guide you through the process of setting up and using Foundry Local in various scenarios.
Supported Capabilities
Foundry Local is a unified local AI runtime that supports both text generation and speech-to-text through a single SDK:
| Capability | Model Aliases | SDK API |
|---|---|---|
| Chat Completions (Text Generation) | phi-3.5-mini, qwen2.5-0.5b, etc. | model.createChatClient() |
| Audio Transcription (Speech-to-Text) | whisper-tiny | model.createAudioClient() |
Samples
- JavaScript: Native Chat Completions โ Chat completions using the native SDK API
- JavaScript: Audio Transcription โ Speech-to-text with Whisper
- JavaScript: Chat + Audio โ Unified chat and audio in one app
- JavaScript: Tool Calling โ Function calling with local models
- JavaScript: Electron Chat App โ Desktop chat application
- C#: Getting Started โ C# SDK examples including audio transcription