Inspiration
Millions of migrant workers struggle to understand labour laws because critical information is buried in English PDFs and government portals. We wanted to build an AI system that makes legal rights accessible in workers’ native languages with trustworthy, source-backed guidance.
What it does
The Migrant Worker Rights Agent answers questions about wages, PF, ESI, maternity rights, contracts, and complaint processes in multiple Indian languages. It also supports semantic search across government documents and can guide workers to the right grievance channels.
How we built it
We used Elastic vector search for retrieval, Cohere multilingual embeddings on AWS Bedrock for semantic understanding, and Mistral/LLM models for grounded responses. Government documents were crawled, categorized, embedded, and indexed into Elasticsearch for multilingual RAG.
Challenges we ran into
Handling multilingual retrieval across English legal documents and regional-language queries was difficult. We also faced challenges with Bedrock model access, vector indexing, and ensuring answers stayed grounded in official sources.
Accomplishments that we're proud of
We built an end-to-end multilingual legal assistant capable of retrieving and explaining worker rights with source-backed responses. The system successfully combines AI retrieval, multilingual support, and real-world social impact.
What we learned
We learned how critical embedding quality is for multilingual RAG systems and how vector databases improve legal document retrieval. We also gained hands-on experience with AWS Bedrock, ElasticSearch, and scalable AI pipelines.
What's next for Migrant Worker Rights Agent
We plan to imporve data catalog, add WhatsApp and voice support, OCR-based salary slip and contract analysis, nearby labour office discovery, and automated complaint filing assistance. Future versions will support more regional languages and real-time government updates.
Built With
- amazon-web-services
- bedrock
- dashboard
- elasticsearch
- python

Log in or sign up for Devpost to join the conversation.