awaescher/OllamaSharp
The easiest way to use Ollama in .NET observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 94
- Release rhythm 82
- Longevity 75
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: 2
- age_days: 1053
- days_rel: 40
- days_push: 40
- n_releases_24m: 114
Adoption not part of the score
1400 stars · 187 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
OllamaSharp is a .NET client library providing bindings for the entire Ollama API, including chat, generation, embeddings, and model management. It supports streaming responses, tool/function calling with source generators, vision models, and integrates with Microsoft.Extensions.AI and Semantic Kernel.
Use cases
- call ollama from c#
- stream llm chat responses in .net
- generate embeddings with ollama in dotnet
- pull and manage ollama models programmatically
- add function calling to a .net chatbot
- use local llms in an asp.net app
- build a rag pipeline with ollama embeddings
When to choose
- you are building a .NET application that talks to a local or remote Ollama server
- you want full Ollama API coverage with streaming and progress reporting
- you need Microsoft.Extensions.AI/IChatClient compatibility or Semantic Kernel integration
- you want tool calling with source-generator support in C#
When to avoid
- you use Python, Node.js, or another non-.NET language
- you need a client for OpenAI or other LLM providers rather than Ollama
- you want a ready-made chat UI rather than an API client library
Facets
library · maturity active
llm-inference http-client sdk chatbot rag large-language-models artificial-intelligence developer-tools apis dotnet cross-platform ollama csharp nuget streaming function-calling embeddings ichatclient local-llm
3 sources
- readme: https://github.com/awaescher/OllamaSharp · fetched 2026-08-28 · 651bd1288e08
- homepage: https://www.nuget.org/packages/OllamaSharp · fetched 2026-08-29 · aa14065a0c62
- site_page: https://www.nuget.org/policies/About · fetched 2026-08-29 · a113b8a074c9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| awaescher/OllamaSharp | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="awaescher/OllamaSharp")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem