Part of: [Epic] Add Windows support (#66)
Summary
Add a windows-ai provider to our LLM provider list for on-device summarization on Copilot+ PCs, using the Windows AI Foundry (formerly Windows Copilot Runtime).
Platform Details
- Windows App SDK 1.7+ (shipped mid-2025) includes Phi Silica (~3.3B params, NPU-optimized)
- TextSummarizer API:
Microsoft.Windows.AI.Generative namespace
- Availability: Copilot+ PCs only (Snapdragon X, Intel Core Ultra, AMD Ryzen AI) — requires NPU hardware
- API pattern: Similar to Apple Intelligence — check availability, create session, send text, get summary
Implementation Approach
Add a small Rust or C# helper invoked from the Tauri backend (similar to how we shell out for Apple Intelligence via osascript). Gate on TextSummarizer.IsAvailable().
if (TextSummarizer.IsAvailable()) {
var summarizer = await TextSummarizer.CreateAsync();
var result = await summarizer.SummarizeAsync(articleText);
}
Acceptance Criteria
Estimate: ~2 days
Priority: Nice-to-have
Part of: [Epic] Add Windows support (#66)
Summary
Add a
windows-aiprovider to our LLM provider list for on-device summarization on Copilot+ PCs, using the Windows AI Foundry (formerly Windows Copilot Runtime).Platform Details
Microsoft.Windows.AI.GenerativenamespaceImplementation Approach
Add a small Rust or C# helper invoked from the Tauri backend (similar to how we shell out for Apple Intelligence via
osascript). Gate onTextSummarizer.IsAvailable().Acceptance Criteria
windows-aiprovider added to LLM provider listEstimate: ~2 days
Priority: Nice-to-have