Key concepts
Understand how instructions, inputs, outputs, tools, versions, and runs fit together.
Use these concepts to understand how an agent turns information into results. You will learn what stays fixed in its setup, what changes with each run, and how Draft and Live versions separate testing from use.
Parts of an agent
| Concept | Meaning | Invoice-checking example |
|---|---|---|
| Agent | A task-specific assistant belonging to one app | Invoice checker |
| Instructions | The job description used for every run | Compare the invoice total with the expected amount |
| Input | Information supplied for a particular run | Invoice PDF and expected amount |
| Output | A field you define for the answer | Total as Number; Matches as Yes/No |
| Result | A row containing values for the output fields | Total: 500; Matches: Yes |
| Tool | An action the agent may use | Create an item on a review board |
| Connection | Saved authentication used by a tool | The account allowed to create review items |
| Web search | Built-in access to public information through Google Search | Research a supplier when instructed |
Each agent has its own instructions, inputs, outputs, and tools. A run accepts at most one File input. Outputs use Text, Number, or Yes/No, and an agent can return a list of result rows. Each run works within set limits on reasoning steps and tool use. See Limits.
Versions and runs
| Concept | What you use it for |
|---|---|
| Draft | Edit the agent and test proposed changes |
| Live | Run the published agent from pages, integrations, or your systems |
| Test run | Run the Draft with an example's sample values (Run the example), or with inputs that match the declared contract through the API test route. Tools act for real. |
| Run | One execution, from supplied inputs to results or failure |
| Execution ID | Identify the execution when reading its status or results |
A run progresses through statuses: Queued, Not started, Running, Completed, or Failed. Completed means results are ready; it does not establish that an answer is correct. Compare the results with the outcome you expected.

Access and identity
App Admin or Edit permission lets you build, test, and publish in development. App Admin, Edit, or View permission lets you run published agents in that app.
Starting a run and using a tool involve different permissions. The person starting the run needs app access. Each tool then uses its connection's account and permissions. Passing a person's email as an input does not restrict that connection's access.
Note
Each run starts fresh. Supply the information it needs as inputs or make it available through allowed tools. Test tools can change real records.

