# Building an AEO scoring pipeline with AWS Lambda durable functions

DevFeed: [Building an AEO scoring pipeline with AWS Lambda durable functions](<https://devfeed.tech/articles/building-an-aeo-scoring-pipeline-with-aws-lambda-durable-functions-91266.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/compute/building-an-aeo-scoring-pipeline-with-aws-lambda-durable-functions/>)

Author: Nick Beall

Published: 2026-10-20T17:45:29Z

Content type: tutorial

Language: en

Sources: [AWS Compute Blog](<https://devfeed.tech/sources/aws-compute-blog.md>)

Topics: [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Amazon Bedrock](<https://devfeed.tech/topics/amazon-bedrock.md>), [function as a service](<https://devfeed.tech/topics/function-as-a-service.md>), [Persistence](<https://devfeed.tech/topics/persistence.md>), [Amazon EventBridge](<https://devfeed.tech/topics/amazon-eventbridge.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [aeo](<https://devfeed.tech/tags/aeo.md>), [agent](<https://devfeed.tech/tags/agent.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [build](<https://devfeed.tech/tags/build.md>), [building](<https://devfeed.tech/tags/building.md>), [can](<https://devfeed.tech/tags/can.md>), [costs](<https://devfeed.tech/tags/costs.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [durable-functions](<https://devfeed.tech/tags/durable-functions.md>), [engine](<https://devfeed.tech/tags/engine.md>), [functions](<https://devfeed.tech/tags/functions.md>), [lambda](<https://devfeed.tech/tags/lambda.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [retries](<https://devfeed.tech/tags/retries.md>), [sam](<https://devfeed.tech/tags/sam.md>), [score](<https://devfeed.tech/tags/score.md>), [solution](<https://devfeed.tech/tags/solution.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [with](<https://devfeed.tech/tags/with.md>)

## AI overview

The article describes a five-step AEO audit pipeline built as an AWS Lambda durable function: fetch a page, score it, analyze the results, publish HTML and JSON reports to Amazon S3, and record metadata in DynamoDB. Its five signals--discoverability, parsability, token efficiency, capability signaling, and access control--use deterministic Python checks for a reproducible 0-100 score; Amazon Bedrock separately generates prose findings and recommendations. Checkpoints let failed runs resume at the failed step, avoiding repeated completed work, and the function suspends between stages without incurring additional costs. An optional callback can pause for human approval. The fetch uses plain HTTP GET, so pages dependent on client-side JavaScript may score lower. Deployment requires AWS Bedrock access, AWS SAM CLI v1.100+, Python 3.12+, and CloudFormation deployment permissions; the excerpt gives `sam build && sam deploy --guided` as the deployment command.

## Source excerpt

Learn how to build a five-step Agent Engine Optimization (AEO) scoring pipeline on AWS Lambda durable functions. Each checkpointed step suspends without incurring costs between stages and retries without re-spending on prior work, so you can score any page against five AEO signals and deploy the solution with an AWS SAM template.