A pure C#/.NET LLM engine — inference, training, and agent tooling in one solution. No wrapped native library, no P/Invoke, no platform-specific binaries.
Live in this page
(VERY SLOW) Loads and runs entirely in your browser via WebAssembly — no server, no API call leaving this tab. GitHub Pages serves the compiled runtime fine; it just can't set the cross-origin headers WASM threading needs, so this runs single-threaded on scalar kernels regardless of the machine it's on.
This is the real engine running in your browser. The GGUF model is fetched from HuggingFace, loaded into the Blazor virtual filesystem, and runs inference via compiled C# — no server, no native dependencies. First load takes a moment while the ~75 MB model downloads. Source on GitHub.
What it is
Most .NET options for running a language model are bindings over a native library written in C or C++. SharpMind's inference, training, and quantization kernels are C# from the ground up — which is also why the demo above can run directly in this page.
/v1/chat/completions, streaming and non-streaming, plus model management — so anything that already speaks that API can talk to SharpMind without knowing it's C#.Get started
Clone, build, and point it at a GGUF or .smm model file.
# clone and build git clone https://github.com/Integral2u/SharpMind.git cd SharpMind dotnet build # run the terminal chat client dotnet run --project SharpMind.CUI # or start the OpenAI-compatible server dotnet run --project SharpMind.Server.CLI -- --models ./models
See the README for supported model formats, the agent tooling API, and the HTTP server's full endpoint list.