big-microphone-99982
11/04/2025, 11:31 AMtall-airline-16756
11/04/2025, 11:31 AMtall-airline-16756
11/04/2025, 11:32 AMupdate_options, or update instructions/chat context) and those changes propagate to the live pipeline where supported. Agent session integration
To trigger changes from the frontend during a session:
1. Expose an RPC handler on the agent that accepts a JSON payload with your desired options.
2. From the frontend, call RPC with the new options.
3. In the agent’s RPC handler, call update_options(...) (or `update_instructions`/`update_chat_ctx`) to apply them. RPC, Agent updates
If you share which options you need to toggle (e.g., endpointing delays, tool choice, instructions), I can outline the exact fields and a minimal handler + frontend call.
Sources: Node.js Agents Architecture | livekit/livekit_composite | DeepWiki | Agent Session & Client Integration | livekit/livekit_composite | DeepWiki | Python Agents Core Architecture | livekit/livekit_composite | DeepWiki | How to test your agent using another agent | Text and transcriptions | LiveKit docsbig-microphone-99982
11/05/2025, 2:02 AMtall-airline-16756
11/05/2025, 2:04 AMupdate_options(...) (or `update_instructions`/`update_chat_ctx`) and reply
Which language do you prefer for the agent code: Python or Node.js?
For reference:
• RPC from frontend: Remote method calls
• Runtime updates on the agent: Agent Session & Client Integration
• Turn/interrupt settings you might toggle: Turn detection and interruptions Sources: Building voice agents | LiveKit Docs | Agent Session & Client Integration | livekit/livekit_composite | DeepWiki | Python Agents Core Architecture | livekit/livekit_composite | DeepWiki | Remote method calls | LiveKit docs | Real-time AI Models & Streaming | livekit/livekit_composite | DeepWiki