← Back to Library
ClaudeAdvancedCoding

ReAct Reason-Act Loop Designer

Designs a ReAct loop of Thought → Action → Observation to implement agent patterns that integrate with external tools.

❤️ 1,560 likes

📋 Full Prompt

Design an agent workflow that solves [complex task] using the ReAct pattern. Each step follows this format: Thought: [Analyze current situation and reason about next action] Action: [Tool to use and query: search/calculate/API call etc.] Observation: [Action result and decision for next step] Repeat this loop as needed and derive the final answer.

💬 Input Example

Task: Search for the latest news on a specific topic and summarize key insights.

✨ Output Example

Thought: Need to search for latest news Action: search("topic news 2025") Observation: [3 results found] Final summary: ...

🏷️ Tags

#agent#tool use#automation

💡 Usage Tips

  • Replace the variables in brackets ([]) with your specific situation.
  • Specify the desired tone and length of writing for more accurate results.
  • Request additional modifications based on the generated output to improve quality.
  • Specifying a particular audience allows AI to adjust vocabulary and explanation level.

🔗 Related Prompts

Effective Writing Strategies with AI

AI writing prompts let you efficiently produce blog posts, business emails, press releases, novels, and more. The key is to assign AI a precise role, and clearly specify the desired tone, length, and target audience. For example, requesting "write a 2000-word SEO-optimized blog post in a professional tone" yields significantly higher-quality output. After generating a draft, iterative feedback helps elevate the final quality step by step.

This prompt belongs to the Coding category, optimized for Claude at a Advanced level. It is systematically designed applying core prompt engineering principles: role assignment, context setting, and constraints.

Explore More Prompts

Discover 90+ verified prompts in the PromptGenie library.

Browse Library