Agent file
Every key of an agent's file. Explained in Agent.
Who it is
| Key | Type | Required | What it is |
|---|---|---|---|
name | text | Yes | The agent's handle: lower case, digits and hyphens |
role | text | Yes | Its role: who the agent is and what it answers for |
description | text | No | What it is for, as a person reads it in a list |
guidance | text | No | Its guidance: what it should know, in all its work |
rules | list | No | Its rules: lines it is told to keep to. Read by the model, checked by nothing |
model | map | Yes | {primary: <use>}: what its model is for |
tools | list | No | The connectors it is granted, by name. * is every connector its person may use |
budget | map | No | {inputTokens, outputTokens} one thread may spend |
limits | map | No | {modelCalls, toolCalls, seconds}. Each is off unless set |
largeResultTokens | number | No | A tool result past this is kept as a file and read in parts |
works | map | No | Its kinds of work, by name |
Budget defaults
| Input tokens | Output tokens | |
|---|---|---|
| A piece of work | 500,000 | 150,000 |
| A project's agent, and Ask | 2,000,000 | 500,000 |
Input read from the provider's cache is not counted. Each continue a person allows adds half of the first budget.
What is not in the file
How a run of the agent runs (whether it ends when it hands in, whom it may ask, whether it keeps a plan and cites) is fixed by what the agent is (an org's agent, a project's, Ask, a monitor's), never written in a file.