WordAgent
An AI agent-powered writing assistance system (Codex style) that enables AI-assisted content creation via WPS and Microsoft Word add-ins. 基于AI智能体的写作辅助
What is WordAgent?
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辅助的文字创作
Overview of WordAgent
What it is
WordAgent is an AI agent-powered writing assistance system (Codex style) that enables AI-assisted content creation via WPS and Microsoft Word add-ins. It is based on an agent workflow and allows users to interact with the AI agent through natural language to get writing suggestions, content generation, and structure optimization. The system supports Windows, Linux, and macOS. The LLM API key is provided by the user, and it currently supports most mainstream LLM providers.
Key features
- Multi-version and cross-platform support: built on WPS and Microsoft Word, supporting Windows, Linux, and macOS.
- Native rich text with document styles and paragraph editing: the agent understands Word document structure, autonomously collects online information, and generates content that fits Word document structure.
- Efficient editing with autonomous tool use: the agent understands the task and document context, then selects suitable tools to complete writing and editing tasks.
- Open and flexible with custom API or local service support: users provide their own LLM API key and can choose different providers and models.
- Pluggable extensions: supports MCP Server (third-party API/service integration) and Skill (capability packaging and reuse).
- Context compression and short-term/long-term memory.
- Complex style editing for tables, illustrations, and equations (equations are readable but cannot be generated).
Use cases
- Writing suggestions and content generation within WPS or Microsoft Word documents.
- Structure optimization and revision of existing text (e.g., revising internship objectives into five points).
- Integrating third-party APIs via MCP Server for tasks like querying weather data and generating charts, then writing articles.
- Reusable skill packages for domain-specific writing or processing logic.
Getting started
Environment setup: node v22.12.0, wpsjs 2.2.3, python 3.11.14, Windows 10/11, Ubuntu 22.04, or macOS. Build the frontend add-in: bash cd frontend/wps_word_plugin # WPS Word add-in cd frontend/microsoft_word_plugin # Or Microsoft Word add-in pnpm install pnpm build Run the backend service: bash cd backend uv run python main.py Packaged releases are available in the repository's Release section. For more details, see the repository README.
License and pricing
License: Apache-2.0. Pricing: open source (free).
Based on the project's public README and repository metadata.