SciSharp / BotSharp-UI

Build, test and manage your AI Agents in the central place.
Apache License 2.0
90 stars 40 forks source link
agent ai botsharp chatbot

BotSharp UI

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.

Discord QQ群聊 Deployment Latest Build Demo

Installation

Install dependent libraries.

git clone https://github.com/SciSharp/BotSharp-UI
cd BotSharp-UI
npm install

Developing

Once 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

You can override the .env values by creating a local env file named .env.local if needed.

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Deployment

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}

Customization

Create a new .env.production file in the root folder. Set new values from the .env file.