OfficeNator
Terminating your Office Tools
The problem OfficeNator solves
The Problem OFFICE-NATOR Solves
Meet Ramesh. He runs a small textile business in Surat. Every evening he opens Excel to update his inventory — quantities, prices, supplier names. He knows what he wants to do. He just doesn't always know how to do it in Excel.
He wants to make the header row bold. He goes to Format → Cells → Font → Bold. Or was it the toolbar? He can't remember. It takes 4 clicks and 30 seconds. He does this every single day.
He wants to freeze the top row so it stays visible while he scrolls. He Googles it. Again. For the third time this month.
Ramesh is not alone. He represents hundreds of millions of people across India — shopkeepers, teachers, accountants, government clerks, small business owners — who use Excel daily but never feel fully in control of it.
What OFFICE-NATOR actually changes
For someone like Ramesh, instead of hunting through menus:
"Pehli row freeze karo" → done in 1 second.
"Header ko bold aur 14 size karo" → done in 2 seconds.
"Column ki width autofit karo" → done instantly.
He never has to Google a shortcut again. He never has to switch between Hindi thought and English command. He just speaks, like he would to a colleague sitting next to him.
Real tasks it makes faster
Daily data entry work
Instead of manually formatting each row after entry, just say "is row ko currency format mein dikhao" or "percentage format lagao" — the entire formatting pipeline executes in under 2 seconds.
Report preparation
Making a monthly report look professional used to mean 20 minutes of formatting — borders, bold headers, alignment, font size. Now: "header format karo", "borders sab taraf lagao", "center align karo" — done in under a minute, hands-free.
Data cleanup
"Duplicate rows hatao", "sort A se Z karo", "filter lagao" — common data hygiene tasks that non-power users typically skip because they don't know where the button is. Now they're one sentence away.
Avoiding mistakes
Before OFFICE-NATOR, deleting a row or clearing a range was one accidental click. Now any destructive action requires you to say "haan" out loud to confirm. That single confirmation step prevents the most common Excel disaster — accidentally wiping data.
Working with both hands occupied
Accountants, data entry operators, and warehouse managers often need to look at physical documents while updating Excel. OFFICE-NATOR lets you keep your eyes on the paper and your voice on the task.
Who specifically benefits
| Person | Their problem | How it helps |
|---|---|---|
| Small business owner | Knows Hindi, struggles with Excel menus | Speaks commands naturally, no English needed |
| Data entry clerk | Repetitive formatting 6 hours a day | Voice shortcuts cut formatting time by 80% |
| Government worker | Uses Excel but never learned shortcuts | 129 operations available by voice |
| Teacher preparing marks sheets | Not tech-savvy, avoids complex features | Simple voice → complex operations |
| Finance professional | Fast-paced work, hands busy | Executes shortcuts without touching keyboard |
| Student learning Excel | Doesn't know where features are hidden | Voice discovers and executes features |
The broader point
Excel has been around for 40 years. Its power users are a tiny minority. Most people use 5% of what it can do — not because they don't need the other 95%, but because they never learned it, and the interface doesn't help them find it.
OFFICE-NATOR doesn't just make Excel faster for experts. It makes the full power of Excel accessible to people who never had access to it before — in their own language, in their own words, on their own terms.
That's not a productivity tool. That's a genuinely new kind of access.
Challenges we ran into
Challenges We Ran Into
1. The LLM kept inventing wrong keyboard shortcuts
This was the first wall we hit and it nearly killed the project.
We started by asking the LLM to generate the keyboard steps for each Excel operation directly. It would confidently return things like ["alt", "h", "w"] pressed simultaneously for wrap text — which does absolutely nothing in Excel. Or it would return ["ctrl", "shift", "w"] which doesn't even exist. Every time we tested a new command, something would work for 3 tries and then silently fail on the 4th with a slightly different phrasing.
The fix: We stopped asking the LLM to think about keyboard shortcuts at all. We hand-coded 129 Excel operations as deterministic Python functions — every ribbon sequence, every hotkey, every multi-step dialog navigation — verified against real Excel. The LLM's only job now is to read the sentence and say "that's a wrap_text" or "that's a set_font_size with size=16". The actual steps come from the library, not from the model. The LLM classifies. The code executes.
This one architectural change took us from ~40% reliability to near 100%.
2. Alt+H → W was being pressed simultaneously, not sequentially
Even after building the action library, wrap text still wasn't working. We'd press Alt+H to open the Home ribbon tab, then press W — but nothing happened.
The issue: PyAutoGUI's hotkey() function presses all keys at the same time. Excel's ribbon navigation requires pressing Alt+H, releasing it, then pressing W separately. Pressing Alt+H+W simultaneously is a different shortcut entirely (or nothing at all).
We spent two hours debugging this before we realized it. The visual feedback in Excel was zero — it just silently ignored the input.
The fix: We created a new ribbon action type in the actuator that presses each key one at a time with an 80ms gap between them. hotkey still does simultaneous presses (for Ctrl+B, Ctrl+S etc.), but anything involving ribbon navigation uses the sequential ribbon action. Once we split these two action types, everything started working.
3. The Gemini API key worked, then stopped, then worked again
We spent a full hour thinking our code was broken when actually the Gemini free tier had hit its quota. The API was returning 429 with limit: 0 — meaning the quota was exhausted at the account level, not per-minute.
The confusing part: we created fresh API keys on new Google accounts and they also returned limit: 0 instantly. Turns out new Google accounts need to visit AI Studio and accept terms of service before the free quota is allocated. The key exists but the quota doesn't until you activate it.
We hit this same wall three times with three different keys before figuring out the pattern.
The fix: We switched Groq (Llama 3.3 70B) as the primary provider and kept Gemini as fallback. Groq gives 14,400 free requests per day and responds in under a second. We also built a live provider switcher in the frontend so users can swap between Groq, Gemini, OpenAI, or any custom endpoint without restarting anything. No more single point of failure on one API key.
4. MongoDB Atlas couldn't connect — but only in Node.js
We built a full auth system with MongoDB Atlas — registration, login, JWT cookies, the works. Tested the connection string in PowerShell DNS: resolved fine. Opened MongoDB Compass: connected fine.
But when Next.js tried to connect, it threw querySrv ECONNREFUSED _mongodb._tcp.cluster0.vjz9xp3.mongodb.net every single time.
After an hour of debugging we found the root cause: Node.js on Windows resolves DNS through 127.0.0.1 (the loopback) rather than the system DNS. PowerShell uses Windows DNS which works. Node.js uses a different resolver that was returning connection refused on the SRV record lookup that MongoDB Atlas requires for +srv connection strings.
The fix was one line: dns.setServers(['8.8.8.8', '8.8.4.4']) at the top of the MongoDB client file, before any connection attempt. This forces Node.js to use Google's public DNS instead of the loopback, and the SRV record resolves immediately.
We documented this in SETUP_GUIDE.md because it will catch anyone else who tries to run this on Windows.
5. The backend can't be deployed — at all
We had the frontend looking great, deployed to Vercel, and then realized: the Python backend literally cannot run in any cloud container.
PyAudio needs a microphone. PyAutoGUI needs a desktop to send keyboard events to. edge-tts needs speakers to play audio through. Vercel, Railway, Render — they're all headless Linux containers. No microphone, no display, no desktop. You can't fake these.
This meant our "deploy and demo" plan fell apart 2 hours before submission prep.
The fix: We kept the backend local and used ngrok to expose localhost:8000 as a public HTTPS URL. The Vercel frontend connects to the ngrok URL via WebSocket. The backend runs on the lap
Tracks Applied (1)
Gen AI&ML
HackPrix