Inspiration

Let’s be honest—legal stuff is scary. Whether you’re a traveler landing in a new country or a student trying to prep for law exams, it’s hard to understand what’s legal and what’s... not. I wanted to create something that takes the fear and complexity out of law and turns it into something you can talk to.

That’s how LAXIA was born—an AI-powered legal assistant that makes legal knowledge as easy as chatting with a friend. No jargon. No courtroom drama. Just clean, clear, and (sometimes) fun legal help, right in your pocket.

What it does

LAXIA is a mobile and web app that acts like a legal assistant. You can chat with it, ask legal questions, and even speak to it. It can explain laws based on your current location, show country-specific constitutions, and offer easy-to-read summaries of legal sections.

It also includes quizzes, flashcards, and mock tests for law students. And to keep things interesting, it pulls real-time discussions from Reddit so you can see how legal topics are being talked about in the real world.

How we built it

I started by designing the interface using Bolt.new and exported it to Expo React Native to build the mobile app. The backend is powered by Supabase, which handles user authentication, databases, and law content storage.

For the AI, I integrated OpenAI to answer questions smartly and ElevenLabs to give voice responses that sound natural. Reddit APIs help fetch trending legal discussions, and location-based features help show laws relevant to wherever the user is.

I deployed the web version on Netlify, and the APK is generated using EAS. I also used Pica and 21st.dev for additional UI and code generation.

Challenges we ran into

I had a few build failures while setting up Expo, especially with Gradle and dependencies. Resolving React Native and Expo SDK mismatches took a lot of patience. Voice features had latency issues at first. And finding up-to-date law data for different countries was not easy.

But I worked through it, tested everything repeatedly, and eventually got it to run smoothly.

Accomplishments that we're proud of

This is a full legal assistant app built from scratch — and I’m proud of that. I managed to combine voice, location, quizzes, AI chat, and live legal discussions all in one user-friendly design.

The UI is clean and fast, the AI is helpful, and everything runs on both mobile and web. That feels pretty great.

What we learned

I became more confident with React Native and Expo. I learned how to manage real-time databases with Supabase. I figured out how to integrate OpenAI and ElevenLabs in a mobile environment. I improved my debugging skills and built a system that can scale with more countries and languages.

What's next for LAXIA

Next, I want to add more countries with their respective laws and support multiple Indian languages. I plan to add lawyer profiles so users can consult real experts. I also want to introduce offline mode for students in areas with weak internet.

Another big idea is to generate FIRs and legal drafts using AI. Eventually, I want to turn LAXIA into a full learning and consulting platform for legal education and rights awareness.

Built With

Share this project:

Updates