
Explore why LLM evaluations and observability are essential for agentic systems, which are powerful yet unpredictable and prone to silent failures, requiring new evaluation approaches.
Explore the course roadmap from introduction to practical evaluations using Galileo AI, covering observability, latency, token metrics, and textual evaluation, with four theory and three practice modules.
Explore why evaluations are critical for LLM development, addressing the fuzzy outputs and non-determinism, and define a multidimensional rubric including completeness, relevance, correctness, tone, and safety.
Explore four eval approaches for LLM outputs: logic-based tests, reference-based comparisons to ground truth, LLM-as-judge metrics, and human feedback, with scalable embeddings and rouge/blue metrics.
Dedicated observability platforms close the gap between operational metrics and semantic quality for llms and agentic ai, enabling custom evals, metadata-rich logs, and ab tests.
Galileo integrates with many agentic and llm frameworks, including the OpenAI SDK wrapper and OpenAI Agents SDK, via a simple one-line change. See the integrations docs for the full list.
Explore how Galileo AI provides observability for LLM agents with logging, dashboards, and alerts, enabling standardized evals, testing prompt changes, and real-time guardrails against harmful outputs.
Create a Galileo account, set up your organization and project names, and enable an LLM integration by adding an API key from OpenAI or Anthropic to test the platform.
Notes:
If the project and log stream do not exist yet, they will be created automatically for you.
In this demo, I am not using the Galileo wrapper for the OpenAI SDK. That is why a span is not automatically created. If you use the wrapper, spans are generated for you by default.
8:40 clarification: There should be more spans than traces, and more traces than sessions.
NOTES:
Workflow and agent spans are also available.
Simulate a llm app with a thousand runs over ten minutes using a Python script and a new log stream, then analyze logs in Galileo for observability patterns.
Explore how to use the Galileo dashboard for LLM observability: filter by time, view traces and spans, and analyze input and output tokens, costs, latency, and API failures.
Explore how Galileo AI enables logging, monitoring, and observability of real agent calls, including tools, handoffs, multi-tool workflows, and log streams like 6-3 agent calls.
Explore the agent graph showing the main assistant and science expert flows, tool calls like get weather and Bitcoin price, with traces, latency analytics, and outlier performance.
Investigate agent latency by inspecting the dashboard, traces, and Galileo logs to identify that the get price of Bitcoin tool drives delays, guiding targeted optimizations.
Galileo centers experiments and metrics as core evaluative constructs, detailing playground and code-based experiment deployment. It explains out-of-the-box and custom metrics, including llm-as-judge approaches and logic-based code metrics.
Create datasets for experiments by using the Galileo SDK or the console, structuring data with input, optional output, and metadata, and optionally importing from CSV or pandas data frames.
Set up a 10-row customer service data set in Galileo console, run experiments in the playground, and evaluate outputs with metrics like correctness and ground truth adherence to improve observability.
NOTES:
To avoid the deprecation warning, replace GalileoScorers with GalileoMetrics.
Explore safety and compliance metrics for LLMs, including prompt injection and detection of personally identifiable information, using Galileo AI to compare safe and unsafe data sets.
Explore local metrics that run on your machine, define score and aggregator functions, and use them in experiments to assess word count, greetings, closings, and structure with Galileo AI.
NOTES:
The boolean score was 33% because 1 out of 3 judges returned true and 2 returned false.
Boolean scores are calculated as the percentage of judges that returned true
Important note: Please click the video for more information. This course is hands-on and practical, designed for developers, AI engineers, founders, and teams building real LLM systems and AI agents. It’s also ideal for anyone interested in LLM observability and AI evaluations and who wants to apply these skills to future agentic apps. You should have some knowledge in AI agents and how they are built.
Note this is the complete guide to AI Observability and Evaluations. We go both into theory and practice, using Galileo AI as the AI Agent / LLM monitoring platform. Learners also get access to all resources and the GitHub code / notebooks used in the course.
Why does LLM Observability and Evaluations Matter?
LLMs are powerful, but they are unpredictable. They hallucinate, they fail silently, they behave differently across prompts and versions. There is a big difference between building an AI agentic / LLM system and actually "productionalizing" it. What if the LLM starts producing offensive content? What if tools embedded within agents fail silently? How do you measure model quality degradation?
Traditional monitoring and building methods don't work. You need to run experiments, build custom evaluations, and set up alerts that assess subjective measures. Dashboards built to track classification accuracy are not designed for open-ended text generation. Log pipelines created for predictable APIs cannot capture reasoning steps, tool usage, or why an agent failed.
As a result, most teams fall back on manual spot checks, gut feel, and endless prompt tweaking. That approach might work in the beginning, but it does not scale.
What we need instead is a systematic way to measure, monitor, evaluate, and continuously improve LLM and agent systems. That is where observability and structured evaluation come in.
What is this course?
This course will make you more confident when you build and deploy AI agents or other LLM-based systems. It will teach you the tools and tricks needed for building robust AI agents with structured personalized evaluations and experiments, and how to monitor your agents in production with observability and logging. We first start with the basics, the theory around what makes AI agents / LLM systems particularly difficult to build and track. Then, we get into the practical where we build our own evaluations and instrument our own apps with Galileo AI.
What is Galileo AI?
Galileo is a platform designed specifically for evaluating and monitoring LLM and agent systems. It's specifically designed for AI agents / LLM-based systems, and includes the following features:
Observability: Log LLM interactions, track spans and metadata, visualize agent flows, monitor safety and compliance signals
Evaluations: Design experiments, create evaluation datasets, define and register metrics, use LLMs-as-judges, version and compare results
In short, it gives you a structured way to understand how your AI systems behave and helps you build them. In this course, we do a masterclass in Galileo AI and how to use it to monitor and evaluate your AI app.
Course Overview:
Introduction - We start by explaining why LLM evaluations and observability matter, covering the risks of deploying generative AI without structured monitoring, setting expectations, and reviewing the course roadmap.
Theory: LLM/Agent Observability - This section introduces traditional monitoring concepts, explains why they fall short for generative systems, and outlines the key components of LLM observability.
Theory: LLM / Agent Evaluations - You’ll explore evaluation theory, understand why evaluations are critical for production AI, learn the main evaluation approaches, and see the common challenges teams face with LLMs.
Theory: Observability and Evaluations for LLMs vs Traditional ML - We contrast generative AI with classical machine learning, highlighting the unique risks, costs, and iteration loops.
Theory: Tools and Approaches for LLM Observability and Evaluations - This section surveys the landscape of observability and evaluation tools available for LLM systems and explains why dedicated platforms are necessary.
Practice: Galileo Platform Deep-Dive Overview and Setup - This section walks you through Galileo’s architecture, integrations, pricing, account creation, repository cloning, and local development setup to prepare you for instrumentation.
Practice: Logging LLM Interactions with Galileo - You’ll learn practical logging with Galileo, including terminology, manual and SDK-based methods, simulating LLM applications, inspecting agent graphs, detecting errors, and setting up alerts and signals.
Practice: Evaluating LLM Performance with Galileo - We shift from observation to evaluation, showing how to design experiments, manage datasets and metadata, implement evaluation code, define metrics, and perform agent-specific and LLM-as-judge assessments.
Conclusion: Earn your certificate