๐ Inspiration
In Tunisia, navigating legal systems and administrative procedures can be complex, time-consuming, and inaccessible to many citizensโespecially those unfamiliar with legal jargon or lacking resources for legal counsel. We were inspired to bridge this gap by creating a Tunisian Legal AI Platform that empowers all citizens with clear, trustworthy, and instant access to legal and bureaucratic guidance, using AI and modern web technologies.
๐ค What it does
Chosen tracks: ๐๏ธ Legal & Administrative Innovation Build tools that make Tunisiaโs legal and bureaucratic systems more accessible to all.
The Tunisian Legal AI Platform is a comprehensive, multilingual legal assistant designed specifically for Tunisiaโs legal and administrative landscape. It offers:
- ๐ง AI-powered legal Q&A assistant grounded in Tunisian law
- ๐ Document analysis and classification, including summarization and legal context extraction
- ๐๏ธ Step-by-step guidance for administrative processes (e.g., marriage registration, business permits)
- ๐ฃ๏ธ Voice interaction support using Speech-to-Text (STT) and Text-to-Speech (TTS) for inclusive access
- ๐ Multilingual support (Arabic RTL, French, and English)
- ๐ Legal document templates and forms ready for download or customization
- ๐ Real-time legal assistance and administrative process tracking
- ๐ฑ Responsive and mobile-first UI with intuitive, card-based navigation
๐ ๏ธ How we built it
- Frontend: React (Next.js) with TypeScript, Tailwind CSS, and shadcn/ui for modern UI components
- AI Backend: Azure OpenAI (GPT-4o) for context-aware legal conversations and document insights
- Multilingual Handling: Dynamic language switcher with full RTL support for Arabic
- STT/TTS: Integrated using Web Speech API (or prepared for Azure Cognitive Services integration)
- File Upload & Parsing: Client-side document reading with future extension for secure backend processing
- Design System: Deep blue (#1E40AF) for trust, gold (#F59E0B) for highlights, and accessible contrast themes
๐ง Challenges we ran into
- โ๏ธ Translating complex legal language into simplified, accurate AI responses
- ๐ Building a dataset and prompt system that reflects the nuances of Tunisian law
- ๐ Handling multi-language UX while maintaining accessibility and RTL/LTR consistency
- ๐ Ensuring privacy and ethical handling of sensitive user data
- ๐ฑ Creating a mobile-friendly UI without compromising advanced desktop features
๐ Accomplishments that we're proud of
- โ Delivered a production-ready legal assistant tailored for Tunisia
- ๐ฃ๏ธ Implemented multi-language and accessibility-first design from day one
- ๐งพ Enabled AI to analyze real legal documents and return structured summaries
- ๐ฏ Built a trusted and intuitive user experience with modern UI/UX standards
- โก Designed with scalability and modularity in mind for future expansion
๐ What we learned
- ๐น๐ณ Deepened our understanding of Tunisian legal and administrative frameworks
- ๐ง Learned to prompt-engineer AI for high-accuracy responses in specialized legal domains
- ๐ Gained experience building robust multilingual and accessibility-focused applications
- ๐ก๏ธ Understood the importance of privacy, transparency, and ethics in legal AI systems
๐ฎ What's next for Tunisian Legal AI Platform
- ๐๏ธ Partner with legal institutions to verify and expand our AIโs legal grounding
- ๐งพ Add backend legal document processing with OCR and NLP pipelines
- ๐ฒ Launch on Android/iOS with offline capabilities for underserved regions
- ๐๏ธ Full integration of STT/TTS for complete voice-first interaction
- ๐ Implement secure authentication & encrypted document storage
- ๐ข Begin nationwide rollout through civic tech partnerships and university collaborations
- ๐งโโ๏ธ Launch a Pro version for lawyers and legal professionals with advanced features
Built With
- azure-openai
- bolt.new
- react.js
- vite.js

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