ai/ai_analyzer library