▶ Watch (03:23)

Contracts and code share more structure than most engineers realize. Variables map to defined terms. Functions map to clauses with cross-references. GitHub diff views map to legal red lines. Jira tickets map to term sheets and client emails.

The market sizes match too. Dev tools is a $7 billion market. Skilled people reading and writing large volumes of text, making decisions on behalf of clients, that market is just as big on the legal side.

From IDE to AI Agent

▶ Watch (04:46)

DraftWise launched five years ago as a dev tools company for lawyers. The core product was an IDE for legal contracts, with Intellisense, jump-to-function, and linting. Their knowledge product was Stack Overflow for law firms.

Then the dev tools industry transformed around AI, and DraftWise followed. The IDE became an AI drafting agent. The knowledge search product became a Perplexity-style research tool. A copilot for negotiation came next.

The Drafting Agent Demo

▶ Watch (05:50)

A buyer’s lawyer receives a purchase and sale agreement with one instruction: “do the same thing as last time.” In the DraftWise contract agent live demo (05:50), a single prompt triggers the agent to search the firm’s contract repository and surface 10 buyer-favorable improvements from past deals. Extended inspection periods, earlier seller disclosure deadlines, a reversible buyer-approval clause.

Each edit is staged in a diff view. One click accepts it. After all edits, a linter cross-checks the document against the firm’s quality standard. No inconsistencies found. Total time: 2 minutes. The manual version took over half an hour.

The Architecture Behind the Agent

▶ Watch (12:27)

Three layers drive output quality. The software foundation: tools originally built for human lawyers now serve both lawyers and AI agents through the same interfaces. Reasoning models handle planning and tool selection. The quality centerpiece is domain-specific retrieval across millions of contracts, built on Cohere Command R Plus for generation, Rerank for semantic reranking, and Embed 4 for efficient embeddings.

Azure AI Foundry hosts all the models. Law firms run their own Azure clouds and Azure Active Directory, so DraftWise’s integration fits their existing security and privacy requirements without adding a separate deployment layer.

Notable Quotes

Our developers efficiency has improved by 60% over traditional methods. James Ding (DraftWise video) · ▶ 1:33

75% of Y CS batch did not vibe code their products James Ding · ▶ 11:11

Over half of the top ten law firms in the world use Draft Wise. James Ding · ▶ 12:10

Key Takeaways

  • DraftWise’s agent compressed 30 minutes of contract research and editing into 2 minutes using a single prompt.
  • Domain-specific retrieval using Cohere Rerank and Embed 4 is the quality layer that separates production use from demos.
  • Over half of the top 10 global law firms have adopted DraftWise, with one firm projecting 400% user growth.