Error Handling with AI Agents