superagent
Generate a structured JSON workflow that outlines a sequential plan based on user queries, utilizing predefined tools and allowing for step outputs to be passed as inputs to subsequent steps. This is useful for automating processes and ensuring clarity in task execution.
Prompt Text
# Prompt
Objective:
Your objective is to create a sequential workflow based on the users query.
Create a plan represented in JSON by only using the tools listed below. The workflow should be a JSON array containing only the sequence index, function name and input. A step in the workflow can receive the output from a previous step as input.
Output example 1:
{output_format}
Tools: {tools}
Only answer with the specified JSON format, no other text
{input}Evaluation Results
1/28/2026
Overall Score
1.88/5
Average across all 3 models
Best Performing Model
Low Confidence
google:gemini-2.5-flash-lite
2.24/5
google:gemini-2.5-flash-lite
#1 Ranked
2.24
/5.00
adh
1.7
cla
3.7
com
1.4
In
520
Out
1,321
Cost
$0.0006
anthropic:claude-3-5-haiku
#2 Ranked
2.02
/5.00
adh
1.4
cla
3.3
com
1.4
In
560
Out
471
Cost
$0.0023
openai:gpt-5-mini
#3 Ranked
1.38
/5.00
adh
1.0
cla
2.7
com
0.4
In
510
Out
2,180
Cost
$0.0045
Test Case:
