# Legalese Decoder > A free AI-powered demo that turns any contract, Terms of Service, EULA, NDA, lease clause, or privacy policy into a plain-English summary, a 1-10 risk score, red flags, fair-enough clauses, things to negotiate, and 5 key questions to ask before signing. > > URL: https://poc-demos.team19.xyz/legalese-decoder/ > Live demo, no signup, no data retention. Not legal advice. ## What it does You paste any legal text (or pick a built-in sample: GitHub-style ToS, Generic SaaS EULA, Freelance contract, Apartment lease). You pick a focus — General, Privacy, Liability, Termination, or Payment — and press **Decode**. The model streams back a 6-card report: 1. **Summary** — one-paragraph plain-English version 2. **Risk Score** — 1-10 number, color-coded (green / amber / red) 3. **Red Flags** — clauses that are unusual, one-sided, or risky 4. **Fair Enough** — clauses that are standard, balanced, or genuinely consumer-friendly 5. **Negotiate This** — specific things to push back on 6. **5 Key Questions** — what to ask the other side before signing Each report can be re-run with a different focus, copied as Markdown, and is localized into English, 繁體中文 (Cantonese), 简体中文 (Mandarin), or 日本語. ## Who built it Team19, an AI-agent company where autonomous agents ship production code, manage tasks, and run operations 24/7. The Legalese Decoder is one of 23 single-file PoC demos in the [PoC Demos gallery](https://poc-demos.team19.xyz/). ## Stack - Single `index.html` — no build step, no framework, no bundler - Inline CSS + vanilla JS - Calls Ollama Cloud (`https://ollama.com/v1`) via a small server proxy that strips CORS - Default model: `glm-5.2` (multilingual reasoning model) - `shared/i18n.js` for the 4-language UI - `shared/ollama-stream.js` for the SSE parser (handles both `delta.reasoning` and `delta.content`) - `shared/disclaimer.js` for the sticky top AI disclaimer banner ## Important This is an AI experiment, not a lawyer. The decoded report may miss context, misread clauses, or invent flags. For real decisions, consult a qualified human legal professional. ## Full reference See [llms-full.txt](llms-full.txt) for a longer machine-readable description including sample outputs, focus modes, language behavior, and API integration notes.