AWS Lambda durable functions integrates with Pydantic AI
Share
Services
Today, AWS Lambda durable functions announces an integration with [Pydantic AI](https://pydantic.dev/docs/ai/overview/), 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 makes is a durable execution step, so an interrupted run does not repeat calls that already completed. This matters when the work is expensive to repeat, such as a chain of model calls that reviews a set of documents or researches a topic across many sources, where starting over means paying again for tokens to do the same work. It also helps to avoid unwanted side-effects when resuming execution, such as billing a customer twice. Because your agent runs on AWS Lambda, you manage no servers and pay only for the compute it uses. You can use this integration in any Python AWS Lambda durable function. It is available in all AWS Regions where AWS Lambda durable functions is available. To get started, install Pydantic AI and follow its [AWS Lambda durability page](https://pydantic.dev/docs/ai/harness/aws-lambda/). You can also find the integration details in the [durable execution SDK reference](https://docs.aws.amazon.com/durable-execution/sdk-reference/integrations/pydantic-ai/). For more information about AWS Lambda durable functions, see the [developer guide](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html) and the [AWS Lambda product page](https://aws.amazon.com/lambda/).
What else is happening at Amazon Web Services?
Read update
Services
Share
Amazon API Gateway now supports 1 MB execution logs with configurable delivery destinations
about 6 hours ago
Services
Share
Amazon OpenSearch Serverless is now available on v0 by Vercel
about 9 hours ago
Services
Share
Amazon Redshift RG instances now available in Europe (Zurich) Region
about 10 hours ago
Services
Share