humanizer
Rewrites AI-sounding text so it reads like the writer wrote it, without changing the meaning. Useful for editing or reviewing prose to remove typical AI patterns such as staged openers and one-line closers.
LLMs speak Markdown; reviewers speak "Track Changes." Adeu is a docx LLM translator: a Model Context Protocol (MCP) server (Python and Node.js implementations) and accompanying SDKs that act as a Virtual DOM for Microsoft Word.
Claude Code
> /plugin marketplace add dealfluence/adeu> /plugin install adeu-redlining@adeu-skills
Codex
$ npx skills add dealfluence/adeu -a codex
Cursor
$ npx skills add dealfluence/adeu -a cursor
Gemini CLI
$ npx skills add dealfluence/adeu -a gemini-cli
GitHub Copilot
$ copilot plugin marketplace add dealfluence/adeu$ copilot plugin install adeu-redlining@adeu-skills
OpenCode
$ npx skills add dealfluence/adeu -a opencode
Windsurf
$ npx skills add dealfluence/adeu -a windsurf
LLMs speak Markdown; reviewers speak "Track Changes."
Adeu is a docx ↔ LLM translator: a Model Context Protocol (MCP) server (Python and Node.js implementations) and accompanying SDKs that act as a Virtual DOM for Microsoft Word. It provides a two-way abstraction layer that lets AI agents freely edit document text without destroying the underlying formatting or complex DOCX XML.
While standard libraries like python-docx excel at generating documents from scratch, they fail at non-destructive redlining. Adeu solves this by translating .docx files into a token-efficient Markdown representation. This frees AI agents to focus entirely on document semantics instead of wasting tokens wrestling with OpenXML.
Adeu acts as an intelligent proxy, processing AI edits as safe, atomic transactions:
Built and maintained by the team at Adeu.
Adeu can be installed directly into AI assistants as an MCP server, used as a Claude Code plugin or Agent Skill, CLI tool, or used locally as a developer toolchain.
Adeu ships as a Claude Code plugin with a built-in agent skill that teaches Claude how to use the engine effectively. Inside Claude Code:
/plugin marketplace add dealfluence/adeu
/plugin install adeu-redlining@adeu-skills
For best results, also connect either the Node MCP server (npx -y @adeu/mcp-server) or the Python MCP server (uvx --from "adeu[mcp]" adeu-server). The plugin works without an MCP server too — it falls back to driving the uvx adeu CLI via Bash.
Adeu's redlining skill follows the open Agent Skills specification and works with any compatible agent:
npx skills add dealfluence/adeu
The skill installs to your agent's skills directory and activates automatically when you ask Claude to redline, edit, or review a .docx file.
You can install Adeu directly into Claude Desktop using the official extension package:
Adeu.mcpb file from the GitHub Releases page..mcpb file, and follow the prompts.Adeu is available as a native Gemini CLI extension. To install:
gemini extensions install https://github.com/dealfluence/adeu
For IDEs or clients that configure MCP servers via JSON, you can use either the Node.js or Python backend:
Node.js
{
"mcpServers": {
"adeu": {
"command": "npx",
"args": ["-y", "@adeu/mcp-server"]
}
}
}
Python (Required for Live MS Word integration on Windows)
{
"mcpServers": {
"adeu": {
"command": "uvx",
"args": ["--from", "adeu[mcp]", "adeu-server"]
}
}
}
By default, the MCP servers and LangChain tools can work in any folder their process can access. To keep the original, choose a new .docx filename. An existing output must be an empty regular file or a Word package, with an exception for interrupted Word saves beside the input. Python’s desktop openers also check the package before launching it. File types and overwrite rules
To limit reads and writes to particular folders, set ADEU_ALLOWED_DIRS to existing absolute directory paths before starting the server or constructing LangChain tools. Separate folders with ; on Windows or : on macOS and Linux. Python MCP configuration · Node MCP configuration · LangChain configuration
Adeu provides agents with specific tools to read, review, and edit documents safely.
MCP Apps UI: The
read_docxtool supports the MCP Apps UI protocol. When an agent reads a document, Adeu dynamically renders a custom, interactive Markdown view directly inside the chat window.
Recommended Agent Prompt: You can guarantee the best behavioral results by adding this context to your agent's system prompt or project instructions:
Role: Document Specialist Tools:
read_docx: Start withmode="changes"to triage existing tracked changes (Chg:N) and comments (Com:N),search_query(with optionalpage="4-5"range) to locate specific clauses,mode="fields"to inspect form fields (CC:<N>), ormode="outline"followed by bounded page ranges (page="1-8") to read sections without loading the whole file.process_document_batch: Commit & Negotiate Mode. Apply a unified, sequentially evaluated list of changes in one call:type: "modify"for search-and-replace text edits (supports Markdown headings/bold/italic/pipe tables,{#cell:<id>}empty-cell anchors,match_mode="all",regex=True, and single or[{"text": ..., "author": ...}]comments),type: "set_field"for form fields,type: "accept","reject"(with optionalpart), or"reply"for existing markup, andtype: "insert_row"/"delete_row"for table rows. Passmarkup_mode="manual"when inline strikethrough/underline formatting is requested instead of Track Changes, orcommented_change_granularity="word"for minimal word-level redlines on commented edits.diff_docx_files: Compare two.docxfiles; passoutput_pathandauthor_nameto write the comparison as a tracked-changes.docxin one step.finalize_document: Pre-Send Scrub. Strip metadata, author names, and internal tracking IDs, lock the document (protection_mode="read_only"), and prepare it for distribution.
If you are running on Windows with Microsoft Word installed, Adeu can act as a real-time copilot, editing the active document right in front of you. This requires running the Python MCP server backend (see Developer Tools below).
If you are building a legal-tech application, an automated pipeline, or want to use the local CLI, use our SDKs.
The Python toolchain is managed via uv.
pip install uv
uv tool install adeu
# Extract clean text for RAG or prompting
adeu extract contract.docx -o contract.md
# Generate a visual diff between two versions
adeu diff v1.docx v2.docx
# Apply edits to the DOCX
adeu apply contract.docx edits.json --author "Review Bot"
# Apply valid edits in salvage mode while reporting failing edits
adeu apply contract.docx edits.json --partial
# High-throughput JSON-Lines daemon
adeu serve
# Scrub author metadata and internal trackers
adeu sanitize redline.docx -o clean.docx --keep-markup --author "My Firm" --report
What the text projection preserves exactly, what it normalizes (lists, styles, synthetic pages), and what stays read-only is specified in docs/FIDELITY.md.
from adeu import RedlineEngine, ModifyText
from io import BytesIO
with open("MSA.docx", "rb") as f:
stream = BytesIO(f.read())
edit = ModifyText(
target_text="State of New York",
new_text="State of Delaware",
comment="Standardizing governing law."
)
engine = RedlineEngine(stream, author="AI Copilot")
engine.apply_edits([edit])
with open("MSA_Redlined.docx", "wb") as f:
f.write(engine.save_to_stream().getvalue())
A commented edit lands by default as one tracked change wrapped by its comment, so rejecting it reverts the whole edit. Pass commented_change_granularity="word" to get the same word-level redline an uncommented edit gets (New York → Delaware rather than the whole changed span), with the comment spanning the first changed word to the last; rejecting any single word keeps the comment. The TypeScript engine takes the same option: new RedlineEngine(doc, "AI Copilot", { commented_change_granularity: "word" }).
The entire core parsing and diffing engine is also available in pure TypeScript.
import { readFileSync, writeFileSync } from "fs";
import { DocumentObject, RedlineEngine } from "@adeu/core";
const buffer = readFileSync("MSA.docx");
const doc = await DocumentObject.load(buffer);
const engine = new RedlineEngine(doc, "AI Copilot");
engine.process_batch([{
type: "modify",
target_text: "State of New York",
new_text: "State of Delaware",
comment: "Standardizing governing law."
}]);
const outBuffer = await doc.save();
writeFileSync("MSA_Redlined.docx", outBuffer);
See the @adeu/core documentation for full installation and usage details.
Adeu ships as an n8n community node (n8n-nodes-adeu) for teams who prefer visual workflow automation over code. It exposes the full engine (extract Markdown, apply tracked changes, generate diffs, and finalize documents) as drop-in nodes that work in both deterministic pipelines and AI Agent tool calls.
# In n8n: Settings → Community Nodes → Install: n8n-nodes-adeu
See the n8n-nodes-adeu README for installation, $fromAI recipes, and example workflows.
langchain-adeu is an official integration package that exposes Adeu's local, offline-capable document manipulation tools directly to the LangChain ecosystem.
pip install langchain-adeu
Bundle its capabilities as tools in your agent workflow:
from langchain_adeu import AdeuToolkit
# Instantiate and retrieve all document tools
tools = AdeuToolkit().get_tools()
Refer to the LangChain Workspace Guide for full development instructions and detailed parameters.
Adeu is designed as a Virtual DOM for DOCX. Because we keep the core strictly focused on OpenXML safety, we maintain a dedicated ecosystem/ directory for third-party integrations.
Rewrites AI-sounding text so it reads like the writer wrote it, without changing the meaning. Useful for editing or reviewing prose to remove typical AI patterns such as staged openers and one-line closers.
Edits drafts into sharper, more direct writing that keeps the author's personal voice, or flags common AI-written patterns without rewriting the text.
Helps you write Chinese web novels from start to finish: it scans rankings for trends, breaks down existing books, drafts long or short chapters, removes AI-sounding phrasing, and makes cover images. It keeps story details consistent across files as the book grows.
A Chinese-language writing skill that removes AI writing tells by rewriting only the patterns on an explicit whitelist, leaving all other text and the article's structure untouched. Useful for cleaning up a finished draft.
LLMs speak Markdown; reviewers speak "Track Changes." Adeu is a docx LLM translator: a Model Context Protocol (MCP) server (Python and Node.js implementations) and accompanying SDKs that act as a Virtual DOM for Microsoft Word. Install it with the command on its page. It includes adeu-redlining. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it