Public Prosecutor's Office of Rio Grande do Sul - MPRS

Public Prosecutor's Office of Rio Grande do Sul  - MPRS

MPRS GIVES VOICE TO JUSTICE WITH ARTIFICIAL INTELLIGENCE

Scenario 

Amidst the growing digitalization of the Brazilian judiciary, the Public Prosecutor's Office of Rio Grande do Sul found itself at a critical impasse. With over 300,000 new criminal cases registered in 2023 alone, prosecutors were overwhelmed. The volume of cases was increasing exponentially, but the operational structure remained the same—limited, manual, and often vulnerable to errors.

Long judicial hearings, recorded on video, required time-consuming and inaccurate manual transcriptions. Each hour of recording consumed up to six hours of human work, often displacing prosecutors and technicians from their strategic functions to purely operational activities.

The impact of this slowness was not just administrative—it was human. In an emblematic case involving medication fraud, two days of recorded testimonies awaited transcription for years. The trial only took place when the crimes had already expired due to the statute of limitations. Justice, in this case, failed its mission purely due to a lack of technical resources.

This is just one example that shows the challenges faced by the Public Prosecutor's Office of Rio Grande do Sul. Coupled with the lack of technical resources, there were other pain points:

  • Excessive time spent on transcriptions, compromising deadlines and judicial decisions.
  • Risk of manual errors, directly impacting the integrity of processes.
  • Emotional exhaustion and overload of prosecutors, preventing them from acting strategically.
  • Inability to interpret the emotional content of testimonies, which often brought crucial non-verbalized information.
  • Lack of quick access to information for making more qualified decisions, due to difficulty in accessing media content.

The MPRS understood that to fulfill its constitutional mission, it needed to transform how it dealt with testimonies—and this required artificial intelligence.

The Solution and Implementation Process 

The answer came through a public tender. Xertica Brasil presented a robust and innovative proposal, winning 4 out of 5 proposed fronts. The collaboration began with a principle: build the solution together with those on the front lines—the prosecutors, civil servants, and technicians of the MPRS.

The project was not just technical; it was human. The Xertica team immersed themselves in the reality of the Public Prosecutor's Office to understand the real pain points and translate them into practical functionalities.

To do this, they used AI accelerators developed by Xertica itself, integrated with Google Cloud Platform technologies, ensuring scalability, security, and real-time intelligence.

Among Xertica's AI accelerators are:

  • Automatic transcription with diarization, transforming hours of video into text in minutes.
  • Multimodal sentiment and cognitive bias analysis, offering prosecutors a more complete reading of the emotional context of testimonies.
  • Automatic summaries of testimonies.
  • Extraction of defense theses and identification of contradictions.
  • Integrated and automated address search, drastically reducing notification time.
  • Smart tags with relevant legal aspects.
  • Word cloud and identification of people cited as culprits.
  • Specialized conversational agent (legal chatbot).

The Xertica accelerators were applied over the following Google Cloud technologies:

  • Google Speech-to-Text API – accurate audio transcription.
  • Google Cloud Platform (GCP) – secure and scalable infrastructure.
  • Google Maps Platform – address update and location.
  • Google Cloud Functions – workflow automation and orchestration.
  • Google Cloud Storage – secure storage of media and transcriptions.
  • Google Natural Language API – semantic analysis, sentiment, and entities.
  • Google Workspace – operational collaboration between teams.
  • Integration with Active Directory via Google Identity – secure access control.
"The experience of working with Xertica was very rewarding. The teams integrated quickly, communication always flowed very well, and the quality of the technical team is commendable. The team presented creative, adequate, and agile solutions," comments João Claudio Sidou, Deputy Prosecutor General for Strategic Management of the MPRS and responsible for the project.
"Xertica was more than a technically competent supplier; it was a strategic partner that understood the challenge of the Public Prosecutor's Office and was tireless until it was overcome," he says.

The implementation was conducted in stages, with tests, validations, and improvements based on user experience. The adoption curve was surprisingly fast. The tool was integrated into the MPRS intranet, with security via Active Directory and an intuitive visual design.

According to Sidou, the MPRS's concern was always to create a more 'transparent' tool for the user, with a more fluid user experience and without the need for extensive training. "Proficient users learn very quickly, with almost no training," he states.

Results Achieved 

The impacts of the adopted solution were immediate:

  • More than 23,400 videos transcribed between November 2024 and May 2025.
  • More than 11,530 hours of work were saved during the period.
  • Reduction of up to 90% in the transcription time of one hour of video.
  • Greater assertiveness in legal decisions.
  • Significant improvement in team morale and engagement.

Prosecutors report that today, they can arrive at a hearing prepared, with immediate access to summaries and interpretations of testimonies. A legal chatbot, trained based on the MPRS's own data, answers questions in seconds and proved to be a major differential of the project.

Social and Institutional Impact 

The agility in processes resulted in faster judgments, greater transparency, and more effective justice for citizens. Cases no longer remain stalled for years due to a lack of transcription. The MPRS can now act efficiently without sacrificing the depth and sensitivity necessary for Justice.

The Future 

The MPRS's journey with Xertica has not ended. The next phase foresees the integration of the solution with procedural processing systems and expansion to other areas of the Public Prosecutor's Office. The solution is also already attracting the interest of other justice system institutions nationwide.

"The work with Xertica went beyond the delivered product; it left a mark of partnership and led us to review internal processes and methodologies, which improved our work in other areas and projects," concludes the deputy prosecutor.