LLM
Doc Generation
VC
Term Sheets
NDA
Legal Templates
IP
Dispute Simulation

A GenAI simulator that generates legal documents, term sheets, and IP disputes in the style of the Silicon Valley TV show's Pied Piper storyline. Uses LLMs to draft fictional but structurally accurate VC term sheets, NDAs, and court filings for educational purposes.
What if LLMs could simulate an entire startup legal drama? This tests the boundaries of structured legal document generation.
Tech Stack
PythonLangChainOpenAIStreamlitJinja2Pydantic
Features
Term Sheet Generator
Structured VC term sheets with configurable valuation, liquidation prefs, and pro-rata rights.
NDA Simulator
Mutual and one-way NDAs with jurisdiction-aware clause selection.
IP Dispute Engine
Simulates IP dispute scenarios with competing claims, prior art arguments, and settlement terms.
LLM Grounding
All generated docs grounded with structured schemas — reduces hallucination in legal clause generation.
How It Works
01
Template
Jinja2 legal templates define document structure and required fields
→
02
Generate
LLM fills clauses within schema constraints — structured output enforced
→
03
Validate
Pydantic models validate each generated document against expected structure
→
04
Export
Streamlit UI → download as formatted Markdown or plain text