When Piramal Finance set out to give its workforce an AI assistant, the company did what many engineering-led enterprises do: it assembled best-of-breed components. A graph database handled permissions, a vector extension handled embeddings, and a relational database handled everything else. The architecture worked on paper, but it didn’t scale to the complex AI workloads the company wanted to run. The fix was to consolidate rather than add more tools.
A lender that builds its own stack
Piramal Finance is a retail-led, upper-layer NBFC with a pan-India presence. Its products span affordable housing loans, loan against property, microfinance, personal loans and insurance, alongside a wholesale lending business focused on real estate and select non-real estate sectors. As of June 30, 2026, it manages more than ₹1,00,000 crore in assets, operates 780 branches and serves over 6 million customers across 26 states.
The company describes its approach as phygital, pairing high-touch customer engagement with machine learning models, agentic AI tools and real-time dashboards. Its strategy is summed up as “high-tech, high-touch.” Unlike institutions that lean on off-the-shelf software, Piramal Finance built its entire tech stack in-house.
MongoDB has been part of that stack from the early days. Today, MongoDB Atlas, with its document model and built-in Search and Vector Search capabilities, powers more than 80% of the company’s services. That includes the loan management system, which was migrated from PostgreSQL.
The ambition: one assistant for 18,000 employees
In 2024, Piramal Finance decided to invest in agentic AI to raise productivity and job satisfaction among its more than 18,000 employees. The target users were not just engineers but also operations, HR and customer service staff. The goal was a one-stop assistant that could answer policy questions, track performance metrics, help resolve customer issues and interact with internal systems. It was meant to be usable by non-technical staff without complex prompts or training.
The first architecture combined three specialized technologies. Neo4j managed a dynamic permissions model, since access depended on a user’s place in the organizational hierarchy and on relationships that changed in real time, so it had to be evaluated at runtime instead of precomputed. The pgVector extension handled vector workloads, and PostgreSQL handled operational data and analytical queries.
Where the fragmentation hurt
As the assistant’s enterprise knowledge base grew, so did the complexity. Each database was well suited to its own workload, but keeping them aligned required ETL pipelines that synchronized data across systems. The result was update latencies of more than 30 minutes before newly ingested content became searchable. For an assistant meant to give employees instant answers, that lag was a real constraint.
The first step away from the original design was authentication. Piramal Finance moved off PostgreSQL’s credential management and mapped MongoDB Atlas access control directly to its enterprise single sign-on and Active Directory, so employees could log in with standard corporate credentials. Atlas’s role-based access control then restricted sensitive data automatically according to job role.
Rethinking the graph database
The more consequential decision came during an architecture review. The team found that most of its graph queries were bounded traversals: reconstructing document hierarchies, identifying parent-child relationships and retrieving connected metadata. None of this required a dedicated graph database.
The team redesigned the data model so those relationships live inside MongoDB itself. The $graphLookup aggregation stage became central, enabling recursive traversal of document relationships directly within collections. Combined with $lookup, $facet, $unwind and $project, it let engineers replace Neo4j traversals with aggregation pipelines and express complex relationship queries entirely within MongoDB.
Atlas also let the team consolidate structured metadata, document storage, relationship traversal and search on one platform. MongoDB Search handles keyword retrieval, while the aggregation framework combines metadata filtering, graph traversal and ranking into unified retrieval pipelines. The company says this reduced application-side joins and simplified backend services.
The agentic layer
More than 25 MongoDB MCP servers are now live within the assistant. Paired with MongoDB Vector Search, they support a pipeline for unstructured content such as 500-page policy PDFs. Documents pass through Piramal Finance’s in-house pipeline, called .score, then are chunked, embedded with in-house embedding models and stored directly in Atlas. The company reports that Vector Search delivers retrieval three times faster than its former Postgres setup.
Results
Adoption has been strong. More than 80% of the company’s 18,000 employees use the assistant weekly, and the platform handles an average of 15,000 queries a day.
The benefits show up differently by function. HR teams report fewer routine support tickets about benefits, travel policies and payroll, because new hires and staff get instant answers from the assistant. Support agents who once combed through lengthy policy manuals during live calls can now feed real-time customer data and policy documents into the assistant, which has cut handle times and improved first-contact resolution and customer satisfaction. Sales representatives using the assistant showed a 2x performance improvement over non-users during contest periods.
For the technology team, knowledge graph and document updates that took up to 30 minutes in the legacy setup now complete in 15 seconds, which eliminates operational downtime. Developers also get to spend more time on new features instead of maintaining integrations between systems.
Piramal Finance’s experience shows how an initially simple assistant can grow into an agentic system that orchestrates workflows across an organization, and how architectural sprawl can quietly cap that growth. The company’s key move was to question whether each specialized tool was earning its operational cost. In this case, bounded graph traversals, vector search, keyword search and access control could all be handled on one platform, which now serves as the single source of truth for the assistant.
Looking ahead, Piramal Finance plans to extend the assistant into a personalized, proactive coach for every employee in the company.