Why AI agents fail in production