SciSharp/LLamaSharp
A C#/.NET library to run LLM (🦙LLaMA/LLaVA) on your local device efficiently. observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 99
- Release rhythm 87
- Longevity 86
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 62.5
- age_days: 1212
- days_rel: 9
- days_push: 9
- n_releases_24m: 11
Adoption not part of the score
3787 stars · 506 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
LLamaSharp is a cross-platform C#/.NET library that wraps llama.cpp to run LLaMA-family and other LLMs (including multimodal LLaVA) efficiently on local devices with CPU, CUDA, or Vulkan backends. It provides high-level APIs, chat sessions, and RAG support for deploying LLMs in .NET applications.
Use cases
- run llama models locally in a C# app
- run LLM inference on device with .NET
- build a chatbot in C# with a local LLM
- run LLaVA multimodal model in .NET
- integrate local LLM with Semantic Kernel
- do RAG with a local LLM in .NET
- run LLM on GPU with CUDA from C#
When to choose
- you are building a .NET/C# application that needs local LLM inference
- you want llama.cpp performance without writing C++ or managing native bindings yourself
- you need CPU, CUDA, or Vulkan backend flexibility on cross-platform targets
- you want high-level chat, RAG, and Semantic Kernel integration out of the box
When to avoid
- your stack is Python, Node.js, or another non-.NET ecosystem
- you need to serve many concurrent users at scale rather than local/on-device inference
- you need models or features not supported by llama.cpp
- you want a managed pure-C# inference engine without native binaries
Facets
library · maturity active
llm-inference rag chatbot sdk large-language-models artificial-intelligence machine-learning chatbots cross-platform windows llamacpp dotnet csharp local-inference llava multimodal semantic-kernel retrieval-augmented-generation linux macos gpu
2 sources
- readme: https://github.com/SciSharp/LLamaSharp · fetched 2026-08-28 · 13fd53d083e4
- homepage: https://scisharp.github.io/LLamaSharp · fetched 2026-08-29 · 0c2cd705c1ad
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| SciSharp/LLamaSharp | main | 92 |
For agents
markdown · JSON · MCP: product_card(name="SciSharp/LLamaSharp")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem