Curia
An AI legal-intelligence platform for Mexican law firms, with court monitoring and verified legal citations.
- My role
- CEO and architect, software engineer (owner-attested)
- Status
- Pilot
Every AI-generated citation carries one of four states
- Pending
- Verified
- Uncertain
- Incorrect
The Reference Evaluator checks every AI-generated legal citation against federal legislation, jurisprudence, and official publications, and each evaluated reference carries one of four states: pending, verified, uncertain, or incorrect.
One chain of work
Every morning
Court movements arrive with their case file and source.
From notice to deadline
The team checks the calculated deadline against the original ruling and the law.
From deadline to Outlook
With Microsoft 365 connected, the team can create the event with its reference.
From document to question
Only the files the lawyer selects are used as sources.
From answer to brief
A reference shows its state before the team decides to use it.
How it is built
Curia is a multi-tenant edge monorepo: a TanStack Start web application and a Hono API on Cloudflare Workers, a Mastra agent runtime, and Turso/LibSQL with Drizzle ORM behind a per-tenant query layer.
Curia isolates tenants and cases, sanitizes personal data before external AI calls, encrypts per tenant with crypto-shredding, runs a three-state ARCO lifecycle, and keeps an append-only audit trail for five years.
What stays black
Customer adoption, outcomes and product screens
Platform planning and implementation by named members of the team
Customer references, outcomes, product screens and the team roster stay withheld until there is signed evidence and each person agrees to be named.
Who did what
What I owned
Named feature ownership
The delivery plan's ownership tables name Lalo as owner of the Jalisco and federal listas-de-acuerdos scraper, the SJF and DOF integrations, the Better Auth organization structure, the document upload and OCR pipeline, document chat, the Reference Evaluator, and hierarchical RAG; he is also the repository's top committer.
What the team owned
Platform planning and implementation
Withheld: individual team ownership is not verified for publication.
Built with
TanStack Start, Hono on Cloudflare Workers, Mastra, Turso/LibSQL, Drizzle ORM, OpenRouter, Better Auth, R2 and Queues
Receipts
| Source | Kind | Verified |
|---|---|---|
| Curia repository overview | Source not public | 2026-08-13 |
| Canonical pilot-status wording | Source not public | 2026-08-20 |
| Approved public landing copy | Source not public | 2026-08-20 |
| Repository architecture and tech-stack tables | Source not public | 2026-08-20 |
| Delivery-plan feature ownership tables | Source not public | 2026-08-20 |
Withheld: customer adoption, outcomes, and screenshots are not published claims in this corpus.
Can’t trust your agent yet?