~/talk

Generative AI Monitoring with PydanticAI and Logfire

links:none on file
slides:none on file

Demonstrates wiring PydanticAI agents to Logfire for end-to-end observability: agents call tools like get_current_date, HTTP calls via HTTPX are instrumented, and Logfire records spans showing the LLM requesting a tool, the function call, and the returned string. Structured outputs validate with Pydantic types and trigger a single retry on validation errors. Shows using MCP/Playwright for browser tools, running batch evolves (e.g., Nvidia case) and running local LLMs (Llama 3.2) with mixed success.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:27Creating a basic agent
  3. 6:04Monitoring with Logfire
  4. 8:32Enhancing tools with descriptions
  5. 10:19Structured outputs and validation
  6. 13:12Adding web search tools
  7. 17:49Model Context Protocol basics
  8. 20:21Testing agents with Evolves
  9. 23:40Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.