> ## Documentation Index
> Fetch the complete documentation index at: https://rasa.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Mantle Changelog

> Builder-facing changes in each Mantle dev build and stable release.

This changelog tracks changes to the builder interface. Only changes that affect how you
write skills, tools, memory, or responses are listed here. Internal runtime changes without
builder-facing impact are omitted.

Each version section lists the changes in that release. A dev build lists what changed
since the previous dev build; a stable release lists every change since the previous
stable release. A section starts with **Breaking Changes** when it has any — scan those
first when upgrading.

**3.23.0 · in progress**

2026-11-26

> [accordion] 3.23.0.dev2 · 2026-11-26
>
> ### Improvements
>
> * Memory optimization for call recording. Recorded chunks are now saved directly to a temporary file on disk.
>   User and agent audio are mixed straight into a WAV on disk, one chunk at a time, instead of building a full-size PCM file in RAM and wrapping it later.
>   Peak memory is now about one chunk for a long call.
>   Recording failures are logged and do not end the call.
> * Builder: Copilot can tell whether the agent is running, on which commit, and whether that commit is behind the branch, with the new `get_agent_status` and `list_deployments` tools.
> * After the agent answers a question from the knowledge base in the middle of a skill, the skill carries on in the same turn instead of asking whether to continue. An open `collect` question is asked again, and so is a tool confirmation that has an `utter_for_confirmation` response.
>
> ### Bugfixes
>
> * Voice channels can configure shared speech models and audio behavior in
>   `agent.yml` without repeating settings per channel or specifying separate
>   speech recognition and synthesis settings, while project validation warns when
>   speech-model mode silences configured or built-in speech services.
> * On text channels, when a user asks for a moment at a question the agent is waiting on, the agent now acknowledges it instead of repeating the question.

> [accordion] 3.23.0.dev1 · 2026-11-25
>
> ### Breaking Changes
>
> * The lock store types `redis` and `concurrent_redis` in `integrations.yml` now use the atomic Redis lock store, the same store as `atomic_redis`. It keeps each conversation's lock in one Redis hash under `atomic_lock:<conversation id>`, or `<key_prefix>:atomic_lock:<conversation id>` with a `key_prefix`, so instances on this release and instances on an earlier release do not see each other's locks.
>
>   To upgrade an agent that uses a Redis lock store, stop all its instances before you start instances on this release. For a rolling upgrade, first pin the store you use on your current release: set `type: rasa.api.locks.v1.RedisLockStore` instead of `redis`, or `type: rasa.api.locks.v1.ConcurrentRedisLockStore` instead of `concurrent_redis`, and roll that out. Both classes load on 3.22.0 and on this release with the same keys and databases, so you can then upgrade instance by instance. Afterwards switch to `type: redis` or `type: atomic_redis` with all instances at once.
>
>   If instances on the old store and instances on the atomic store run at the same time, messages of one conversation are processed concurrently: in a test with mixed instances, 177 of 180 conversations were. Nothing is logged on either side.
>
>   A Redis ACL user needs `HGETALL`, `HSET`, `HDEL`, `PTTL`, `PEXPIRE`, `WATCH`, `MULTI`, `EXEC`, and `UNWATCH`, plus `SELECT` when `db` is not `0`, `PING` in Sentinel mode, and `COMMAND`, `CLUSTER SLOTS`, and `ASKING` in cluster mode. `ASKING` is only sent while a hash slot migrates. A user restricted by key pattern must allow `atomic_lock:*`, or `<key_prefix>:atomic_lock:*`. A missing permission does not stop startup: every message then fails with a lock error that names the command, or says "No permissions to access a key".
>
>   The settings stay the same, with these changes for `concurrent_redis`: a config without `db` now uses database `0` instead of `1`, so set `db: 1` to keep using database `1` (database `0` needs no `SELECT` permission and is the only database in cluster mode), and a `url` setting is now used as the host instead of being ignored. A `password` without a `username` now works with all Redis types and authenticates as Redis' default user.
>
>   The old stores can leave keys without an expiry after an instance was killed: `lock:<conversation id>` in database `0` and `concurrent_lock:<conversation id>:last_issued_ticket_number` in database `1`. The atomic store ignores them, and you can delete them after the switch. The lock store's log events now start with `atomic_redis_lock_store.`, for example `atomic_redis_lock_store.default_instead_of_invalid_key_prefix`; update alerts that match the old event names.
> * The HTTP event broker now stops startup with an error when `timeout`, `retry_delay_in_seconds` or `max_retry_delay_in_seconds` is not a finite number: `.inf`, `.nan`, or a value too large for a float such as `1e309`. Such values were accepted before. Set each to a finite number of seconds greater than zero, for example `timeout: 10` and `max_retry_delay_in_seconds: 60`.
> * `rasa train` fails when a button payload is `/` plus a skill folder the router cannot start, or when it is `/session_start`, `/session_end`, or `/silence_timeout`. Change that payload to a routable skill folder or to ordinary text.
>
> ### Features
>
> * A model tool call is refused before confirmation when an argument disagrees with a stored value
>   of the same name, or with a value an `execute_tool` step links to that
>   argument. The link applies to every tool in the skill that uses the argument
>   name, so `process_card_replacement(card_id="1002")` is refused when
>   `selected_card_id` is `1001` and a step passes `card_id` from it.
> * A typed message that is exactly `/` plus a skill folder name, such as `/refund`, starts that skill
>   directly. Extra words stay ordinary text. Validation rejects a skill named
>   `session_start`, `session_end`, or `silence_timeout`.
> * Builders can choose a model group for rephrasing and for the completion judge, and any job left unset keeps the orchestrator model.
> * Agents split text into sentences using the rules for their configured language. A language
>   without sentence rules of its own is segmented as English.
> * A button whose payload is exactly `/` plus a skill folder name starts that skill when the customer taps it, the same as typing that message.
> * Builders can turn off a built-in hook with `hooks.<name>.enabled: false` in `agent.yml`.
> * A `collect:` step can set `silence_timeout`, the seconds a caller can stay quiet while that step waits for an answer. It wins over the channel and `agent.yml` timeouts, and still applies after the silence check-in.
>
> ### Improvements
>
> * The Redis lock store no longer lets two instances of an agent process messages of the same conversation at the same time, never brings back a released lock or drops a newly queued message, and never scans the whole Redis keyspace. A queued message whose place in the queue expired or was lost, for example in a Redis failover, fails right away instead of waiting for the conversation's other messages. Each conversation's lock key stays in Redis for one hour after its last queued message expires, and lock expiry is judged by each instance's clock, so the clocks of all instances must be synchronised. Queued messages are picked up as soon as the previous message finishes with the in-memory lock store, and the new `TICKET_LOCK_WAIT_TIME` environment variable (seconds, default `1.0`, at least `0.05`) sets how often a queued message checks the Redis lock store again. Lower it only with the atomic Redis lock store: with the deprecated `RedisLockStore`, a value of `0.05` led to more concurrent processing and errors in testing.
> * For Mantle assistants, `type: kafka` in `integrations.yml` now selects the non-blocking `ConcurrentKafkaEventBroker`, the same broker as `type: concurrent_kafka`. Publishing no longer blocks message handling and a failed publish is retried 3 times instead of 60. `close_timeout_in_seconds` and `executor_max_workers` now take effect: values already in an existing configuration, which the original broker ignored, start to apply, and an invalid value such as `close_timeout_in_seconds: 0` now stops startup with an error. When several workers handle back-to-back turns of one conversation, its events can reach Kafka out of order, mostly while a worker makes its first connection to Kafka. To keep the original broker, which is deprecated, set `type: rasa.api.brokers.v1.kafka.KafkaEventBroker`. For CALM assistants, `type: kafka` selects the original broker until Rasa 3.24.0. With `anonymization_topics`, `type: concurrent_kafka` now also streams anonymized events to each listed topic, as `type: kafka` does.
> * Stored memory values stay out of the tool description and are listed after the conversation, so filling a field can still reuse the cached prompt.
> * Tools are offered in one fixed order, and a turn includes only the tools available then, so more of that list can be reused from the cache.
> * Copilot now changes only what you ask for and offers other improvements as suggestions, writes its replies in plain language unless you write in technical terms, and sees every tool call in the conversation you are testing, so it names the cause of a failure before fixing it.
> * The date and time are read after the conversation, so on providers that keep message order a new minute no longer cuts the cached prompt.
> * The `user_silence_timeout` event records which timeout applied in `timeout_source`: `step` for a `collect:` step's `silence_timeout`, `call` otherwise. The Inspector shows it in the event details.
>
> ### Bugfixes
>
> * A `lock_store` section in `integrations.yml` without `type` uses the in-memory lock store, and Rasa now starts a single worker for it, as for `type: in_memory`. Before, it started the requested number of workers, and each kept its own conversation locks.
> * The SQL tracker store no longer drops PostgreSQL `options` set under the `query:` key (for example `-c statement_timeout=5000`) when `POSTGRESQL_SCHEMA` is set. If those `options` also set `search_path`, `POSTGRESQL_SCHEMA` takes precedence and a warning is logged. With `login_db`, the engine for the working database now keeps the pool size, SSL settings and schema, so a deployment that sets both `login_db` and `POSTGRESQL_SCHEMA` now reads and writes conversations in that schema instead of the default schema (usually `public`). Before upgrading such a deployment, move the tracker store tables (`events`, and `users` if present) into the configured schema, or unset `POSTGRESQL_SCHEMA` to keep using `public`.
> * When the tracker store fails to save a conversation, the in-memory fallback now publishes only the events the primary store had not already sent to the event broker, instead of republishing the whole session, which removes duplicate events in analytics during tracker store outages. Errors handled by the fallback are counted in the metric `fail_safe_tracker_store.tracker_store_error`, with `operation` and `error_type` attributes.
> * The server now closes the tracker store at shutdown. Closing the agent, privacy manager, tracker store and event broker is isolated, so one failing close no longer skips the others, and all of them share a total budget set with `RASA_SHUTDOWN_CLOSE_TIMEOUT_SECONDS` (default 10 seconds). Every close is started even when an earlier one used up the budget, so the event broker can still log what it did not deliver; this can extend shutdown by up to half the budget. A close still running at the end of the budget is abandoned; a tracker store's synchronous `close()` runs on a background thread that does not delay process exit.
> * The Kafka event broker selected by `type: kafka` or `type: concurrent_kafka` keeps reporting deliveries after a Kafka outage, and shutting it down during an outage no longer blocks the server. The optional `close_timeout_in_seconds`, a number greater than zero, bounds its close; without it, a close during a permanent outage waits until the Kafka client expires the buffered events, about 5 minutes. `rasa export` to it now waits for queued events while they keep reaching Kafka, stops reading events once none has reached Kafka for 10 seconds, and then fails with the number of events Kafka did not confirm, instead of reporting them as published. That number never under-reports, except that an event too large for Kafka counts as delivered once the error event that replaces it is; it can over-report events Kafka confirmed late. For an export, set `close_timeout_in_seconds` to the time you accept for flushing to an unavailable Kafka, for example 10 to 30 seconds. Failed deliveries, poll errors and flush errors are logged at most once a minute each, and successful deliveries are logged at DEBUG instead of INFO, which lowers the counts on dashboards built from those log lines.
> * `anonymization_topics` now works for every Kafka event broker: `type: kafka` or `type: concurrent_kafka` in any casing, the import path of a built-in Kafka broker such as `rasa.api.brokers.v1.kafka.KafkaEventBroker`, and custom subclasses of either. Before, only the exact value `kafka` streamed anonymized events, and the others silently streamed none. After the upgrade, a deployment that sets the broker by import path or subclass starts publishing anonymized events to every listed topic, so make sure the topics exist and their consumers expect the data. The anonymization brokers are the same class as the main broker, including a custom subclass. An event broker that does not support anonymization now logs a warning once when `anonymization_topics` or `anonymization_queues` is set.
> * The Inspector no longer shows a voice answer twice when it follows a filler.
>
> ### Deprecations
>
> * The lock store classes `RedisLockStore` and `ConcurrentRedisLockStore` in `rasa.api.locks.v1` are deprecated. `AtomicRedisLockStore` replaces them. A custom lock store that subclasses one of them keeps working and shows a deprecation warning once per process. Moving it to `AtomicRedisLockStore` changes the Redis keys, so all instances of the agent must be updated at once.
> * The original Kafka event broker, `KafkaEventBroker`, is deprecated in favour of `ConcurrentKafkaEventBroker`. Using it through its import path or through a custom subclass now emits a deprecation warning, once per class; a subclass of `ConcurrentKafkaEventBroker` does not. A custom broker that subclasses `KafkaEventBroker` keeps working; to move it, subclass `ConcurrentKafkaEventBroker`, whose `publish()` returns at once and publishes on a background thread.

**3.22.0**

2026-11-19

### Breaking Changes

* Ordered blocks
  now wait with `execute_tool: listen` and end the conversation with
  `execute_tool: hangup`, and an `action:` step accepts only an `utter_*`
  response. Update skills that still say `action: action_listen` or
  `action: hangup`. New turns record the wait and hangup as tool runs;
  events already stored stay unchanged.

* The outgoing agent
  text hook is `modify_outgoing_message` / `on_outgoing_message` with
  `OutgoingMessagePayload` and insertion point `outgoing_message` (replacing
  `modify_outgoing_text`, `on_outgoing_text`, and `OutgoingTextPayload`). The
  packaged reject template is `utter_outgoing_message_rejected` (replacing
  `utter_outgoing_text_rejected`).

* Session-start
  metadata is stored as `system.session_started_metadata`. Read that key on
  new sessions. Events already stored as `session_started_metadata` remain on
  the tracker.

* `enter` is now a
  reserved framework tool name. Rename any builder tool or MCP tool called
  `enter`; `rasa train` fails until you do. If your `invoke_when.activate`
  text tells the model to use `activate` for blocks of the running skill,
  update it to use `enter`.

* The built-in
  `set_fields` tool is renamed to `set_memory`. Rename it in
  `orchestrator.tool_constraints` in `agent.yml` and in skill instructions;
  `rasa train` fails on the old name until you do.

* Bundled skill ids now start with `builtin_` instead of `default_`. Rename a project override such as `default_completed` to `builtin_completed`. Training fails when any other project skill id starts with `builtin_`.

* The bundled
  `builtin_customer_satisfaction` skill now asks whether the user was
  satisfied or unsatisfied, and stores that outcome in `csat_score`, instead
  of collecting a 1–5 score. Projects that read a numeric score, or that
  override the skill and still expect a float, need to follow the new
  categorical values.

* Buttons on a
  confirmation question must use `set:session.system.confirmation=true` or
  `set:session.system.confirmation=false`. Any other button on that question,
  or that key on any other response, fails `rasa train`. A question with no
  buttons is unchanged.

* When the A2A
  server has `auth` set, an orchestrator JWT that names none of `sub`,
  `preferred_username`, or `client_id` is now rejected with `401` instead of
  being accepted as a shared anonymous caller. Add one of those claims to the
  orchestrator's token.

* The Copilot
  plan write routes are gone: `POST /agent-plans`,
  `POST /agent-plans/<id>/refine`, `PATCH /agent-plans/<id>`,
  `DELETE /agent-plans/<id>` and `POST /agent-plans/<id>/approve` now answer
  404\. A client plans in the chat instead: every chat run for an empty agent
  plans it, and the client approves, discards or edits the plan with the
  `approve_plan`, `discard_plan` and `save_plan_text` chat actions. A refused click answers
  400 for a malformed action, 404 for a plan outside the chat, and 409 with a
  `code` such as `stale_revision`, `job_running` or `agent_not_empty` when
  the plan's state refuses it. The read routes `GET /agent-plans` and
  `GET /agent-plans/<id>` stay.

### Features

* Every Mantle agent
  ships pass-through hook defaults at every insertion point, so you do not need
  `hooks.py` until you override a point; the hooks reference explains what runs on
  the live path versus register-only defaults.

* Voice agents can now
  use Gradium for real-time speech recognition and speech synthesis with
  word-level timing events.

* Inworld is now
  available for speech recognition and synthesis in voice channels, with speech
  recognition buffering short audio frames and logging provider error details.

* Voice calls now
  recover when a speech provider's connection drops mid-call. Speech
  recognition reconnects and keeps the words already recognized, instead of
  ending the call. If speech synthesis fails, the caller hears the audio
  produced so far, or silence, and the next response reconnects. This also
  applies to [custom speech providers](https://rasa.com/docs/mantle/reference/custom-speech-providers.md).
  Configure it with [`reconnect`](https://rasa.com/docs/mantle/reference/integrations-yml#reconnect), and
  set `max_attempts: 0` to turn it off.

* Voice channels can
  now use AssemblyAI for real-time speech recognition and speech synthesis.

* A custom ASR
  engine subclasses `ASREngine` from `rasa.api.voice.asr.v1`, and a custom TTS
  engine subclasses `TTSEngine` from `rasa.api.voice.tts.v1`. Shared audio
  types come from `rasa.api.voice.v1`. Channel `provider` values are unchanged,
  and a custom class path still loads with the same beta warning.

* A custom tracker
  store subclasses `BaseTrackerStore` from `rasa.api.tracker.v1` and implements
  `connect`, `save_tracker`, `retrieve_tracker`, and `tracker_keys`. The
  built-in `in_memory`, `redis`, `mongod`, `sql`, and `dynamo` stores use that
  contract. Rasa owns broker streaming, session slicing, creation, and
  deserialisation. Configure the store with `tracker_store.type` in
  `integrations.yml`.

* Builders can read
  the names, parameters, and injected arguments of `@tool` and the hook
  decorators from the Python decorator contract.

* A custom input
  channel subclasses `InputChannel` from `rasa.api.channels.v1`, or a published
  builtin such as `TwilioInput` or `SlackInput` from the same package,
  and implements `connect` plus `blueprint`. Set the channel key in
  `integrations.yml` to a builtin short name such as `rest` or `twilio`, or
  to that class. A class imported from `rasa.core.channels` is rejected. A custom
  output channel subclasses `OutputChannel`, `CollectingOutputChannel`, or a
  published output builtin from the same package.

* A custom event
  broker subclasses `EventBroker` from `rasa.api.brokers.v1` and implements
  `connect` and `publish`. Brokers may also override `publish_batch` to send
  one conversation's new events together; the default publishes them one at a
  time. Omitting `event_broker` publishes nothing. Starting a Mantle agent
  with `integrations.yml` uses that event broker. Pre-existing broker
  behaviour is preserved in the migration.

* A custom knowledge
  store subclasses `KnowledgeStore` from `rasa.api.knowledge.v1` and implements
  `connect` and `search`. Set `knowledge_stores[].type` in `integrations.yml`
  to `faiss`, `qdrant`, `milvus`, or that class.

* The Studio HTTP
  event broker (`type: http`) is published under `rasa.api.brokers.v1` with the
  other builtins. Import `HttpEventBroker` from there; configure it in Mantle
  `integrations.yml`. CALM `endpoints.yml` does not construct this broker.

* A custom timer
  store subclasses `SessionTimerStore` from `rasa.api.timers.v1` and implements
  `connect`, `store_timer`, `delete_timer`, `get_timer`, and
  `get_expired_timers`. Set `timer_store.type` in `integrations.yml` to a
  builtin or that class. A custom store recovers persisted timers after a
  restart. Omitting `timer_store` keeps the in-memory store.

* Starting a skill
  can now record memory values the user already stated, so they are not asked
  again. See [`activate`](https://rasa.com/docs/mantle/reference/tools#what-each-tool-is).

* A skill can import
  `mcp/<server>:*` or `mcp/<server>:<prefix>*` so tools that match the server's
  list are available after a restart or model reload, without naming each tool.

* You can add a
  `custom` JSON object to a response variant and have it delivered to the
  channel.

* A confirmation
  question can carry `set:session.system.confirmation=true` and `=false`
  buttons so a tap agrees or declines without a model call.

* Voice channels can
  temporarily ignore further interruptions after too many occur in a short
  time. Set `max_interruptions`, `window`, and `duration` together under
  `interruptions.cooldown` in `integrations.yml`, or under
  `voice.interruptions.cooldown` in `agent.yml`. A channel block replaces the
  agent block. The voice prompt now tells the agent to answer
  briefly after an interruption and not restart a long response that was cut
  off.

* Voice channels now
  take ASR and TTS from a model group id on the channel in `integrations.yml`,
  or from `voice.asr` and `voice.tts` in `agent.yml`, with the channel value
  winning. Inspector still uses Deepgram when a side is unset; other voice
  channels fail until that side is set. An engine config uses `provider`
  (`name` still works and warns), and `api_key` must be `${ENV_VAR_NAME}` or
  omitted so the engine uses its usual environment variable; a literal key is
  rejected. A Flux group sets `provider` to `deepgram_flux`; `provider: deepgram`
  stays on Nova. A speech group lists one model. A speech group cannot be used
  as `orchestrator.model_group` or as an embeddings model.

* Voice agents can
  set interruption handling once for every voice channel with
  `voice.interruptions` in `agent.yml`. It takes the same `enabled`,
  `min_words`, and `backchannel_threshold` keys as a channel's `interruptions`
  block, and a channel block overrides only the keys it sets.

* For a new agent,
  Copilot now asks a few questions, plans the agent and revises the plan in the
  chat, and it does not change any files while it plans. Planning runs in the
  background, so it continues after a page reload. Plans list the agent's
  integrations and the tools each skill uses. Approving the plan, starting over
  and editing the plan text all happen in the chat, and only the Approve button
  starts a build.

* Eval results now
  include how many prompt tokens were served from cache and how many were
  written into the cache, beside the existing conversation token totals. Both
  counts are already included in the prompt total.

* Eval results now
  also list the conversation token totals for each model call and each model.
  The calls are the main reply, a rephrase, a confirmation of that rephrase,
  a silent field update, the completion judge, and embedding lookups for
  skill retrieval and knowledge.

* Eval `run_N.json`
  now adds US list-price estimates to the existing `engine_tokens` object for
  the dialogue engine's LLM calls only (not the user simulator or the eval
  judge). If LiteLLM cannot price a model, the token counts are still
  recorded and `cost` is `null` on the conversation and on any bucket that
  includes that call. `run_N.txt` still omits tokens and cost.

* Eval `run_N.json`
  now adds `evaluation_tokens` with US list-price estimates for the user
  simulator and the eval judge, separate from the agent spend in
  `engine_tokens`. `summary.json` adds per-scenario `agent_cost` and
  `evaluation_cost`, and `summary.txt` sums them into `Agent cost:` and
  `Evaluation cost:` lines. If LiteLLM cannot price a model, the token
  counts are still recorded and `cost` is `null`, so an affected total is
  incomplete. `run_N.txt` still omits tokens and cost.

* Voice eval
  `run_N.json` files now include how many seconds of audio were sent to speech
  recognition and how many characters were sent to speech synthesis, per vendor
  and model. These counts are not a price, they stay out of `run_N.txt`, and a
  text run omits them.

* With
  `RASA_RECORD_COMMANDS_AND_PROMPTS=true`, rephrased responses published to the
  event broker carry their rephrase prompt and their text before rephrasing, so
  Rasa Studio can show them. A `prompts` or `domain_ground_truth` key in
  response variant `metadata` is dropped with a warning.

* You can set `orchestrator.tool_constraints.listen` in `agent.yml` to turn off `listen` or replace when the model should call it. The `listen` description only says to wait without a message and to call it with no text. When to call it stays in the prompt, including not saving a partial answer. Omitting the key keeps the default offer rules. A retrain is required.

* Mantle agents can
  use speech to speech models and APIs, including OpenAI Realtime, OpenAI
  GPT-Live, and PolyAI Dialog-RSN-1, to handle live voice conversations
  while the Rasa agent carries out background work.

* Mantle voice
  channels can now use Speechmatics Agent STT for turn-based transcription
  with automatic turn detection.

* `meta_map.from_memory` sends skill or project memory values as MCP `_meta` on each tool call. An unset field is sent as null. Metadata from a `modify_tool_call` hook still replaces those keys.

* Project memory
  fields can opt into mid-session updates with `mutable: true` and restrict
  which skills may write them with `writable_by`.

* A `modify_tool_call` hook can attach `metadata` sent only as MCP `_meta` on that call (not in tool arguments or model history). When tool-call hooks run, preflight rejects duplicate tool-call ids in one batch. When an MCP tool requires confirmation, that metadata is stored on `system.pending_tool_confirmation` and replayed on resume. The write stays in tracker history after the slot is cleared, so do not put secrets in `metadata`.

* Ordered blocks
  can record a decided human handoff with `execute_tool: record_handoff`.
  Studio analytics use that call for containment and escalation, and the model
  is never offered the tool.

### Improvements

* Training logs that
  an agent package was saved, instead of a model package.

* The bundled
  customer-satisfaction score question is sent exactly as written, with its
  Satisfied and Unsatisfied buttons.

* When call recording is enabled, the event broker receives an event when a recording starts, is stored, fails, or captures no audio. These events are not added to the conversation, and voice traces no longer include a span for storing the recording.

* A custom lock store
  subclasses `BaseLockStore` from `rasa.api.locks.v1` and implements `connect`,
  `get_lock`, `save_lock`, and `delete_lock`. Conversation ordering is included.

* Pending tool confirmation now tells the model to take consent or denial only from the reply to the confirmation question, so an earlier "I already confirmed" is not treated as an answer.

* A skill that waits
  on its `resolve_with` skill is reset once, when it is parked. It is not reset
  again when it starts, so values saved to it while it waited are not wiped.

* Intermediate markers are
  now generated from any-level timestamps that TTS providers send.
  They are no longer processed to carry only word-level timestamp.
  On barge-in, heard text is reconstructed from acknowledged markers and sent to LLM.

* Deepgram Nova and Flux ASR
  `endpoint` values now accept full WebSocket URLs, while existing host-only values
  continue to work.

* Mantle startup no
  longer loads the CALM validator, so Mantle installs can omit scikit-learn and
  SciPy.

* Coding agents and the Rasa Copilot now read the [best practices](https://rasa.com/docs/mantle/best-practices/writing-prose.md) pages before writing a skill's description or instructions, or adding a control lever, so new skills follow them from the first draft.

* Scenarios can now set an optional `description`, one line saying what the scenario checks. Studio shows it under the scenario name.

* Studio and the
  Inspector now show each MCP import pattern you wrote. Studio names it like
  `card_*` or `*`, with the server, and marks the row as a pattern rather than
  a tool. The Inspector lists the full pattern, such as `mcp/banking:card_*`,
  under Available tools. The tools that match still appear only after the
  agent starts or reloads.

* When you omit
  `reasoning_effort` in your model config, Rasa now defaults gpt-6-luna and
  gpt-6-sol to `reasoning_effort: "none"` (the lowest supported setting).
  gpt-6-astra and gpt-6.1-sol are unchanged: Rasa still omits
  `reasoning_effort` so the provider default applies unless you set it
  explicitly.

* The inbound A2A
  server rejects an `http` push callback that sets a token or authentication.
  A callback with neither still works, and `rasa run` still starts. Get and
  list of a push config no longer return the token or credentials; send them
  again to update a config. When `auth` is set, the caller that first uses a
  `context_id` owns that conversation, and a different caller receives a
  context-not-found error. The first message may still choose its own
  `context_id`. Rotating the JWT secret or public key invalidates existing
  A2A contexts: the same caller no longer matches conversations they already
  own, and follow-ups are rejected as context not found. The caller identity
  now includes whether it came from `sub`, `preferred_username`, or
  `client_id`, so changing that claim also invalidates existing contexts.

* Voice channels now
  check their `interruptions` settings at startup. An unknown key, a value of
  the wrong type, a negative `min_words`, or a `backchannel_threshold` outside
  `0` to `1` stops startup with an error that names the channel.

* When the model repeats a tool call that was already refused, or repeats a successful call that changed nothing, the turn ends with `utter_could_not_finish` instead of running until the iteration limit. An identical read that writes nothing will not run twice in a row.

* When Copilot
  builds a new agent from an approved plan, it now shows each build step in the
  chat, stops a build that takes longer than 15 minutes, and tells you in the
  chat whether the build worked.

* Eval run result
  files (`run_N.json`) now include the judge's explanation for each criterion,
  quality metric and task completion, the judges' overall summary, the detail of
  each assertion, and the conversation transcript.

* The
  builder service's `GET /api/eval/batches/<batch_id>` now also returns
  `started`, the runs that have started and have no result file yet, so Studio
  can show which runs of a running batch are in progress.

* Eval results now
  show a criterion as not reached when the conversation never got to it, instead
  of failed. A criterion that was not reached still counts as not passed.

* ElevenLabs speech
  synthesis now uses the `eleven_v4_turbo` model by default and supports the
  `eleven_v3` and `eleven_v4` models. Earlier models such as
  `eleven_multilingual_v2` are no longer supported, so set `model_id` (or the
  per-language `model`) to an `eleven_v3` or `eleven_v4` model if you configured
  one explicitly. The `similarity_boost` setting is ignored.

* License validation
  warnings and errors now include the last four characters of the license key,
  making it easier to identify the configured license without exposing the full
  key.

* `rasa init` now asks
  which coding agents to set up (Claude Code, Cursor, VS Code, or OpenAI Codex),
  with Claude Code and Cursor pre-selected, and installs the Mantle skills,
  registers the Rasa MCP server, and downloads the Mantle documentation only for
  the ones you pick. Pass `--ides` (for example `--ides claude,vscode`) to choose
  without the prompt, or `--ides ''` to skip. With `--no-prompt` and no `--ides`,
  Claude Code and Cursor are set up as before.

* Improved default
  tool-call acknowledgements (fillers). They are less likely to promise or
  predict the result, such as "I'll place the order now" or "Sure, I can help
  with that", and are phrased to stay true if a tool fails, finds nothing, or
  needs the user's confirmation. The reply after the tools is more likely to
  continue from them instead of repeating or contradicting them. Agents that
  set their own `fillers.instructions` keep their wording.

* Copilot can show
  cards with buttons in the chat, and a button click goes through the same
  conversation, so Copilot sees what the user clicked. A click never starts a
  model run.

* Eval run result
  files (`run_N.json`) now record the scenario name and type, the run's `error`
  when it failed, whether that error came from the evaluation itself
  (`error_is_harness`), and the quality-metrics judge's `metrics_error`.

* You can ask Copilot
  to train or retrain your agent without changing it, for example after a failed
  training, and Studio then trains the agent as it is. Copilot no longer tells
  you to use Apply Changes or claims that training succeeded, since Studio trains
  the agent after every change and shows its status.

* Scenarios can now set an optional `type` to label the kind of case they cover, such as `happy_path`, `edge_case`, or `escalation`.

* A Copilot build
  from an approved plan now survives a page reload and a service restart.
  Studio can follow the build again, and a build that a restart stopped ends
  as built or failed instead of staying in progress. Approving a plan twice
  starts only one build.

* The builder service's `GET /api/eval/scenarios` now returns each scenario's parsed fields (`type`, `simulation_context`, `criteria`, `initial_slots`, `assertions`, and `expected_tools`) alongside its raw contents.

* Copilot keeps
  each plan in the conversation that made it, so other users never see or
  change it. A Copilot chat can no longer change an agent while a build runs,
  and approving a plan never replaces an agent that already exists.

### Bugfixes

* When an ordered
  block finishes a skill with a connecting or wrap-up line and nothing is left to run,
  the turn ends on that line instead of asking another follow-up on the same
  user message.

* Matching skills
  now activate before asking for skill-specific details, so their setup
  instructions run first.

* Activating a
  skill that is waiting under a different unfinished skill is refused, and
  the reply names the skill that is still in charge.

* A correction runs the steps up to a waiting confirmation again and asks that confirmation again.

* A titled memory
  button tap now keeps its label before that turn's tool results in the model
  prompt, so the agent continues with the next step.

* Voice channels
  loaded by module path now use `voice.asr` and `voice.tts` from `agent.yml`,
  like built-in voice channels do.

* Calling `enter` for the ordered block that is already running continues that block. If it is still waiting on a collect answer, the result names the field to record with `set_memory`.

* A collect
  question that was already asked now comes back with its buttons after a
  side question, and after the user confirms a return from another skill.
  A message that arrives before the question was asked is not followed by
  a repeat, and a value given in that same turn still fills the field.

* A keypad answer
  during a silence check-in now counts as a response, so the check-in ends and
  the silence count starts over.

* Sending `/session_end` on a text channel ends the Mantle conversation without a model call.

* A hybrid skill now finishes when one of its blocks links to another skill, even if another block of that skill was still open.

* After a knowledge
  search, activating the skill that is already running continues that skill.
  The agent no longer keeps calling `activate` until the turn stops.

* An `interruptions`
  block on the Inspector channel that sets only some keys, such as
  `min_words`, no longer turns interruptions off.

* A skill that starts
  again after it has finished or been cancelled asks a collect question again
  when that field is empty; a previous run's answer no longer counts, and a
  value already set is skipped. A link or call that stays inside the same
  skill is still one run.

* A fixed reply
  followed by another model step in the same turn no longer fails on Claude.
  A model group that includes Claude uses that same request, so the other
  models in the group see the note too.

* A `set_fields` call
  with no fields is skipped. The turn continues so the model can still reply,
  and repeating that empty call ends the turn.

* Conditions in the
  `next` of a `call` step now see values the called skill set, so you can
  branch on the result of the call.

* A hybrid skill that
  links to another skill now ends, so the conversation can start that skill
  again.

* Voice hangups now
  close the Mantle conversation without starting an engine turn.

* When a user repeats
  a request for a skill that is waiting on an open question and the agent answers
  in its own words, it now follows that reply with the authored question and its
  buttons instead of leaving the question unasked.

### Documentation

* You can follow a
  documented example to write a custom lock store, timer store, tracker store,
  event broker, knowledge store, or channel, and the custom speech engine guide
  uses the published speech imports.

* The docs now
  describe interruptions correctly: playback stops, a tool that is already
  running finishes, then the agent answers what the caller said. Only a session
  timeout, a hangup, or a dropped connection cancels a tool.

* The Anthropic
  `integrations.yml` example recommends `claude-sonnet-4-6`.

**Dev builds in 3.22.0 (5)**

> [accordion] 3.22.0.dev5 · 2026-11-19
>
> ### Breaking Changes
>
> * An ordered-block
>   step that delivers a response is written `utter:`, not `action:`. `rasa train`
>   fails until you rename the key, and the skill must be retrained. Events
>   already stored stay unchanged.
> * Ordered blocks
>   now wait with `execute_tool: listen` and end the conversation with
>   `execute_tool: hangup`, and an `action:` step accepts only an `utter_*`
>   response. Update skills that still say `action: action_listen` or
>   `action: hangup`. New turns record the wait and hangup as tool runs;
>   events already stored stay unchanged.
> * The outgoing agent
>   text hook is `modify_outgoing_message` / `on_outgoing_message` with
>   `OutgoingMessagePayload` and insertion point `outgoing_message` (replacing
>   `modify_outgoing_text`, `on_outgoing_text`, and `OutgoingTextPayload`). The
>   packaged reject template is `utter_outgoing_message_rejected` (replacing
>   `utter_outgoing_text_rejected`).
> * You configure built-in tools with `tool_constraints.<tool>.description`, which fully replaces that tool's offered description on turns where it is offered. `invoke_when` is rejected; migrate by copying the published default description, merging in former `invoke_when` wording, and setting the result as `description` — not by renaming the key alone. Engine workflow bullets in the system prompt stay; align them with your tool text so the model does not see conflicting guidance. One `listen.description` applies on voice and text turns. `tool_constraints.enter` accepts `description` only.
> * A skill
>   `memory.yml` no longer ignores leftover `access:`, `deny_read`, or
>   `deny_write` keys. `responses.yml` allows only a top-level `responses`
>   key, and `integrations.yml` allows only the keys that file defines.
>   A response whose value is not a list of variants also fails to load,
>   instead of being skipped. Remove the extra keys and give each response a
>   list of variants; the agent fails to load until you do.
> * Session-start
>   metadata is stored as `system.session_started_metadata`. Read that key on
>   new sessions. Events already stored as `session_started_metadata` remain on
>   the tracker.
> * A revision of a value the user already gave is recorded with `set_memory`, one earlier value per call. When a call tries to change more than one earlier value, only the first such argument in call order is revised; each other is deferred and the tool result asks for a separate `set_memory` call, unless that revision's rewind cleared the memory item, in which case the later argument is written as an unset item in the same call. A value the call repeats unchanged is kept, including when that call revises a different earlier value. Passing `null` to revise a memory item is rejected; it does not clear the stored value. Update prompts, hooks, and eval scenarios to name `set_memory` for revisions. `invoke_when` text for revisions belongs under `tool_constraints.set_memory`.
> * A conversation that
>   was started under CALM is no longer continued by a Mantle agent. Start it on
>   a new tracker.
>
> ### Features
>
> * Every Mantle agent
>   ships pass-through hook defaults at every insertion point, so you do not need
>   `hooks.py` until you override a point; the hooks reference explains what runs on
>   the live path versus register-only defaults.
>
> * Voice agents can now
>   use Gradium for real-time speech recognition and speech synthesis with
>   word-level timing events.
>
> * Inworld is now
>   available for speech recognition and synthesis in voice channels, with speech
>   recognition buffering short audio frames and logging provider error details.
>
> * Voice calls now
>   recover when a speech provider's connection drops mid-call. Speech
>   recognition reconnects and keeps the words already recognized, instead of
>   ending the call. If speech synthesis fails, the caller hears the audio
>   produced so far, or silence, and the next response reconnects. This also
>   applies to [custom speech providers](https://rasa.com/docs/mantle/reference/custom-speech-providers.md).
>   Configure it with [`reconnect`](https://rasa.com/docs/mantle/reference/integrations-yml#reconnect), and
>   set `max_attempts: 0` to turn it off.
>
> * Voice channels can
>   now use AssemblyAI for real-time speech recognition and speech synthesis.
>
> ### Improvements
>
> * Training logs that
>   an agent package was saved, instead of a model package.
>
> * The bundled
>   customer-satisfaction score question is sent exactly as written, with its
>   Satisfied and Unsatisfied buttons.
>
> * Successful built-in tool calls from earlier turns no longer fill conversation history, so longer chats spend fewer tokens on receipts that memory and skill state already show.
>
> * When to call a built-in tool is now in that tool's description. The system prompt keeps the search trigger, the instruction to answer from tool results before `complete()`, the line that calls `cancel()` when the user abandons the whole task, and the `set_memory` resume bullet. `invoke_when` adds your text for most tools, and still replaces the search trigger and the resume bullet. `activate` records values the user already stated in `memory_items`. The routing list labels those names `memory items`.
>
> * When call recording is enabled, the event broker receives an event when a recording starts, is stored, fails, or captures no audio. These events are not added to the conversation, and voice traces no longer include a span for storing the recording.
>
> * Scenarios can now set an optional `description`, one line saying what the scenario checks. Studio shows it under the scenario name.
>
> ### Bugfixes
>
> * A validation tool
>   that rejects an `ask_before_filling` answer leaves that field unanswered,
>   including when the tool writes the field before rejecting. Tool gates keep
>   treating it as unset.
>
> * An `ask_before_filling`
>   question is still asked when `activate` or `set_memory` tries to set that
>   field first. Those tools store the value only after the question has been
>   asked. An initial value or a block `set_memory` can already be stored, is
>   still asked about, and stays hidden from tool gates until the user answers.
>
> * A tool that requires
>   an `ask_before_filling` field waits until the user answers that question, even
>   when the field already has a value.
>
> * Correcting an earlier
>   answer asks a later `ask_before_filling` confirmation again, including when
>   that confirmation was still waiting. A value offered on the correction is not
>   treated as the answer.
>
> * When an ordered
>   block finishes a skill with a connecting or wrap-up line and nothing is left to run,
>   the turn ends on that line instead of asking another follow-up on the same
>   user message.
>
> * Matching skills
>   now activate before asking for skill-specific details, so their setup
>   instructions run first.
>
> * Activating a
>   skill that is waiting under a different unfinished skill is refused, and
>   the reply names the skill that is still in charge.
>
> * A correction runs the steps up to a waiting confirmation again and asks that confirmation again.
>
> * A builder tool the model was not offered this turn is refused instead of running.
>
> * Voice channels
>   loaded by module path now use `voice.asr` and `voice.tts` from `agent.yml`,
>   like built-in voice channels do.
>
> * A titled memory
>   button tap now keeps its label before that turn's tool results in the model
>   prompt, so the agent continues with the next step.
>
> ### Documentation
>
> * You can follow a
>   documented example to write a custom lock store, timer store, tracker store,
>   event broker, knowledge store, or channel, and the custom speech engine guide
>   uses the published speech imports.
> * The Schemas page
>   names `@rasahq/mantle-authoring-schemas` as the versioned contract for
>   authoring files. The package version matches the Rasa release you run, and
>   the JSON files on that page stay the current `main` contract.

> [accordion] 3.22.0.dev4 · 2026-11-12
>
> ### Breaking Changes
>
> * `enter` is now a
>   reserved framework tool name. Rename any builder tool or MCP tool called
>   `enter`; `rasa train` fails until you do. If your `invoke_when.activate`
>   text tells the model to use `activate` for blocks of the running skill,
>   update it to use `enter`.
> * `activate` of
>   `{skill_id}__{block_id}` starts that skill and leaves the named block closed.
>   A fully guided skill still opens its entry block because the skill started.
>   Use [`enter`](https://rasa.com/docs/mantle/reference/tools#what-each-tool-is) to open a block.
> * The built-in
>   `set_fields` tool is renamed to `set_memory`. Rename it in
>   `orchestrator.tool_constraints` in `agent.yml` and in skill instructions;
>   `rasa train` fails on the old name until you do.
>
> ### Features
>
> * A custom ASR
>   engine subclasses `ASREngine` from `rasa.api.voice.asr.v1`, and a custom TTS
>   engine subclasses `TTSEngine` from `rasa.api.voice.tts.v1`. Shared audio
>   types come from `rasa.api.voice.v1`. Channel `provider` values are unchanged,
>   and a custom class path still loads with the same beta warning.
> * A custom tracker
>   store subclasses `BaseTrackerStore` from `rasa.api.tracker.v1` and implements
>   `connect`, `save_tracker`, `retrieve_tracker`, and `tracker_keys`. The
>   built-in `in_memory`, `redis`, `mongod`, `sql`, and `dynamo` stores use that
>   contract. Rasa owns broker streaming, session slicing, creation, and
>   deserialisation. Configure the store with `tracker_store.type` in
>   `integrations.yml`.
> * Builders can read
>   the names, parameters, and injected arguments of `@tool` and the hook
>   decorators from the Python decorator contract.
> * A custom input
>   channel subclasses `InputChannel` from `rasa.api.channels.v1`, or a published
>   builtin such as `TwilioInput` or `SlackInput` from the same package,
>   and implements `connect` plus `blueprint`. Set the channel key in
>   `integrations.yml` to a builtin short name such as `rest` or `twilio`, or
>   to that class. A class imported from `rasa.core.channels` is rejected. A custom
>   output channel subclasses `OutputChannel`, `CollectingOutputChannel`, or a
>   published output builtin from the same package.
> * A custom event
>   broker subclasses `EventBroker` from `rasa.api.brokers.v1` and implements
>   `connect` and `publish`. Brokers may also override `publish_batch` to send
>   one conversation's new events together; the default publishes them one at a
>   time. Omitting `event_broker` publishes nothing. Starting a Mantle agent
>   with `integrations.yml` uses that event broker. Pre-existing broker
>   behaviour is preserved in the migration.
> * A custom knowledge
>   store subclasses `KnowledgeStore` from `rasa.api.knowledge.v1` and implements
>   `connect` and `search`. Set `knowledge_stores[].type` in `integrations.yml`
>   to `faiss`, `qdrant`, `milvus`, or that class.
> * The Studio HTTP
>   event broker (`type: http`) is published under `rasa.api.brokers.v1` with the
>   other builtins. Import `HttpEventBroker` from there; configure it in Mantle
>   `integrations.yml`. CALM `endpoints.yml` does not construct this broker.
> * A custom timer
>   store subclasses `SessionTimerStore` from `rasa.api.timers.v1` and implements
>   `connect`, `store_timer`, `delete_timer`, `get_timer`, and
>   `get_expired_timers`. Set `timer_store.type` in `integrations.yml` to a
>   builtin or that class. A custom store recovers persisted timers after a
>   restart. Omitting `timer_store` keeps the in-memory store.
> * Starting a skill
>   can now record memory values the user already stated, so they are not asked
>   again. See [`activate`](https://rasa.com/docs/mantle/reference/tools#what-each-tool-is).
>
> ### Improvements
>
> * A custom lock store
>   subclasses `BaseLockStore` from `rasa.api.locks.v1` and implements `connect`,
>   `get_lock`, `save_lock`, and `delete_lock`. Conversation ordering is included.
> * Pending tool confirmation now tells the model to take consent or denial only from the reply to the confirmation question, so an earlier "I already confirmed" is not treated as an answer.
> * A skill that waits
>   on its `resolve_with` skill is reset once, when it is parked. It is not reset
>   again when it starts, so values saved to it while it waited are not wiped.
> * A number stated for a
>   text field is stored as text, and a whole number stated for an integer field
>   is stored as an integer. `correct` uses the same conversion. A whole number
>   such as `4109.0` is stored as `4109`.
> * Intermediate markers are
>   now generated from any-level timestamps that TTS providers send.
>   They are no longer processed to carry only word-level timestamp.
>   On barge-in, heard text is reconstructed from acknowledged markers and sent to LLM.
> * Deepgram Nova and Flux ASR
>   `endpoint` values now accept full WebSocket URLs, while existing host-only values
>   continue to work.
> * Mantle startup no
>   longer loads the CALM validator, so Mantle installs can omit scikit-learn and
>   SciPy.
> * Coding agents and the Rasa Copilot now read the [best practices](https://rasa.com/docs/mantle/best-practices/writing-prose.md) pages before writing a skill's description or instructions, or adding a control lever, so new skills follow them from the first draft.
>
> ### Bugfixes
>
> * Calling `enter` for the ordered block that is already running continues that block. If it is still waiting on a collect answer, the result names the field to record with `set_memory`.
> * A collect
>   question that was already asked now comes back with its buttons after a
>   side question, and after the user confirms a return from another skill.
>   A message that arrives before the question was asked is not followed by
>   a repeat, and a value given in that same turn still fills the field.
> * A keypad answer
>   during a silence check-in now counts as a response, so the check-in ends and
>   the silence count starts over.

> [accordion] 3.22.0.dev3 · 2026-11-05
>
> ### Breaking Changes
>
> * Bundled skill ids now start with `builtin_` instead of `default_`. Rename a project override such as `default_completed` to `builtin_completed`. Training fails when any other project skill id starts with `builtin_`.
> * The bundled
>   `builtin_customer_satisfaction` skill now asks whether the user was
>   satisfied or unsatisfied, and stores that outcome in `csat_score`, instead
>   of collecting a 1–5 score. Projects that read a numeric score, or that
>   override the skill and still expect a float, need to follow the new
>   categorical values.
> * Buttons on a
>   confirmation question must use `set:session.system.confirmation=true` or
>   `set:session.system.confirmation=false`. Any other button on that question,
>   or that key on any other response, fails `rasa train`. A question with no
>   buttons is unchanged.
> * When the A2A
>   server has `auth` set, an orchestrator JWT that names none of `sub`,
>   `preferred_username`, or `client_id` is now rejected with `401` instead of
>   being accepted as a shared anonymous caller. Add one of those claims to the
>   orchestrator's token.
> * The Copilot
>   plan write routes are gone: `POST /agent-plans`,
>   `POST /agent-plans/<id>/refine`, `PATCH /agent-plans/<id>`,
>   `DELETE /agent-plans/<id>` and `POST /agent-plans/<id>/approve` now answer
>   404\. A client plans in the chat instead: every chat run for an empty agent
>   plans it, and the client approves, discards or edits the plan with the
>   `approve_plan`, `discard_plan` and `save_plan_text` chat actions. A refused click answers
>   400 for a malformed action, 404 for a plan outside the chat, and 409 with a
>   `code` such as `stale_revision`, `job_running` or `agent_not_empty` when
>   the plan's state refuses it. The read routes `GET /agent-plans` and
>   `GET /agent-plans/<id>` stay.
> * Copilot now
>   treats an agent with no commits as a Mantle agent in every chat.
>
> ### Features
>
> * A skill can import
>   `mcp/<server>:*` or `mcp/<server>:<prefix>*` so tools that match the server's
>   list are available after a restart or model reload, without naming each tool.
> * You can add a
>   `custom` JSON object to a response variant and have it delivered to the
>   channel.
> * A confirmation
>   question can carry `set:session.system.confirmation=true` and `=false`
>   buttons so a tap agrees or declines without a model call.
> * Voice channels can
>   temporarily ignore further interruptions after too many occur in a short
>   time. Set `max_interruptions`, `window`, and `duration` together under
>   `interruptions.cooldown` in `integrations.yml`, or under
>   `voice.interruptions.cooldown` in `agent.yml`. A channel block replaces the
>   agent block. The voice prompt now tells the agent to answer
>   briefly after an interruption and not restart a long response that was cut
>   off.
> * Voice channels now
>   take ASR and TTS from a model group id on the channel in `integrations.yml`,
>   or from `voice.asr` and `voice.tts` in `agent.yml`, with the channel value
>   winning. Inspector still uses Deepgram when a side is unset; other voice
>   channels fail until that side is set. An engine config uses `provider`
>   (`name` still works and warns), and `api_key` must be `${ENV_VAR_NAME}` or
>   omitted so the engine uses its usual environment variable; a literal key is
>   rejected. A Flux group sets `provider` to `deepgram_flux`; `provider: deepgram`
>   stays on Nova. A speech group lists one model. A speech group cannot be used
>   as `orchestrator.model_group` or as an embeddings model.
> * Voice agents can
>   set interruption handling once for every voice channel with
>   `voice.interruptions` in `agent.yml`. It takes the same `enabled`,
>   `min_words`, and `backchannel_threshold` keys as a channel's `interruptions`
>   block, and a channel block overrides only the keys it sets.
> * For a new agent,
>   Copilot now asks a few questions, plans the agent and revises the plan in the
>   chat, and it does not change any files while it plans. Planning runs in the
>   background, so it continues after a page reload. Plans list the agent's
>   integrations and the tools each skill uses. Approving the plan, starting over
>   and editing the plan text all happen in the chat, and only the Approve button
>   starts a build.
> * Eval results now
>   include how many prompt tokens were served from cache and how many were
>   written into the cache, beside the existing conversation token totals. Both
>   counts are already included in the prompt total.
> * Eval results now
>   also list the conversation token totals for each model call and each model.
>   The calls are the main reply, a rephrase, a confirmation of that rephrase,
>   a silent field update, the completion judge, and embedding lookups for
>   skill retrieval and knowledge.
> * Eval `run_N.json`
>   now adds US list-price estimates to the existing `engine_tokens` object for
>   the dialogue engine's LLM calls only (not the user simulator or the eval
>   judge). If LiteLLM cannot price a model, the token counts are still
>   recorded and `cost` is `null` on the conversation and on any bucket that
>   includes that call. `run_N.txt` still omits tokens and cost.
> * Eval `run_N.json`
>   now adds `evaluation_tokens` with US list-price estimates for the user
>   simulator and the eval judge, separate from the agent spend in
>   `engine_tokens`. `summary.json` adds per-scenario `agent_cost` and
>   `evaluation_cost`, and `summary.txt` sums them into `Agent cost:` and
>   `Evaluation cost:` lines. If LiteLLM cannot price a model, the token
>   counts are still recorded and `cost` is `null`, so an affected total is
>   incomplete. `run_N.txt` still omits tokens and cost.
> * Voice eval
>   `run_N.json` files now include how many seconds of audio were sent to speech
>   recognition and how many characters were sent to speech synthesis, per vendor
>   and model. These counts are not a price, they stay out of `run_N.txt`, and a
>   text run omits them.
> * With
>   `RASA_RECORD_COMMANDS_AND_PROMPTS=true`, rephrased responses published to the
>   event broker carry their rephrase prompt and their text before rephrasing, so
>   Rasa Studio can show them. A `prompts` or `domain_ground_truth` key in
>   response variant `metadata` is dropped with a warning.
>
> ### Improvements
>
> * Studio and the
>   Inspector now show each MCP import pattern you wrote. Studio names it like
>   `card_*` or `*`, with the server, and marks the row as a pattern rather than
>   a tool. The Inspector lists the full pattern, such as `mcp/banking:card_*`,
>   under Available tools. The tools that match still appear only after the
>   agent starts or reloads.
> * When you omit
>   `reasoning_effort` in your model config, Rasa now defaults gpt-6-luna and
>   gpt-6-sol to `reasoning_effort: "none"` (the lowest supported setting).
>   gpt-6-astra and gpt-6.1-sol are unchanged: Rasa still omits
>   `reasoning_effort` so the provider default applies unless you set it
>   explicitly.
> * The inbound A2A
>   server rejects an `http` push callback that sets a token or authentication.
>   A callback with neither still works, and `rasa run` still starts. Get and
>   list of a push config no longer return the token or credentials; send them
>   again to update a config. When `auth` is set, the caller that first uses a
>   `context_id` owns that conversation, and a different caller receives a
>   context-not-found error. The first message may still choose its own
>   `context_id`. Rotating the JWT secret or public key invalidates existing
>   A2A contexts: the same caller no longer matches conversations they already
>   own, and follow-ups are rejected as context not found. The caller identity
>   now includes whether it came from `sub`, `preferred_username`, or
>   `client_id`, so changing that claim also invalidates existing contexts.
> * Voice channels now
>   check their `interruptions` settings at startup. An unknown key, a value of
>   the wrong type, a negative `min_words`, or a `backchannel_threshold` outside
>   `0` to `1` stops startup with an error that names the channel.
> * When the model repeats a tool call that was already refused, or repeats a successful call that changed nothing, the turn ends with `utter_could_not_finish` instead of running until the iteration limit. An identical read that writes nothing will not run twice in a row.
> * When Copilot
>   builds a new agent from an approved plan, it now shows each build step in the
>   chat, stops a build that takes longer than 15 minutes, and tells you in the
>   chat whether the build worked.
> * Eval run result
>   files (`run_N.json`) now include the judge's explanation for each criterion,
>   quality metric and task completion, the judges' overall summary, the detail of
>   each assertion, and the conversation transcript.
> * The
>   builder service's `GET /api/eval/batches/<batch_id>` now also returns
>   `started`, the runs that have started and have no result file yet, so Studio
>   can show which runs of a running batch are in progress.
> * Eval results now
>   show a criterion as not reached when the conversation never got to it, instead
>   of failed. A criterion that was not reached still counts as not passed.
>
> ### Bugfixes
>
> * Sending `/session_end` on a text channel ends the Mantle conversation without a model call.
>
> * A hybrid skill now finishes when one of its blocks links to another skill, even if another block of that skill was still open.
>
> * After a knowledge
>   search, activating the skill that is already running continues that skill.
>   The agent no longer keeps calling `activate` until the turn stops.
>
> * An `interruptions`
>   block on the Inspector channel that sets only some keys, such as
>   `min_words`, no longer turns interruptions off.
>
> * A skill that starts
>   again after it has finished or been cancelled asks a collect question again
>   when that field is empty; a previous run's answer no longer counts, and a
>   value already set is skipped. A link or call that stays inside the same
>   skill is still one run.
>
> * A fixed reply
>   followed by another model step in the same turn no longer fails on Claude.
>   A model group that includes Claude uses that same request, so the other
>   models in the group see the note too.
>
> * A `set_fields` call
>   with no fields is skipped. The turn continues so the model can still reply,
>   and repeating that empty call ends the turn.
>
> ### Documentation
>
> * The docs now
>   describe interruptions correctly: playback stops, a tool that is already
>   running finishes, then the agent answers what the caller said. Only a session
>   timeout, a hangup, or a dropped connection cancels a tool.

> [accordion] 3.22.0.dev2 · 2026-10-29
>
> ### Features
>
> * You can set `orchestrator.tool_constraints.listen` in `agent.yml` to turn off `listen` or replace when the model should call it. The `listen` description only says to wait without a message and to call it with no text. When to call it stays in the prompt, including not saving a partial answer. Omitting the key keeps the default offer rules. A retrain is required.
> * Mantle agents can
>   use speech to speech models and APIs, including OpenAI Realtime, OpenAI
>   GPT-Live, and PolyAI Dialog-RSN-1, to handle live voice conversations
>   while the Rasa agent carries out background work.
>
> ### Improvements
>
> * ElevenLabs speech
>   synthesis now uses the `eleven_v4_turbo` model by default and supports the
>   `eleven_v3` and `eleven_v4` models. Earlier models such as
>   `eleven_multilingual_v2` are no longer supported, so set `model_id` (or the
>   per-language `model`) to an `eleven_v3` or `eleven_v4` model if you configured
>   one explicitly. The `similarity_boost` setting is ignored.
> * License validation
>   warnings and errors now include the last four characters of the license key,
>   making it easier to identify the configured license without exposing the full
>   key.
> * `rasa init` now asks
>   which coding agents to set up (Claude Code, Cursor, VS Code, or OpenAI Codex),
>   with Claude Code and Cursor pre-selected, and installs the Mantle skills,
>   registers the Rasa MCP server, and downloads the Mantle documentation only for
>   the ones you pick. Pass `--ides` (for example `--ides claude,vscode`) to choose
>   without the prompt, or `--ides ''` to skip. With `--no-prompt` and no `--ides`,
>   Claude Code and Cursor are set up as before.
> * Improved default
>   tool-call acknowledgements (fillers). They are less likely to promise or
>   predict the result, such as "I'll place the order now" or "Sure, I can help
>   with that", and are phrased to stay true if a tool fails, finds nothing, or
>   needs the user's confirmation. The reply after the tools is more likely to
>   continue from them instead of repeating or contradicting them. Agents that
>   set their own `fillers.instructions` keep their wording.
> * Copilot can show
>   cards with buttons in the chat, and a button click goes through the same
>   conversation, so Copilot sees what the user clicked. A click never starts a
>   model run.
> * Eval run result
>   files (`run_N.json`) now record the scenario name and type, the run's `error`
>   when it failed, whether that error came from the evaluation itself
>   (`error_is_harness`), and the quality-metrics judge's `metrics_error`.
> * You can ask Copilot
>   to train or retrain your agent without changing it, for example after a failed
>   training, and Studio then trains the agent as it is. Copilot no longer tells
>   you to use Apply Changes or claims that training succeeded, since Studio trains
>   the agent after every change and shows its status.
>
> ### Bugfixes
>
> * Conditions in the
>   `next` of a `call` step now see values the called skill set, so you can
>   branch on the result of the call.
> * A hybrid skill that
>   links to another skill now ends, so the conversation can start that skill
>   again.
>
> ### Bugfixes
>
> * Voice hangups now
>   close the Mantle conversation without starting an engine turn.
>
> ### Documentation
>
> * The Anthropic
>   `integrations.yml` example recommends `claude-sonnet-4-6`.

> [accordion] 3.22.0.dev1 · 2026-10-22
>
> ### Features
>
> * Mantle voice
>   channels can now use Speechmatics Agent STT for turn-based transcription
>   with automatic turn detection.
> * `meta_map.from_memory` sends skill or project memory values as MCP `_meta` on each tool call. An unset field is sent as null. Metadata from a `modify_tool_call` hook still replaces those keys.
> * Project memory
>   fields can opt into mid-session updates with `mutable: true` and restrict
>   which skills may write them with `writable_by`.
> * A `modify_tool_call` hook can attach `metadata` sent only as MCP `_meta` on that call (not in tool arguments or model history). When tool-call hooks run, preflight rejects duplicate tool-call ids in one batch. When an MCP tool requires confirmation, that metadata is stored on `system.pending_tool_confirmation` and replayed on resume. The write stays in tracker history after the slot is cleared, so do not put secrets in `metadata`.
> * Ordered blocks
>   can record a decided human handoff with `execute_tool: record_handoff`.
>   Studio analytics use that call for containment and escalation, and the model
>   is never offered the tool.
>
> ### Improvements
>
> * Scenarios can now set an optional `type` to label the kind of case they cover, such as `happy_path`, `edge_case`, or `escalation`.
> * A Copilot build
>   from an approved plan now survives a page reload and a service restart.
>   Studio can follow the build again, and a build that a restart stopped ends
>   as built or failed instead of staying in progress. Approving a plan twice
>   starts only one build.
> * The builder service's `GET /api/eval/scenarios` now returns each scenario's parsed fields (`type`, `simulation_context`, `criteria`, `initial_slots`, `assertions`, and `expected_tools`) alongside its raw contents.
> * Copilot keeps
>   each plan in the conversation that made it, so other users never see or
>   change it. A Copilot chat can no longer change an agent while a build runs,
>   and approving a plan never replaces an agent that already exists.
>
> ### Bugfixes
>
> * When a user repeats
>   a request for a skill that is waiting on an open question and the agent answers
>   in its own words, it now follows that reply with the authored question and its
>   buttons instead of leaving the question unasked.

**3.21.0**

2026-10-20

> [!NOTE]
>
> **First official open beta.** Rasa Pro 3.21.0 is the first official open beta
> release of Mantle. Start a project with `rasa init --engine mantle`, then follow
> the [getting started](https://rasa.com/docs/mantle/getting-started.md) guide.

### Features

* Mantle CLI commands
  accept `--integrations` to load runtime configuration from a file outside the
  project root.

### Bugfixes

* A rephrased reply from a Mantle assistant called over A2A is no longer stored only as token artifacts. Non-streaming callers receive one agent message per utterance and no token artifacts. Streaming callers still receive the tokens, and each finished utterance is also a history message whose metadata `streamed_artifact_id` names that artifact. An interrupted stream is not stored as a finished message.
* The message that
  pauses a task for a side question can no longer also answer whether to resume
  it. The agent asks whether to continue instead.

**Dev builds in 3.21.0 (12)**

> [accordion] 3.21.0.dev12 · 2026-10-20
>
> ### Breaking Changes
>
> * Use
>   `name: deepgram_flux` for Flux ASR configurations. `name: deepgram` now
>   selects Nova, so update existing Flux configurations before upgrading.
>
> ### Improvements
>
> * The voice backchannel detection model is now downloaded from the Rasa CDN instead of Hugging Face.
> * Voice agents now mistake fewer real interruptions for backchannels like "uh-huh", so callers who cut in are heard more reliably.
>   The default [`backchannel_threshold`](https://rasa.com/docs/mantle/reference/integrations-yml) is now `0.7`. If you set it explicitly, re-check your value.
>
> ### Bugfixes
>
> * Starting a conversation with `/session_start` (for example from Inspector) no longer routes the trigger as user input, so the bundled `builtin_session_start` skill runs without an agent message before the customer speaks. A project override of that skill that includes an utterance step can still speak on bootstrap. Inspector no longer shows the typing indicator after a silent bootstrap.
> * A short "thank you" while the agent is still waiting for an answer no longer ends the active skill or gets a silent reply; the agent asks its question again.
> * Deepgram Flux no
>   longer loses an utterance's final transcript when it differs from the last
>   partial transcript.
> * Mantle agents
>   without privacy configuration publish conversation events to Conversation
>   Review again.
> * When a user asks
>   for a skill that has to wait for a question the running skill is still
>   asking, the agent repeats that question with its buttons instead of
>   rewording it, declining, or filling in an answer the user never gave.
> * When the agent
>   declines an off-topic request while a skill is waiting on a question, it
>   repeats that question with its buttons right after the decline instead of
>   rewording it or filling in an answer the user never gave.

> [accordion] 3.21.0.dev11 · 2026-10-15
>
> ### Features
>
> * Voice channels can
>   use ElevenLabs for speech recognition with Scribe v2 Realtime and speech
>   synthesis with Eleven Multilingual v2, including word-level timestamps.
>   Speech synthesis requires a voice ID configured for each language.
> * Voice agents can play
>   ambient background audio, such as office noise, during calls. Add a
>   `background_audio` block to a voice channel in `integrations.yml` to set the
>   volume or use your own audio file.
>
> ### Improvements
>
> * Voice channels can
>   set the pause between consecutive agent messages with
>   `pause_between_messages` in `integrations.yml`. The default stays at 1
>   second, and `0` adds no pause.
> * Voice channels now
>   wait 0.8 seconds after a filler before the next message. Set
>   `pause_after_filler` on the channel in `integrations.yml` to change it, or
>   set it to `0` for no pause.
>
> ### Bugfixes
>
> * Twilio Media Streams can now use a custom sender ID to select an existing conversation while keeping call audio and playback controls working.
> * The `recordings` configuration no longer accepts unknown or misspelled keys. `provider` is required when recordings are enabled, and `s3` is no longer the default provider.

> [accordion] 3.21.0.dev10 · 2026-10-12
>
> ### Breaking Changes
>
> * An `endpoints.yml` file at the project root fails startup, and passing `--endpoints` fails too.
>   Mantle only accepts `integrations.yml`. Delete `endpoints.yml`. The silence timeout belongs in `agent.yml` as `voice.silence_timeout`.
>   Call recordings are read only from `integrations.yml`. Move a `recordings:` block to [`recordings:`](https://rasa.com/docs/mantle/reference/integrations-yml#recordings) before upgrading. Omit it to leave recording off.
>   Studio trains and runs a Mantle assistant without `--endpoints`, so those launches succeed.
>   An `endpoints.yml` in another working directory is not this project's file and does not fail startup.
>
> ### Features
>
> * Copilot now searches the Rasa docs and answers Mantle questions from the Mantle docs without extra configuration, because the `rasa-pro` package and the `rasa/rasa-pro` Docker image include both documentation indexes.
>
> ### Improvements
>
> * Copilot for Mantle agents now refers to Rasa Studio instead of Hello Rasa, answers how-to questions with the agent's own skills, memory, and responses, and offers to make the change.
> * `rasa tools init` now
>   sets up Mantle projects: it detects them, downloads the Mantle documentation,
>   and offers to install the Mantle agent skills. Use `--engine mantle` to choose
>   Mantle explicitly. For Mantle projects, the Rasa MCP server no longer describes
>   CALM-only tools it does not offer, and `train_rasa_assistant` also works when
>   your IDE starts the server outside the project folder.
> * Voice now uses word-level timestamps as intermediate markers.
>   On barge-in LLM is now aware of the playback state based on the last acknowledged marker. This is available for selected TTS channels: Cartesia, Rime and Azure.
>
> ### Bugfixes
>
> * After a digression that finishes or answers a knowledge question in the same turn, the agent now asks whether to resume the paused task instead of sometimes dropping it without asking.
> * The model answers from relevant tool results before it finishes a skill, so a lookup is not replaced by the wrap-up question.
> * When a turn hits the orchestration iteration limit, the agent now speaks `utter_model_call_error` instead of staying silent. Set `metadata.rephrase: true` on your override to have it reworded.
> * `rasa train` validation logs, the error for a removed collect `tool:` key, and the text returned when a write is rejected now refer to `run_after_setting_<entry>` tools as memory validation tools.
>
> ### Documentation
>
> * Docs for `ActivateSkill` now say a blocks-only skill starts at its entry block, and that a confirmation in the same response holds every handoff until the user answers.

> [accordion] 3.21.0.dev9 · 2026-10-08
>
> ### Breaking Changes
>
> * Omitting `skill_retrieval` leaves retrieval off, so the full routing catalogue stays and turns do not call the embedder. Set `active: true` to opt in. Retrieval then runs only when there are more startable skills than `num_skills` (at least 1). A smaller catalogue is not indexed or embedded, and train logs a warning with both counts.
> * Answering from documents, the pre-tool line, and channel style move in
>   `agent.yml`. Use `knowledge_answering` (including `instructions` and `top_k`),
>   `fillers`, and `orchestrator.text_rules` / `orchestrator.voice_rules`. A skill
>   sets `knowledge_answering.instructions` in its frontmatter. `prompts` stays
>   for `routing_no_active_skill`. Filler and channel-style keys belong on
>   `fillers` and `orchestrator`. Omitting the new keys keeps the previous
>   behavior, including four chunks and voice-on, text-off fillers. Retrain
>   after you move the keys.
> * Fully guided skills start with `activate` and the skill id. Routing and topic change list that skill id and the skill description. An ordered block no longer has a `description`; training fails if one is still set. A fully guided skill has one entry block, and other blocks are reached with `call:` or `link:`.
> * Silence hangup is its own skill, `builtin_silence_timeout_hangup`. `builtin_silence_timeout` only checks in. An override of `builtin_silence_timeout` that still contains the hangup block fails training.
> * `rasa train` rejects a `description` on a memory field the model cannot set, including project fields and bundled default skills. Keep a description only on a field marked `llm_settable` or filled by a collect step. Remove it from every other field.
> * Lifecycle tools are now `complete` and `cancel` instead of `complete_skill` and `cancel_skill`. Update skill prose that tells the model to call the old names, and rename `orchestrator.tool_constraints` keys from `complete_skill` and `cancel_skill` to `complete` and `cancel`. A custom `@tool` cannot be named `complete` or `cancel`.
> * `rasa train` now
>   rejects unknown top-level keys in `integrations.yml`. CALM-only keys (`nlg`,
>   `nlu`, `action_endpoint`, `vector_store`, `interaction_handling`) were
>   silently ignored before; each error names what to use instead. A
>   `recordings:` section logs a warning, since it still belongs in
>   `endpoints.yml`. See [Keys this file does not accept](https://rasa.com/docs/mantle/reference/integrations-yml.md#keys-this-file-does-not-accept).
> * Training rejects a memory field the model can set when it has no description. Put the description on the memory field or on the collect step that fills it. When both are set, training warns and the collect-step description is the one shown to the model.
>
> ### Features
>
> * You can
>   mark memory fields `pii: true` and set an `anonymization` method on that
>   field. `agent.yml` `privacy` holds tracker-store cron settings only.
>   Published events are anonymized when `integrations.yml` sets
>   `stream_pii: false`. Optional GLiNER-based detection (when the `pii` install
>   extra and model are available) masks additional entities in user and bot
>   message text.
>
> * You can set `orchestrator.tool_constraints` in `agent.yml` to turn off `cancel`, `complete`, `search_knowledge`, or `cannot_help`, and to replace a built-in tool's when-to-call guidance with `invoke_when`. Omitting the section keeps today's prompt and offer rules. A retrain is required to pick up `tool_constraints` from `agent.yml`.
>
> * A top-level [`a2a_server`](https://rasa.com/docs/mantle/reference/integrations-yml#a2a_server) block in `integrations.yml` configures the inbound A2A server. It accepts `include_default_skills`, `a2a_message_cache_ttl_seconds`, and the push notification keys; `${ENV_VAR}` references are expanded, unknown keys (including `enabled`) and a literal JWT `secret` are rejected, and `channels.a2a` is not an input channel. With the block present, `session_config` in `agent.yml` must set `start_session_after_expiry: false`. When `push_notifications_enabled` is true, task updates are posted to callback URLs and the AgentCard advertises them.
>
> * A Mantle assistant called over A2A reports a finished skill as completed together with that skill's public memory, stays on input required while a skill or a tool confirmation is still open, and rejects a decline that leaves nothing else to do. Button titles travel on the working update. Cancelling the task marks the skill cancelled.
>
> * The inbound A2A AgentCard is generated from the skill catalog and named with `agent.id` from `agent.yml`. Routable skills are advertised with their `skill.md` name and description; `engine_managed`, `disabled`, and `hidden` skills stay off the card, and a default skill appears only when [`include_default_skills`](https://rasa.com/docs/mantle/reference/integrations-yml#a2a_server) is `true` and a project override made it routable. A static `agent_card_path` must be A2A 1.0 JSON with `supportedInterfaces`. The card is generated when the model loads at startup.
>
> * `PUT /model` and `DELETE /model` on the Rasa HTTP API point the inbound A2A server at the swapped model and rebuild the AgentCard. The response waits until a turn already in progress finishes on the model it started with, and that model is retired only after the turn finishes. `DELETE /model` publishes a card with no generated skills. A model that fails the A2A engine or session check is rejected and the current model stays loaded. `PUT /model` of a model trained for the other engine fails the same way, so a running CALM server is not migrated to Mantle through these endpoints; restart `rasa run` with the retrained model.
>
> * You can require confirmation before `cancel` runs by setting
>   `orchestrator.tool_constraints.cancel.requires_confirmation` in
>   `agent.yml`. If the user confirms, the skill is cancelled as it is today; if they
>   decline, the skill stays in place. Omitting the setting keeps immediate cancel. See
>   [`tool_constraints`](https://rasa.com/docs/mantle/reference/agent-yml#tool_constraints).
>
> ### Improvements
>
> * Coding agents that simulate a Mantle conversation write scenarios with the current checks and wait for you to choose a fix when an evaluation fails.
> * The system prompt no longer includes the skills glossary.
> * Coding agents that author skills now apply the decision rules for when a sentence in the skill body is not enough.
> * On a voice call, during a
>   collect step, the agent waits silently when the user has started answering but not
>   finished (for example, halfway through a card number) instead of talking over them.
>
> ### Bugfixes
>
> * When loading a trained model fails, the error log names the underlying problem and refers to the model as Mantle. Training logs that the Mantle model package was saved.
> * `rasa run` and `rasa inspect` load channels, endpoints, and the secrets manager from `integrations.yml` in the project directory when `--model` is a Mantle archive, even with no `skills/` folder beside it. Tracker, lock, and timer values that remain only in `endpoints.yml` fall back to memory, and an event broker or model server left only there is ignored, so move those blocks into `integrations.yml` before serving this way. If the archive cannot be read as Mantle, those commands keep `credentials.yml` and `endpoints.yml` and log a warning.
> * `rasa init --engine mantle`
>   registers the rasa-tools MCP server for Claude Code and Cursor, so
>   simulation and evaluation no longer require a separate setup step.
> * On voice, the silence
>   timeout now also starts after a turn where the agent waits with `listen`, so a caller
>   who stays quiet gets the silence check-in instead of dead air.
> * A button that stores a memory value now counts as the user's answer, so the agent continues the conversation instead of treating the question as unanswered.
>
> ### Documentation
>
> * Documented
>   `privacy` in [`agent.yml`](https://rasa.com/docs/mantle/reference/agent-yml#privacy) and the Mantle PII
>   pipeline in [`memory.yml`](https://rasa.com/docs/mantle/reference/memory-yml). The
>   `mantle_privacy_e2e` agent in
>   [maestro-benchmarking-agents](https://github.com/RasaHQ/maestro-benchmarking-agents)
>   includes local Kafka and GLiNER verification steps.
>
> * The tools reference defines each built-in tool, including what it does and when the model is offered it.

> [accordion] 3.21.0.dev8 · 2026-10-06
>
> ### Breaking Changes
>
> * The tracker store, lock store, and secrets manager are read only from
>   `integrations.yml`. `tracker_store:`, `lock_store:`, and `secrets_manager:`
>   blocks in `endpoints.yml` are ignored, and startup logs a warning. Move
>   them to
>   [`tracker_store:`](https://rasa.com/docs/mantle/reference/integrations-yml#tracker_store),
>   [`lock_store:`](https://rasa.com/docs/mantle/reference/integrations-yml#lock_store), and
>   [`secrets_manager:`](https://rasa.com/docs/mantle/reference/integrations-yml#secrets_manager)
>   before upgrading. A `tracker_store:` block left only in `endpoints.yml`
>   stores conversations in memory, so they are lost when the process restarts.
>
> * The event
>   broker, timer store, and remote model server are read only from
>   `integrations.yml`. `event_broker:`, `timer_store:`, and `models:`
>   blocks in `endpoints.yml` are now ignored, and startup logs a warning.
>   Move them to
>   [`event_broker:`](https://rasa.com/docs/mantle/reference/integrations-yml#event_broker),
>   [`timer_store:`](https://rasa.com/docs/mantle/reference/integrations-yml#timer_store), and
>   [`rasa_model_server:`](https://rasa.com/docs/mantle/reference/integrations-yml#rasa_model_server)
>   in `integrations.yml`.
>
> * The orchestrator model group is named with `orchestrator.model_group` in `agent.yml`. Optional `orchestrator.max_prompt_tokens` defaults to 8000. `integrations.yml` must not contain an `llm:` section; define the group under `model_groups`. Existing projects need that name added and a retrain.
>
> * Unknown top-level keys in `skill.md` frontmatter are rejected at train. Remove the extra key.
>
> ### Features
>
> * Tools can stream a message to the user and attach buttons to a message they send.
>
> * You can configure the tracker store, lock store, and Vault secrets manager
>   in `integrations.yml`. `VAULT_URL`, `VAULT_TOKEN`, and
>   `VAULT_RASA_SECRETS_PATH` still override `secrets_manager:` and still work
>   when that section is omitted. See
>   [Tracker store](https://rasa.com/docs/mantle/reference/integrations-yml.md#tracker_store),
>   [Lock store](https://rasa.com/docs/mantle/reference/integrations-yml.md#lock_store), and
>   [Secrets manager](https://rasa.com/docs/mantle/reference/integrations-yml.md#secrets_manager).
>
> * You can
>   configure the event broker, timer store, and remote model server under
>   `integrations.yml` instead of `endpoints.yml`. Use
>   `rasa_model_server:` for the remote model server, not the `models` list
>   inside a model group. With no local model, `rasa run` points at
>   `integrations.yml`. See
>   [Event broker](https://rasa.com/docs/mantle/reference/integrations-yml.md#event_broker),
>   [Timer store](https://rasa.com/docs/mantle/reference/integrations-yml.md#timer_store), and
>   [Remote model server](https://rasa.com/docs/mantle/reference/integrations-yml.md#rasa_model_server).
>
> * A tool can now hand
>   off to another skill by returning `ToolResult(next=[ActivateSkill(skill_id=...)])`.
>   The skill activates after the tool's result is recorded, following the same
>   rules as the LLM's `activate` tool. See
>   [`ActivateSkill`](https://rasa.com/docs/mantle/reference/tools#activateskill).
>
> * JSON Schema for Mantle authoring files is published under Reference → Schemas, generated from the models that load those files, including skill frontmatter and preconditions.
>
> ### Improvements
>
> * Voice calls that use Deepgram speech recognition now include the Deepgram request ID in the metadata of each user message (`metadata.asr.request_id`), so you can match a conversation to Deepgram's own logs when debugging transcription issues with Deepgram support. If you subclass `VoiceInputChannel` and override `handle_asr_event`, add the new optional `asr_metadata` keyword argument to your override.
>
> * Voice agents now
>   keep work already underway when a user speaks over a response, then respond
>   to their latest input once that work finishes.
>
> * A missing model group named by `references.embeddings` or `orchestrator.model_group` now reports that id. The `references.embeddings` error says to clear the field to use the built-in OpenAI embedder. A missing orchestrator group stops the server instead of starting with no model loaded.
>
> * Turns no longer wait on an extra model call after a skill switch to store facts the conversation does not use.
>
> * `on_model_request` /
>   `modify_model_request` and `on_model_response` / `modify_model_response` also
>   run on rephrase, confirm-rephrase, and the post-activate `set_fields` fill.
>   A request-hook crash does not send that prompt. `RetryModel` on those calls
>   discards the completion instead of starting another main-loop iteration.
>
> * `rasa export` publishes Mantle ProtoJSON when `--integrations` points at an existing integrations file (default `integrations.yml`). Classic projects keep flat events.
>
> * Training or validating a Mantle project that has no skills reports that no `skills/<id>/skill.md` files were found.
>
> * When training fails on a
>   Mantle project, Copilot's analysis now searches the Mantle documentation, as Copilot
>   chat already does.
>
> * Mantle trackers now
>   record skill, block, and memory changes only as `skill_*`, `ordered_block_*`,
>   `memory_set`, and `memory_cleared` events; the classic `flow_*` and `slot_set`
>   copies are no longer written. Conversations recorded with those copies still
>   load.
>
> ### Bugfixes
>
> * Sanic workers now load the secrets manager. A Vault-backed tracker store
>   works with more than one worker for Mantle and for classic projects.
> * Resuming an older
>   paused skill with `activate` pauses the task in progress and keeps newer
>   paused tasks on the stack. Returning to that skill or to its block also
>   keeps an earlier block of that skill that was parked by a block switch, and
>   finishing the resumed block continues that earlier block. When the resumed
>   task finishes, the user is offered to continue the nearest paused task.
> * When activating a
>   skill lands on an ordered block that would immediately wait for the user, a
>   collect or settable memory value already stated in that same message is
>   recorded before the skill asks for it again.
>
> ### Documentation
>
> * Mantle docs now explain how to simulate and evaluate an agent, including the assertion keys a Mantle scenario can use.
> * A best-practices page covers what to put in memory, responses, constraints, and ordered blocks when a sentence in the skill body is not enough.
> * Skill-writing guidance now says when to name another skill with `@skill.<id>` so a related request stays part of the current task, and when to leave a topic change alone.
> * A new Voice section covers how Mantle runs skills in a voice conversation, a build-a-voice-agent tutorial, designing for voice, connecting a phone line, and testing and monitoring. Getting Started now lets you talk to your agent in the Inspector. The reference gains Speech providers and Custom speech providers pages, documents `language_map`, `interruptions`, and `silence_timeout` for voice channels, and documents keypad input with `dtmf:` on a collect step and the `user_input_suppressed` event.
>
> ### Deprecations and Removals
>
> * `rasa tools run` no longer
>   offers the `search_rasa_documentation` tool, which searched the CALM docs. Your coding
>   agent reads the Mantle docs in `.rasa/docs/mantle/` through the `mantle-docs` skill; add
>   them to an existing project with `rasa tools init docs mantle`.

> [accordion] 3.21.0.dev7 · 2026-10-01
>
> ### Breaking Changes
>
> * Tracing and
>   metrics are read only from `integrations.yml`. `tracing:` (including
>   Langfuse) and `metrics:` blocks in `endpoints.yml` are now ignored, and
>   startup logs a warning. Move them to
>   [`tracing:`](https://rasa.com/docs/mantle/reference/integrations-yml#tracing) and
>   [`metrics:`](https://rasa.com/docs/mantle/reference/integrations-yml#metrics) in `integrations.yml`.
>
> ### Features
>
> * You can configure
>   OpenTelemetry tracing (`otlp` or `jaeger`) and OTLP metrics under
>   `integrations.yml` instead of `endpoints.yml`. List Langfuse and an OTLP or
>   Jaeger tracer together under `tracing:` to use both. A Jaeger entry with
>   `username`/`password` must set `insecure` (`false` exports over TLS). See
>   [Tracing](https://rasa.com/docs/mantle/reference/integrations-yml.md#tracing) and
>   [Metrics](https://rasa.com/docs/mantle/reference/integrations-yml.md#metrics).

> [accordion] 3.21.0.dev6 · 2026-09-30
>
> ### Breaking Changes
>
> * Models trained before skill retrieval that still have independently startable skills must be retrained before they will load (or set `skill_retrieval.active: false`). Omitting `skill_retrieval` leaves retrieval on.
> * `rasa train` requires a non-empty skill `description`, rejects unknown `skill.md` frontmatter keys and non-string `name`/`description`, and fails on incomplete `@skill` / `@block` / `@tool` tokens. Bundled default skills are checked the same way. See [`skill.md`](https://rasa.com/docs/mantle/reference/skill-md).
>
> ### Features
>
> * Mantle agents can now retrieve a subset of independently startable skills for routing. `skill_retrieval` is on by default; set `active: false` to keep the full routing catalogue.
> * Skill retrieval can pin skills with `always_include_in_prompt` and keep recently started skills in the routing catalogue. A search outage fails the turn instead of listing every skill. This is not knowledge search (`search_knowledge`).
> * A collect step can accept keypad input via `dtmf`, using `length` or `finish_on_key`. Set `allow_audio_input: false` to ignore speech while digits are expected.
>
> ### Improvements
>
> * Inspector NextGen
>   now shows Mantle conversation events in nested ProtoJSON form while still
>   accepting classic flat event JSON. Mantle inspect tracker dumps and downloaded
>   logs preserve the ProtoJSON envelopes for replay.
>
> ### Bugfixes
>
> * The first message of a new conversation no longer activates a skill before that message is visible.
> * Skills can import an MCP tool when an unused shared tool has the same name without causing model loading to fail, including when that MCP tool is gated with `tool_constraints` or ordered-block `tools`.
>
> ### Documentation
>
> * Builders can look up Mantle's default skills and the wording of the built-in messages.
> * Docs call `run_after_setting_<entry>` tools memory validation tools.
>
> ### Deprecations and Removals
>
> * The unused default response `utter_ask_how_to_help` is removed. Completed still asks with `utter_ask_wants_to_continue`.

> [accordion] 3.21.0.dev5 · 2026-09-29
>
> ### Improvements
>
> * [ENG-3360](https://rasahq.atlassian.net/browse/ENG-3360): When
>   `modify_model_request` or `modify_tool_call` crashes or times out, or the
>   main model call fails, the user hears `utter_model_request_hook_error`,
>   `utter_tool_call_hook_error`, or `utter_model_call_error` instead of
>   silence. Override those names in `responses.yml`. The exception text is not
>   spoken, and `rephrase` on those responses is ignored.

> [accordion] 3.21.0.dev4 · 2026-09-29

> [accordion] 3.21.0.dev3 · 2026-09-28
>
> ### Bugfixes
>
> * The `hangup` tool is
>   now offered only when an ordered block explicitly uses `action: hangup`, so it
>   is not selected in other contexts.

> [accordion] 3.21.0.dev2 · 2026-09-28
>
> ### Breaking Changes
>
> * Mantle model
>   credentials must use `api_key: ${ENV_VAR_NAME}` (and the same `${…}` form for
>   other sensitive model keys). Literal secrets are rejected. See
>   [Secrets](https://rasa.com/docs/mantle/reference/integrations-yml.md#secrets).
>
> * Skill-level `requires` is rejected at train. Use `precondition` plus `agent.yml` `orchestrator.preconditions` to run a resolver first, or `hidden: true` to omit a skill from routing. Tool-level `requires` under `tool_constraints` is unchanged. See [`precondition`](https://rasa.com/docs/mantle/reference/skill-md#precondition), [`preconditions`](https://rasa.com/docs/mantle/reference/agent-yml#preconditions), and [`hidden`](https://rasa.com/docs/mantle/reference/skill-md#hidden).
>
> * Mantle tracker
>   persistence and the event broker now use nested ProtoJSON for conversation
>   events instead of flat `"event"` JSON. Classic (non-Mantle) projects are
>   unchanged. See [Conversation events](https://rasa.com/docs/mantle/reference/events.md).
>
> * The default voice
>   silence timeout is now 30 seconds (was 7). Set `silence_timeout` on the voice
>   channel in `integrations.yml` if you need a different wait.
>
> ### Features
>
> * Skills can declare a semantic `precondition`, and projects bind it in `agent.yml` `orchestrator.preconditions` so the engine parks the consumer, runs a resolver skill, then continues or abandons the request without hiding the skill from routing. If the resolver is already the active skill, the consumer is parked under that run instead of interrupting it. Skills can also set `hidden: true` to stay off the routing catalogue while remaining startable via `call`, `link` or `resolve_with`; prose `@skill` mentions of a hidden skill fail validation. Inspector labels a parked consumer as pending while the resolver is the active skill.
>
> * `on_incoming_message` /
>   `modify_incoming_message` now run on final user text before it is stored.
>   Modified text is what gets stored and what the turn runs on. Rejected
>   text and fail-closed hook errors stay on the tracker as discarded, are
>   omitted from model and completion-judge history, skip the user-message
>   orchestrator turn, and are answered with response templates:
>   `HookRejection.response_message`
>   may select a bot-defined response, while failures use
>   `utter_incoming_message_rejected`. When that first payload also opens a
>   session, `builtin_session_start` still runs so session-start memory writes
>   apply, and named reject replies are resolved after that turn. See [Hooks](https://rasa.com/docs/mantle/reference/hooks.md).
>
> * `on_outgoing_message` / `modify_outgoing_message` now run once on each completed
>   agent utterance, including fillers. Modified text is stored and sent;
>   rejected text is dropped without being stored and replaced with a response
>   template (`HookRejection.response_message` or
>   `utter_outgoing_message_rejected`), so the tracker only ever records what the
>   user actually received.
>   `modify_outgoing_message` buffers streamed output until the whole utterance
>   passes the hook; observe-only hooks do not. Incoming-message rejection
>   replies also pass these outgoing hooks. See [Hooks](https://rasa.com/docs/mantle/reference/hooks.md).
>
> * Train and validate fail when `skill.md` prose references `@tool.<name>` for a tool that does not exist or is not visible to that skill.
>
> * After three silence-timeout check-ins,
>   the next consecutive silence ends the call with a goodbye. A skill can do the same with an ordered-block
>   `action: hangup` after an authored goodbye response.
>
> ### Improvements
>
> * Mantle conversation
>   events now include stable `event_id` and `sequence` fields so consumers can
>   order and deduplicate reliably.
> * Mantle ProtoJSON now
>   covers the remaining conversation event types (session, voice, skills,
>   ordered blocks, and related engine events).
> * Voice channels now
>   use a classifier and `backchannel_threshold` to distinguish short
>   backchannels from interruptions, using the current agent utterance as
>   context. Accepted interruptions enter the active turn, while ignored
>   backchannels remain visible as `user_input_suppressed` events; the classifier
>   loads at channel startup and downloads from Rasa's CDN if it is not cached.
>   See [voice interruption settings](https://rasa.com/docs/mantle/reference/integrations-yml.md#interruptions).
>
> ### Bugfixes
>
> * Paged collects can
>   now clear a button choice and return to the same collect to show refreshed
>   dynamic buttons without an explicit listen step or an LLM turn.
> * Memory saved during
>   a conversation stays available when the assistant uses Postgres, Redis, or
>   another tracker store, so collect steps continue and tools see the values
>   they require.
> * Agents no longer receive
>   `set_fields` prompt guidance when the tool is unavailable for the current turn.
>
> ### Documentation
>
> * Documented Mantle
>   conversation event ProtoJSON under [Conversation events](https://rasa.com/docs/mantle/reference/events.md),
>   including the dual-write skip list and golden fixtures for consumers.
> * Mantle documentation now uses Rasa's rebrand colors and typography for a consistent visual experience.

> [accordion] 3.21.0.dev1 · 2026-09-24
>
> ### Breaking Changes
>
> * The bundled
>   `builtin_session_start` skill no longer greets. Override that skill and send
>   `/session_start` when the agent should speak first. See
>   [Start a conversation](https://rasa.com/docs/mantle/orchestration/runtime-loop.md#start-a-conversation).
>
> ### Features
>
> * `on_turn_started` /
>   `on_turn_finished` now run around each Mantle turn. Builders can observe
>   turn start and the final `completed` / `cancelled` / `error` status without
>   blocking the turn. See [Hooks](https://rasa.com/docs/mantle/reference/hooks.md).
>
> * `on_knowledge_query` /
>   `modify_knowledge_query` and `on_knowledge_results` /
>   `modify_knowledge_results` now run around `search_knowledge`. Builders can
>   rewrite the query or filter/reorder retrieved passages; neither point accepts
>   `HookRejection` or `RetryModel`. Query-hook crashes are fail-closed (search
>   skipped); results-hook crashes are fail-open (original passages kept). See
>   [Hooks](https://rasa.com/docs/mantle/reference/hooks.md).
>
> * Dynamic button source
>   tools are engine-only and validated by `rasa train`; missing, MCP, and
>   confirmation-gated sources are rejected, while invalid runtime button
>   references are omitted without dropping valid siblings.
>
> * A response variant can
>   name a tool with `buttons: {source: <tool_name>}`, and that tool supplies the
>   buttons for the message with `context.set_buttons([...])`. Buttons built with a
>   `ref` write the chosen value to memory on tap, exactly like a static
>   `set:session.<skill>.<entry>=<value>` button; the message is sent without buttons
>   when the tool returns none or fails.
>
> * The model can now wait for the next user message without sending a reply,
>   by calling the reserved `listen` tool after a question already asked this
>   turn. Guided collect steps, post-search answer calls, and pending tool
>   confirmation do not offer this tool. Mixed `listen` plus text or other tools
>   ignores `listen`.
>
> * `on_model_request` /
>   `modify_model_request` now run on each main LLM loop iteration. Builders can
>   rewrite provider-bound messages and allowlisted per-call `model_settings`
>   (`temperature`, `top_p`, `max_tokens`, `presence_penalty`, `frequency_penalty`,
>   `stop`, `seed`). Empty-completion retries reuse that hooked request without
>   re-running hooks. Credentials, provider/model, and tools stay engine-owned;
>   this point has no intentional veto (`HookRejection` is not accepted). See
>   [Hooks](https://rasa.com/docs/mantle/reference/hooks.md).
>
> * `on_model_response` /
>   `modify_model_response` now run after each main LLM completion and before any
>   user-visible emit or tool dispatch. Builders can rewrite response text and
>   tool calls, or raise `RetryModel(feedback=...)` to discard the response and
>   steer the next iteration with an engine-only system note. `HookRejection` is
>   not accepted at this point; unexpected crashes, timeouts, or invalid returns
>   are fail-open. A registered response modifier buffers the main completion
>   (no live token stream) so rewrites and retries match what the user hears.
>   See [Hooks](https://rasa.com/docs/mantle/reference/hooks.md).
>
> * `on_tool_call` /
>   `modify_tool_call` and `on_tool_result` / `modify_tool_result` now run on the
>   LLM tool-call batch path. The engine prefights every proposed call before any
>   tool runs; `RetryModel` discards the whole batch (including accompanying
>   text) and steers the next iteration. A registered tool-call modifier buffers
>   the main completion (no live token stream) so retries and fail-closed
>   crashes cannot leak speech. Modified arguments reach dispatch; modified
>   results are what `McpToolExecuted` / `ToolExecuted` store and the next prompt
>   replays. `HookRejection` is not accepted on tool calls; tool results have no
>   control signals. Confirmation resume, settable writes, and correction replay
>   do not invoke these hooks. See [Hooks](https://rasa.com/docs/mantle/reference/hooks.md).
>
> ### Improvements
>
> * Session-start
>   channel metadata on Mantle conversations is now recorded as a `memory_set`
>   event (with write provenance), so Studio and other consumers can read it
>   without relying on a legacy `slot` event for that value.
>
> * `context.memory.get`
>   accepts an optional default. Unset, `None`, or unreadable fields return that
>   fallback (`get("card_list", [])` is `[]`) instead of `None` or a `TypeError`.
>   Local tool failures log `error_type` at ERROR and the exception message at DEBUG.
>
> * Inspector bot-turn
>   latency details now include time spent in earlier LLM calls, making multi-step
>   and tool-driven responses easier to diagnose.
>
> * `complete_skill` is
>   offered when the active skill has prose instructions, including while a hybrid
>   skill is in an ordered block. Ordered-block-only skills omit the tool and
>   finish when the block ends; `cancel_skill` is still available.
>
> * Voice conversations now
>   process overlapping transcripts normally and preserve rejected barge-ins or audio
>   blocked during DTMF collection in the new `user_input_suppressed` tracker event.
>
> * Evaluation scenarios can
>   now assert skill and ordered-block lifecycles, memory writes and clears, and tool runs,
>   including several tools in one user turn, and can check those facts in order.
>   Inspector downloads include these assertions. A Mantle run rejects `slot_was_set`,
>   `slot_was_not_set`, `generative_response_is_relevant`, and
>   `generative_response_is_grounded`. Use the memory assertions for written state.
>
> ### Bugfixes
>
> * Deepgram Flux TTS
>   now accepts the provider's full speed range and supports models that require
>   the default speed setting.
>
> * Hybrid skills no
>   longer offer `complete_skill` while an ordered block is active, preventing
>   repeated refused completion calls before the block finishes.
>
> * When a new or
>   expired session starts on a real user message, that message is now handled
>   in the same request instead of being answered only after the next turn.
>
> * `complete_skill` no longer
>   intermittently refuses to complete a skill whose exit criteria were actually met,
>   which could otherwise re-engage the caller with an unnecessary step after the
>   conversation had already wrapped up.
>
> * Copilot documentation
>   search now finds pages on the current docs site and omits unpublished drafts.
>
> * Mantle voice calls now keep
>   processing spans in a single call trace, making individual calls easier to debug.
>
> * Voice agents now
>   release LLM requests as soon as response generation completes while speech
>   continues in order and remains interruptible.
>
> * `context.memory.set("project.<entry>", …)` and
>   `context.memory.set("<active_skill>.<entry>", …)` now write the named field
>   instead of failing as undeclared, matching how `get` already resolves those
>   names. An own-skill qualified name does not fall through to project memory.
>   Cross-skill writes stay rejected.
>
> * Skills with
>   `complete_when` criteria no longer refuse exit when an early path detail
>   that exempts a requirement (for example a damaged-card reason) was pushed
>   out of the completion check by multi-message bot replies.
>
> * After a canned ordered-block
>   reply, leftover hybrid prose can continue on the same turn instead of waiting
>   for the next user message.
>
> * Custom default
>   skills now start from their configured entry and are discarded cleanly when
>   the customer moves to another task.
>
> * After a customer
>   answers a tool confirmation, repeated same-turn LLM calls no longer ask for
>   confirmation again; unanswered confirmations are still re-asked after a
>   digression. A later ordered `execute_tool` step of the same tool can still
>   ask again in that turn.
>
> ### Documentation
>
> * New
>   [Writing prose](https://rasa.com/docs/mantle/best-practices/writing-prose.md) page covers how to word a skill's
>   `description` and body. Name the subject before the action in a description, and
>   separate them with a dash, so routing matches on the thing being asked about.
> * Skills that use
>   `requires_confirmation` must not also ask for confirmation in prose — pick
>   one mechanism so the customer is not prompted twice.
> * Clarified hook
>   control-flow semantics, including `RetryModel` feedback as a non-persisted
>   system note, sequential multi-tool `modify_tool_call` preflight, discarded
>   text handling, and unavailable audio hooks.
>
> ### Deprecations and Removals
>
> * Skill
>   `deny_read` / `deny_write` lists are removed. Memory visibility and writes
>   follow public, private, and project scopes only. Leftover `access:` /
>   `deny_read` / `deny_write` keys in skill `memory.yml` are ignored and are
>   not enforced.

**3.20.0 dev builds**

2026-09-08

> [accordion] 3.20.0.dev9 · 2026-09-08
>
> ### Breaking Changes
>
> * Skill-level
>   `complete_when` must be a mapping with `condition` and/or `criteria`
>   (bare strings are rejected). Use it on skills that have prose instructions;
>   ordered-block-only skills cannot declare it (they finish via block end
>   without this gate). When authored, `complete_skill` is hard-gated on those
>   requirements and is refused while an ordered block is active.
>   See [skill.md](https://rasa.com/docs/mantle/reference/skill-md.md#complete_when).
>
> ### Features
>
> * The live conversation
>   stack now distinguishes skills from ordered blocks. Guided skills show the
>   skill together with a `main` block. Inspector and Copilot display this stack
>   shape. Pre-existing Mantle conversations that still use the previous
>   flow-based live stack still load and replay, but are not upgraded in place —
>   restart the conversation (including any in-flight Inspector session) before
>   continuing under the new stack shape. Block-level `flow_*` events are still
>   written as well.
> * Mantle voice agents can now
>   respond when a user remains silent for the configured timeout through the customizable
>   `builtin_silence_timeout` skill. Silence timeouts and their configured duration are
>   recorded in the conversation tracker and included in the agent's conversation context.
> * Optional
>   `complete_when.criteria` (sentences in natural language) are checked on
>   `complete_skill`. The check **fails closed**: timeouts, errors, or malformed
>   judge answers refuse completion (skill stays active) instead of treating the
>   skill as done. With criteria present, condition-only auto-complete is disabled.
>
> ### Improvements
>
> * Large FAQ files under `references/` now train without a manual split, and `search_knowledge` returns the matching section. Builders can set character chunk size and overlap under `references.chunking`.
>
> ### Bugfixes
>
> * `complete_skill` is
>   refused while a tool confirmation is pending for the active skill. Resolve or
>   decline the confirmation first; `cancel_skill` still abandons the skill.
> * When a user revises a
>   value the agent already captured, a refused memory write is now reported as an
>   error and the agent is told to use `correct` instead of silently keeping the
>   old value.
> * Invalid LLM-issued
>   local and MCP tool calls now return a retryable result to the model instead of
>   running the tool or sending its `on_failure` response. Ordered `execute_tool`
>   steps with invalid arguments stay on the step without running the tool or
>   `on_failure`.

> [accordion] 3.20.0.dev8 · 2026-09-04
>
> ### Features
>
> * Conversations now record ordered-block lifecycle
>   (`ordered_block_entered` / `completed` / `cancelled` / `interrupted` /
>   `resumed`). Block-level `flow_*` events are still written as well. Inspector and
>   Copilot map these types. See
>   [Tracker events](https://rasa.com/docs/mantle/reference/execution-loop.md#tracker-events).
> * Tapping a button whose
>   `payload` is a [`set:` memory reference](https://rasa.com/docs/mantle/reference/responses-yml#set-memory-payloads) now writes the declared memory field directly,
>   without an LLM `set_fields` call (`llm_settable` is not required). Memory
>   validation tools run on these taps the same way as on LLM writes. The payload must match a button on
>   the latest agent message — typing a schema-valid `set:` string that was not offered
>   there is rejected. If the tap targets a field the active skill cannot write (for
>   example a memory entry from an earlier skill), or the payload is stale/invalid, the
>   agent replies with a fixed notice that the selection is no longer available or an
>   invalid value — naming it when the inbound message metadata includes `button_title`
>   — and asks the user to choose an available option or type their message. A
>   second tap on a
>   write-once project field is rejected the same way and leaves the first value.
>   Override the packaged notice by declaring `utter_set_memory_button_skipped` in
>   your own `responses.yml`.
> * Response variant
>   [`metadata`](https://rasa.com/docs/mantle/reference/responses-yml#variant-metadata) from `responses.yml` is now stored on bot messages in the conversation tracker, not only
>   the internal `rephrase` flag.
>
> ### Improvements
>
> * Conversation-scoped
>   structured logs now include `conversation_id` across engine and voice processing.
>   Voice TTS debug events no longer also emit a duplicate `recipient_id`.
>
> ### Bugfixes
>
> * Updated the prompt to
>   instruct the agent to answer in-skill follow-ups instead of calling
>   `cannot_help`.
> * Clarification questions
>   and task switches no longer cancel a pending tool confirmation.

> [accordion] 3.20.0.dev7 · 2026-09-03
>
> ### Features
>
> * You can now add static
>   [`buttons`](https://rasa.com/docs/mantle/reference/responses-yml#static-buttons) to named responses in `responses.yml`; the engine delivers them on collect
>   and action asks in chat and web channels, including after streamed rephrase, with
>   memory placeholders resolved in button titles and payloads. Taps with a free-text
>   `payload` (or an omitted payload that defaults to the title) are handled like typed
>   input — see
>   [Plain-text payloads](https://rasa.com/docs/mantle/reference/responses-yml.md#plain-text-payloads).
> * Mantle hooks authoring surface (preview): import `on_*` and `modify_*`
>   decorators, typed payloads, and `HookRejection` / `RetryModel` from
>   `rasa.mantle.hooks`. Place modules in `hooks.py` or `hooks/**/*.py`; train-time
>   validation runs before packaging. The runtime does not invoke hooks yet —
>   turn-path wiring lands in a follow-up release.
>
> ### Improvements
>
> * `rasa init --engine mantle`
>   now bundles the Mantle documentation into your project at `.rasa/docs/mantle/`, and the
>   installed agent skills tell your coding agent to read it rather than guess. Add it to an
>   existing project with `rasa tools init docs mantle`. See
>   [Getting started](https://rasa.com/docs/mantle/getting-started.md).
>
> ### Bugfixes
>
> * Rasa CLI commands now work on Python 3.14.
>   Previously every command, including `rasa init` and `rasa --version`, failed immediately on startup.

> [accordion] 3.20.0.dev6 · 2026-09-01
>
> ### Breaking Changes
>
> * The orchestrator LLM now
>   uses `llm.model_group` and a matching `model_groups` entry. Move inline
>   provider, model, and credential settings from `llm:` into that group:
>
>   ```yaml theme={null}
>   llm:
>     model_group: orchestrator
>
>   model_groups:
>     - id: orchestrator
>       models:
>         - provider: openai
>           model: gpt-5.1
>           api_key: ${OPENAI_API_KEY}
>   ```
>
>   See [`integrations.yml`](https://rasa.com/docs/mantle/reference/integrations-yml).
> * `rasa data validate` now
>   requires every conditional `next` to include an `else` fallback:
>
>   ```yaml theme={null}
>   next:
>     - if: "session.card_replace.selected_card_id"
>       then: check_card_eligible
>     - else: END
>   ```
>
>   See [Conditional branching](https://rasa.com/docs/mantle/reference/ordered-block-steps.md#conditional-branching).
>
> ### Bugfixes
>
> * Called skills no longer
>   restart when no conditional `next` branch matches.

> [accordion] 3.20.0.dev5 · 2026-09-01
>
> ### Breaking Changes
>
> * `rasa data validate` now
>   fails when a tool reaches the internal memory manager or clears memory
>   entries. Clear fields this skill owns with `context.memory.set`. Fields
>   another skill owns must be cleared from that skill. See
>   [Tools](https://rasa.com/docs/mantle/reference/tools.md).
>
> ### Features
>
> * You can now declare static
>   `buttons` on response variants in `responses.yml` (each with a `title` and optional
>   `payload`). This PR adds parsing and train-time validation only — `rasa train` checks
>   button shape and `set:` memory payloads against the readable and button-writable
>   memory rules the engine will use when those buttons write memory on tap; button
>   delivery at runtime is not included yet.
> * Conversations now record
>   skill lifecycle (`skill_activated` / `completed` / `cancelled` / `interrupted` /
>   `resumed`), tool runs (`tool_executed`, local or MCP), and memory writes
>   (`memory_set` / `memory_cleared`). Skill-level `flow_*`, `mcp_tool_executed`, and
>   `slot_set` events are still written as well. Inspector and Copilot map these types.
>   See [Tracker events](https://rasa.com/docs/mantle/reference/execution-loop.md#tracker-events).
>
> ### Improvements
>
> * When a collect
>   step is skipped because the value is already known, the agent is told not
>   to ask for that value again in the same turn. See
>   [Prompt templates](https://rasa.com/docs/mantle/reference/prompt-templates.md).
>
> ### Bugfixes
>
> * Voice responses no longer
>   play stale audio from an interrupted response after a barge-in.

> [accordion] 3.20.0.dev4 · 2026-08-28
>
> ### Breaking Changes
>
> * Starting the same
>   skill again in a session now resets that skill's public and private memory
>   to each field's `initial_value` (`null` when unset). Values still stay after
>   complete, cancel, and interrupt until that next run. Put session-long facts
>   in project memory. See [Lifetime](https://rasa.com/docs/mantle/reference/memory-yml.md#lifetime).
> * Project memory is no longer writable by the LLM (`set_fields`, `collect`, or `correct`). Train rejects `llm_settable: true` and `collect:` on a project field. Collect user-facing values in skill memory, then write `project.*` from a tool or memory validation tool. After the first successful write, further writes fail for the rest of the session. See [Skill vs project memory](https://rasa.com/docs/mantle/reference/memory-yml.md#skill-vs-project-memory).
> * Memory fields no longer support `immutable`. Skill public and private memory stays writable. Project fields remain write-once after the first successful write. See [memory.yml](https://rasa.com/docs/mantle/reference/memory-yml.md).
> * Tool calls now
>   time out after `10` seconds by default. Set the top-level
>   [`tool_timeout` in `agent.yml`](https://rasa.com/docs/mantle/reference/agent-yml#tool_timeout) for slow
>   local `@tool` functions. Imported MCP tools use the same default unless their
>   server sets its own `tool_timeout` in `integrations.yml`.
>
> ### Features
>
> * You can connect
>   agents to MCP servers. Declare servers under `mcp_servers` in
>   [`integrations.yml`](https://rasa.com/docs/mantle/reference/integrations-yml#mcp_servers). Skills can
>   import remote MCP tools with `import_tools: [mcp/<server>:<tool>]`. See
>   [Import MCP tools](https://rasa.com/docs/mantle/concepts/tools.md#mcp-tools).
>
> ### Improvements
>
> * OpenTelemetry metrics now show the time between consecutive agent responses in a Mantle turn, including waits after fillers and before final responses.
> * Set project memory now stays visible in a dedicated `### Project Memory` prompt section, including while routing. That section tells the model those facts are already set for the session and will remain so. See [System Prompt](https://rasa.com/docs/mantle/reference/system-prompt.md) and [Prompt templates](https://rasa.com/docs/mantle/reference/prompt-templates.md).
> * Session-start metadata can populate project memory for fields marked `seed: true`. A metadata value that does not match the declared field type is skipped (the field stays unset). Train rejects `seed: true` on skill public or private fields. See [Seeding from session start](https://rasa.com/docs/mantle/reference/memory-yml.md#seeding-from-session-start).
> * Langfuse tool-call
>   traces now record the tool name and argument keys as the span input, not
>   argument values, so account identifiers and other inputs stay out of the
>   trace.
> * When call recording is enabled, voice traces now
>   include a span for storing the recording, with its storage location and whether it was saved, skipped, or failed.

> [accordion] 3.20.0.dev3 · 2026-08-27
>
> ### Features
>
> * You can now declare [conditional
>   response variants](https://rasa.com/docs/mantle/reference/responses-yml.md#conditional-variants) in `responses.yml`: each variant may include a memory `condition`, the
>   engine delivers the first match in YAML order or a required default, and `rasa train`
>   rejects empty text, invalid conditions, and malformed default rules with a located error.
>
> ### Improvements
>
> * Voice traces now
>   show whether a barge-in happened while audio was playing or still queued, and
>   they include dropped agent responses when content capture is enabled.

> [accordion] 3.20.0.dev2 · 2026-08-26
>
> ### Features
>
> * Added Deepgram Flux
>   TTS. Voice agents can now use Deepgram Flux for streaming text-to-speech by
>   setting the TTS provider name to `deepgram_flux`.
>
> * Voice interruption
>   events in Inspector now show how far the agent response played before the user
>   interrupted, including confirmed playback progress and the full response duration
>   when available. The engine also tells the model that the interrupted response may
>   not have been heard in full.
>
> ### Bugfixes
>
> * Installing Rasa Pro on
>   macOS no longer fails while building LiteLLM. Previously LiteLLM had no prebuilt
>   macOS wheel, so it was compiled from source and the install failed unless a recent
>   Rust toolchain (rustc 1.94.1 or newer) was already available.
>
> * Voice agents can now
>   connect to speech providers on systems that require custom CA certificates configured
>   through `SSL_CERT_FILE`.

> [accordion] 3.20.0.dev1 · 2026-08-26
>
> ### Breaking Changes
>
> * The engine internals are now
>   named **Mantle** throughout (the `calm_v2` package became `mantle`, and the persisted
>   `engine_version` value changed from `calm_v2` to `mantle`). **Custom tool modules must
>   update their imports** from `rasa.calm_v2.tools.*` to `rasa.mantle.tools.*` — e.g.
>   `from rasa.mantle.tools.decorator import tool, ToolContext` and
>   `from rasa.mantle.tools.result import ToolResult`. Agents whose `tools.py` files import
>   the old `rasa.calm_v2.*` path fail to load until updated. Models trained on earlier
>   `.dev` builds will not load and must be retrained.
> * Python 3.10 is no longer
>   supported. Use Python 3.11 through 3.14.
>
> ### Improvements
>
> * Mantle now includes the
>   latest Rasa Pro `main` line after 3.19.0 (Sanic 25, Python 3.14, and optional voice
>   call recording), and pins `rasa-sdk` to `3.20.0.dev1`.
>
> ### Bugfixes
>
> * Setting `rephrase: true`
>   on a response now also rewords confirmation questions, messages when the user
>   says no, and success or failure messages.

**3.19.0 dev builds**

2026-08-25

> [accordion] 3.19.0.dev7 · 2026-08-25
>
> ### Breaking Changes
>
> * The CLI engine value is now
>   `mantle` instead of `maestro`. Use `rasa init --engine mantle` and
>   `rasa tools skills install mantle`. The old value is rejected rather than deprecated, so
>   update any scripts that pass `maestro`. See
>   [Getting started](https://rasa.com/docs/mantle/getting-started.md).
>
> ### Bugfixes
>
> * Users can now correct a
>   previously collected skill-scoped memory value.

> [accordion] 3.19.0.dev6 · 2026-08-20
>
> ### Improvements
>
> * Tool-call acknowledgement fillers (`prompts.ack_enabled`) are **off by default on text channels** and **on by default on voice**. Set `ack_enabled: true` or `false` in `agent.yml` to force either way for both modalities. Removed redundant inline-text guidance from `cancel_skill` lifecycle and tool schema; generic acknowledgement guidance still applies when ack is enabled.
> * The default system
>   prompt now places deploy-stable and episode-stable sections before the current
>   date and time so provider prompt-prefix caches stay warmer across turns. The
>   [System Prompt](https://rasa.com/docs/mantle/reference/system-prompt.md) and
>   [Prompt templates](https://rasa.com/docs/mantle/reference/prompt-templates.md) reference pages match the new
>   order and wording.
>
> ### Features
>
> * Voice agents now
>   expose OpenTelemetry traces for calls, provider connections, transcription,
>   input decisions, speech synthesis, and audio playback. See
>   [Observability](https://rasa.com/docs/mantle/reference/observability.md).
> * Skill instruction prose can
>   reference live memory with `@memory.project.<field>` and `@memory.<skill_id>.<field>`
>   (prompt substitution and train validation). Unreadable `@memory` refs, incomplete `@memory`
>   lookalikes, and bare `session.*` in free prose fail train. See
>   [skill.md — Memory](https://rasa.com/docs/mantle/reference/skill-md.md#memory).
>
> ### Bugfixes
>
> * Voice-ready and custom
>   channels can now mark incoming turns as voice so the engine applies voice-specific
>   prompt guidance.
>
> * Voice calls now reject
>   spoken input while a DTMF collect step disables audio input, with the rejection
>   recorded in tracing.
>
> * The tool-call
>   acknowledgement section (and its examples) is no longer repeated in the system
>   prompt on every agent-loop iteration. The agent acknowledges once per turn, so
>   the guidance is now included only on the first LLM iteration and dropped on
>   later iterations, trimming prompt tokens. See the
>   [System Prompt](https://rasa.com/docs/mantle/reference/system-prompt.md) reference.

> [accordion] 3.19.0.dev4 · 2026-08-12
>
> ### Breaking Changes
>
> * Ordered-block steps now
>   reject unknown YAML properties. The removed collect-step keys `force_collection`
>   and `tool:` are no longer accepted — use `ask_before_filling: true` instead. The agent also fails
>   to start when a skill directory cannot be parsed or when two skill directories
>   in the same `skills/` tree declare the same skill id.
>
> ### Improvements
>
> * Mantle projects without an
>   `endpoints.yml` no longer log errors about the missing file when running CLI
>   commands such as `rasa train`. Endpoint-backed tracing, metrics, and secrets
>   configuration is skipped instead. CALM projects are unaffected.
> * Tools can read
>   another skill's `public` memory (and `project.*`) via fully-qualified names on
>   `context.memory.get`, with the same visibility as conditions / `read_all`
>   (private fields and `deny_read` still blocked). Writes stay scoped to the
>   active skill and project.
> * Step and skill load
>   validation now surfaces clearer, actionable error messages (including migration
>   hints for the removed collect-step keys), and `rasa data validate` reports
>   unloadable skill directories instead of relying on silent skips at runtime.
> * Langfuse tracing is configured under optional `tracing:` in
>   `integrations.yml` (`type: langfuse`, `${VAR}` keys, optional knobs such as
>   `environment` and `timeout`). Example agents no longer rely on `endpoints.yml`
>   for tracing; Langfuse declared only in `endpoints.yml` still works with a
>   deprecation warning until you migrate the block.
>
> ### Documentation
>
> * The
>   [tools](https://rasa.com/docs/mantle/reference/tools.md) and [memory.yml](https://rasa.com/docs/mantle/reference/memory-yml.md) references
>   document fully-qualified `context.memory.get` reads for sibling public fields.
> * The
>   [skill.md reference](https://rasa.com/docs/mantle/reference/skill-md.md) documents ordered-block step
>   validation, the removed-key migration table, and collect-step authoring without
>   per-step `tool:` overrides.


## Related topics

- [Authoring files](https://rasa.com/docs/mantle/reference/schemas/index.md)
- [Mantle](https://rasa.com/docs/mantle/overview.md)
- [Rasa Pro Changelog](https://rasa.com/docs/reference/changelogs/rasa-pro-changelog.md)
- [Studio Changelog](https://rasa.com/docs/reference/changelogs/studio-changelog.md)
- [Rasa SDK Changelog](https://rasa.com/docs/reference/changelogs/rasa-sdk-changelog.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.