Strategies for crafting effective system prompts to control reasoning, planning, and execution in complex agentic workflows.
Recent benchmarks on frontier models (like Gemini 1.5 Pro, GPT-4o, and Claude 3.5 Sonnet) show that specific instruction patterns can boost performance by 5-10% on complex tasks.
Instead of just asking for an answer, mandate a reasoning structure.
<thought> block where you analyze the current state, identify missing information, and formulate a plan for the next step."Ambiguity in tool definitions leads to errors. System instructions should define how and when to use tools.
<thought> block and adjust your parameters."For long-running tasks, the model can lose track of its progress.