Skip to content

Component Reference 🟑 BETA

This reference lists the stack components pinned in botserver/3rdparty.toml and the role each one plays.

Where this topic sits in the Developer guide

Core Components

The active component sections of botserver/3rdparty.toml pin the binaries the installer downloads. The bundled legacy cache copies in the same file are kept for offline installs.

Component map

Section Component Pinned version
[components.tables] PostgreSQL 18.6.1
[components.cache] Valkey (Redis-compatible) 9.1.3
[components.drive] OtterIO object storage release 2026-11-25T20-30-00Z
[components.caddy] Caddy 2.11.9
[components.email] Stalwart 1.0.3
[components.directory] Zitadel 4.20.1
[components.alm] Forgejo 17.0.1
[components.alm_ci] Forgejo runner 13.2.1
[components.dns] CoreDNS 1.15.0
[components.meet] LiveKit 1.13.11
[components.vector_db] Qdrant 1.20.0
[components.openbao] OpenBao (secret store) see manifest

Vault (Secrets Management)

The secret store is OpenBao in the current manifest; the bundled cache copy is named Vault 1.18.2. Credentials are read from /tmp/vault-token-gb and never stored in the repository.

PostgreSQL (Tables/Database)

PostgreSQL is the primary database and the single source of Diesel tables is the botschema crate. The port is 5432.

Zitadel (Directory/Identity)

Zitadel provides identity. During bootstrap a delayed directory can defer admin creation; the service is retried on a later boot.

OtterIO (Drive/Object Storage)

OtterIO stores .gbai buckets and the .gbdialog, .gbot, .gbkb and .gbdrive prefixes. It is accessed through oc with credentials from secret/gbo/drive.

Valkey (Cache)

Valkey is the Redis-compatible cache on port 6379. Suggestions and session flags are stored there.

llama.cpp (LLM Server)

The manifest pins platform variants for Linux (CPU, Vulkan, s390x), macOS (ARM64, x64) and Windows (CPU, CUDA 12.4, CUDA 13.5, Vulkan). The local engine runs on the user machine in the desktop edition.

Supporting Components

Component Role
Stalwart Mail server
Caddy Reverse proxy and static site host
CoreDNS DNS resolution
Forgejo Git server (ALM) on port 4747
LiveKit Meeting/video service
Roundcube Webmail

Stalwart (Email Server)

Mail server configured outside the repository; its third-party notices are recorded in LICENSES-desktop.md.

Caddy (Proxy)

Caddy serves the published BotBook site and routes hostnames. Validate its config before reload; a 200 from a fallback page is not proof of a page.

CoreDNS (DNS)

CoreDNS resolves zones stored under /opt/gbo/data/; no zone file is committed here.

Forgejo (ALM/Git)

Forgejo is the Git server on port 4747 and hosts the CI runner.

LiveKit (Meeting/Video)

LiveKit provides meeting media; it is a stack component, not part of the desktop Chat+Drive edition.

Optional Components

Component Role
Qdrant Vector database on port 6333
InfluxDB Time series database
Vector Log aggregator
ClamAV Antivirus engine
BotModels Python service for models

Qdrant (Vector Database)

Qdrant is pinned in botserver/3rdparty.toml; the desktop gblite edition turns the vector database service off (services_off).

InfluxDB (Time Series)

InfluxDB is an optional component pinned in the manifest; no dashboard query is published here.

Default LLM Models

The manifest lists the bundled DeepSeek R1 Distill Qwen 1.5B model and the BGE Small EN v1.5 embedding model. These are installer assets, not a runtime default for every bot; the active model is configured per bot in Vault.

DeepSeek R1 Distill Qwen 1.5B

Bundled local model asset in botserver/3rdparty.toml.

BGE Small EN v1.5

Bundled embedding model asset in botserver/3rdparty.toml.

Configuration Files Reference

File Authority for
botserver/3rdparty.toml Component URLs, pins and checksums
botserver/.product.* Visible apps and shell mode
root Cargo.toml Product version and feature set
root AGENTS.md Canonical ports and deployment rules

See Also

Versions are read from the manifest; generated pages under generated/ are not edited by hand.

Limits

  • No alternative component is recommended here; the manifest is the supported set.
  • Model names and versions are quoted only from botserver/3rdparty.toml.
  • Component pins change in the manifest, not in prose or artwork.
  • The desktop edition disables cache, vector database and directory services (services_off in .product.gblite).