Dynamic variables
Dynamic variables are placeholders in your system prompt that the platform replaces with real values at the start of each session. Use them to inject user-specific information — names, account tiers, preferences, or any other data your backend holds.Syntax
Wrap variable names in double curly braces:system-prompt.txt
Passing variable values
Pass variable values when initiating the conversation. The exact method depends on whether you are using signed URLs, conversation tokens, or the WebSocket API directly.- Signed URL / WebSocket
- Conversation token
Pass variables in the If you are using the React SDK, pass dynamic variables when generating the conversation token on your server instead (see the Conversation token tab).
conversation_initiation_client_data message immediately after the WebSocket connection is established:client.js
Session overrides
In addition to dynamic variables, you can override core agent settings for a specific session. Overrides do not change the agent’s default configuration — they apply only to the conversation being started.Supported overrides
Applying overrides
- Conversation token (Python)
- Conversation token (TypeScript)
server.py
Combining variables and overrides
You can use dynamic variables and overrides together. A common pattern is to use variables for user data and overrides for locale-specific configuration:server.py

