The BotSharp UI is a web app used to manage agents and conversations. Through it you can build new Agent, manage existing Agents and conversations. The Node-based Agent building experience allows you to build a brand new AI assistant in a very short time.
This project is written in SvelteKit v2 and backed by BotSharp as the LLM services.
Install dependent libraries.
git clone https://github.com/SciSharp/BotSharp-UI
cd BotSharp-UI
npm installOnce you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
# or start the server with different .env
npm run dev -- --mode botsharpYou can override the .env values by creating a local env file named .env.local if needed.
To create a production version of your app:
npm run buildYou can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.
To manual deploy as Azure Static Web Apps at scale.
npm run build -- --mode production
npm install -g @azure/static-web-apps-cli
swa deploy ./build/ --env production --deployment-token {token}Create a new .env.production file in the root folder.
Set new values from the .env file.
