Starling · Tokenizers · NuGet · llms.txt · Good first issues
⭐ If this is useful, star Starling so other .NET developers can find it.
Starling runs real AI models inside your .NET app: embeddings, entity extraction, image and video search, and chat. It plugs into Microsoft.Extensions.AI, so moving code off a hosted provider starts with one line at the call site. Each model is pinned to an exact upstream commit, verified by SHA-256, and checked against the original PyTorch/Python implementation before release. The evidence is published next to the code.
using var embedder = E5EmbeddingGenerator.Create(await E5ModelAssets.DownloadAsync()); var vector = await embedder.GenerateVectorAsync("query: Which river runs through Cologne?"); // In-process on ONNX Runtime, CPU or CUDA. After the one-time download, no network.
|
Local AI models for .NET on ONNX Runtime (CPU/CUDA), exposed through dotnet add package Starlings.Models.E5.Extensions.AI |
Hugging Face dotnet add package Starlings.Tokenizers |
| Model | What it does | Package | |
|---|---|---|---|
| 🔎 | multilingual-e5-small | Text embeddings in 100 languages | Starlings.Models.E5 |
| 🖼️ | EmbeddingGemma 2 | Text, image and video embeddings in one space | Starlings.Models.EmbeddingGemma2 |
| 🏷️ | GLiNER2 | Zero-shot entity extraction with any labels | Starlings.Models.Gliner2 |
| 💬 | Qwen3.5-0.8B | Chat and text generation via IChatClient |
Starlings.Models.Qwen35 |
Experimental on NuGet: Kev decision models, BERT-family embedders and rerankers, Qwen chat models, LFM3 and e5 in the browser. Experimental in the repository: Whisper speech-to-text.
The model catalog links every release gate to its evidence: provenance, numerical parity, task quality, leak soak, benchmarks and clean install.
| 🎯 Faithful The Python reference is what we test against. Parity is measured and published, not assumed. |
🏠 Local Inference runs in-process. Your data stays on your machine, and the model can't change underneath you. |
🔓 No lock-in Built only on vendor-neutral Microsoft.Extensions.AI.Abstractions. CI rejects Azure and OpenAI SDK dependencies. |
🧾 Explicit Unsupported is an error, not an approximation. Each release gate links to its evidence. |
Every repo ships an llms.txt. Starling also includes an Agent Skill that teaches Claude Code, Copilot, Cursor or Codex to use the packages correctly. To try it, paste this into your agent:
Read https://raw.githubusercontent.com/starlinghq/starling/main/llms.txt and
https://raw.githubusercontent.com/starlinghq/starling/main/skills/starling-dotnet/SKILL.md,
then use the Starlings.* NuGet packages to <what you want to build>.
- ⭐ Star starling and tokenizers to follow along
- 🐣 Pick up a good first issue
- 🧪 Request a model or a tokenizer
- 🤖 Add a model with your agent using the starling-add-model skill
Packages are on nuget.org at 0.x. A public API member gets one minor version of [Obsolete] notice before it changes or goes, and each package README lists the maturity of its models. Code is dual-licensed MIT OR Apache-2.0. Model weights keep their own terms.