Skip to content

Psukhe777/LexRisk

Repository files navigation

🏛️ Lexrisk AI-Powered Contract Intelligence

🚧 Launch 02/23/26

"Nobody reads the Terms of Service. Until now."

RiskLex is an AI-driven legal analysis engine that scans, parses, and translates complex Terms of Service (ToS) and enterprise contracts into plain English. It instantly flags predatory clauses, data-harvesting policies, and hidden liabilities using advanced LLM reasoning.

🚀 Status: Beta is live. Part of the "6 Startups in 60 Days" Challenge.


⚡ Beta is live at https://lexrisk.streamlit.app/

Built for extreme speed and accuracy, RiskLex bypasses traditional week-long product validation cycles. By Day 5, we have achieved:

  1. Synthetic Market Validation: Utilizing AI personas to run 10-minute multi-agent stress tests on the core logic.
  2. Cloud Deployment: Live continuous integration via Streamlit Community Cloud.
  3. Core Engine Locked: Full integration of Llama-3-70B for zero-latency legal parsing.

🛠️ The Tech Stack

RiskLex is built on a modern, high-speed Python architecture optimized for immediate deployment.

  • Frontend & Hosting: Streamlit (v1.35.0) for rapid UI iteration and Community Cloud deployment.
  • The "Brain" (LLM): Groq API powering Llama-3-70B for lightning-fast, highly contextual contract reasoning.
  • Document Processing: pypdf2 and pdfplumber for robust text extraction from complex legal PDFs.
  • NLP & Vectorization: sentence-transformers and scikit-learn for semantic chunking and clause matching.
  • Testing: pytest for integration and unit testing of the API logic.

⚙️ Core Features

  • Predatory Clause Detection: Automatically identifies and scores high-risk language (e.g., auto-renewals, data selling, liability waivers).
  • Risk Heatmap: Generates an overall "Risk Score" out of 100 for any pasted text or uploaded document.
  • Plain English Translation: Strips away the legalese and explains exactly how a flagged clause impacts the user.

MIT License

Copyright (c) 2026 Nehemiah

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Made By Nehemiah// Babylon Technologies LLC

⚠️ Disclaimer: Lexrisk is an AI analysis tool, not a substitute for legal advice. Results are generated by AI and may contain errors. Always consult a qualified attorney before making decisions based on this analysis. By using this tool, you acknowledge that Babylon Technologies provides this service "as is" without warranties. """)

About

The AI Safety Gauge for Legal Contracts. ⚖️ Scans PDFs, detects predatory clauses, and scores risk using Llama-3 & Cosine Similarity.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages