<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: carlosmba12Peru</title>
    <description>The latest articles on DEV Community by carlosmba12Peru (@carlosmba12peru).</description>
    <link>https://dev.to/carlosmba12peru</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4096433%2F2dcddc9c-3093-4e43-ad41-92b302e908c6.png</url>
      <title>DEV Community: carlosmba12Peru</title>
      <link>https://dev.to/carlosmba12peru</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/carlosmba12peru"/>
    <language>en</language>
    <item>
      <title>Building SARA: A Sovereign Multi-Agent AI System on Google Cloud to Eliminate Extortion and Break Judicial Impunity</title>
      <dc:creator>carlosmba12Peru</dc:creator>
      <pubDate>Thu, 27 Aug 2026 00:26:21 +0000</pubDate>
      <link>https://dev.to/carlosmba12peru/building-sara-a-sovereign-multi-agent-ai-system-on-google-cloud-to-eliminate-extortion-and-break-ac8</link>
      <guid>https://dev.to/carlosmba12peru/building-sara-a-sovereign-multi-agent-ai-system-on-google-cloud-to-eliminate-extortion-and-break-ac8</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Declaration of Participation: I created this piece of content for the purposes of entering the "All Things Agentic Hackathon" organized by Google Cloud and Devpost.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Building SARA: A Sovereign Multi-Agent AI System on Google Cloud to Eliminate Extortion and Break Judicial Impunity
&lt;/h1&gt;

&lt;p&gt;Extortion, violent racketeering (&lt;em&gt;"cobro de cupos"&lt;/em&gt;), and predatory lending (&lt;em&gt;"gota a gota"&lt;/em&gt;) represent one of the most critical public safety emergencies across developing nations. In Peru alone, official records document over &lt;strong&gt;200,000 real extortion attacks annually&lt;/strong&gt;, yet &lt;strong&gt;over 85% of victims remain in total silence&lt;/strong&gt; due to mortal terror of identity leaks and lethal retaliation.&lt;/p&gt;

&lt;p&gt;Official judicial reports from the &lt;strong&gt;Peruvian Institute of Economics (IPE), Public Prosecution (MPFN), and Judiciary Flagrancy Courts (2026)&lt;/strong&gt; expose a devastating institutional bottleneck: &lt;strong&gt;only ~240 cases reach sentencing per year&lt;/strong&gt;, leaving a staggering &lt;strong&gt;99.88% systemic impunity rate&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;To dismantle this crisis, I designed and developed &lt;strong&gt;SARA (Sistema Autónomo de Respuesta Anti-Extorsión)&lt;/strong&gt; for the Google Cloud &amp;amp; Devpost &lt;strong&gt;#AllThingsAgenticHackathon&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  🌐 Live Production Demo &amp;amp; Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🏛️ &lt;strong&gt;Official Devpost Submission:&lt;/strong&gt; &lt;a href="https://devpost.com/software/sara-cognitive-extortion-response-agent" rel="noopener noreferrer"&gt;https://devpost.com/software/sara-cognitive-extortion-response-agent&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🚀 &lt;strong&gt;Live Web App on Google Cloud Run:&lt;/strong&gt; &lt;a href="https://sara-produccion-981735936523.us-central1.run.app/" rel="noopener noreferrer"&gt;https://sara-produccion-981735936523.us-central1.run.app/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;💻 &lt;strong&gt;Public GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/carlosmba12Peru/sara-agentic-hackathon" rel="noopener noreferrer"&gt;https://github.com/carlosmba12Peru/sara-agentic-hackathon&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🎥 &lt;strong&gt;Video Pitch &amp;amp; Architecture Demo (YouTube):&lt;/strong&gt; &lt;a href="https://youtu.be/2kZfttRrb3M" rel="noopener noreferrer"&gt;https://youtu.be/2kZfttRrb3M&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🏛️ 1. Parallel Multi-Agent Swarm Architecture
&lt;/h2&gt;

&lt;p&gt;SARA is an enterprise-grade, serverless multi-agent operating system deployed on &lt;strong&gt;Google Cloud Run (&lt;code&gt;us-central1&lt;/code&gt;)&lt;/strong&gt; and powered by the &lt;strong&gt;Google Agent Development Kit (ADK)&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;Instead of a single monolithic LLM prompt, SARA orchestrates a &lt;strong&gt;Hierarchical-Parallel Swarm of 17 specialized agents&lt;/strong&gt; executing 4 cognitive branches simultaneously in under &lt;strong&gt;1.8 seconds&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Branch 0 (Kallpa / Amparo):&lt;/strong&gt; Empathetic containment and code-switching in &lt;strong&gt;5 indigenous languages (Quechua, Shipibo-Konibo, Aimara, Asháninka, Awajún) + Spanish &amp;amp; English&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Branch 1 (Forensics &amp;amp; PIDE Agent):&lt;/strong&gt; Cross-referencing OSIPTEL-RENTESEG (3h IMEI cut under Law 32303), RENIEC, and multimodal OCR ballistic evidence certification.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Branch 2 (Threat Calculator):&lt;/strong&gt; Deterministic mathematical scoring using Thomas Saaty's &lt;strong&gt;Analytic Hierarchy Process (AHP-Saaty)&lt;/strong&gt; to compute the Extortion Risk Index (&lt;strong&gt;IRCE: 70% Certainty / 30% Imminence&lt;/strong&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Branch 3 (Legal Advisor &amp;amp; Packager):&lt;/strong&gt; Subsumption under Articles 200 &amp;amp; 200-A of the Criminal Code and immediate digital transmission to the &lt;strong&gt;Specialized Anti-Extortion Prosecution Office (FECOR - D.Leg. 1735)&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧠 2. Dual-Brain Cognitive Routing &amp;amp; Zero-PII Cryptography
&lt;/h2&gt;

&lt;p&gt;SARA leverages Google Cloud's foundational models via the &lt;strong&gt;Google GenAI Python SDK (&lt;code&gt;google-genai&lt;/code&gt;)&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Gemini 2.5 Flash / Gemini 3.7 Flash:&lt;/strong&gt; For real-time acoustic triage (&amp;lt;300ms latency), anti-spam filtering (D.S. 020-2020-MTC), and low-latency voice containment (&amp;lt;600ms).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemini 3.7 Pro Reasoning (&lt;code&gt;thinking_budget=2048&lt;/code&gt;):&lt;/strong&gt; For deep criminal intelligence deduction, multimodal handwritten note OCR, and statutory compliance with zero hallucinations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sovereign Zero-PII Cryptographic Vault:&lt;/strong&gt; Citizen identity is isolated at ingestion using &lt;strong&gt;HMAC-SHA256 with CSPRNG salt&lt;/strong&gt; and &lt;strong&gt;Cloud KMS (HSM FIPS 140-3)&lt;/strong&gt;, issuing an anonymous &lt;strong&gt;Unique Protection Code (CUP)&lt;/strong&gt; so LLMs never handle real personal data.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  👮 3. Human-in-the-Loop Sovereign Governance (Law No. 31814)
&lt;/h2&gt;

&lt;p&gt;In compliance with &lt;strong&gt;Peruvian AI Law No. 31814&lt;/strong&gt; and &lt;strong&gt;ISO/IEC 42001&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI assists, but a verified human police commander retains absolute decision-making power.&lt;/li&gt;
&lt;li&gt;The officer reviews the dossier, validates tactical measures (&lt;strong&gt;24h preventive bank freeze under D.Leg. 1735 / UIF and &amp;lt;3h IMEI cutoff&lt;/strong&gt;), and signs with their &lt;strong&gt;Official Police Digital Token (CIP)&lt;/strong&gt; into &lt;strong&gt;SIDPOL&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Result:&lt;/strong&gt; Response time collapses from &lt;strong&gt;48 hours of manual paperwork to 1.8 seconds of judicial-grade forensic action&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  ⚠️ Institutional Independence &amp;amp; Legal Disclaimer
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;SARA is an independent research, software prototype, and demonstrative project developed by Carlos Eduardo Baños Diaz exclusively for the Google Cloud &amp;amp; Devpost #AllThingsAgenticHackathon.&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
It is &lt;strong&gt;not&lt;/strong&gt; an official platform of the &lt;strong&gt;Peruvian National Police (PNP)&lt;/strong&gt;, the &lt;strong&gt;Ministry of the Interior (MININTER)&lt;/strong&gt;, or the &lt;strong&gt;Public Prosecutor's Office (Ministerio Público)&lt;/strong&gt;.&lt;br&gt;&lt;br&gt;
All references to Peruvian public institutions, statutory frameworks (Legislative Decrees No. 1735, 1731, Law No. 32303, R.M. 152-2026-PCM), and open datasets (SIDPOL, IPE reports) are used strictly as a realistic domain engineering model.  &lt;/p&gt;

&lt;p&gt;🔒 &lt;strong&gt;Synthetic Data Disclosure (Law No. 29733):&lt;/strong&gt; All citizen names, national IDs, and financial records used in demonstration cases are &lt;strong&gt;100% synthetic and procedurally generated&lt;/strong&gt; for AI benchmarking.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>googlecloud</category>
      <category>ai</category>
      <category>security</category>
      <category>python</category>
    </item>
  </channel>
</rss>
