Back to prompt library
Dynamic Re-planning and Error Recovery
Linked challenge: Agentic Robotics Control
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
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.