Partner Success with AWS / Financial Services / Brazil

October 2024
Base39
MongoDB
Anthropic

Transforming Financial Services in Latin America: Base39 Leaps to Efficiency with Amazon Bedrock

Explore how Base39 revolutionized loan processing in Latin America, achieving 96% cost reduction and faster decision-making with AWS and generative AI.

96%

reduction in loan analysis costs

Decision

time decreased from days to under an hour

84%

decrease in infrastructure expenses

75%

drop in development costs

Weekly

releases of new financial models

Overview

Base39, a financial technology provider, has revolutionized its operations by adopting a serverless architecture on Amazon Web Services (AWS). Initially struggling with costly and complex manual searches, Base39 collaborated with AWS Partner MongoDB and AWS Partner Anthropic to leverage their respective solutions—Atlas Vector Search and Claude respectively. This transition cut loan analysis costs by 96% and decision time from three days to under an hour. The serverless model also reduced infrastructure costs by 84%, development costs by 75%, and maintenance by up to 100%. Supported by AWS and the MongoDB for Startups program, Base39 has significantly improved efficiency, customer satisfaction, and innovation, releasing new models weekly and enhancing financial solutions in Latin America.

financial background

Opportunity | A Time-Consuming Process Full of Missed Opportunities

Initially, Base39’s clients had to perform loan analyses manually, limiting them to a maximum of 50 analyses per day per person. This process led to high personnel costs due to erratic staffing requirements—the volume of proposals varied greatly throughout the month—as well as delays in loan approvals of up to three days. Larger clients who invested in data scientists for traditional machine learning (ML) models still missed numerous loan approval opportunities due to the lengthy process of adjusting traditional ML models for specific rules—often taking months to implement due to extensive code deployment required for each new data source.

kr_quotemark

Generative AI on AWS, with Amazon Bedrock, has transformed Base39 by significantly cutting costs and speeding up our loan processing in just two weeks; imagine what we can achieve in the coming months.”

Bruno Nunes
CEO, Base39

Solution | Base39 Optimizes Performance with Advanced Integration of AWS Partners and Services

After consulting their technical teams about integrating Amazon Bedrock with MongoDB Atlas Vector Search, Base39 promptly decided to migrate, drawn by MongoDB's reputation for supporting innovation and security. The transition to a serverless architecture has proven smooth and flexible, allowing Base39 to utilize a comprehensive suite of AWS tools and services, including Amazon DynamoDB, Amazon Simple Storage Service (Amazon S3), Amazon API Gateway and AWS Step Functions. By relying entirely on AWS Lambda application deployment, Base39 ensures scalable and reliable performance that supports growth without degradation. This has been crucial for the integration of new technologies, allowing the organization to focus on delivering value while AWS supports the underlying infrastructure’s capacity.

Base 39’s broad catalog of APIs, empowered by Amazon API Gateway, enables seamless integration with existing applications or the use of a white-label interface, ensuring tailored solutions that offer high levels of customization and ease of use. Base39 uses Amazon API Gateway to connect directly to AWS services such as Amazon DynamoDB and Amazon Simple Queuing Service. By leveraging Amazon API Gateway’s integration with these services, Base39 eliminated additional compute layers, improving performance and cost efficiency while reducing latency. This direct connectivity enables faster data retrieval and processing while optimizing scalability and performance of the overall architecture.

For data management, Base39 employs Amazon DynamoDB for long-term caching, MongoDB Atlas as the primary database, and MongoDB Atlas Vector Search as the vector database. Secure backup, archiving, and the storage of important documents required for compliance with the Central Bank of Brazil are managed through Amazon S3. This configuration ensures both regulatory compliance and seamless integration with Amazon Bedrock, efficiently handling large data volumes and facilitating rapid access for AI-driven analyses. For credit analysis, Base39 quickly adopted Anthropic’s Claude 3.5 Sonnet and Claude 3 Haiku in Amazon Bedrock with support from LangGraph. This strategic combination enables Base39 to manage the complexity of loan analysis in a modular and adaptable manner, enhancing its ability to deliver precise and personalized credit solutions.

Providing ongoing guidance in the use of optimal tools and practices, the AWS Startups team was essential to their transition to Amazon Bedrock. The AWS commitment to innovation and provision of cutting-edge tools—like the workflow orchestration provided by AWS Step Functions—has enabled the Base39 team to better orchestrate AWS Lambda functions, creating more flexible processes and saving valuable development time. This optimization of their event-driven architecture has streamlined workflows and enhanced scalability, keeping Base39 at the forefront of the financial sector. Additionally, ongoing collaboration with MongoDB’s professional services team has been crucial in optimizing their architecture for the increasing volume of AI-driven requests, ensuring rapid response times

Outcome | Accelerated Efficiency, Streamlined Workflows, and Lowered Costs

The joint integration of Amazon Bedrock with MongoDB Atlas Vector Search played a pivotal role in enabling Base39’s rapid transition from zero to production in just two weeks, significantly reducing analysis costs and improving credit limits and approval rates through more contextualized analysis. In fact, Base39 required only one hour to seamlessly configure and test Amazon Bedrock with MongoDB Atlas Vector Search. This transformation has made Base39’s solutions more responsive, innovative, and customer centric. Streamlined workflows have allowed employees to deliver greater value and improve the overall customer experience with more personalized and efficient financial solutions. The company drives continuous optimization by quickly testing and implementing new models, with releases occurring almost weekly. They test at least three versions of models simultaneously each week to refine performance and optimize results, also exploring combinations with different Anthropic models.

With the implementation of Amazon Bedrock, Base39 has achieved a 96% reduction in cost per loan analysis. Previously, loan proposals could remain in the queue for up to three days; now, decisions are made in under an hour. Largely due to the rapid adaptability and scalability of Amazon Bedrock, the time required to implement new rules has been dramatically reduced from months to less than a week. Base39 also experienced significant reductions in infrastructure and development costs. Migration to a serverless architecture with AWS led to an 84% reduction in infrastructure costs and a 75% decrease in development costs for new features. Maintenance costs were reduced by 87-100%, allowing developers to focus on creating new features rather than maintaining legacy systems.

Reducing costs in their credit analysis process, Base39 effectively integrated two Anthropic models in their workflow: Claude 3.5 Sonnet for complex loan analyses and Claude 3 Haiku for quick responses to simpler questions at a significantly lower cost. Claude 3.5 Sonnet excels in complex reasoning and Retrieval-Augmented Generation (RAG), delivering responses 54% faster while maintaining costs similar to the original Claude 3 Sonnet model. Its ability to process large financial datasets and interpret nuanced regulatory and risk conditions is vital for accurate credit assessments, leading to informed lending decisions and reduced default rates. The flexibility of Anthropic’s model family is central to Base39’s strategy, enabling them to choose the most suitable model for each task in the credit analysis pipeline. By utilizing Claude 3.5 Sonnet for complex risk assessments and Claude 3 Haiku for simpler queries, Base39 optimizes resource use, lowers operational costs, and upholds high analytical standards.

About Base39

Base39, based in Brazil, offers technology solutions for financial services institutions (FSI), including a loan management platform, and loan analysis, all through generative AI and a fully a serverless architecture using AWS Lambda and Node.js. Their unique capability to integrate with Brazilian payroll systems—often lacking APIs—streamlines payroll processing and enhances financial services. Their API catalog and white-label interface allow for high customization and ease of use. Supported by Kinea Ventures, a branch of Banco Itaú, Base39 uses multiple AWS services and MongoDB Atlas for scalable, data-driven insights, improving loan approval accuracy and reducing costs. Their robust platform enhances loan management with streamlined processes and hyper-personalized client experiences.

About AWS Partner MongoDB

Headquartered in New York, MongoDB’s mission is to empower innovators to create, transform, and disrupt industries by unleashing the power of software and data. Built by developers, for developers, MongoDB’s developer data platform is a database with an integrated set of related services that allow development teams to address the growing requirements for today’s wide variety of modern applications, all in a unified and consistent user experience. MongoDB has tens of thousands of customers in over 100 countries. The MongoDB database platform has been downloaded hundreds of millions of times since 2007, and there have been millions of builders trained through MongoDB University courses.

About AWS Partner Anthropic

Anthropic is an AI lab whose research and products put safety at the frontier. Anthropic is dedicated to ensuring the world safely makes the transition through transformative AI. Their multidisciplinary team creates reliable, interpretable, and steerable AI systems. Anthropic’s flagship product is Claude, a large language model that offers the best combination of speed and performance.

AWS Services Used

Amazon S3

Amazon Simple Storage Service (Amazon S3) is an object storage service offering industry-leading scalability, data availability, security, and performance.

Learn more »

Amazon Bedrock

Amazon Bedrock is a fully managed service that provides a single API to access and utilize various high-performing foundation models (FMs) from leading AI companies. It offers a broad set of capabilities to build generative AI applications with security, privacy, and responsible AI practices.

Learn more »

Amazon DynamoDB

Amazon DynamoDB is a serverless, NoSQL database service that allows you to develop modern applications at any scale.

Learn more »

Amazon API Gateway

Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale.

Learn more »

More Financial Services Success Stories

no items found 

1

Get Started

Organizations of all sizes across all industries are transforming their businesses and delivering on their missions every day using AWS. Contact our experts and start your own AWS journey today.