Inspiration ✨
Legal and formal documents — like rental agreements, employment contracts, and terms of service — are often confusing, full of jargon, and hard to understand. Many people sign them without realizing potential risks, missed deadlines, or hidden obligations. I wanted to build ClarityDocs to make these documents simple, actionable, and easy to understand, empowering everyone to approach agreements with confidence. 📄💡
What it does 🚀
ClarityDocs is an AI-powered document assistant that:
- 📝 Provides plain-language summaries of key clauses
- ✅❌ Highlights Do’s and Don’ts for each agreement
- 📊 Generates a risk score showing positive and negative factors
- 📅 Creates an interactive timeline of important dates
- 💬 Offers a scenario-based chatbot for “what-if” questions
- 🔍 Explains legal terms in simple language with real-world examples
- 🤝 Suggests negotiation tips
- 🌐 Supports multiple languages and calendar integration for reminders
How we built it 🛠️
- Frontend: Next.js, React, TypeScript, Tailwind CSS, ShadCN UI
- Backend & Hosting: Firebase Authentication & Hosting
- AI & Cloud Services: Google Gemini API, Google Cloud Document AI, Google Cloud Translation API
- AI Orchestration: Genkit for managing flows across services
Users upload a document, select the type, and the AI generates summaries, risk analysis, timelines, and actionable insights in a fast, interactive interface. ⚡
Challenges we ran into ⚡
- Ensuring AI-generated summaries were accurate and context-aware 🤖
- Extracting text reliably from scanned PDFs and images 📄🖼️
- Handling multi-language translations without losing meaning 🌏
- Designing an interface that could show summaries, risk scores, timelines, and chatbot responses without overwhelming the user 🎨
Accomplishments that we're proud of 🏆
- Successfully built a full-stack AI web app that simplifies complex documents 💻
- Integrated multi-language support for broader accessibility 🌐
- Designed an interactive dashboard combining summaries, risk analysis, timelines, and scenario-based chatbot 📊💬
- Enabled users to negotiate confidently with actionable insights 🤝
What we learned 📚
- How to orchestrate multiple AI services for accurate and meaningful analysis 🤖
- Best practices for OCR, AI summarization, and risk scoring 📝
- Importance of UI/UX design in conveying complex legal information simply 🎨
- Techniques for multi-language support and calendar integration 🌏📅
What's next for ClarityDocs 🔮
- Adding a browser extension to analyze documents directly on websites 🌐
- Mobile app for on-the-go document scanning and analysis 📱
- Enhanced clause comparison and version tracking 🔍
- Continuous improvement of AI accuracy and negotiation suggestions ⚡
Built With
- documentai
- firebase
- gemini
- genkit
- google-cloud
- nextjs
- shadcn
- tailwindcss
- traslationapi
- typescript
Log in or sign up for Devpost to join the conversation.