Connect LLMs to your existing application focused on your business
“Conversation as a platform (CaaP) is the future, so it’s perfect that we’re already offering the whole toolkits to our .NET developers using the BotSharp AI BOT Platform Builder to build a CaaP. It opens up as much learning power as possible for your own robots and precisely control every step of the AI processing pipeline.”
BotSharp is an open source machine learning framework for AI Bot platform builder. This project involves natural language understanding, computer vision and audio processing technologies, and aims to promote the development and application of intelligent robot assistants in information systems. Out-of-the-box machine learning algorithms allow ordinary programmers to develop artificial intelligence applications faster and easier.
It’s written in C# running on .Net Core that is full cross-platform framework, the plug-in and pipeline flow execution design is adopted to completely decouple the plug-ins. C# is a enterprise grade programming language which is widely used to code business logic in information management related system. More friendly to corporate developers. BotSharp adopts machine learning algorithm in C# directly. That will facilitate the feature of the typed language C#, and be more easier when refactoring code in system scope.
BotSharp is in accordance with components principle strictly, decouples every part that is needed in the platform builder. So you can choose different UI/UX, or pick up a different LLM providers. They are all modularized based on unified interfaces. BotSharp provides an advanced Agent abstraction layer to efficiently manage complex application scenarios in enterprises, allowing enterprise developers to efficiently integrate AI into business systems.
Some Features
Built-in multi-agents and conversation with state management.
Support multiple LLM Planning approaches to handle different tasks from simple to complex.
Built-in RAG related interfaces, Memory based vector searching.
Support multiple AI platforms (ChatGPT 3.5/ 4o/ o1, Gemini 2, LLaMA 3, Claude Sonnet 3.5,DeepSeek V3, HuggingFace).
Allow multiple agents with different responsibilities cooperate to complete complex tasks.
Build, test, evaluate and audit your LLM agent in one place.
Abstract standard Rich Content data structure. Integrate with popular message channels like Facebook Messenger, Slack and Telegram.
Provide RESTful Open API and WebSocket real-time communication.
Built-in MCP Integration: Visual management of MCP, enabling large model calls to Tools. Supports mainstream services like mcp.so
Quick Started
Run backend service
PS D:\> git clone https://github.com/dotnetcore/BotSharp
PS D:\> cd BotSharp
# For Windows
PS D:\BotSharp\> dotnet run --project .\src\WebStarter\WebStarter.csproj -p SolutionName=BotSharp
# For Linux
$ dotnet run --project ./src/WebStarter/WebStarter.csproj -p SolutionName=BotSharp
The core module is mainly composed of abstraction and framework function implementation, combined with some common tools.
Plugin Loader
Hooking
Authentication
Agent Profile
Conversation & State
Routing & Planning
Templating
File Repository
Caching
Rich Content
LLM Provider
Plugins
BotSharp uses component design, the kernel is kept to a minimum, and business functions are implemented by external components. The modular design also allows contributors to better participate. Below are the built-in plugins:
The Open Source AI Agent Application Framework
Connect LLMs to your existing application focused on your business
“Conversation as a platform (CaaP) is the future, so it’s perfect that we’re already offering the whole toolkits to our .NET developers using the BotSharp AI BOT Platform Builder to build a CaaP. It opens up as much learning power as possible for your own robots and precisely control every step of the AI processing pipeline.”
BotSharp is an open source machine learning framework for AI Bot platform builder. This project involves natural language understanding, computer vision and audio processing technologies, and aims to promote the development and application of intelligent robot assistants in information systems. Out-of-the-box machine learning algorithms allow ordinary programmers to develop artificial intelligence applications faster and easier.
It’s written in C# running on .Net Core that is full cross-platform framework, the plug-in and pipeline flow execution design is adopted to completely decouple the plug-ins. C# is a enterprise grade programming language which is widely used to code business logic in information management related system. More friendly to corporate developers. BotSharp adopts machine learning algorithm in C# directly. That will facilitate the feature of the typed language C#, and be more easier when refactoring code in system scope.
BotSharp is in accordance with components principle strictly, decouples every part that is needed in the platform builder. So you can choose different UI/UX, or pick up a different LLM providers. They are all modularized based on unified interfaces. BotSharp provides an advanced Agent abstraction layer to efficiently manage complex application scenarios in enterprises, allowing enterprise developers to efficiently integrate AI into business systems.
Some Features
BotSharp UI
written in SvelteKit.Quick Started
Run backend service
Run Admin UI project, reference to BotSharp UI.
Access http://localhost:5015/
Online Demo with UI
Core Modules
The core module is mainly composed of abstraction and framework function implementation, combined with some common tools.
Plugins
BotSharp uses component design, the kernel is kept to a minimum, and business functions are implemented by external components. The modular design also allows contributors to better participate. Below are the built-in plugins:
Data Storages
LLMs
Messaging / Channel
RAGs
Visions
Tools
UIs
Roadmap
Documents
Read the docs: https://botsharp.readthedocs.io?wt.mc_id=AI-MVP-5005183
New documentation website: https://botsharp.verdure-hiro.cn
If you feel that this project is helpful to you, please Star the project, we would be very grateful.
Member project of SciSharp STACK which is the .NET based ecosystem of open-source software for mathematics, science, and engineering.