AgentsTesting an Agent

Testing an Agent

Run an agent the way a Member would with Preview, before and after you publish it, and fix what the test shows you.

Try It the Way a Member Would

Preview runs your agent exactly as a Member would, in a new tab. It works on drafts too, so you can test before you publish and after every change. What you see tells you what to change: in the editor, or by asking Spark if Spark built the agent.

A Preview run uses Credits, like any run of your tools. Your Preview runs show up in Activity and Analytics. See Credits.

Open a Preview

In the agent editor, click Preview at the top. ThoughtFlow saves your changes, then opens the agent in a new tab. Keep the editor open in the first tab, so you can switch back, change something, and click Preview again.

If Spark built the agent, Test Run in Spark does the same thing. See Refining a Tool With Spark.

Test a Form Agent

Answer the questions

The page shows the agent's icon, name and description, then its questions. With Sequential (One at a Time), click Continue after each answer. With Single Screen (All Fields), fill in every field and click Continue.

Review your answers

With Sequential (One at a Time), you see Review Your Answers. Click Edit next to any answer to change it, then click Submit.

Wait for the result

The page shows "Running..." while the agent works.

Read the result

The page shows your agent's name followed by "Complete", such as "Weekly Plan Builder Complete", and shows the result, named by your Output Name. Click it to open the full result beside the page.

On the result, you can:

  • Click the copy button to copy it.
  • Click the download button and choose Download as Markdown, Download as PDF or Download as Text.
  • Click Run Again to start over with an empty form.

If the run fails, the page says what went wrong, or "Run failed." Click Try Again.

Test a Chat Agent

The chat opens with your agent's icon, your Welcome Message, your Conversation Starters and the chat box. Your Disclaimer sits under the chat box. Send a few messages the way a Member would.

The conversation is still there when you come back. To start a clean test, open the menu at the top of the chat and choose Close Chat and Restart. See Chat Agent Settings.

Test Like Your Members

  • Test a few different situations, not just one. Write down the answers a few different Members might give, keep them open in another window, and paste them in.
  • Check what your Members will see. Member View on the Agents page opens the Tools page your Members use. It shows every published tool, not only the tools a particular Member has access to. See Publishing and Visibility.
  • Check what was saved. If the agent has Save To Profile rows, a Preview saves to your own profile. Open Profile from your account menu to see what was saved. See Save to Profile.

Agents have no Pause for Human Review setting. To let a Member review the AI's work before more work happens, build a workflow with an Agent step. See Human Review.

When a Preview Doesn't Run

What you seeWhyWhat to do
Tool UnavailableThe agent's model has been retired. Members see this too.Choose a new Model in the editor. See Choose the Model.
Not ConfiguredThe form agent has no input fields.Add a field. See Form Agent Fields.