Config-driven middleware that lets you build multi-agent conversational AI from JSON, with 19+ LLM providers, MCP and A2A support, RAG and persistent memory.
SciSharp/BotSharp
An open-source .NET framework for building multi-agent AI applications that connect LLMs to business systems.
- Stars
- 3,116
- Forks
- 659
- Open issues
- 50
- Last commit
- 2 days ago
What is it?
BotSharp is a C# framework on .NET for building AI bot platforms and agent applications. It provides multi-agent orchestration with conversation state management, several LLM planning approaches for tasks ranging from simple to complex, and built-in RAG interfaces with memory-based vector search.
The framework is built from plugins that are decoupled behind unified interfaces. Developers can swap LLM providers such as OpenAI, Azure OpenAI, Anthropic, DeepSeek, Google AI and HuggingFace, choose storage backends like MongoDB or Qdrant, and connect channels including Slack, Telegram, Facebook Messenger and Twilio. It also includes MCP integration for calling external tools, a RESTful Open API with WebSocket support, and a companion SvelteKit admin UI.
Key features
- 01Multi-agent routing and conversation state management
- 02Multiple LLM planning approaches for simple to complex tasks
- 03Built-in RAG interfaces with vector search
- 04Plugins for many LLM providers, storage backends and message channels
- 05MCP integration for connecting models to external tools
- 06RESTful Open API and WebSocket real-time communication
Use cases
- Adding LLM-powered assistants to an existing .NET enterprise system
- Building customer-facing chatbots that run on Slack, Telegram or Messenger
- Creating knowledge-base question answering over company documents
- Coordinating several specialized agents to complete multi-step business workflows
Quick start
- 1
Clone the BotSharp repository
git clone https://github.com/dotnetcore/BotSharp - 2
Run the backend service (Windows or Linux)
dotnet run --project ./src/WebStarter/WebStarter.csproj -p SolutionName=BotSharp - 3
Clone the BotSharp-UI admin project
git clone https://github.com/SciSharp/BotSharp-UI - 4
Install UI dependencies and start the UI dev server, then open http://localhost:5015/
npm install && npm run dev
Things to know
- Requires the .NET SDK and configured LLM provider API keys to do anything useful.
- The quick start needs both the backend and a separate Node.js-based UI project.
In collections
Topics
FAQ
- What is BotSharp?
- An open-source .NET framework for building multi-agent AI applications that connect LLMs to business systems. BotSharp is a C# framework on .NET for building AI bot platforms and agent applications. It provides multi-agent orchestration with conversation state management, several LLM planning approaches for tasks ranging from simple to complex, and built-in RAG interfaces with memory-based vector search.
- Is BotSharp free to use? What license does it have?
- BotSharp is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is BotSharp still maintained?
- Actively maintained. The last commit to BotSharp was on Nov 5, 2026.
- What can I use BotSharp for?
- Adding LLM-powered assistants to an existing .NET enterprise system Building customer-facing chatbots that run on Slack, Telegram or Messenger Creating knowledge-base question answering over company documents Coordinating several specialized agents to complete multi-step business workflows
- How do I install BotSharp?
- Clone the BotSharp repository: git clone https://github.com/dotnetcore/BotSharp Run the backend service (Windows or Linux): dotnet run --project ./src/WebStarter/WebStarter.csproj -p SolutionName=BotSharp Clone the BotSharp-UI admin project: git clone https://github.com/SciSharp/BotSharp-UI Install UI dependencies and start the UI dev server, then open http://localhost:5015/: npm install && npm run dev
- Where can I get BotSharp?
- The source code and installation instructions are on GitHub: https://github.com/SciSharp/BotSharp
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Self-hosted personal AI agent framework in Python with a browser WebUI, terminal client, chat app channels, tools, memory and MCP support.
Open-source personal AI assistant and Agent Harness that plans tasks, runs tools and skills, and keeps memory across web and IM channels.
A self-hosted personal AI assistant that runs on your machine or in the cloud and connects to chat apps like DingTalk, Lark, Discord and Telegram.
A self-hosted AI assistant for households and small teams, with multiple experts, IM channel integrations, and a web dashboard, all in one process.
Self-hosted Java/Spring Boot AI assistant platform with multi-user workspaces, multi-provider model failover, an LLM Wiki, MCP and Skills, and IM channel integrations.