Agents: create and optimise
Create an agent, choose how its instructions are saved, read its page and add versions without changing what runs. For whoever writes or maintains an agent.
Create an agent
- On the Agents list, click Create agent in the Action Bar. The form is headed Create agent.
- Under Agent details, enter the Agent name (required, up to 80 characters, with a counter), choose the Agent type (Specialist or Supervisor) and write the Description (required, up to 1,000 characters). Choosing Supervisor shows "Supervisors work only inside Flows. They cannot have an Intelligence Graph, Data Bridge connections, or a kernel."
- Under Instructions, write the System prompt. Its counter shows the prompt's size against 8.0 MB. Above 50,000 characters an advisory appears: large prompts cost more per turn, in chat the coordinator reads the first ~32 KB (8,000 tokens), Flow nodes receive the whole prompt up to the model's ~190k-token input limit, and reference material belongs in an Intelligence Graph. The advisory never blocks saving.
- Choose how the prompt is saved. Use as written keeps it exactly as typed ("This agent will use the prompt exactly as written."). Optimise prompt streams a revision ("Optimising your prompt…"; Cancel optimisation stops it and restores your text), then shows Yours and Optimised side by side, with a Suggested description when the optimiser proposes one.
- Use optimised applies the revision, and any suggested description, and locks the prompt ("The optimised prompt is locked. Choose Revert to edit the original prompt."); Revert brings your text back. Keep mine discards the proposal and selects Use as written.
- Click Create agent at the bottom of the form. It reads Creating agent…, then the new agent's version 1 page opens.
Create agent stays disabled until the required fields are filled and you have chosen Use as written or Use optimised: "Complete the required details and review the system prompt before creating the agent."
For example: Agent name "Equity Volatility Specialist", Specialist, Description "Computes realised volatility and drawdowns for equity portfolios and drafts the daily risk pack commentary."
Open an agent
Click its row on the Agents list. The agent page (/agents/<agent id>) shows:
| Part | Shows |
|---|---|
| Header | The name, the type, Updated, and Current active version or Latest version. |
| No active version | A warning when nothing is active, with Review version (opens the newest version). |
| Agent details | Agent name, Agent ID, Type, Current active version (when active), Latest version, Description from latest version, Created and Last updated. |
| Used by | The Flows that reference the agent, each with its Flow version and Active or Not active; click one to open that Flow's versions. "No Flows reference this agent." when there are none. |
| Versions | Newest first, each Version and its number, Active or Not active and its created date. Click one to open the version page (Configure and activate). |
The Action Bar offers Create new version, Share (Libraries and sharing) and Delete (Configure and activate).
Create a new version
- Click Create new version in the Action Bar on the agent page or on a version page. The page is headed Create new version, with the steps Choose source, Configure and Review and create.
- From the agent page, choose a Source version; from a version page, that version is the source. The page reads "Based on Version 2. Your changes are not saved until you create the version. Creating it leaves the active configuration unchanged."
- Under Instructions and description, edit the Version description (up to 1,000 characters; required for a specialist) and the Instructions. Use as written is selected to begin with; Optimise prompt works as above. The name and type come from the source and do not change.
- Below, the Agent Map starts from the source version's resources (from the active configuration when the source is the active version). Change them as on Configure and activate, then click Review version.
- Review new version shows the Source version and whether Instructions, Description and Resources are Changed or Unchanged, then the resource map. Tick "I have reviewed the instructions and resource connections." and click Create version (Creating version…).
The new version's page opens with "Version created": "Version N was saved. The currently active version is unchanged." (or "It is not active yet." when the agent has no active version).
What you should see
A new agent's version 1 page reads Not active, with the warning No active version: "Version 1 is saved and ready to configure. Choose Configure and activate to set its resources and start using this agent in chats or Flows. Activation makes this version read-only." The Action Bar offers Configure and activate. The agent stays out of Studio Chat and Flows until you activate a version (Configure and activate).
Notes
| Rule | Value |
|---|---|
| Agent name | up to 80 characters |
| Description | up to 1,000 characters |
| System prompt | up to 8 MiB of text (the counter shows 8.0 MB); over it Studio names the size, for example "System prompt is 9,000,000 bytes; the limit is 8,388,608 bytes (8 MiB).", and disables Create agent |
| Large-prompt advisory | above 50,000 characters; informational |
| Agent type | fixed after creation |
- Optimise prompt fails: "Couldn’t optimise prompt" with the reason, for example "The optimiser did not return a prompt. Try again."; your text is unchanged.
- Create agent fails: "Couldn’t create agent" with the server's reason; the form keeps what you typed.
- Create version fails: "Couldn’t create the version. Your changes remain here." If Studio cannot tell whether it worked, it reads "Couldn’t confirm whether the version was created. Check version history before trying again." Click Check version history and look for the new version before you try again, or you may create two.
- "Couldn’t load the version history." on the agent page: click Try again.