Telaah
An automated AI-powered contract auditing and legal compliance platform tailored to Indonesian regulatory frameworks (such as UU PDP No. 27/2022 and KUHPer).
crisis_alert The Challenge
Auditing legal agreements manually is slow, expensive, and prone to oversight. Building a self-service automated alternative tailored to Indonesian law required overcoming major technical hurdles: ensuring strict compliance with UU PDP data privacy rights (scrubbing and encrypting PII before sending it to external AI APIs), processing scanned contracts and DOCX files up to 100MB without memory exhaustion, and protecting the ledger billing system from race conditions during concurrent audit runs.
lightbulb The Solution
We engineered a highly optimized monolith with an asynchronous, dual-stage AI processing pipeline. Stage 1 (Scout) runs on Supabase Edge functions, performing in-memory PII masking and AES-256-GCM encryption. Stage 2 executes deep legal audits using latest compliance engine. To handle files up to 100MB, we developed a chunking system logic, while race conditions on credits were eliminated using atomic transactions with row-level locks.
Tech Stack
Project Gallery
Inspired by this project?
Let's discuss how we can build something similar for you.