What if the interface that made developers so productive with AI could finally reach document work?
One problem keeps coming up: Microsoft Word. The docx/OpenXML format is notoriously hard for AI to work with. Programmatically editing the file's internals is brittle and often leads to corrupted documents or broken formatting.
Some have called this the last-mile problem, preventing real "Cursor for lawyers" type experiences from existing, where an AI sees your entire workspace, understands your templates and playbooks, and can draft, revise, and redline autonomously while you watch.
Last week, SuperDoc released an open-source extension that brings full Word editing into VS Code, the exact same environment that made developers so productive with AI.
I built a small proof of concept on top of it that lets AI agents actually control the editor. Not a full solution, just a glimpse of what could be possible:
- Live visual feedback: watch track changes appear as the agent works
- Proper Word semantics: comments, formatting, redlines
- Context beyond the document: the agent sees your entire project
- Multi-document potential: open 10 contracts, update them all at once
- No tool switching: agents and documents in the same interface
- Open-source and extensible (not locked into any vendor)
The proof of concept is two things: a fork of the SuperDoc extension (happy to merge if it turns out useful) and an Agent Skill that teaches the model how to interact with it.
It's not perfect. Probably misses many edge cases. But it's a start. And I'm confident the SuperDoc team will get there with the help of the community.
If you want to try it yourself, I made it part of the Lawvable preset. Setup guide here.
Contact me if anything goes wrong!