What does "instructions" mean in the agent constru...
# ask-ai
m
What does "instructions" mean in the agent constructor? is it equivalent to the System prompt?
t
Thanks for reaching out, Kush. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
The
instructions
parameter in the Agent constructor is indeed equivalent to a system prompt. It serves as the core instructions that guide the agent's behavior, defining its role, tone, and sentiment in responses. For example, you can set it to something like
"You are a helpful voice AI assistant."
to specify the agent's persona and behavior. Sources: Gemini Multimodal Live integration guide | LiveKit Docs