The experimental config file is an optional JSON file used to enable experimental features and advanced runtime settings for an agent.
Use it for:- feature flags
- ASR tuning
- conversation control
- debug-oriented options
Location
The file lives at:What it contains
The file is a JSON object. It may be:- flat
- nested
- grouped by feature category
Example
Schema and validation
Available features and their types are defined in a bundled schema file:experimental_config.json against this schema when you run:
poly validate locally. Experimental config that fails validation is not read by the runtime in deployed agents.
Custom schema path
If the bundled schema does not match the schema expected by your Agent Studio environment, you can point validation at a custom schema file by setting theADK_EXPERIMENTAL_CONFIG_SCHEMA_PATH environment variable:
ADK_EXPERIMENTAL_CONFIG_SCHEMA_PATH is set, the ADK uses that file instead of the bundled schema. When the variable is unset or empty, validation falls back to the bundled schema.
Validate before pushingExperimental config can affect runtime behavior in subtle ways. Always run
poly validate locally before pushing changes.When to use it
Use experimental config when you need behavior that goes beyond the standard Agent Studio settings. Common use cases include:ASR and TTS tuning
Adjust speech recognition or speech output behavior beyond the standard channel settings.
Experimental platform features
Enable features before they are generally available.
Conversation control
Tune parameters such as silence handling or chunk size behavior.
Feature reference
The following sections describe notable feature areas available in the schema.Audio enhancement
Configure audio enhancement processing applied to the incoming audio stream before speech recognition. Two providers are available:ai-coustics and krisp.
ai-coustics
ai-coustics VAD
The ai-coustics enhancer also supports a vad (voice activity detection) sub-object for tuning how speech is detected in the audio stream.
Example:
krisp
Krisp provides noise cancellation and voice isolation. Settings include:
Example:
Background track
Thebackground_track object (name, loudness) plays a looped recording behind the agent’s voice for the duration of the call. See background_track in the schema for exact fields and ranges.
Telephony only, and replaced by background ambience
background_track plays in both modular and speech-native mode (such as Dialog-RSN-1), but only on real telephony calls: Agent Studio’s web call testing doesn’t play it. Once the project’s background ambience has been set, on or off, it takes precedence and background_track is ignored.Barge-in
The fields below sit underbarge_in.experimental_config and control how interrupted speech is handled and displayed.
Interruption granularity
interruption_granularity controls where the split happens in agent speech when the user barges in.
Interruption display
interruption_display controls how interrupted text appears in Agent Studio msg.Text (and in LLM context if interruption_display_llm is not set).
interruption_display_llm
An optional LLM-specific override for interrupted text display. Accepts the same values as interruption_display. When absent, inherits from interruption_display.
truncate_interrupted_utterances
annotate_interrupted_function_calls
Example:
DTMF
Configure DTMF behavior, including disabling speech recognition for DTMF-only steps.Global DTMF config
Thedtmf.global object applies to every turn. Step-level DTMF settings take precedence when enabled.
Flow and step overrides
Thedtmf object also supports a flow_overrides map where each key is a flow name. Per-flow settings include:
Per-step settings (nested under
steps) include:
Example:
Language switching
Configure automatic language switching behavior.
Example:
Memory
Configures agent memory features.memory.identifier_source overrides the default caller/callee-phone-number lookup identifier with a custom source (sip_headers:..., integration_attributes:..., or state:...). memory.repeat_caller controls repeat-caller analytics and which state keys are exposed and persisted to Agent Memory (state_keys) — only listed keys are ever persisted. See memory in the schema for exact fields.
Realtime (OpenAI)
Configures the OpenAI realtime speech-to-speech integration, nested underrealtime.openai_config. The one notable field is set_transcriber_language — when true, it pins the transcriber to the conversation’s language code; avoid it in multilingual projects that rely on language detection. See realtime in the schema for exact fields.
Prompts
Theprompts section supports channel-specific and language-related decorator overrides.
Example:
Webhooks
Fires HTTP callbacks onon_draft_published (sandbox draft publish) or on_deployment.<sandbox|pre-release|live> (deployment) events. Each entry needs a url, and can optionally set auth (a header or query-param name plus a secret_name) and a payload_template to replace the default deployment payload.
payload_template string values may contain {{field}} placeholders (deployment_id, account_id, project_id, client_env, artifact_version, deployment_type, timestamp, user), plus a special {{payload}} token that injects the entire deployment payload at a specific position — useful for receivers like GitHub’s repository_dispatch that require nesting under a key such as client_payload. Without {{payload}} in the template, the deployment fields are merged at the top level instead. See webhooks in the schema for exact fields.
include_kb_functions_in_flows
Controls whether knowledge base (KB) functions from retrieved RAG topics are shown to the model inside flows. This field lives under the top-level llm key, as llm.include_kb_functions_in_flows.
This setting only affects behavior inside flows. Outside flows, KB functions are always shown. It can be overridden per-flow (
llm.flow_overrides.<flow_name>.include_kb_functions_in_flows) or per-step (llm.flow_overrides.<flow_name>.steps.<step_name>.include_kb_functions_in_flows).
Example:
Best practices
- only set values you actually intend to override
- omit defaults rather than copying them unnecessarily
- validate locally with
poly validatebefore pushing - remove flags that are no longer needed
- treat the file as an advanced override layer, not a dumping ground for ordinary config
Related pages
Agent settings
See where experimental config sits within the broader agent settings area.
Speech recognition
Compare experimental ASR controls with standard voice speech-recognition settings.

