LiTT is an AI workspace for law firms and legal departments in Mexico. It supports document review, drafting, legal research and tabular review, and keeps each firm's documents, matters and keys apart from every other firm's.
LiTT is derived from MikeOSS. See Attribution.
LiTT is in closed beta, by invitation only. The hosted service at https://litt.asteroitt.com is open to invited people and firms. To ask for access, write to [email protected].
Issues are disabled on this repository. Questions go to the address above, and code proposals go through pull requests. See CONTRIBUTING.md.
- Chat about the documents in a matter or project.
- Review documents and apply suggested edits, with a version history for each document.
- Tabular review: ask the same questions of many documents and get one table.
- Reusable assistant and tabular-review workflows, and playbooks for common drafting tasks.
- Organize work into projects, matters and a document library. Private matters are limited to their members.
- Convert documents between Markdown, Word and PDF, and compare two Word documents; each result is a new document.
- Split a PDF that holds several documents into one file per document.
- Read scanned PDFs with an optional OCR key.
- Use LiTT from Microsoft Word with the task-pane add-in.
- Interface in Spanish (es-MX) and English (en-US).
- Bring your own keys (BYOK). Each person or firm uses its own model keys, set up in the app. LiTT does not fall back silently to another key or model. The one platform service is the optional citation support check, which uses the platform's key and which each person can turn off in Settings.
- No third-party telemetry. No error reports or usage data are sent to third parties. Each process logs failures locally.
- Source for every build (AGPL-3.0 §13). Every build embeds its commit, and the Código fuente link in the app points to the exact source it runs.
- Tenancy by firm. Firms, workspaces and matters are separated by the database (row-level security) and by explicit membership for private matters. Audit and AI evidence records are append-only.
This starts LiTT with local Supabase-compatible auth and Postgres, object storage and a local mail catcher. It uses synthetic data only and is not the production setup.
Requirements: Git, Docker with Compose v2, and openssl. Node.js 22.19 or newer
is needed for the npm run stack:* scripts.
-
Clone the repository and copy the environment templates:
git clone https://github.com/IvanJS17/litt.git cd litt cp .env.example .env cp backend/.env.example backend/.env -
In
backend/.env, setDOWNLOAD_SIGNING_SECRETandUSER_API_KEYS_ENCRYPTION_SECRETto two different values, each generated with:openssl rand -hex 32
The backend refuses to start if either one still holds the example placeholder or is shorter than 32 characters.
-
Optional: add an Anthropic, Gemini or OpenAI key to
backend/.env. You can also add keys later in the app's Settings, or use Ollama without any cloud key (see Local models with Ollama). -
Start the stack:
GIT_SHA=$(git rev-parse HEAD) docker compose up --buildGIT_SHAis the full commit SHA the images embed for the Código fuente link (AGPL-3.0 §13). The images refuse to build without it. -
Open http://localhost:3000 and create an account. Confirmation email is captured by Mailpit at http://localhost:8025.
To stop, run npm run stack:down. Do not use docker compose stop: stopped
containers are not removed on their own and keep images and volumes in use. Add
-- --purge to also delete the local data volumes. See
Stop and clean up.
The bundled credentials and infrastructure are for local development only.
- Documentation index — every document, grouped by purpose
- Agent instructions — rules for AI agents and contributors working in this repository
- Project status — production deploy, what is on and off, open items
- Release gates — the gates before a change reaches production
llms.txt— a short map of the repository for AI tools- Local development
- Manual and production deployment
- Troubleshooting
- Safe local testing
- Microsoft Word add-in
- End-to-end testing and CI
- Contributing
- Security policy
- Open-source credits
Each production deployment is published as a
GitHub release tagged
prod-YYYYMMDDx, which points to the commit that is running.
| Path | Purpose |
|---|---|
frontend/ |
Next.js web application |
backend/ |
Express API, document processing and database access |
word-addin/ |
Microsoft Word task-pane add-in |
packages/ |
Code shared by the applications |
backend/schema.sql |
Complete schema for fresh databases |
backend/migrations/ |
Dated migrations for existing databases |
docker-compose.yml |
Local application and infrastructure stack |
docs/ |
Development, deployment, testing and feature guides |
The assistant's system workflows and tabular-review workflows are maintained in
the Open-Legal-Products/mike-workflows
repository. See Mike Workflows in CONTRIBUTING.md.
Report vulnerabilities privately through GitHub's private vulnerability reporting, or by email to [email protected]. Do not open a public issue. See SECURITY.md.
LiTT is a modified version of MikeOSS (open-legal-products/mike,
https://github.com/open-legal-products/mike), an open-source legal AI platform,
licensed under the GNU Affero General Public License v3.0 only (AGPL-3.0-only).
The MikeOSS copyright notices and the license are kept in this repository.
LiTT adds the changes for Mexican legal practice and firm use, and is maintained by Iván Juárez Soria. LiTT is not an official MikeOSS release. Third-party projects used by LiTT are listed in CREDITS.md.
LiTT is licensed under the GNU Affero General Public License v3.0 only (AGPL-3.0-only).
LiTT es un espacio de trabajo con IA para despachos y áreas jurídicas en México. Permite consultar documentos, revisarlos, redactar, investigar y hacer revisiones tabulares, con los documentos, asuntos y llaves de cada despacho separados de los demás.
- Estado: beta cerrada, por invitación, en https://litt.asteroitt.com. Para pedir acceso: [email protected].
- Principios: cada persona o despacho usa sus propias llaves de IA (BYOK), sin respaldo silencioso a otra llave o modelo; sin telemetría a terceros; cada build enlaza al código fuente exacto que ejecuta (AGPL-3.0 §13).
- Local: sigue el inicio rápido con Docker Compose; usa solo datos sintéticos.
- Atribución: LiTT es una versión modificada de MikeOSS
(
open-legal-products/mike), con licencia AGPL-3.0-only. Ver Atribución. - Contribuir: por pull request; los issues están desactivados. Ver CONTRIBUTING.md.

