Guidance for Intelligent Document Processing Agents on AWS
Overview
How it works
These technical details feature an architecture diagram to illustrate how to effectively use this solution. The architecture diagram shows the key components and their interactions, providing an overview of the architecture's structure and functionality step-by-step.
Deploy with confidence
Ready to deploy? Review the sample code on GitHub for detailed deployment instructions to deploy as-is or customize to fit your needs.
Well-Architected Pillars
The architecture diagram above is an example of a Solution created with Well-Architected best practices in mind. To be fully Well-Architected, you should follow as many Well-Architected best practices as possible.
Operational Excellence
CloudWatch monitors the document processing pipeline and agent interactions and provides detailed insights into the loan application journey, like document processing times and approval rates. DynamoDB tracks application states. AWS Cloud Development Kit (AWS CDK) manages infrastructure deployment with defined testing environments, maintaining consistent infrastructure deployments across environments. Finally, EventBridge reliably orchestrates the workflow between document processing stages, invoking functions and agents as needed. Together, these services provide real-time visibility, enabling you to quickly detect and respond to bottlenecks or agent failures and helping you maintain consistent service quality.
Read the Operational Excellence whitepaperSecurity
Amazon Cognito manages user authentication for loan applicants, while AWS WAF protects the application from web-based attacks. CloudFront provides encrypted content delivery, and AWS Identity and Access Management (IAM) enforces fine-grained, least-privilege access controls for document processing workflows, including services and agents. AWS AppSync implements API authentication so only authorized users can access loan application data from the front-end application and interact with the document processing pipeline. Finally, Amazon S3 bucket policies and server-side encryption secure sensitive loan documents at rest.
Read the Security whitepaperReliability
Performance Efficiency
With global edge locations, CloudFront delivers UI content with low latency. AWS AppSync provides efficient real-time data synchronization that enables instant updates of loan application status. EventBridge orchestrates document processing workflows with minimal overhead, and its combination with Lambda facilitates parallel processing of documents. Amazon Bedrock uses optimized AI models that process multiple documents simultaneously through dedicated agents for applicant and broker workflows. Finally, DynamoDB provides single-digit millisecond access to application data, and its automatic scaling handles varying application loads efficiently.
Read the Performance Efficiency whitepaperCost Optimization
Lambda provides pay-per-use compute for document processing, removing idle server costs. CloudFront caches UI content to reduce repeated data transfer costs. DynamoDB automatic scales to match capacity with demand, so you pay only for actual database operations during loan processing. Amazon Bedrock Agents use action groups to optimize AI model invocations and minimize their costs. Finally, Amazon S3 lifecycle policies manage document storage across processing stages, automatically transitioning older loan documents to lower-cost storage tiers.
Read the Cost Optimization whitepaperSustainability
Lambda provides serverless compute, automatically scaling based on demand and eliminating idle resource use, and efficient Amazon Bedrock AI models further minimize computational overhead. The event-driven architecture of EventBridge means that processing occurs only when needed, avoiding continuous polling. The combination of serverless computing, event-driven processing, and optimized AI operations reduces energy use in compute. Additionally, CloudFront caching reduces data transfer distances and redundant data processing. Finally, DynamoDB automatic scaling and Amazon S3 Intelligent-Tiering minimize storage infrastructure needs, reducing the carbon footprint of maintaining loan documents throughout their lifecycle.
Read the Sustainability whitepaperDisclaimer
Did you find what you were looking for today?
Let us know so we can improve the quality of the content on our pages