Live Demo • Demo Video • Devpost
Less than 1% of people in low-income countries have access to legal aid. 760 million adults worldwide cannot read. 123 million people are forcibly displaced with no idea what their rights are. A lawyer in the US costs $300/hour. For most of the world, legal help is simply out of reach.
Declaro lets anyone speak their legal situation in their own language and hear their rights back instantly — for free. No reading required. No lawyer required.
- Speak in any of 65+ languages
- Hear legal guidance spoken back in your language in under 3 seconds
- Get location-specific advice based on where you are in the world
- Generate formal legal documents — landlord letters, benefits appeals, Know Your Rights cards
- Emergency detection for domestic violence, detention, and food crisis — with real hotline numbers
| Layer | Technology |
|---|---|
| Frontend | Next.js 15, TypeScript, Tailwind CSS |
| Speech to Text | OpenAI Whisper |
| Legal Reasoning | Anthropic Claude Sonnet |
| Text to Speech | OpenAI TTS |
| UI Translation | Google Translate API |
| Deployment | Vercel |
| Built with | Cursor |
- User picks their language from 65+ options — the entire UI translates instantly
- They tap the mic and describe their situation in their language
- Whisper transcribes the audio and detects the language
- Claude receives the transcript, language code, location, and conversation history and returns legal guidance
- TTS reads the response back out loud in the user's language
- If a document is needed, Declaro generates it in the official language of the user's country with a translation appended in their spoken language
- Voice first — speak your problem, hear the answer, zero reading required
- 65+ languages — Arabic, Gujarati, Swahili, Tigrinya, Dari, and 60 more
- RTL support — Arabic, Farsi, Urdu, Hebrew, Pashto render right to left
- Location aware — specific legal frameworks for 15+ countries
- Confidence scoring — every response rated high, medium, or low confidence
- Emergency detection — multilingual keyword detection triggers real hotlines instantly
- Document generation — context-aware legal documents in the official language of the user's location
- Auto translation — documents auto-translated into the user's spoken language if different
- Nothing stored — every conversation is stateless, zero data retention
git clone https://github.com/aryansaksena/declaro.git
cd declaro
npm installCreate a .env.local file:
ANTHROPIC_API_KEY=your_key_here
OPENAI_API_KEY=your_key_here
npm run devAryan Saksena, age 15 — Pingry School, Warren NJ
Built in 5 days for the GenAI Dev Hackathon 2026.
Declaro provides legal information, not legal advice. If you are in immediate danger, call emergency services.