🛡️ Complee

AI-Powered Cross-Border Fintech Compliance Auditor

Complee is an advanced, multi-agent orchestration platform built with LangChain, ChromaDB, and Streamlit. By implementing a dual-agent architecture (Researcher & Auditor) powered by semantic vector search, it transforms slow, reactive legal reviews into an instant, automated fortress for your corporate policies.


🚨 The Problem: Scaling Speed vs. Regulatory Risk

Today, fintech startups and global enterprises expand across borders at breakneck speed. Behind the scenes, these companies must navigate a massive, ever-shifting labyrinth of global regulations—from the SEC in the US, to GDPR and MiFID II in Europe, to DORA requirements.

In the race to launch products faster, companies are aggressively prioritizing speed over thorough compliance. Legal teams are forced to manually review hundreds of pages of corporate policies per jurisdiction, taking weeks of expensive lawyer hours. This "speed trap" has consequences: $2.7 billion in compliance fines were issued last year alone. A single missed clause, outdated advisory policy, or regulatory blind spot can result in millions in penalties.

To mitigate this, compliance-conscious companies scale slowly, bottlenecking their own growth just to ensure legal safety.

The Question: What if you could keep the maximum speed of product iteration, but mathematically guarantee your policies couldn't violate global regulations?


💡 The Solution (Inspiration)

This exact dilemma inspired Complee.

Imagine you write a new data retention policy for your application. Before you publish it, how do you know if it violates an obscure SEC ruling or a newly updated GDPR mandate? What do you do?

Complee acts as an autonomous guardrail system designed to provide a "hardened shell" around your corporate governance. It ensures that your policies are instantly and automatically scanned against a live database of global regulations, catching violations and rewriting them securely before they ever become a liability—allowing your startup to build and scale at maximum speed, without the anxiety.


🚀 What It Does

Complee utilizes a sophisticated LangChain multi-agent workflow to enforce multiple layers of compliance defense:

  • 🔍 The Researcher Agent: Automatically ingests and indexes complex global regulations, laws, and directives into a high-dimensional vector knowledge base.
  • ⚖️ The Auditor Agent: Takes user-uploaded corporate policies and scans them clause-by-clause against the vector database using semantic similarity search to instantly find direct violations.
  • 📝 Compliant Rewrites: When a violation is flagged (e.g., an illegal storage limit), the system automatically generates a legally compliant, drop-in text replacement.
  • 🖥️ Interactive Execution: A sleek, premium Streamlit dashboard for human operators to run audits and view real-time compliance results.

Key Innovation: We implement semantic policy matching. Instead of relying on rigid keyword searches, Complee understands the mathematical "intent" of a law and cross-references it with the intent of your corporate policy, catching nuanced legal violations that traditional software would miss.


🛠️ How We Built It

  • Language: Python 3.10+
  • Interface: streamlit for a highly interactive, responsive frontend.
  • Orchestration Layer: langchain + langchain-openai for managing complex multi-agent workflows and reasoning.
  • Vector Database: chromadb (In-memory persistent client) acting as the high-speed compliance knowledge base.
  • Embeddings: sentence-transformers / HuggingFace embeddings for dense vector generation.

🚧 Challenges We Ran Into

  1. Vectorizing Dense Legal Text: Legal jargon is incredibly dense. Chunking large regulatory documents without losing the contextual meaning of a law required fine-tuning our LangChain text splitters and embedding strategies.
  2. Agent Handoff Reliability: Ensuring the Auditor Agent reliably prioritized the exact context retrieved by the vector database, rather than hallucinating its own legal advice, was a significant prompt-engineering hurdle.
  3. Cross-Platform State Management: Maintaining ChromaDB persistence seamlessly across different operating systems (Windows/Linux) required careful handling of local directory paths within the Streamlit session state.

✨ Accomplishments We're Proud Of

  • Zero-Blind-Spot Architecture: By forcing every policy through a semantic vector search, we built a system that catches violations across multiple jurisdictions simultaneously.
  • Transparent Audit UI: Built a clean dual-panel design where humans can trigger the Researcher to index new laws on the sidebar, while running live audits in the main panel.
  • Actionable Recovery: Complee doesn't just point out what you did wrong; the automated compliant rewrites ensure that mistakes are instantly fixable, providing true peace of mind.

🧠 What We Learned

  • Context is King: LLMs are only as good as the context provided to them. Pairing them with a robust vector database (RAG) is absolutely essential for strict domains like legal compliance.
  • Structural Prompts: Strict system prompts with clear boundaries are significantly stronger and more reliable than generic instructions when building autonomous agents.

🔮 What's Next for Complee

  • CI/CD Integration: Bringing native compliance auditing directly to GitHub Actions, blocking PRs if updated internal docs violate regulations.
  • Audit Logging: Exporting comprehensive, cryptographically signed logs of all compliance scans for enterprise records.
  • Live Web Scraping: Enabling the Researcher Agent to autonomously scrape SEC/EU government websites daily to keep the vector database perfectly synced with new laws.

Built With

  • chromadb
  • huggingface
  • langchain
  • langchain-openai
  • python
  • sentence-transformers
  • streamlit
Share this project:

Updates

Submission history