Devoxx Poland 2026 · Conference - Short · Data & AI
How to evaluate AI Agent to be robust Intelligence
Building AI Agents is accessible, but ensuring their reliability in production is a major engineering challenge. Unlike deterministic software, Agents are probabilistic. A binary "Pass/Fail" test is often insufficient to capture the nuances of an agent's reasoning process. In this talk, we explore "Evaluation-Driven Development"—a paradigm shift for Python engineers building AI systems. We will focus on measuring the quality of agent trajectories using Python tools and visualizations. The session covers: • From Testing to Evaluation: Why we need to move beyond standard assertions to probabilistic scoring (0.0 to 1.0) for Generative AI.
• Metrics as Code: Implementing specific evaluation metrics in Python:• Faithfulness: Scoring whether the answer is grounded in the retrieved context to detect hallucinations.
• Tool Selection Accuracy: Evaluating if the agent chose the correct tool (e.g., search vs. calculation) for the user's intent.
• Answer Relevancy: Using embedding similarity to measure if the response actually answers the prompt.
• Visualizing the Black Box: A live demo using Streamlit. We will showcase a custom dashboard that runs these evaluations, allowing developers to visualize the "reasoning trace" and identify exactly where the agent failed (Retrieval layer vs. Generation layer).
• The Feedback Loop: How to use these evaluation scores to iteratively improve prompts and context retrieval logic.
Talks like this at Devoxx Poland 2027
16–18 June 2027 · ICE Kraków · tickets from 1,497 PLN net