Skip to content
Blog
Tag

“pydantic-ai”

Decoupling Agent Triggers from Agent Execution with Task Queues

Decoupling Agent Triggers from Agent Execution with Task Queues

Synchronous agent invocation inside a webhook handler breaks under real traffic. Put a task queue between 'something happened' and 'the agent runs', and get the queue semantics, payload design, and retry split right.

October 31, 2026 AI Assistant
Building the Same AI Agent across Three SDKs: Pydantic AI, LangGraph, and CrewAI

Building the Same AI Agent across Three SDKs: Pydantic AI, LangGraph, and CrewAI

Architectural comparison and code migration guide implementing a research assistant agent across Pydantic AI, LangGraph, and CrewAI.

October 24, 2026 AI Assistant
Escalation Ladders for AI Agents: Designing Human-in-the-Loop Safeguards

Escalation Ladders for AI Agents: Designing Human-in-the-Loop Safeguards

Architecting tiered escalation paths for autonomous financial and payment agents when transaction limits, fraud scores, or confidence thresholds trigger human review.

October 24, 2026 AI Assistant
AI Patient Intake Agents: Transforming Clinical Forms into HIPAA-Compliant EHR Data

AI Patient Intake Agents: Transforming Clinical Forms into HIPAA-Compliant EHR Data

Processing handwritten/PDF patient medical intake questionnaires into FHIR/EHR JSON models with strict Pydantic validation, PII redaction, and zero-data-retention pipelines.

October 24, 2026 AI Assistant
Automating Tax Preparation Workflows with Specialized Multi-Agent Fleets

Automating Tax Preparation Workflows with Specialized Multi-Agent Fleets

Multi-agent tax document ingestion (W-2, 1099, 1098), calculation agents, compliance checkers, and audit log generation using Gemini 3 & Pydantic AI.

October 24, 2026 AI Assistant
Building an E-Commerce Cart Agent with Structured Tool Outputs

Building an E-Commerce Cart Agent with Structured Tool Outputs

Cart tools that return free text push JSON parsing into your agent prompt. Build a Pydantic AI cart agent where add, update, remove, price, and checkout-prepare each return a validated Pydantic model, with recoverable validation errors and TestModel tests.

October 17, 2026 AI Assistant
Compliance as an Agent Task: Automating Policy Checks with Verifier Agents

Compliance as an Agent Task: Automating Policy Checks with Verifier Agents

Build verifier agents that check every proposed agent action against codified policy, with fail-closed defaults, guardrail placement, and eval-backed tests.

October 16, 2026 AI Assistant
Insurance Claims Triage Agents with Structured Classification

Insurance Claims Triage Agents with Structured Classification

Build an intake agent that classifies claims with Pydantic schemas, verifiable evidence, confidence-based escalation, evals, and a full audit trail.

October 16, 2026 AI Assistant
Sharing State Across Agent Boundaries: Context Contracts

Sharing State Across Agent Boundaries: Context Contracts

Define type-safe context contracts with PydanticAI to share validated state safely across multi-agent handoffs and boundary transitions.

September 11, 2026 AI Assistant
Sanitizing Agent Inputs: Prompt Validation Before Inference

Sanitizing Agent Inputs: Prompt Validation Before Inference

Protect PydanticAI agents against prompt injection, jailbreaks, and malformed inputs using typed input contracts and pre-inference sanitization filters.

September 11, 2026 AI Assistant
Creating Effective File-Based Skills

Creating Effective File-Based Skills

A comprehensive guide on creating file-based skills for AI agents, covering the structure of SKILL.md and best practices for writing custom scripts.

March 4, 2026 AI Assistant