Defensor
Built at Built with Opus 4.7: a Claude Code hackathon · Apr 21, 2026 · Remote

Defensor is a Spanish-language AI legal advocate for patients in Latin America who have been wrongfully denied healthcare. A patient photographs their denial document with their phone. Defensor's Vision Agent reads it using Opus 4.7's 3.75 MP vision, extracting 15 structured fields (patient name, hospital, reason for denial, specialty requested, dates). The Violation Agent then loads Peru's full patient-rights law (Ley 29414) into the 1M context window and identifies exactly which articles were violated — no chunking, no retrieval, the whole law in one shot. The Channel Agent deterministically routes the complaint to the correct authority (EsSalud Defensoría, SUSALUD, or Defensoría del Pueblo) based on auditable config files. The Drafter Agent writes a formal complaint letter in legal-register Spanish, complete with real article citations and the statutory disclaimer on every output. Finally, a Follow-Up Managed Agent runs autonomously for 25 days — sending confirmations, reminders, and escalations at days 1, 7, 15, 20, and 25 — so patients are never left wondering what happened after they filed. Peru's Ombudsman receives ~4,000 healthcare complaints per year. Most are handwritten, poorly formed, or abandoned. Defensor gives patients with no lawyer budget a free, instant, precise legal advocate in their own language. It also works for Colombia and Mexico via swappable country-module configs. Tech: Next.js 16 + TypeScript (frontend) · Python 3.11 + FastAPI + Claude Agent SDK (6 agents, 21/21 tests passing) · Deployed: Vercel + Railway.