Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Sandbox Provider Costs (mert-569.workers.dev)
    —discuss
  2. Show HN: Remria – A Cloud Computer OS (remria.com)
    —discuss
  3. Show HN: Semloop – Semantic loop detection for AI agent traces (github.com/vbs2004)
    —discuss
  4. I Turned a DirecTV HR54-700 into a Standalone Jellyfin Box (voidnullvalue.github.io)
    —discuss
  5. Smells Like Agenda (marc.info)
    —discuss
  6. AIs Are Plateauing on Evals (crib.social)
    —discuss
  7. Bodhana Sivanandan, 11, becomes youngest woman grandmaster (bbc.co.uk)
    —discuss
  8. Law professor Orin Kerr on criminal liability for AI hacking (twitter.com/orinkerr)
    —discuss
  9. Show HN: Hinge MCP (github.com/kuberwastaken)
    —discuss
  10. Justice for CSS (wired.com)
    —discuss
  11. Is Jev Faster for Browser Automation? I Measured It (shaharia.com)
    —discuss
  12. Sudan has created the worst humanitarian crisis in the world. How did it begin? [video] (youtube.com)
    —discuss
  13. Google Rewrites Critical C Dependencies to Rust Using AI and Differential Fuzzin (infoq.com)
    —discuss
  14. Show HN: OpenSecurityTraining2 (ost2.fyi)
    —discuss
  15. Musk says space will hold all compute. Google wonders if AI chips can work there (thenewstack.io)
    —discuss
  16. Reducing undefined behavior in the C language (lwn.net)
    —discuss
  17. Joint Statement about Mathathon (terrytao.wordpress.com)
    —discuss
  18. Jensen Huang: All systems around AI must be designed with restrictive rights (youtube.com)
    —discuss
  19. OpenAI hacked Australian health site, notified authorities 3 months later (bmj.com)
    1comments
  20. Schools are experimenting with AI with little evidence or policy to guide them (npr.org)
    —discuss
  21. ESP-SDR: Raw IQ Capture with Espressif's ESP32 Chips (espargos.net)
    —discuss
  22. Early AMD 'Gorgon Halo' AI mini-PC packs 192GB RAM for an eye-watering $7,099 (tomshardware.com)
    —discuss
  23. A-ha, Take On Me – recreated in JavaScript (dittytoy.net)
    —discuss
  24. Zuckerberg Loses Another $11B Monday as Meta Shares Slide (forbes.com/sites/fionariley)
    —discuss
  25. KeePassXC 2.8.0 (Beta 1) released (keepassxc.org)
    —discuss
  26. Dobium: $0 commission prediction exchange (dobium.com)
    —discuss
  27. Show HN: PHNTM ONE: Self healing AI assistant running on a Raspberry Pi5 (phntmcore.com)
    1comments
  28. Plugging the leaks in your browser (privacymagic.com)
    —discuss
  29. Bringing life back into the Facebook Portal (github.com/dekayrekords-oss)
    —discuss
  30. Monzo in talks with Brazil's Nubank about sale (ft.com)
    —discuss

Launch HN: Vespper (YC F24) – SOTA Docx MCP

10 pointsby 1h agovespper.com
2 comments
Hey HN! We're Dudu and Topaz from Vespper (https://vespper.com). Vespper is an MCP that lets AI agents efficiently edit Word documents, powered by our fine-tuned model. It's currently 3× faster, 2× cheaper and more accurate than the closest alternative. Check out an overview of how the product works here: https://youtu.be/odKxsgPjzzw

We came to work on this problem after spending a year building an AI document editor for pharma companies. Before that, Topaz(myself) was a senior SWE at Snyk, working on distributed systems, and Dudu was a deep learning engineer at Viz.ai, building computer vision models for stroke detection. Our editor helped pharma companies generate regulatory documents (e.g. CSRs) to speed up their submissions. Initially, the output was Markdown, displayed in a WYSIWYG editor. However, users preferred working with their own Word templates. That's when the problems began.

AI agents aren't great at editing Word documents. A Word document is a zip file of verbose XML files following the OOXML spec. Even "small" changes require backflips, for example: adding a numbered list requires creating an entry in numbering.xml with a fresh ID and linking it back in document.xml, bolding a sentence requires splitting it into 3+ run elements. The list goes on.

This makes editing the zip directly (unzip + grep + sed) a bad idea for agents because they burn a lot of time + tokens on these mechanics. In practice, today's tooling falls into roughly three categories. You can let the agent write code against low-level libraries like python-docx or the Open XML SDK, you can give it an MCP with opinionated editing tools (SuperDoc, Office CLI, Adeu, etc), or you can round-trip the file through Markdown/HTML with something like pandoc/mammoth.js. None of them really work. The first two categories still burn the agent's context on Word mechanics instead of the task at hand (MCPs also introduce a new DSL to learn), and the third is very lossy (pandoc/mammoth.js/etc don't preserve enough fidelity).

From firsthand experience, these problems hurt performance in downstream tasks.

When we tried having our agent fill large documents, things broke quickly. The context window was already packed with customer data (files, user context, global rules, etc.), and the agent burned tokens + time on exploring the document and debugging failed edits. Filling a single CSR (clinical study report) took ~50 minutes, and the result was bad (missed fields/sections, broken styling, etc.). Harvey.ai's team reached similar conclusions: https://www.harvey.ai/blog/building-an-agent-for-complex-doc...

That's when we shifted our focus. We designed an MCP that lets agents edit Word docs as if they were editing HTML. The agent receives HTML, makes find-and-replace edits, and we reconcile those edits back into the original .docx file. We picked HTML over Markdown because it's structurally much closer to OOXML and because CSS associates styles with elements roughly the way OOXML does. We had to write our own DOCX→HTML converter, since pandoc and mammoth.js didn't preserve enough fidelity. To be clear, our DOCX → HTML conversion is lossy too. That's fine though, because we never convert the HTML back to DOCX. The HTML is just a projection for the agent, so it only needs enough fidelity for the agent to understand the structure and styling of what it's editing. The original file stays the source of truth, and we mutate it in place.

This also means the agent doesn't need to learn a new DSL. Editing a Word document feels just like editing an HTML file on the file system, something agents are already great at. A lot of DOCX MCPs hand agents dozens or even hundreds of tools to figure out on the fly. Our MCP exposes just three tools (read, search, edit). The Word document is completely abstracted.

After an agent sends us an edit request (an "old_html" and "new_html" pair), we reconcile it to the original .docx file. The reconciliation is powered by our fine-tuned model, a 3-8B base with a LoRA adapter. It takes the HTML diff as input along with the original localized OOXML block and emits the new OOXML. The "localization" is done deterministically: we take the anchors the agent specifies and we try to find their XML twins, so the reconciler model has a single responsibility. On this narrow task a small model reaches the level of a frontier, well prompt-tuned model, while being small and fast enough to sit in the hot path.

This project turned into months of work, but we're happy to release our v1. Our internal benchmark shows it's more accurate than the DOCX skill and raw python-docx while being ~2x cheaper and ~3x faster, mostly because it takes 3 tool calls (p50) per task whereas the DOCX skill takes 10 and Office CLI takes 13.

Things aren't perfect yet. For example, we don't support manipulating images or comments at the moment. That said, we're already seeing people use our MCP in various ways:

- Legal tech companies powering their live-editing flow in Office.js.

- AI startup optimizing people’s resumes and applying on their behalf.

- Govtech who need to draft policy memos.

- A life sciences startup using long-running agents to complete regulatory forms.

A note on privacy: our MCP runs in the cloud, so users send us their .docx files. We don't train on user data, and teams can opt for ZDR or self-hosting.

There's a free tier with 500 edits a month, and we’d love you all to try. We want to bump that later, but we're a small team and running a fine-tuned model isn't cheap :(

We'd love to hear your ideas and comments about docx editing in general! We'll be in the comments for the next few hours to respond