Repolode
SciSharp

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. 1

    Clone the BotSharp repository

    git clone https://github.com/dotnetcore/BotSharp
  2. 2

    Run the backend service (Windows or Linux)

    dotnet run --project ./src/WebStarter/WebStarter.csproj -p SolutionName=BotSharp
  3. 3

    Clone the BotSharp-UI admin project

    git clone https://github.com/SciSharp/BotSharp-UI
  4. 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