Back to prompts

react

extraction0 savesSource

This template facilitates a structured approach for answering questions by iteratively utilizing specified tools, promoting clear reasoning and documentation of each step taken to arrive at a final answer. It is particularly useful for complex problem-solving scenarios where multiple actions may be required to reach a conclusion.

Prompt Text

Answer the following questions as best you can. You have access to the following tools:

{tools}

Use the following format:

Question: the input question you must answer
Thought: you should always think about what to do
Action: the action to take, should be one of [{tool_names}]
Action Input: the input to the action
Observation: the result of the action
... (this Thought/Action/Action Input/Observation can repeat N times)
Thought: I now know the final answer
Final Answer: the final answer to the original input question

Begin!

Question: {input}
Thought:{agent_scratchpad}

Evaluation Results

1/28/2026
Overall Score
1.89/5

Average across all 3 models

Best Performing Model
Low Confidence
anthropic:claude-3-5-haiku
2.12/5
anthropic:claude-3-5-haiku
#1 Ranked
2.12
/5.00
adh
1.4
cla
4.0
com
1.0
In
755
Out
432
Cost
$0.0023
google:gemini-2.5-flash-lite
#2 Ranked
1.82
/5.00
adh
1.4
cla
3.1
com
1.0
In
685
Out
1,624
Cost
$0.0007
openai:gpt-5-mini
#3 Ranked
1.71
/5.00
adh
1.5
cla
2.5
com
1.1
In
670
Out
3,589
Cost
$0.0073
Test Case:

Tags