Demystifying Legal Documents for Everyone
Legal documents are long, complex, and filled with jargonβmaking them hard to read, easy to ignore, and risky to sign. Untangle is an intelligent solution that simplifies legal text into clear, accessible language, highlights hidden risks, and empowers people to make informed decisionsβwithout always needing a lawyer.
- Zero-friction access: Works instantly with overlays, quick toggles, and chatβno tedious uploads or portals.
- WhatsApp integration: Get clarity right where you already spend your time.
- Cross-platform presence: Mobile overlay, Web dashboard, Chrome Extension, and WhatsApp.
- Centralised insights: Keep track of past documents, risks, and summaries instead of one-time outputs.
- Made for everyone: Simple language, friendly UX, confidence for all usersβstudents, small businesses, and everyday citizens.
Untangle is a Turborepo monorepo containing multiple apps and packages:
apps/webβ Next.js web dashboard for users.apps/serverβ Hono + Drizzle backend API (Cloudflare Workers + Turso DB).browser-extensionβ Chrome extension for on-page legal text analysis.
-
adk/untangle_agentβ Core AI coordinator + specialized sub-agents:- Demistifier Agent β Summarises and explains legal documents.
- Risk Evaluator + Extractor β Identifies risky clauses and phrases.
- Conversation Agent β Chat with your stored documents and insights.
packages/uiβ Shared React UI components.packages/eslint-configβ Shared linting rules.packages/typescript-configβ Shared TS configs.
rookie-house-untangle/
βββ adk/ # AI agent pipelines
βββ apps/ # Web, server, extension
βββ packages/ # Shared configs & UI
βββ .github/workflows/ # CI/CD
βββ turbo.json # Turborepo config
βββ pnpm-workspace.yaml # Monorepo workspace
βββ package.json
- Node.js >=18
- pnpm >=9
- Python >=3.13 (for ADK)
- Turso database & Cloudflare Workers account
pnpm install# Start everything
pnpm dev
# Start only web
pnpm turbo dev --filter=web
# Start only server
pnpm turbo dev --filter=serverpnpm buildCreate .env or .dev.vars files in apps/server/ with:
TURSO_DATABASE_URL=
TURSO_AUTH_TOKEN=
JWT_SECRET=
SALT=
FRONTEND_URL=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_REDIRECT_URI=
UNTANGLE_ADK_API=- Frontend (web) β Vercel
- Backend (server) β Cloudflare Workers
- Database β Turso (libSQL)
- AI Agents β Google ADK + Gemini models
- Makes legal documents simple, not scary.
- Highlights risks hidden in fine print.
- Works where you already are (WhatsApp, browser, mobile).
- Provides ongoing insights, not just one-off summaries.
- Frontend: Next.js, Tailwind, Shadcn UI
- Backend: Hono, Drizzle ORM, Cloudflare Workers
- Database: Turso (libSQL)
- Agents: Google ADK, Gemini 2.x models
- Extension: Chrome + Vite + React
We welcome contributions from developers, legal professionals, and designers!
- Fork the repo
- Create a feature branch
- Open a PR π
