A lightweight C# library for parallel LLM orchestration with native tool calling support. Run multiple providers simultaneously and compare their responses in real-time.
// Create a thread with Ollama
OllamaThread ollama = new OllamaThread(
"localhost",
11434,
OllamaModel,
"You are a helpful assistant."
);
// Register function tools
ollama.DeclareFunctionTool(typeof(WebSearchProviders).GetMethod("BraveSearch"));
// Subscribe to events
ollama.AssistantReplyChunkReceived += (s, e) => Console.Write(e.Message);
// Send a message and get streaming response
await ollama.SendMessageAsync("Search for the latest AI news");

The WPF demo shows three LLM providers (Ollama, Claude, ChatGPT) responding to the same Arabic query in parallel, each making tool calls to BraveSearch and streaming results independently.

[MIT]
C#
100.0%
A lightweight C# library for parallel LLM orchestration with native tool calling support. Run multiple providers simultaneously and compare their responses in real-time.
// Create a thread with Ollama
OllamaThread ollama = new OllamaThread(
"localhost",
11434,
OllamaModel,
"You are a helpful assistant."
);
// Register function tools
ollama.DeclareFunctionTool(typeof(WebSearchProviders).GetMethod("BraveSearch"));
// Subscribe to events
ollama.AssistantReplyChunkReceived += (s, e) => Console.Write(e.Message);
// Send a message and get streaming response
await ollama.SendMessageAsync("Search for the latest AI news");

The WPF demo shows three LLM providers (Ollama, Claude, ChatGPT) responding to the same Arabic query in parallel, each making tool calls to BraveSearch and streaming results independently.

[MIT]
C#
100.0%