This repository collects practical tools, code snippets, and AI-assisted prompts to support legal engineers, technical lawyers, and developers working at the intersection of law and code.
It helps analyze legal documents, automate contract review, and verify smart contract logic. It blends traditional contract structures with modern legaltech tools β including Python for automation and Solidity for smart contract prototyping.
-
π SAFE Comparator
Compare a modified SAFE to the YCombinator template and detect clause-level differences (e.g. Valuation Cap, Governing Law, Maturity Date). -
π Python scripts for:
- Reading
.docxand.pdfcontracts - Detecting clause changes across versions
- Generating contract summaries
- Reading
-
π» Solidity snippets with legal context (vesting, governance)
-
π§ LLM prompts for contract analysis, clause generation, and red flag detection
- Legal engineers
- Web3 lawyers and compliance professionals
- Startup legal teams and founders
- Developers collaborating with legal teams
- Python (document parsing, diff analysis)
- Solidity (contract templates)
- Markdown + Prompt engineering for LLM-based legal tools
This project is released under the CC BY-NC 4.0 License.
Use freely for non-commercial legal engineering work. For commercial use, please contact the author.