Skip to content
프로젝트

LM-Kit/lm-kit-net-samples

GitHub에서 보기

소개

.NET samples for LM-Kit.NET

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

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

관련 프로젝트 살펴보기

불러오는 중…