AI agent for API testing