A Chrome extension automating legal, compliance, and tax tasks using Chrome's Built-in AI (Gemini Nano) with privacy-first, offline-capable workflows.
- Chrome Built-in AI Integration: Prompt, Proofreader, Summarizer, Translator, Writer, Rewriter APIs
- Local AI Processing: Gemini Nano for on-device inference with remote fallback
- Multimodal Input: Audio-to-text (Web Speech API), image analysis
- Legal Workflows: Document proofing, compliance automation, RTI/complaint form autofill
- Tax Planning: Context-aware salary structure analysis
- Document Management: Legal research, storage, and search via IndexedDB
- Privacy-First: Local storage, on-device processing, persistent chat memory
Extension:
- VanillaJS (no frameworks)
- Chrome APIs: tabs, storage, runtime, bookmarks, notifications
- Gemini Nano (local) / Gemini (remote fallback)
- IndexedDB for document storage
- Web Speech API for audio-to-text
Dashboard/Landing:
- Next.js
- TailwindCSS
- JavaScript
-
Clone Repository
git clone [repository-url] cd agentic-advocate -
Install Dependencies (for Next.js UI)
cd dashboard # or /landing npm install
-
Load Extension
- Open Chrome →
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" → Select
/extensionfolder
- Open Chrome →
-
Configure Gemini Nano
- Follow Chrome Built-in AI documentation
- Set up API keys if using remote fallback
-
Run Next.js Dashboard (optional)
npm run dev # Development npm run build # Production
- Extension core in
/extensiondirectory - IndexedDB schema: legal docs, chat logs, file indices, user config
- All AI processing runs locally via Gemini Nano
- Function-calling APIs for automation workflows
- Use Chrome extension debugger (
chrome://extensions) - Validate IndexedDB operations and autofill flows
- Test audio-to-text, highlighting, and reference tools
- Unit tests with Jest (optional)
- Package extension with icons, screenshots, privacy policy
- Submit to Chrome Web Store
- Build Next.js UI:
npm run build - Deploy open-source repository
Built for the 2025 Chrome AI Challenge | Privacy-focused | Offline-first