AI Cloud Architect

AWS Lambda durable functions integrates with Pydantic AI

AWSAnnouncement by Amazon Web ServicesWhat's New with AWS

Today, AWS Lambda durable functions announces an integration with Pydantic AI , an open source framework for building AI agents in Python. AWS Lambda durable functions saves your Pydantic AI agent's progress as it runs, so after an interruption like a timeout, your agent resumes from the last completed step instead of starting over. Your agent gains fault tolerance without you having to write the checkpoint and retry logic yourself. With this integration, each model and tool call your agent...

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Lambda durable functions now checkpoints Pydantic AI agent runs, so after an interruption the agent resumes from the last completed model or tool call.

Who it is for

Python teams running Pydantic AI agents on AWS Lambda that need to avoid repeating paid model calls after timeouts.

Key points

  • Each model and tool call is a durable execution step.
  • Available in all AWS Regions where Lambda durable functions is available.
  • Install Pydantic AI and follow its AWS Lambda durability page to start.

The same at other vendors

Timeline

Posts about AWS Lambda durable functions, oldest first.

  1. New featureBuild multi-step applications and AI workflows with AWS Lambda durable functions · AWS · Announcement
  2. This postAWS Lambda durable functions integrates with Pydantic AI
  3. New featureAWS Lambda durable functions now exports live telemetry for execution insights · AWS · Announcement
  4. New featureAWS Lambda durable functions now supports pausing and deleting executions · AWS · Announcement
  5. Generally availableAWS Lambda Durable Execution SDK for Rust is now generally available · AWS · Announcement
  6. New featureAWS Lambda durable functions now supports OpenTelemetry tracing · AWS · Announcement

Go deeper