Skip to content

About

Open-source AI workspace for legal document work: reviewable AI edits as tracked changes, linked sources, project history. Desktop app + plugin SDK. 开源法律 AI 文档工作台

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

170 stars

Watchers

5 watching

Forks

Latest commit

 

History

2,104 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AI WorkDeck — The IDE for lawyers. Clear the clutter. Get back to the law.

Programmers have long had their IDE: files, editing, search, versions and AI in one window.
AI WorkDeck brings that infrastructure to lawyers — organised by matter, every answer sourced, every change on the record.

Download for desktop  Star on GitHub  Try it in your browser

Latest release GitHub stars CI status AGPL-3.0-or-later
Free community edition · Windows / macOS · English · 简体中文

The real AI WorkDeck interface: case files on the left, a draft complaint in the middle, the AI assistant on the right. Click to watch the 2-minute film.
▶ Click the screenshot to watch the 2-minute film. Real interface; the matter is fictional.

Why an IDE

The AI chat box is the command line of the AI era. A big matter means hundreds of documents, months of work and several people. Lawyers, like programmers, work in text — piles of files, draft after draft, citations to check everywhere. They deserve their own infrastructure too.

Chat box AI WorkDeck
Start from scratch every time The context lives with the matter
Paste the materials in, one by one The AI reads the case file and edits the documents
Copy the answers back out, piece by piece Every step leaves a record

Just a quick question? Switch to chat mode. For the longer argument, read our thesis →

What it does

AI edits shown as tracked changes in a contract, each with accept and reject buttons

AI edits the document itself. It writes straight into the real Word file as tracked changes, and you accept or reject each one.

Clicking a citation in a report jumps to the highlighted passage in the source document

Every conclusion has a source. Click a citation to land on the supporting passage; changed or missing anchors are flagged.

A phone capturing a delivery note on site, and the desktop case file showing the new site photos and recordings filed by date

The field and the office, connected. Photos and recordings taken on your phone land in the matter on your computer, filed by date.

The in-app marketplace listing Skills, plugins and MCP servers

Extended by the community. Install Skills, plugins and MCP servers in one click — or publish your own; authors keep 85% of net receipts on paid listings.

Screenshots use fictional demo matters. The interface is shown in Chinese; it ships in 20 interface languages.

Video tutorials

Two minutes, one task — 19 short episodes on the website. Tutorials are in Chinese for now.

Tutorial: With so many AI chat apps, why a workspace?
Why a workspace?
Tutorial: Linking evidence into the complaint
Linking evidence into the complaint
Tutorial: Hiding party details before the AI edits a pleading
Hiding party details before the AI edits
Tutorial: Who on the team is busy? See it at a glance
Who on the team is busy?

Try it

Build with us

The repository contains the desktop app, workbench, agent backend, document-editor integration and plugin runtime. The foundations map to code you can read:

Foundation Where to look
Document-native agent edits, tracked changes and checkpoints in the embedded LibreOffice WASM editor Editor primitives · Editor bridge
Source links with anchor-change detection; a pluggable evidence-provider interface Evidence contract · Provider example
Git-backed history, three-way document merge, paragraph-level provenance Version engine
Web panes, Java tools, declarative templates and reusable Skills Plugin guide · SDK · Skill spec · Examples
Built-in workflows and entry points Skills · Litigation visualization · Desktop · Office/WPS add-in

Build a plugin. Start with the minimal web plugin (plain HTML and JavaScript, no build step) or the declarative plugin, or let an agent help you through the developer walkthrough. Web plugins run in a sandboxed iframe behind a permission-checked bridge; Java plugins run in the backend process and must be trusted. The developer program initially has no application fee; basic profile review is not identity certification, and each plugin version undergoes separate review and signing. The plugin guide explains the boundaries and the publication process.

Contribute. A small reproducible case is especially valuable: a document that loses formatting, a source link that no longer resolves, an edit that fails to round-trip, or an unclear setup step. Use synthetic or redacted materials, and discuss large changes in an issue first. Read the contribution guide. Code contributions require a one-time CLA; contributors retain copyright and grant the steward dual-licensing rights. Substantial API changes use the RFC process; the governance model and maintainers are public. Plugin and Skill authors can publish through the marketplace (China · International) under the marketplace terms; funded tasks follow the bounty policy, with availability and amounts set per issue.

Roadmap — contribution directions, not dated release commitments: reliable document work on complex layouts, long documents, tracked changes and undo; source links that survive edits; a shorter path for builders (clean local demo, self-hosting docs, more examples); and repeatable professional workflows packaged as Skills. Bring a use case to Discussions.

About

AI WorkDeck is an open-source exploration rooted in day-to-day legal work, developed outside working hours with team support and feedback from colleagues. Its initiator, Zewei Han, is a practicing lawyer and a partner at Beijing Redsunny Law. He previously worked at King & Wood Mallesons, where he supported projects of the firm’s legal technology team, and co-authored 《大模型时代的法律科技》 (on legal technology in the era of large models). Contact: hi@aiworkdeck.com.

Licensing and stewardship

The steward is 北京京微资易科技有限公司 (Beijing Jingwei Ziyi Technology Co., Ltd.); 真善美承泽有限公司 (Zhen Shan Mei Grace Legacy Limited) operates the international offering. Commercial licensing covers the steward's code; third-party components retain their own terms. See AGPL-3.0-or-later, commercial licensing, third-party components, and trademarks.

The steward's existing policy allocates 20% of net commercial-licensing revenue to a community fund for bounties, Skill-creation grants, and community events. This is a public policy that may be adjusted prospectively, not an individual contractual entitlement. Governance roles carry technical authority; economic terms are set separately in the bounty policy and marketplace terms.

For licensing needs outside AGPL, contact hi@aiworkdeck.com; the commercial license sets out the applicable terms.

About

Open-source AI workspace for legal document work: reviewable AI edits as tracked changes, linked sources, project history. Desktop app + plugin SDK. 开源法律 AI 文档工作台

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

170 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages