integrations.yml is required at the project root. It declares the LLM that
drives the agent, the channels customers reach it through, and any named model
groups.
The file is copied into the model archive at rasa train, and each section is
read from the place that suits what it configures:
model_groups is the one to know about. Editing it in your project after
training does not change how references are searched, because the query
embeddings have to match the vectors built at train time. Retrain to pick up a
new embedding model.
integrations.yml
llm
Required. One flat block describing the single model that drives the agent.
* Exactly one of
model or deployment must be set. A section with neither
fails validation with calm_v2.validation.config.missing_provider.
Every other key is passed to the provider client: api_base, temperature,
timeout, and so on. Two keys are handled by Maestro before that happens:
provider sits at the top level of this block, which is what makes it a flat
mapping. The agent’s main LLM is always configured here, never through
model_groups.
Provider examples
provider: openai, azure, and self-hosted have dedicated clients. Any other
value is passed through to LiteLLM, so a provider LiteLLM supports works by
naming it and its model.
OpenAI
integrations.yml
integrations.yml
integrations.yml
deployment rather than the model, and give the
endpoint and API version:
integrations.yml
provider, model, and api_base are all
required:
integrations.yml
model is the name your server advertises, and api_base points at the
OpenAI-compatible route, usually ending in /v1. Drop api_key_env if the
server takes no key.
Secrets
api_key_env names an environment variable and works for every provider:
Maestro resolves it into the API key before the config reaches the client.
${VAR} expansion happens in the channels: block, which is read with
environment variables expanded. llm: and model_groups: are read without
expansion, so api_key_env is the mechanism there. Never commit a literal key.
channels
Declares the channels customers reach the agent through.
The
enabled flag is stripped before the remaining keys are handed to the
channel. A non-boolean enabled, or an entry that is neither a mapping nor
empty, raises at load.
rest and inspector are the practical minimum: rest is what the evaluation
runner talks to, and inspector is required for rasa inspect. A project with
no channels: block registers no channels at all.${VAR} references inside channels: are expanded when the file is read, so
channel credentials can come from the environment.
Voice channels
A voice channel takesasr: and tts: sub-mappings, and that is where speech
recognition and synthesis are configured. Each takes a name: selecting the
engine, plus that engine’s own settings:
integrations.yml
Every key besides
name goes to that engine, so the available settings are the
engine’s own.
language_map keys the model and language off the conversation language, which
is how both engines take their settings. name also accepts a Python module
path, which loads a custom engine implementing from_config_dict.
Deepgram Flux for speech recognition
Flux is the model family to reach for on a live voice agent. It does turn detection inside the ASR rather than inferring it from silence, so the agent takes its turn on the signal the recogniser already has. Naming aflux- model selects it. The engine reads the model name out of
language_map and switches to the Flux API on its own, so there is nothing else
to declare:
integrations.yml
A Flux config takes these two keys and no others. Anything unrecognised fails
the load rather than being ignored, so a typo surfaces at startup.
The same
asr: / tts: shape applies to every voice channel, including
jambonz, audiocodes, twilio_media_streams, and genesys. What differs
between them is the telephony connection: server_url, and any credentials that
provider needs.
model_groups
Optional. Named model configurations, used today only by the references
embedder.
agent.yml at one by id:
agent.yml
references.embeddings must name a group declared here. Naming an undeclared
group fails the index build at rasa train with a message saying so.
Validation
rasa train and rasa data validate check this file:
Tracing (Langfuse)
Maestro projects configure Langfuse undertracing: in integrations.yml.
public_key and private_key must use ${ENV_VAR} references — literal secrets
are rejected at validation and apply time. Those references are kept as literal
strings when integrations.yml is parsed (they are not expanded like channel
credentials). They are resolved when Langfuse configures at CLI startup; if a
variable is unset, resolution is best-effort and may leave the literal ${VAR}
in the process environment, so tracing is skipped rather than aborting startup.
Use rasa data validate to catch invalid shape or key syntax before deploy.
Install the monitoring extra (pip install rasa-pro[monitoring]), set
LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY, then enable the block. Example
agents ship it commented out so local defaults stay key-free.
See also
agent.yml: identity, persona, prompt tuning