ls ~/legaltech
LegalTech & compliance
- lawLeganoIA
Detects and replaces personal data in Spanish legal documents (court decisions, case files, briefs and document collections): names, national ID numbers, addresses and more than thirty categories, including health data. It combines a deterministic engine with an optional AI layer and follows the CENDOJ depersonalization criteria, within the GDPR and LOPDGDD framework. It offers two coverage levels and is validated on more than 100,000 real documents.
- lawDerogada
Analyzes a legal brief (PDF, Word or text), extracts every regulatory citation (laws, articles, EU regulations...) through a dual channel (deterministic regex plus optional LLM) and checks it against official sources: the BOE open-data API and the CELLAR SPARQL endpoint (EUR-Lex). It reports the status of each reference (in force, amended, repealed, expired, unresolved or not found), with the norm that repeals or amends it and its official link line by line. Useful both for what you write and what you receive from the opposing party. A PyPI package with a CLI, a web demo and no scrapers.
- lawHacienda 303
An open skill for AI agents that turns a folder or ZIP of invoices (PDF, photos, Facturae, XML) into an orderly, local and reviewable VAT classification process: it inventories without touching the originals (type, size, SHA-256), extracts text and runs resumable OCR when needed, separates file, invoice, operation and row, and classifies through a traceable AEAT decision path that requires reaching a terminal case. It only asks what is decisive (country, establishment, exemption, reverse charge) and, after the tax profile is reviewed, exports separately an audit ledger and an XLSX matching the AEAT 2026 record-book structure to reconcile the Modelo 303. An independent, unofficial product; it does not file returns nor replace official validation.
- lawTemis
An API that answers in natural language which regulation applies and cites it article by article from official sources, with full traceability: laws from the 17 autonomous communities and national legislation via the BOE consolidated-legislation API, honest fallback to each community's official search engine when no programmatic source exists, and European Union law from EUR-Lex (CELLAR SPARQL, CELEX identifiers). The AI turns the question into a validated structured query and writes the answer citing only regulations retrieved from official sources: nothing comes from the model's memory. Endpoints for query, cross-community comparison, coverage, consolidated norm with date-based version and health. Python backend with Docker.
- lawlegal-expand
A zero-dependency Python 3.9+ library that detects and expands Spanish legal acronyms (647 verified from RAE, BOE and DPEJ) and resolves cited norms: it links them to BOE (Spain) or EUR-Lex (EU) and fetches the full text of cited articles. Plain text, safe HTML (<abbr>) or JSON output, CLI (expand, audit, glossary, boe, batch) and an in-browser demo via Pyodide.
An automated browser captures cookies, localStorage, sessionStorage, IndexedDB and third-party requests before any user decision, then compares the CMP reject and accept flows to check whether refusal is respected. It detects CMPs (OneTrust, Cookiebot, Didomi...), generates a web and PDF report retrievable without registration, and powers sector-wide observatories.