#120 · Primary category: LLM Application Frameworks
OllamaSharp
The easiest way to use Ollama in .NET
Project last updated:07/24/26
GitHub Stars
1.4K
Forks
187
Contributors
50
License
MIT
Why we included this project
OllamaSharp is a .NET client for the Ollama API, so C# developers can call local or remote Ollama models without hand-rolling HTTP requests. It covers the whole API surface, including chat, embeddings, model management, and image input for vision models, and streams responses straight to the app. The Chat class carries message history and tool-call results across turns, and a source-generator-powered tools engine handles function calling with less manual JSON. Since it implements Microsoft.Extensions.AI's IChatClient and IEmbeddingGenerator, teams can switch between hosted providers and a local Ollama server behind one code path. Setup takes a few lines, and the docs cover everything from model pulls to advanced configuration, so a solo developer can get productive fast.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
langchain
The agent engineering platform.
dify
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
litellm
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
llama_index
LlamaIndex is the leading document agent and OCR platform