Skip to main content

Create and edit presets

A preset says what an agent runs with: a model, a machine, and the extensions it includes. A preset can also carry a default repository and task. Every launch goes from a preset.

Your account has the Default preset. Agents launch from it when you choose no other, and it cannot be renamed or deleted. Create more presets when different work needs a different machine, model, or set of extensions, for example a large machine for one repository.

You manage presets on the Cloud agents > Presets page.

What a preset holds​

BlockFieldsIf you leave it empty
ModelDefault modelEach launch names a model
MachineCluster, VM size, Idle hoursThe default cluster, the default size, and the default idle time
ExtensionsThe MCP servers, plugins, and skills repositories that the preset includesThe agent gets no extensions
Launch defaultsRepository URL, TaskThe launch form asks for them
AdvancedEnvironment, AI profileThe secrets and the AI providers of the account

An agent takes a copy of its preset at launch. If you edit or delete a preset later, agents already launched from it are not changed.

Preset list​

The list shows each preset with its Model, Secrets, Machine, and Extensions:

  • Model shows the default model, or Named at launch.
  • Secrets shows Account when the preset uses the secrets of the Secrets page. A badge such as 1 missing shows how many secrets the preset needs and does not have.
  • Machine shows the size and its hourly price.

To launch an agent from a preset, click Launch on its row.

Create a preset​

  1. Open Cloud agents > Presets and click New preset.
  2. Enter a Name: up to 64 characters, different from the names of your other presets.
  3. Click Create preset.

The new preset starts as a copy of the default preset. After that it lives on its own. Changing the default preset later does not change it.

The console opens the page of the new preset, where you edit its blocks.

Edit a preset​

Open the preset from the list. The page shows each block with its current values. To change a block, click Edit next to its title, change the fields, and click Save.

Choose the default model​

In Model, choose the Default model from the models of your AI providers. The launch form opens with this model selected. To make each launch name a model, choose None — each launch names one.

Choose the machine​

In Machine, set where and on what the agent runs:

  • Cluster: where the machine is created. Sizes and prices depend on it. Provider default leaves the choice to Fluence.
  • VM size: the size of the machine. Each size shows its vCPU, RAM, disk, and hourly price. Default takes the default size of the cluster. The console shows the price that you pay while the machine runs.
  • Idle hours: whole hours without work before the machine shuts down and an idle agent on it is stopped. Enter 1 or more. An empty field takes the default. Through the Cloud Agents API and Fluence MCP, config.idle_timeout accepts a number of seconds or "disabled" to keep the machine running until you stop the agent.

When you change the cluster, the console keeps the size if the new cluster also sells it. Otherwise it falls back to the default size of that cluster.

The launch form does not ask for a machine. To launch on another machine, change it in the preset, or launch from another preset.

Choose the extensions of a preset​

In Extensions, select the MCP servers, plugins, and skills repositories that the preset includes, and click Save. The list shows the extensions of your account. To add or change an extension itself, click Manage extensions. See Add MCP servers, plugins, and skills.

If a selected extension names a secret that the preset does not have, the console marks it Missing secret. Add the secret before you launch. A launch from a preset with a missing secret is refused.

Set launch defaults​

In Launch defaults, optionally enter a Repository URL and a Task. The launch form opens with them filled in, and you can still change them for each launch.

The repository URL is an https:// address with a path and no credentials in it, for example https://github.com/owner/repo.

Through the Cloud Agents API (POST /v3/agents/presets and PATCH /v3/agents/presets/{id}), a preset can also define a preamble that prepends fixed instructions before the first prompt of every launch from that preset. A preamble does not replace a prompt: either the preset or the launch request must still provide a prompt.

Rename or delete a preset​

To rename a preset, click Rename, enter the new name, and click Save.

To delete a preset, click Delete and confirm with Delete preset. Agents already launched from it keep running. Its secrets stay as they are.

Use separate secrets or AI providers for a preset​

Most presets use the secrets and the AI providers of the account, and you can skip this section. The Advanced block is for two cases: a preset that needs a second GitHub token, or a preset that needs its own set of AI providers.

  • Environment is a set of secrets: one GitHub token and named secrets. The secrets of the Secrets page are the environment of the account. To create another one, click Manage environments, then New environment, and give it a name. Then choose it in Environment. To edit its secrets, click Manage secrets.
  • AI profile is a set of AI providers: subscriptions, keys, and custom endpoints. The providers of the AI providers page are the default profile. Account default uses whichever profile is the default when an agent starts. To create or clone a profile, click Manage AI profiles.

The Advanced block also lists the secrets that the preset needs, each marked Set or Missing.

Keep these in mind:

  • The default model of a preset must be a model that its AI profile offers. If you choose a profile that does not offer the stored model, the console clears the model and asks you to choose another one in Model.
  • The MCP servers and plugins of a preset take their secrets from the environment of the preset. A secret of the same name in another environment is a different secret.
  • Saving the secrets of an environment makes a new version. Running agents keep the version they started with. New agents get the latest.
  • Deleting an environment destroys its secrets. A profile cannot be deleted while it is the default or holds a subscription.

Delegate work to subagents​

A preset can define subagents: named helpers that the agent calls for subtasks. Each subagent has its own model and its own instructions, so the agent can hand a subtask to a model that fits it better or costs less. A subagent runs on the machine of its agent, so it adds no machine cost. Its model use is billed by your AI provider, like the model of the agent.

You define subagents through the Cloud Agents API, in the subagents field of a preset. Set it when you create a preset with POST /v3/agents/presets, or change it with PATCH /v3/agents/presets/{id}. subagents is an object with one entry per subagent, named by its role. The role is the name that the agent uses to call the subagent.

FieldRequiredWhat it holds
modelYesThe model of the subagent, in the form provider/model (non-blank). See How models are named.
descriptionNoA short text that says what the subagent does: up to 512 characters, non-blank when present
promptNoThe system instructions that the subagent follows: up to 16 KiB (16,384 bytes of UTF-8), non-blank when present

Rules and limits for subagents:

  • One preset can have up to 16 subagents.
  • Each role name must match ^[a-z0-9][a-z0-9_-]{0,63}$ (1 to 64 lowercase ASCII letters, digits, underscores, or hyphens, starting with a letter or digit).
  • Five role names are reserved for the coding agent itself and refused with 422: build, plan, general, explore, and default.

Validation against the AI profile​

When you save a preset, the API checks each subagent against the AI profile of the preset. A subagent that fails the check refuses the whole preset, and the preset stays as it was.

  • model must be a model that the AI profile offers, exactly as the default model must. Otherwise the API returns 422 with model_not_available naming subagents.<role>. See Use separate secrets or AI providers for a preset.
  • A model that the profile reaches through an API key or a custom provider is accepted.
  • A model that the profile reaches through a subscription (such as a ChatGPT or Claude subscription) is refused with 422 for a subagent. The agent itself can use such a model. A subagent cannot.

The API checks each subagent's model again when you launch an agent from the preset (POST /v3/agents/agents). If a subagent's model is no longer available under the preset's AI profile, the launch fails with 409.

Change or remove subagents​

PATCH /v3/agents/presets/{id} treats subagents like the other fields of a preset:

  • Leave subagents out of the body to keep the subagents as they are.
  • Send subagents with a new object to replace every subagent of the preset. An entry that you leave out is gone.
  • Send "subagents": null to remove every subagent.

Agents already launched from the preset keep the subagents they started with.

Reading subagents on presets and agents​

Both GET /v3/agents/presets and GET /v3/agents/presets/{id} return the full subagents map of each preset, including model, description, and prompt. When a preset has no subagents, the subagents field is omitted.

On launched agents, the list endpoint GET /v3/agents/agents includes only model for each role under launch.subagents and omits description and prompt (just as it omits launch.prompt and launch.preamble). To read a launched agent's subagent description and prompt, call GET /v3/agents/agents/{agent_id}.