AgentsCreating and Configuring an Agent

Creating and Configuring an Agent

Create an agent, then set its name, type, visibility, model, web search, instructions and icon in the agent editor.

Build an Agent in the Editor

You create an agent with a name and a type, and ThoughtFlow opens it in the agent editor. There you set what it does: its general settings, the model it uses, and the instructions it follows. Fields for form agents, chat settings, knowledge and Save To Profile each have their own page.

If Spark built this agent, a later Spark change replaces edits you make in the editor, including the name, type, description, instructions, model and input fields. Finish asking Spark for changes before you edit here. See What a Spark Change Replaces.

Create the Agent

Click New Agent

Click Agents in the top navigation, then click New Agent. If you have no agents yet, the button reads Create Your First Agent.

Name it

Type a Name, such as "Weekly Plan Builder". Members see this name on the tool. You can change it later.

Choose the type

Choose Form-based ("Members fill in fields and get a structured output.") or Chat-based ("Members chat with the agent in a multi-turn conversation."). See Agents Overview.

Click Create

The agent opens in the editor. It starts as a Secret draft, so Members can't see it yet.

The Agent Editor

The buttons at the top of the editor:

ButtonWhat it does
Back to AgentsReturns to the Agents list. If you have unsaved changes, ThoughtFlow asks before you leave.
DeleteDeletes the agent. See Delete an Agent.
ShareAppears once the agent is published. If your plan doesn't include share links, it shows a lock. See Share Links.
PreviewSaves, then runs the agent in a new tab. See Testing an Agent.
PublishMakes the agent available to Members with access. Once published, it reads Unpublish.
SaveSaves your changes. It reads Saved when there's nothing new to save.

Below the buttons, the left side holds the settings, Agent Instructions, Save To Profile and Appearance. A chat agent also has Experience. A form agent also has Display Mode and Input Fields. The Knowledge Sources card sits on the right.

What Saves Right Away

Most changes wait for Save. Two kinds save as soon as you make them:

  • Changes to Knowledge Sources. See Agent Knowledge.
  • A new icon under Appearance.

General Settings

SettingWhat it does
NameThe tool's name, as Members see it.
DescriptionA short line about what Members use the agent for. Members see it on the tool.
Agent TypeForm-based or Chat-based. You can switch later. Switching to Chat-based removes any Save To Profile rows except Extract With AI, because those are the only kind chat agents use.
VisibilityOpen, Private or Secret. New agents start as Secret. See Publishing and Visibility.

Output Name and Number of Outputs

These two settings are for form agents.

  • Output Name names the Asset each run saves. Click Insert Variable to add a Member's answer or the run date, such as "Weekly Plan - " followed by the run date variable. Leave it blank, and ThoughtFlow names each one <agent name> - <run date> - <number>. See Variables.
  • Number of Outputs sets how many versions the agent writes in one run, from 1 to 10. With more than one, the result shows each version under its own heading, such as "Variation 1" and "Variation 2".

Choose the Model

Model sets the AI model the agent uses. Click the field (it reads Select a Model when empty), search with Search Models..., and pick one. Models are grouped by the company that makes them. New agents start with ThoughtFlow's default model, and the list changes as models are added and retired.

The model you pick also decides some chat options, such as Show Thinking Indicator and which file types Members can attach. See Chat Agent Settings.

When a model is retired, it shows "(deprecated)" and the editor says "This model has been deprecated. Select a new model to continue." Until you choose a new one:

  • Save and Publish don't work.
  • Anyone who opens the agent, including your Members, sees Tool Unavailable instead of the tool.

Form agents can search the web while they work. Turn on Web Search, then set Max Searches per Run, from 1 to 10. It starts at 5. When the agent reaches that number, it stops searching and finishes with what it found.

Each search uses Credits. Web Search works only with some models. When the model you chose doesn't support it, you can't change the switch, and the text under it tells you which models do. If Web Search was already on, runs skip searching until you choose a model that supports it.

Write the Agent Instructions

Agent Instructions tell the agent what to do, how to do it, and what a good result looks like. Write them the way you'd brief a skilled assistant: who the Member is, what they've given you, what to produce, and your rules for it.

Every answer a Member gives a form agent reaches the AI with its field's label, so you don't have to mention each one. To place an answer at a specific point in your instructions, click Insert Variable and choose it under Input Fields. Fields you attached from User Knowledge appear under User Knowledge. See Variables.

If your instructions use a variable that no input field or attached knowledge field defines, a warning appears below them: Unresolved variable (or Unresolved variables) and the variable's name. Add the field, attach it, or remove the variable.

If you remove an input field or a User Knowledge field your instructions use, ThoughtFlow asks first, in a window titled Remove Referenced Field?. Click Remove Anyway to remove it, and then fix the instructions.

Change the Icon

The icon shows on the tool in navigation and on tool cards.

Open the icon picker

Under Appearance, click Change Icon.

Choose an icon

On Icon Library, pick an icon and a Background Color. Or, on Custom Image, click Choose File and upload a PNG, JPG, WebP or SVG file up to 2MB.

The icon saves right away. You don't need to click Save.

Publish the Agent

Click Publish when the agent is ready. A form agent needs at least one input field first. Until it has one, the editor says "This agent has no input fields. Add at least one field before publishing." See Form Agent Fields.

Publishing alone doesn't put the agent in front of your Members. They also need access to it. See Publishing and Visibility.

Delete an Agent

Click Delete

In the editor, click Delete at the top.

Confirm

In the Delete Agent? window, click Delete Agent.

You can't restore a deleted agent from the app. Runs and Assets created before you deleted it stay where they are.