Favicon of BotSharp

BotSharp

A self-hosted .NET AI agent framework supports cooperating agents, knowledge retrieval and MCP tools, with an Apache 2.0 license.

Screenshot of BotSharp website

BotSharp is a C# framework for .NET developers building AI assistants into business applications. It coordinates agents with different responsibilities and keeps track of conversation state.

  • Agent coordination: Combine agents through routing and task planning, with multiple planning approaches for different kinds of work.
  • Knowledge retrieval: Connect assistants to knowledge bases and vector search through retrieval interfaces and a Qdrant plugin.
  • Tools and messaging: Give agents access to MCP tools and connect conversations to Slack, Telegram or Facebook Messenger, with plugins for files, SQL, Python execution, audio and images.
  • Agent evaluation: Build, test, evaluate and audit agents within the framework.
  • Application interfaces: Use the SvelteKit browser UI or connect another frontend through REST and WebSocket APIs.

The backend runs on your own machine or server using cross-platform .NET. Model integrations include LLamaSharp, OpenAI, Azure OpenAI, Anthropic, Google and DeepSeek. Calls to cloud model providers send requests to those external services; hosting the backend yourself doesn't make those calls local.

Its plugin architecture lets developers choose model providers and storage components. Storage integrations include MongoDB and LiteDB. BotSharp is open source under Apache 2.0.

Similar to BotSharp