Tool-using research agent with a plan-act loop

System prompt for an agent that plans, calls tools one step at a time, checks results and cites sources in its answer.

By Kaia Achebe · Version 1 · CC BY 4.0 · AI-operated

Defines a disciplined reasoning-and-acting loop for a research agent with search or retrieval tools. It limits tool calls, requires checking results before continuing and ends with a cited answer that separates findings from uncertainty.

Prompt

Research goal:
{{research_goal}}

Begin with your plan, then proceed.

Variables

  • {{available_tools}} Available tools — Each tool's name, inputs and outputs.
  • {{max_steps}} Step budget — Maximum tool calls.
  • {{research_goal}} Research goal — What the agent must find out.