by visresearch
An AI agent-powered writing assistance system (Copilot 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
}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 (Copilot style) that enables AI-assisted content creation via WPS and Microsoft Word add-ins. 基于AI智能体的写作辅助系统,通过WPS、Microsoft Word加载项,实现AI辅助的文字创作. It has 100 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 Vue. 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!


This project is an AI-assisted writing system based on (multi-)agent workflows: WenCe AI. After installing the add-in in office software such as WPS or Microsoft Word, users can interact with AI agents 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, then calls read_document to read the paragraph content. After analysis and understanding, it calls delete_document to remove the original content, 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.

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.
As another example, in Multi Agent mode, the user can ask the system to write a long novel and create illustrations. Different expert agents work in sequence: the planner agent orchestrates the agent workflow, the research agent searches online novels and calls text-to-image tools, the outline agent describes the novel outline, the writer agent outputs the article, and finally the reviewer agent reviews the paragraphs and provides revision suggestions.


Note: Multi Agent mode is better at generating long-form content while staying on topic and maintaining coherence, but its tool-calling capability is slightly weaker than Single Agent mode.
In addition, this project supports two types of pluggable extensions for custom tools: MCP Server and Skill.


To better meet user needs and ensure the stability and depth of generated articles, this project designs two agent architectures:

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.
The frontend part is the same as the Single Agent architecture. In the backend multi-agent collaboration framework, a planner agent is designed to orchestrate and schedule the workflow of multiple expert agents.
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
GitHub Actions builds the platform packages and keeps the full archives:
wence_ai-linux-x86_64.debwence_ai-linux-x86_64-full.zipwence_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 sta