LangBot Docs

Manual Deployment

Manually deploy LangBot from source. Step-by-step setup for the open-source AI bot platform on Linux, Windows and macOS.

Installing the Main Program

  1. Go to the Release page to download the latest version of the zip package (recommended) langbot-xxx-all.zip (do not download Source Code as it does not include WebUI). Extract it and open a command line (terminal) in the extracted directory.

Download Release

  1. Install dependencies

We use uv to manage dependencies.

pip install uv
uv sync

The default installation does not include the optional vector stores. To use one of these backends, add its extra to uv sync (extras can be combined):

Backendextra
SeekDB vector store / built-in embedding modelseekdb
Milvusmilvus
Valkey Search (not on Windows)valkey
uv sync --extra seekdb

Embedded-mode platform support depends on the available pylibseekdb wheels; Apple Silicon currently requires macOS 15 or later. All other LangBot features can use the default uv sync installation.

Optional Voice Transcoding Support (SILK / WeChat Native Voice)

If you need native voice bubbles on platforms like WeChat (SILK encoding) or audio transcoding support, install system ffmpeg and the audio extra:

  • System Dependency: ffmpeg (macOS: brew install ffmpeg, Ubuntu/Debian: sudo apt-get install -y ffmpeg, Windows: winget install Gyan.FFmpeg)
  • Python Extra:
    uv sync --extra audio
    # or combine with seekdb
    uv sync --extra seekdb --extra audio

If transcoding dependencies are not installed, LangBot performs graceful degradation by delivering the audio as a playable audio file attachment rather than dropping the message.

  1. Run the main program once to generate configuration files
uv run main.py

You will see the following message:

 _                   ___      _   
| |   __ _ _ _  __ _| _ ) ___| |_ 
| |__/ _` | ' \/ _` | _ \/ _ \  _|
|____\__,_|_||_\__, |___/\___/\__|
               |___/              

⭐️Open Source: https://github.com/langbot-app/LangBot
📖Documentation: https://langbot.app/docs

The following files do not exist and have been automatically generated. Please modify the configuration files as needed and restart:
- data/config.yaml
...

You can now use Ctrl+C to exit the program and continue to the Configure Bots page.

On this page