Agent Config Object

Forwarded config lets the frontend tell the agent how to behave. This demo passes tone, expertise, and responseLength via useAgentContext; the Mastra agent receives them as frontend context and adapts its responses.

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.