February 8, 2024 - 4 minutes read
Technology
In the financial services sector, Anti-Money Laundering (AML) compliance is non-negotiable. However, for accounting firms, the traditional process of onboarding a new client involves a significant bottleneck. Junior accountants often struggle to cross-reference application forms, identity documents, and historical data to answer complex compliance questionnaires.

AUTHOR

Francisco Velasco
Chief Technology Officer
February 8, 2024 - 4 minutes read
ComplianceWise faced this exact challenge with their Grub platform. Their data showed that the compliance questionnaire alone was responsible for 46% of the total time spent in the application and caused 76% of "dropped baskets" (abandoned sessions). They needed a way to maintain rigorous regulatory standards while drastically speeding up the process for accountants.
At 25Friday, we partnered with ComplianceWise to design and implement Grub AI. This intelligent agent automates the collection of facts from dossiers and documents, providing evidence-backed suggestions. This automation cuts 80% of repetitive work, ultimately reducing the customer onboarding timeline by 50%.
The core challenge in automating AML checks isn't just processing data; it's understanding context. Junior accountants often lack the experience to answer subjective questions like "Why did this client engage our firm?"
To determine if a client is compliant, the system must synthesise information from three distinct sources:
A standard rules-based engine fails here. ComplianceWise needed a system capable of holistic reasoning, a system like a "Document Wizard", that could read files and fill out the questionnaire automatically.
To solve this, 25Friday architected Grub AI, a solution based on the Retrieval-Augmented Generation (RAG) pattern. The system does not replace the accountant’s assessment; instead, it acts as an intelligent assistant that pre-processes every check, synthesising vast amounts of data into proposed answers with review citations.
The architecture relies on intelligent cross-referencing implemented by leveraging Semantic Search and Proximity.
What is Semantic Search & Proximity?
Unlike traditional keyword search (which looks for exact word matches), our solution converts data into mathematical vector lists of numbers representing the meaning of the text. By calculating the "distance" between these vectors (Proximity), the system can identify concepts that are semantically related even if they don't share the same keywords. This allows the AI to "connect the dots" between a current risk flag and a historically similar case, ensuring the advice is consistent with the firm's past decisions.
The core of the solution is a Python-based orchestrator that manages the flow of information between the data sources, the knowledge base, and the Large Language Model (LLM).
Here is how the system processes a compliance profile:
The process begins when the user fills out the Grub Client Dossier. As they input details such as the legal entity structure, operating countries, and key stakeholders, the system packages and tokenises this context. A "Company Context Object" is created and stored in the VectorDB, creating a searchable profile.
Simultaneously, the Document Wizard processes unstructured data. When an accountant uploads files, the system splits them into semantic "chunks". These chunks are embedded and indexed in the knowledge base, linking specific paragraphs of legal text to the company's profile. This feature alone cuts out 80% of the manual effort of reviewing documents.
When a specific compliance question arrives, the Python Orchestrator gathers the three key pillars of evidence:
Once the evidence is gathered, the Orchestrator constructs a comprehensive prompt sent to OpenAI (acting as a subprocessor). The LLM analyses the holistic context, cross-references the document data against the application claims, and generates a proposed answer. Crucially, it provides reasoning and citations, allowing the accountant to verify why the suggestion was made.
The AI-generated suggestion is pushed back to the frontend. The accountant can review the pre-filled questionnaire, edit the suggestions if necessary, and complete the dossier.
Compliance Wise used a modern, decoupled architecture to ensure scalability and separation of concerns:
By implementing this custom AI architecture, ComplianceWise transformed a manual bottleneck into a competitive differentiator.
The system provides consistent answers derived from intelligent cross-referencing, directly addressing the 46% of time accountants previously wasted on the questionnaire. The resulting 50% reduction in onboarding timelines and 80% reduction in repetitive document work have allowed firms to handle more clients without increasing staff.
Efficient Product Development
Autonomous AI
25FridayAI

Technology
October 30, 2024
-
15 min read
Scaling Efficiency in Nearshoring: Our Journey to Fully Automated Processes
As 25Friday expanded from a small startup to a growing company, they encountered operational challenges requiring a shift from manual processes to a fully automated, scalable framework. This journey, documented here, reveals the lessons, tools, and strategies that supported their evolution into an efficient, autonomous organization—serving as a roadmap for others seeking operational agility and seamless workflow integration.

Francisco Velasco
Chief Technology Officer

Technology
September 30, 2024
-
7 min read
Local Sourcing vs. Outsourcing vs. Nearshoring for Dutch Tech Companies
Facing talent shortages and soaring costs, Dutch tech businesses must choose between local sourcing, outsourcing (offshoring), or nearshoring. This article explores and clarifies these options, weighing their pros and cons from cost, collaboration, and cultural compatibility perspectives, detailing how companies can achieve a balance between cost-efficiency, seamless collaboration, and access to skilled professionals, while simultaneously revealing why nearshoring to Portugal is appealing to Dutch tech scene.

Maarten Moen
Managing Director