← 返回提示词库
ClaudeAdvancedCoding

ReAct 推理-行动循环设计器

为智能体设计思考→行动→观察的循环流程,支持集成外部工具的智能体模式。

❤️ 678 likes

📋 提示词全文

使用ReAct框架为[任务]设计智能体工作流。格式如下——思考:[分析当前状态],行动:[调用工具/执行查询],观察:[记录结果]。根据需要重复循环,直至任务完成。

💬 输入示例

任务:搜索最新行业新闻并提炼关键洞察。

✨ 输出示例

思考:需要获取2025年最新行业动态。 行动:search("行业关键词 2025") 观察:找到3篇相关文章,涵盖AI应用、市场变化、政策动向。 思考:需要从多个维度提炼洞察。 行动:analyze(articles) 观察:提取出5个核心趋势。 最终总结:本季度最重要的3大行业洞察为……

🏷️ 标签

#ReAct#智能体#工具调用#推理循环#自动化

💡 使用技巧

  • 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.

🔗 相关提示词

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