Documents and knowledge · Independent · 23 Oct 2026

AniketTati/draft-legal

The open-source alternative to Ironclad + Harvey. Self-hosted, AI-native contract lifecycle management — your contracts never leave your servers.

← Documents and knowledge
draftLegal: AI contract manager. Self-hosted contract lifecycle management.

In simple English

This tool helps you write, review, and sign business contracts using artificial intelligence. It keeps all your sensitive legal documents safe on your own computer or server rather than a company's cloud storage. You can search across every contract you have ever signed by asking plain questions. It costs nothing to download and run, but you need your own paid account with an artificial intelligence provider like OpenAI, Anthropic, or Google to power the chat features. Setting it up takes some technical knowledge and a few minutes of patience.

What it is

An open-source contract lifecycle management platform with built-in artificial intelligence agents for drafting, redlining, and portfolio search. It combines a React frontend, a Node.js API, and a Python backend running behind Docker containers.

What it is good for

Solo founders and small business owners who want to review contracts and track obligations without paying thousands of dollars for enterprise legal software or leaking confidential data to third-party cloud services.

Stars19
LicenceCustom
LatestNo tagged releasechecked 23 Oct 2026
Last code change2026-10-02
Written inTypeScript
Setup effort
3 / 5
Payoff
4 / 5
Good
  • Keeps all your confidential contracts private on your own hardware.
  • Lets you search your entire document history with normal questions and get cited answers.
  • Works with your choice of artificial intelligence provider so you are not locked into one vendor.
Watch for
  • Requires Docker (a way to run a program inside its own sealed box, so it cannot break anything else on your server), Node.js, and Python installed on your machine.
  • Needs external API keys from Google, OpenAI, or Anthropic to make the artificial intelligence features work.
  • Licensed under the AGPL (a software licence that requires you to share your code modifications if you offer the app as a hosted service to others).
Replaces

Expensive enterprise contract management tools like Ironclad

Works well with

Docker

Install
git clone https://github.com/AniketTati/draft-legal.git
cd draft-legal
pink dev:setup
pnpm dev

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Business Operations & Legal › Contracts & E-Signature › Contract Management.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.