Agent Config Object

Forwarded props let the frontend tell the agent how to behave. This demo passes tone, expertise, and responseLength through the provider; the AG2 agent reads them from ContextVariables and rebuilds its system prompt per turn.

Agent Config

Change these and send a message to see the agent adapt.

How can I help you today?

AI can make mistakes. Please verify important information.