Python and LLM-powered backend that automates the processing of Soljud judicial requests for dLocal, classifying actions and generating Jira issues under a 24-hour legal SLA.
As part of the Pro Internacional (prointernacional.com) and Delfos (delfoslabs.com) teams, I collaborated with dLocal (dlocal.com) on an internal system to handle judicial requests coming from Soljud in Brazil.
In the Brazilian context, legal processes such as account seizures, releases and other money retention operations are communicated through Soljud, a service that essentially acts as an email inbox where courts send messages to financial institutions. If an institution like dLocal has a relationship with the person or account mentioned, it must act within 24 hours and confirm the operation. Given dLocal's scale and the volume of requests, manually managing this legal requirement had become a serious compliance and operational burden.
To address this, we designed a set of Python jobs that automate the end-to-end flow:
The system follows a RAG (Retrieval-Augmented Generation) approach: LLMs interpret the unstructured legal text from Soljud, while internal data sources provide the factual grounding needed to match users and accounts more reliably. Final decisions remain with legal and operations teams, but the pre-processing is fully automated, which significantly reduces:
My contribution focused on implementing the Python jobs, integrating with Soljud via SOAP, orchestrating the LLM-based analysis, and structuring the output data for Jira, helping turn a fragile, manual legal workflow into an automated, traceable process inside dLocal's ecosystem.