Dynamic Re-planning and Error Recovery

implementationChallenge

Prompt Content

Enhance your agent system to handle dynamic changes in the environment. If an unexpected obstacle appears during a task (simulated via an external 'perception event'), the Perception agent should detect it, and the Planner, in conjunction with the Safety Monitor, must generate a new, safe path or action sequence. Implement a basic error recovery mechanism if a tool call fails.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations