You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Haiping Chen 96e64e60fb
Add Chatbot UI.
1 week ago
.github Create FUNDING.yml 4 years ago
dockerfiles Update botsharp-core to 0.2.0 4 years ago
docs Update index.rst 3 years ago
src Add Chatbot UI. 1 week ago
.dockerignore docker pull microsoft/aspnetcore-build 5 years ago
.editorconfig clean project. 2 weeks ago
.gitignore add ContextStorageFactory 5 years ago
BotSharp.sln Add Chatbot UI. 1 week ago Create 5 years ago
LICENSE Initial commit 6 years ago Add Chatbot UI. 1 week ago

The Open Source AI Chatbot Platform Builder

Discord QQ群聊 Join the chat at Apache 2.0 NuGet Build status Documentation Status

"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. 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 algrithm in C# directly. That will facilitate the feature of the typed language C#, and be more easier when refactoring code in system scope.

Why we do this? Because we all know Python is not friendly programming language for enterprise developers, it's not only because it's low performance but also it's a type weak language, it will be a disaster if you use Python to build your bussiness system.

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 NLP Tagger, or select a more advanced algorithm to do NER task. They are all modulized based on unified interfaces.

Some Features

  • Built-in multi-agents and conversation management.
  • Support multiple LLM platforms.
  • Support export/ import agent from other bot platforms directly.
  • Support different open source UI Chatbot UI.
  • Integrate with popular message channels like Facebook Messenger, Slack and Telegram.

Quick Started

  • Make sure that you have downloaded the related components.
  • See the file "BotSharp\BotSharp.WebHost\Settings\app.json",change the path to your own project's path.

You can use docker compose to run BotSharp quickly, make sure you've got Docker_ installed.

 PS D:\> git clone
 PS D:\> cd BotSharp
 PS D:\BotSharp\> docker-compose -f dockerfiles/docker-compose-core.yml up

Point your web browser at http://localhost:5500 and enjoy BotSharp Core.

Extension Libraries

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.

  • Chatbot UI connector.
  • A channel module of BotSharp for Facebook Messenger.
  • A channel module of BotSharp for Tencent Wechat.
  • A channel module of BotSharp for Telegram.


Read the docs:

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.

Scan QR code to join TIM group:

SciSharp STACK