LM-Kit/lm-kit-net-samples
LM-Kit/lm-kit-net-samples has 55 GitHub stars and 12 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 19:28 UTC. Last push 2026-10-23.
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
.NET samples for LM-Kit.NET
AIREADME.md
OriginalLM-Kit.NET Samples
Runnable C# examples for LM-Kit.NET, the Embedded Private AI Runtime for .NET: models, agents, RAG, search, document intelligence, vision, and speech, in process inside your application.
Every sample runs offline, on your own hardware, with no API keys and no cloud calls. Clone, dotnet run, done.
New to LM-Kit? Start at lm-kit.com for the product overview, read what we mean by private AI, or jump straight into a sample below.
Browse by capability
Samples are organized by LM-Kit capability pillar. Open any folder for runnable projects and per-sample readmes.
| Pillar | What you'll find |
|---|---|
| AI Agents | Agent orchestration, planning strategies, tools, function calling, MCP, multi-agent workflows, memory, skills |
| Document Intelligence | PDF chat, classification, splitting, summarization, structured field extraction, document-to-markdown |
| Vision & Multimodal | Image chat, image embeddings, document OCR (traditional and VLM-based), document layout extraction |
| RAG & Knowledge | RAG chat, vector databases, data extraction pipelines |
| Text Analysis | Classification, NER, PII, sentiment, keyword extraction, language detection |
| Speech & Audio | Real-time and batch speech-to-text |
| Text Generation | Conversations, translation, summarization, prompt templates, grammar correction |
| Local Inference | Encrypted models, runtime configuration |
| Model Optimization | Quantization, fine-tuning |
| Integrations | Microsoft.Extensions.AI, Semantic Kernel |
Run a sample
git clone https://github.com/LM-Kit/lm-kit-net-samples.git
cd lm-kit-net-samples/console_net/<pillar>/<sub-category>/<sample>
dotnet run
Each sample:
- Targets .NET 8 or later
- Pulls the LM-Kit.NET NuGet package automatically
- Downloads its model on first run (cached for later runs)
- Picks the fastest backend available on your machine (CUDA, Vulkan, Metal, or CPU)
No license key, no signup, no configuration. When you're ready to build your own app, grab a free Community Edition license.
Hardware
LM-Kit auto-selects the best backend at startup. You don't configure anything.
- NVIDIA, AMD, Intel GPUs
- Apple Silicon (Metal)
- Multi-GPU and hybrid CPU+GPU for models larger than VRAM
- CPU-only fallback with AVX/AVX2
Sample readmes list VRAM expectations where it matters.
Prefer a server you deploy?
LM-Kit.NET is one of two deployment forms of the same engine. When many applications and teams should share one governed backend, deploy LM-Kit One, the Private AI Application Server: models, documents, search, and agents served behind OpenAI, Anthropic, Ollama, and MCP compatible APIs, on infrastructure you operate.
Learn more
© LM-Kit