DEV Community

LEONARDO DE SOUZA JUNIOR
LEONARDO DE SOUZA JUNIOR

Posted on

I Built an Open Source LGPD Compliance Tool with Local AI

Brazil's data protection law (LGPD) requires companies to map personal data, generate impact reports, and respond to data subject rights — but compliance tools are expensive (R$10k+ for consulting, R$500-2000/month for SaaS).

I built LGPD Sentinel AI, an open source tool that automates LGPD compliance audits using local AI (llama3.1 via Ollama). No cloud dependency, no monthly fees — your data never leaves your server.

Features

  • Personal data mapping: AI-powered identification and classification
  • DPIA generation: Automated Data Protection Impact Assessment reports
  • Data subject rights (Art. 18): Analysis and recommendations for all 8 rights
  • PDF export: Professional audit-ready reports
  • Audit history: Complete record of all compliance checks

Tech Stack

  • Backend: FastAPI + LangChain + Ollama (llama3.1:8b)
  • Frontend: Streamlit
  • Database: SQLite
  • Deploy: Docker Compose
  • License: Apache 2.0

Links

Top comments (0)