Give your agent core instructions
Core instructions guide your agent's behavior and decision-making process.
When writing instructions, clearly state the agent's role and primary objectives, and outline step-by-step procedures for it’s tasks.
It can also be helpful to give your agent examples of scenarios it might encounter, and examples of it’s expected responses.