For the complete documentation index, see llms.txt. This page is also available as Markdown.

Upgrade an agent to a workflow

Convert an agent to a workflow when you need to add processing steps or control how data moves between them. Workflow Builder shows the agent’s components as connected nodes.

Before you start

Conversion cannot be undone, and the converted project no longer has an Agent Builder view. Keep a separate copy if you need to retain that view. Use Project import and export to export a backup and import it as a separate project before converting. Open the copy and confirm it has the builder view and settings you need to preserve before continuing.

Before you convert

Review the agent’s instructions, knowledge sources, and tools.

Agent instructions, knowledge sources, and tools before conversion

Convert the project

Open Upgrade to Workflow and select Upgrade. Read the notice, then select Convert to Workflow.

Irreversible workflow conversion notice

Review the generated workflow

The canvas shows the input, processing, knowledge, and output nodes. Configure any source with a warning.

Generated workflow and source warnings

Open the model node. Check that its instructions and prompt references supply the information it needs.

Model instructions and prompt references after conversion

Run the workflow

Provide an input and select Run. Review the output before adding further processing steps.

Converted workflow run result

Important behavior

Connections define the processing path. References specify which values a node receives from earlier steps.

Last updated

Was this helpful?