#130130th of 242 in Agent frameworks and SDKs

ollamasharp

.NET client library for the Ollama API with streaming and tool support

Stars
1.4k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
C#
Stars, last 30 weeks+94
2 May 2026: 1,324 stars9 May 2026: 1,334 stars16 May 2026: 1,340 stars23 May 2026: 1,345 stars30 May 2026: 1,348 stars6 Jun 2026: 1,352 stars13 Jun 2026: 1,357 stars20 Jun 2026: 1,362 stars27 Jun 2026: 1,365 stars4 Jul 2026: 1,368 stars11 Jul 2026: 1,370 stars18 Jul 2026: 1,372 stars25 Jul 2026: 1,375 stars1 Aug 2026: 1,375 stars8 Aug 2026: 1,377 stars15 Aug 2026: 1,379 stars22 Aug 2026: 1,380 stars29 Aug 2026: 1,383 stars5 Sept 2026: 1,386 stars12 Sept 2026: 1,388 stars19 Sept 2026: 1,391 stars26 Sept 2026: 1,392 stars3 Oct 2026: 1,393 stars10 Oct 2026: 1,395 stars17 Oct 2026: 1,399 stars24 Oct 2026: 1,402 stars31 Oct 2026: 1,404 stars7 Nov 2026: 1,410 stars14 Nov 2026: 1,412 stars21 Nov 2026: 1,416 stars28 Nov 2026: 1,418 stars

1,324 on 2 May 20261,418 on 28 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

OllamaSharp wraps every Ollama API endpoint in awaitable C# methods, covering chat, generate, embeddings, and model listing, pulling and creation, with response streaming and progress reporting. It also implements Microsoft.Extensions.AI's IChatClient and IEmbeddingGenerator, so Ollama can sit behind that abstraction. A Chat class tracks message history, and tool calling uses source generators.

Who it is for: .NET developers building apps on a local or remote Ollama server

Strengths

  • Covers every Ollama API endpoint, including model pull, create and embeddings
  • Implements IChatClient and IEmbeddingGenerator from Microsoft.Extensions.AI
  • Streaming responses and pull progress reporting via IAsyncEnumerable
  • Opt-in Native AOT support and source-generated tool calling

Weaknesses

  • Ollama only; other providers need Microsoft.Extensions.AI or Semantic Kernel
  • Not an agent framework: no planning, memory or multi-agent orchestration
  • Requires a running Ollama server, local or remote
  • C#/.NET only

What it needs

  • Needs Ollama server, .NET
  • Models: Ollama models, vision models, Ollama cloud models

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Agent frameworks and SDKs

See all 242
Also in Agent frameworks and SDKs
RankProjectScore
#128unreal-agentGo library for async, crash-recoverable LLM agents, with a TUI and runner2.2k starsMIT62 out of 100
#129node-llama-cppNode.js bindings for llama.cpp to run GGUF models locally from TypeScript2.2k starsMIT62 out of 100
#131langchain-rustRust port of LangChain with chains, agents, vector stores and loaders1.4k starsMIT62 out of 100
#132leancopilotLean 4 package for LLM tactic suggestion, proof search and premise selection1.4k starsMIT62 out of 100
#133video-useAgent skill that edits raw video footage into a finished cut via ffmpeg31.7k stars+1,653 (+5.5%) in 30 daysMIT61 out of 100