Launching today
ASTra
The Word engine built for AI agents
1 follower
The Word engine built for AI agents
1 follower
ASTra is a local Word engine for AI agents. Use MCP, the CLI or TypeScript to create and editdocx files with TOON outlines, atomic batches and Git-backed history. Microsoft's Open XML SDK checks saves; sanitization helps remove sensitive data. Preview with Word or LibreOffice. Source-available under BSL 1.1, with free use for people working alone and qualifying nonprofits and organizations. Commercial licences and support are available.





Free Options
Launch Team

AWS Startup AdvisorPersonalized AWS guidance that meets you where you’re already building
Promoted
Astra is built to make creating, editing and automating Word documentation easier for AI agents. It's a local .docx engine that you can use through MCP Server, CLI or directly as a Typescript library.
An agent does not have to work directly with ooxml, it can read the compact toon outline and make targeted edits. At the moment it supports comments tracked changes, tables, images, headers and footers, watermark, native word charts and other word features.
It can also create documents from markdown and export them to markdown, HTML and PDF.
It uses Microsoft's Open XML SDK validator. By default, MCP server checks for existing validation errors when opening document, while testing I found that the validator flags error in some older documents even though they open well in word and I didn't want those errors to block unrelated edits so by default ASTra compares normalized error signatures before saving and allows the save if it detects no increase over the errors already present. ASTra also supports a strict mode that rejects the save if the validator reports any errors, even ones that were already there.
We publish the validator as a separate package @attentionform/ooxml-validator.
Astra also has its own git inspired file tracking system that tracks saved states for each tracked .docx file in a dedicated .astra folder next to the file by default and it supports history inspect, revert, preview changes or revert and also recovery of the original file byte for byte when original recovery is available.
It’s a totally headless engine and doesn’t have its own renderer.
For PDF generation and image previews, we use Word on Windows if it’s installed, with LibreOffice as a fallback. On Linux and macOS, we use LibreOffice.
We had plans for building our own renderer but eventually I ended up dropping that idea and the reason was even if we build our renderer, there was no guarantee that it will look as similar to what files look in these professional renders or tools industry use. The more focus is to make things look good and compatible with these tools, I wasn’t in favour of an HTML-based renderer or one written entirely in JavaScript or TypeScript. I’ve seen files look really good in those previews, then seem to lose formatting when I open them in Word or LibreOffice. So we wanted to build around the real thing.
For now it's architecture allows only one writer or agent per document so multiple agent collaboration is not supported but we are working on that, also a skill for agents is also in the plan.
ASTra is still in a early stage and improving every day.
One important thing we use a Business Source License 1.1, so it's a source available software, not open source. We welcome issues and contributions. There are generous free use terms for people who work alone individuals, personal use, solo developers, qualifying educational research schools and non profit use as well as public bodies carrying out government functionalities and lots of other eligible organizations. We offer commercial licensing and support.
The full terms are on the licensing page. Commercial licence prices and support information are on the pricing page.
I'd really appreciate any feedback from the people who wanna try it and especially who use AI agents to edit or build docs files, people who run the docs pipelines to generate docs or anybody who worked with the agents or tools that allow docs file editing.
Anybody who wanna try it, the quick way is through MCP server. The CLI is also available, and the engine can be directly used directly as typescript library.
Want to try it? Paste this into your AI coding agent:
“Help me connect the ASTra MCP server. Follow the instructions at https://attentionform.com/connect, ask me which document folder ASTra may access, and check that the connection works.”