// PART 01
Runtime model and product profiles
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:
.productfiles decide what the suite shows —apps=chat,driveselects launcher entries;no_security=trueskips the auth gate;suite_default_app=chatopens an app on load. The file is exposed atGET /api/product.- Cargo features decide what is compiled in. A
.productentry without its feature is a dead link; a feature without a.productentry is an app that exists but is not visible (registry entries marked always-visible excepted). - Feature flags in configuration (Vault /
config.csv) decide runtime behavior of compiled-in code — for example channel credentials orbotmodels-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 |