Agent instructions describe what the agent should do, the information it should use, and how it should present its answers. Use instructions to give the agent a clear purpose and to make its responses more useful for your team.
Structure
-
Role: state what the agent is and what it does.
-
Data: name the data the agent uses, and require answers to come from query results.
-
Scope: name the accounts, projects, or periods that the agent covers.
-
Workflow: list the steps the agent follows, in order.
-
Output: describe the format of the answer.
-
Limits: state what the agent never does.
Example
The instructions field in the Add Agent form shows this example: “You are the FinOps analyst for this tenant. Answer cost questions from the billing data and state the period you used.”
An agent that only proposes actions can state that it never changes, stops, deletes, or creates cloud resources.
Format
Instructions support Markdown. Headings such as Scope and Data separate the sections. Use the Write and Preview tabs to switch between editing and the formatted result.
Import or export instructions
Use the upload and download icons above the instructions to import them from a file or to export them as a file.
Mark placeholders
Use square brackets, such as [column name], to mark placeholders in the instructions.
Test the instructions
After you publish the agent, ask it a few representative questions. Adjust the instructions when the answers miss the scope.