Skip to content
Proyectos

LM-Kit/lm-kit-net-samples

Ver en GitHub

Acerca de

.NET samples for LM-Kit.NET

IA y aprendizaje automático

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

LM-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

Explorar proyectos relacionados

Cargando…