Skip to main content

Anatomy of a config

A config fits in one YAML file. This guide walks through it block by block; what does not exist yet today says so.

station:                   # STATION — who it is
id: teranga
name: Teranga Kitchen
identity: {...} # AUTH — the providers that prove data (a code)
global: {...} # its language, its currency
texts: {...} # Convoy's sentences and labels, rewritten in its language
domain: {...}

apis: [...] # SOURCES — what the tenant exposes
profiles: {...} # AUTH — who may call which operations (everything is closed without them)

# CONTEXT — rooms and sessions: the platform holds them

submit_guard: {...} # POLICIES — the guards; the station's submit guard

skills: [...] # CAPABILITIES — what the customer's agent sees: what can be offered, chosen, executed
playbooks: [...] # the journeys; each may carry its order (`submit`) and its submit guard

voice: {...} # VOICE — optional: persona, tone, rules, emoji, read by the client's agent
brand: {...} # BRAND — optional: the theme of the MCP cards
mcp: {...}

Behaviour is set mostly in sources, policies and capabilities. If a station misbehaves, look there first; then in voice, which changes what the model reads.

The plan of the guide​

pagewhat you set there today
1Anatomythe shape of the file
2Stationstation.id, station.name, domain, the language, the currency, texts
3Sourcesapis
4Contextwhat the platform holds: rooms, sessions, selection, conversation thread
5Authidentifies: true: typed data identifies the room; station.identity.providers: a code proves it; profiles: who may call which operations
6Policiesthe select guards (permission, form, require, check, update) and their conditions, the submit guard, where values come from, how long everything is kept
7Capabilitiesskills, playbooks, the submit
8Recipesstep-by-step cases
9Verify and publishwhat Core says at load time, the tests
10Voice and brandvoice, brand, mcp

Two rules that apply to the whole file​

  • Every key is read. A key Core does not know is refused at load time, with its path (brand.theme.primary_colour): it would suggest it has an effect. A typo is therefore caught, in a file as through the provisioner's API.
  • Every reference is checked at load time. A submit call that names an operation missing from apis, a task that names an unknown skill, a condition that reads an undeclared field: the station refuses to start, with a message that says where and what to fix. A station with no API, or whose skills call no operation, is refused the same way: it could do nothing, and the refusal carries the YAML that completes it. See Verify and publish.

The writing order​

Each layer only cites the one below it. So you write from the bottom up:

  1. apis — what the tenant exposes;
  2. profiles — who may call those operations;
  3. skills — on those operations;
  4. playbooks — on those skills;
  5. submit_guard — what is required before executing.