andreaslang.dev
I'm Andreas, a Lead Data Engineer at Altruistiq. Lately I'm mostly building production AI on AWS Bedrock with pydantic-ai. Posts here are tutorials with runnable code; bring an AWS account and Terraform, leave with something that works.
-
Model portability: swapping Bedrock for the Mistral API
Swap Bedrock for the Mistral API without touching the agent: an SSM model registry built at invoke time, plus EMF metrics so one CloudWatch dashboard covers every provider.
-
Audit trail via OTLP: every agent run as a trace
Stream every pydantic-ai run as an OTel trace into S3 with Object Lock for the audit copy, with Logfire as the live visualizer.
-
Bedrock and pydantic-ai with observability from day one
Stand up Bedrock in Terraform, make your first pydantic-ai call, and front it with a CloudWatch dashboard and daily-threshold alarm.