Skip to main content
Version: Studio 2.2.32

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​

  1. On the Agents list, click Create agent in the Action Bar. The form is headed Create agent.
  2. 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."
  3. 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.
  4. 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.
  5. 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.
  6. 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:

PartShows
HeaderThe name, the type, Updated, and Current active version or Latest version.
No active versionA warning when nothing is active, with Review version (opens the newest version).
Agent detailsAgent name, Agent ID, Type, Current active version (when active), Latest version, Description from latest version, Created and Last updated.
Used byThe 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.
VersionsNewest 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​

  1. 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.
  2. 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."
  3. 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.
  4. 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.
  5. 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).

Folio folders​

A specialist can read chosen Folio folders in chats and Flow runs, so nobody has to mention a file with @. The section reads "Folders this agent can read in chats and Flow runs without anyone mentioning a file. It reads them with the access of the person asking and never changes them."

  1. In Create new version, under Configure, find Folio folders, after Instructions and description. With none it reads "This agent reads no Folio folders. People can still mention files with @."
  2. Choose Add folder. Choose a folder for agent to read reads "Choose a folder in your Uploads or in the Team folder." (in a standard deployment, "Choose a folder in your Uploads."). Open a folder, or make one with New folder, and choose Use this folder.
  3. Each folder shows its name, where it is and who reads it: "Everyone assigned to this Studio" for a Team folder folder, "Each person's own files" for an Uploads folder. Open in Folio opens Folio, and Remove takes the folder off.
  4. Review and create the version. Review new version shows Folio folders as Unchanged or Changed, and the version page lists them ("None" when there are none). Activate the version to use it (Configure and activate).

What the agent reads, and as whom:

  • The person asking. In a chat the agent reads as the person who asks; in a Flow run as the person the run runs as (the person who started it, or a schedule's creator). An Uploads folder is read in that person's own Uploads: "Each person who asks reads their own Uploads › Research › Models. Nobody reads your copy. To share one copy, move the folder to the Team folder." A Team folder folder is the same folder for everyone.
  • Shared chats. On the owner's own requests the agent reads as the owner. On a request from someone the chat is shared with, it reads only Team folder folders, never the owner's Uploads, and Lens shows them the file's name, folder and version but not its Open link.
  • Runs started with an API key read only Team folder folders.
  • Files fetched with someone's own sign-in: "A file fetched with someone's own sign-in is read only when that person asks: in their own chats, chats they share, and their own Flow runs. It is never read for people a chat is shared with."
  • Nothing is copied. The agent reads each file where it is, at the version current when it opens it, and cannot change it. Changing a folder's files needs no new agent version. Files the agent opens are not added to the chat as references.
  • Renaming or moving a folder in Folio stops the agent reading it: add it again in a new version. Before a Flow runs, Studio warns when a folder an agent reads is not in Folio, and notes an empty one; neither stops the run (Check access before a run).

In Lens, each look appears as a card such as "Looked in Thesis cards" (for a search, Looked for "ACME" in Thesis cards), with Folder and Files found, and each file read as "Read ACME thesis.md from Folio" with Folder, Version saved (when and by whom), Size and Open ACME thesis.md. A file it could not read shows "Could not read ACME thesis.md" with the reason, for example "Team folder › Research › Thesis cards is not in Folio."

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​

RuleValue
Agent nameup to 80 characters
Descriptionup to 1,000 characters
System promptup 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 advisoryabove 50,000 characters; informational
Agent typefixed 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.
  • Folio folders is for specialists only. An agent reads at most 10 folders: at the limit, Add folder is unavailable with "An agent can read at most 10 folders. Remove one to add another." Studio also refuses a folder twice ("This agent already reads Team folder › Research › Thesis cards.") and a folder it cannot use ("This folder cannot be used. Choose another folder."). In a standard deployment there is no Team folder: "The Team folder is available in governed deployments."
  • One look at an agent's folders lists at most 200 files by default, and one chat turn or Flow step opens at most 100 MiB and 50 files from them; past that the agent is told, for example, "This step has opened 50 files from Folio, the most it can. Use the files already open." Your administrator can change the first two (Limits and quotas).
  • A copy from the Agent Store or a library arrives with no Folio folders. Add them in a new version. Updating your copy from a library ("Update my copy") also creates a version with none.