Schedule

Rittenhouse·4:30 PM – 5:00 PM

Friday, December 11, 2026

Building Custom Security Agents with Pydantic AI

Matthew Franz

AI for defenders

About this talk

While popular coding agents excel at building security tools for SOC and threat hunting, they trap teams in single-vendor ecosystems where model refusals can disrupt defense workflows. Security engineers need the freedom to swap models—Anthropic, OpenAI, Gemini, or local open source—and correlate across multiple SIEM/EDR tools without vendor lock-in. This talk demonstrates how to build vendor-agnostic blue-team agents using frameworks like Pydantic AI, paired with OpenTelemetry for deep observability, to optimize development, reliability, and runtime performance.

Interactive assistants like Claude Code and Codex excel at human-in-the-loop workflows, but unattended security automation demands something fundamentally different: deterministic tool contracts, strict type validation, and zero vendor lock-in. With frontier capabilities shifting constantly and open-weight models closing the gap, production blue teams cannot afford architectures hardwired to a single proprietary provider. This session demonstrates how to engineer resilient, vendor-agnostic security agents using Pydantic AI and OpenTelemetry. Pydantic AI enforces strict schemas across tool calls and model responses, catching hallucinations and malformed payloads before execution. Its unified model abstraction lets engineers swap between commercial APIs (Claude, GPT, Gemini) and self-hosted models via Ollama or vLLM with simple config changes. Paired with OpenTelemetry tracing (via Logfire or any standard collector), every inference, tool invocation, and security telemetry query becomes fully auditable. In this 30-minute session, we will cover: Interactive vs. Autonomous Agents: Why unattended SOC automation requires schema validation and structured outputs rather than chat wrappers. Live Architecture & Build: Assembling an agent from scratch with typed tool contracts, SIEM/EDR API clients, and structured output models. Model & Deployment Portability: Swapping frontier APIs for self-hosted open-weight models at the config layer, deploying the container locally or to Cloud Run. Cross-Platform Threat Correlation: Orchestrating triage across heterogeneous SIEM, EDR, and cloud platforms instead of relying on vendor-locked features. Observability by Design: Emitting OpenTelemetry spans from day one to diagnose reasoning loops, latency spikes, and tool execution failures. Attendees leave with practical architectural patterns, a clear mental model for autonomous workflows, and an open-source template repository.

The speaker

  • Photo of Matthew Franz
    Matthew Franz

    Security @ Pydantic

    Matt Franz recently joined Pydantic as their first security hire, with responsibility for security operations, platform security, and compliance. With over 25 years of experience in early-stage startups and mature enterprises, Matt blends the strategic perspective of an executive with the hands-on expertise of a builder. His background includes founding the Helix Cloud Operations team at Mandiant/FireEye, serving as VP of Production Engineering at Cofense, and directing global security operations at Ping Identity. A former U.S. Army Intelligence Analyst, Matt currently focuses on large-scale data platforms, security analytics, infrastructure automation, and applying generative AI to offensive and defensive use cases. He builds daily in Python and Golang, with a focus on agentic blue team capabilities.

Where it is

Sponsors & Community HubRestrooms⇅ Escalator⇵ ElevatorRittenhouseRittenhouseMain DJ StageSponsorsSponsorsTOOOL Lockpicking VillageCheck-in& InfoChill-outspace
2nd floor. Not to scale.