Workflow agents are currently not available in the AI SDK. This page is a placeholder for future functionality.For multi-step agent workflows, use
ToolLoopAgent with custom step logic in the prepareStep callback.Alternative: Custom multi-step workflows
You can implement custom workflow logic usingToolLoopAgent or by chaining multiple generateText calls:
Using ToolLoopAgent for workflows
TheToolLoopAgent can be configured to implement complex workflows: