// CONTENTS Part 01 · The machine you are standing on

// PART 01

Runtime model and product profiles

Chapter 08 / 56 3 min read English Part 01 of 14

Build profiles are Cargo features in botserver/Cargo.toml. There is no separate “edition” layer: an edition is just a named bundle of features, and a bundle that is not in the manifest cannot be built.

Authority: [features] in botserver/Cargo.toml (116 feature keys, verified by counting the table) and APP_FEATURES in scripts/product_profile_check.py.

Bundles that exist

Bundle Expands to Use
default all-apps, botcore/default every application compiled; .product decides visibility
minimal chat smallest build that answers chat
minimal-chat chat, automation, cache chat with no security layer
lightweight chat, tasks, people chat + tasks + CRM
full chat, people, mail, tasks, calendar, drive, docs, llm, cache, compliance, tax the wide server profile
chat-drive chat, drive, agent-vm + office workbench lean product profile
desktop-local chat, drive, security, directory, llm, vectordb, settings, no-security, kb-extraction, botcore/desktop-local desktop installer
all-apps every app feature used by default
cargo build -p botserver --no-default-features --features minimal
cargo build -p botserver --no-default-features --features lightweight
cargo build -p botserver --no-default-features --features full
cargo build -p botserver --no-default-features --features desktop-local

Bundles that do not exist

These names were documented in earlier editions of this book and are not Cargo features — cargo build --features <name> fails:

core, standard, enterprise, productivity, communications.

Use the closest real bundle from the table above, or compose individual features.

Individual features

Every feature maps to a crate (dep:<crate>) and, usually, a botcore sub-feature. A representative slice of the 116 keys:

Feature What it pulls in
chat the chat pipeline (always needed)
people / tasks / billing CRM, task and billing domains
whatsapp / telegram / instagram / msteams channel adapters
llm / vectordb / nvidia model providers, Qdrant, GPU monitoring
docs / sheet / slides / paper office apps
kb-extraction knowledge-base document processing
saas cloud signup + subscriptions (implies billing)
scripting the BASIC host module (basic/)
browser-policy agentic browsing control plane
memory-os durable per-user memory store

A feature without a consumer is dead weight: before adding one, check that a #[cfg(feature = "...")] module or a route registration actually branches on it.

Runtime model

At runtime the profile interacts with three mechanisms:

  1. .product files decide what the suite shows — apps=chat,drive selects launcher entries; no_security=true skips the auth gate; suite_default_app=chat opens an app on load. The file is exposed at GET /api/product.
  2. Cargo features decide what is compiled in. A .product entry without its feature is a dead link; a feature without a .product entry is an app that exists but is not visible (registry entries marked always-visible excepted).
  3. Feature flags in configuration (Vault / config.csv) decide runtime behavior of compiled-in code — for example channel credentials or botmodels-enabled.

Choosing a profile

Situation Profile
Local development of the server default (debug build)
Container image for a single-purpose bot minimal or lightweight
Full office server full
Desktop installer desktop-local
Chat + Drive + agent VM workbench chat-drive

Found a mistake? Open an issue · All books

// SEARCH ESC
Pagefind · 236 pages · 4 books Enter to open ↑ ↓ to move