by visresearch
An AI agent-powered writing assistance system (Codex style) that enables AI-assisted content creation via WPS and Microsoft Word add-ins. 基于AI智能体的写作辅助系统,通过WPS、Microsoft Word加载项,实现AI辅助的文字创作
# Add to your Claude Code skills
git clone https://github.com/visresearch/WordAgentLast scanned: 6/24/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-06-24T07:39:57.678Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how WordAgent compares with popular alternatives.
WordAgent is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by visresearch. An AI agent-powered writing assistance system (Codex style) that enables AI-assisted content creation via WPS and Microsoft Word add-ins. 基于AI智能体的写作辅助系统,通过WPS、Microsoft Word加载项,实现AI辅助的文字创作. It has 152 GitHub stars.
Yes. WordAgent passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/visresearch/WordAgent" and add it to your Claude Code skills directory (see the Installation section above).
WordAgent is primarily written in Python. It is open-source under visresearch on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh WordAgent against similar tools.
No comments yet. Be the first to share your thoughts!
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.

[!caution] If the WPS add-in freezes on recent Windows versions, switch the window management mode to multi-component mode in Settings. See issue #1 for details.
This project is an AI-assisted writing system based on an agent workflow: WenCe AI. After installing the add-in in office software such as WPS or Microsoft Word, users can interact with the AI agent through natural language to get writing suggestions, content generation, structure optimization, and more.
WenCe AI (Word Agent): strategy-driven writing, smarter expression
Compared with existing AI writing assistants on the market, WenCe AI provides:
| WPS Add-in UI | Backend QT UI |
|---|---|
![]() |
![]() |
For example, in WPS Single Agent mode, a user can enter: "Expand my internship objective into five points." The agent completes the task through the "locate -> read -> understand -> edit" workflow: it first calls search_document to locate the target paragraph and obtain its paragraph ID, then calls read_document to read the paragraph content by ID. After analysis and understanding, it calls delete_document to remove the original paragraph, and finally calls generate_document to generate the expanded result. The frontend add-in renders the before/after content with different colored annotations, making changes easy to review.

For small changes within a single paragraph, WenCe AI also provides the edit_document tool. It edits the target paragraph by ID while preserving its paragraph properties and ID, making it especially useful for modifying table content.

Note: the generated result includes not only text content, but also matching style information such as heading/body style, bold text, font, indentation, and line spacing. The frontend add-in renders the final result according to these styles so that it matches the Word document structure and format.
In addition, this project supports two types of pluggable extensions for custom tools: MCP Server and Skill.


The core of this project is the stable generation of structured documents. WenCe AI separates content and styles: paragraphs stores the only ordered content stream, while styles stores deduplicated style arrays. Content nodes reference styles through IDs such as pS_N, rS_N, cS_N, and tS_N, similar to HTML elements referencing CSS rules.

To better meet user needs and ensure the stability and depth of generated articles, this project uses an Agent loop architecture:

The frontend WPS add-in converts the user's question and the currently selected document paragraphs into a specific JSON format and sends it to the backend.
In the backend Single Agent architecture, the system uses a standard ReAct agent loop. In each loop, the agent reasons based on the user input and current document state, decides whether to call a tool such as a web search tool or finish directly, then continues reasoning after tool calls and chooses another tool such as a writing tool or finishes, until the agent decides to end the loop.
(startParaIndex, endParaIndex) range and converts it into a specific JSON format to return to the agent.cd frontend/wps_word_plugin # WPS Word add-in
cd frontend/microsoft_word_plugin # Or Microsoft Word add-in
pnpm install
pnpm build
cd backend
uv run python main.py
This project also supports LangSmith for tracing and analyzing agent behavior. For configuration, see the instructions in the backend README.

cd backend
uv run pyinstaller ../packaging/pyinstaller/package.spec --clean --noconfirm
The shared app directory is generated in backend/dist/wence_ai.
Linux releases are built with fpm:
bash packaging/linux/build-deb.sh
Windows releases are built with Inno Setup:
.\packaging\windows\build-installer.ps1
macOS releases are built as an .app archive and a .dmg package:
bash packaging/darwin/build-packages.sh
GitHub Actions builds the platform packages and keeps the full archives:
wence_ai-linux-x86_64.debwence_ai-linux-x86_64-full.zipwence_ai-macos-arm64-app.zipwence_ai-macos-arm64.dmgwence_ai-windows-x86_64-installer.exewence_ai-windows-x86_64-full.zipIf you do not want to package it yourself, you can directly download the packaged archive from the release, extract it, and run the executable.
Packaged release files are available in Release.
After downloading, double-click the executable to start the backend service (wence_word_plugin -> Install), open Word, trust the add-in, and start using the service.
This project has tested some LLM APIs and will continue testing and adapting more APIs. Current status: