AITeamGuide

AITeamGuide Hub · Agent

OpenContracts

A self-hosted document platform for contracts and other legal documents: upload, annotate, search and run AI agents over a document collection.

Agent★ 1.6k starsMITLegalResearch

View on GitHub

Short answer: how to install OpenContracts

OpenContracts is an MIT-licensed, open-source agent on GitHub (Open-Source-Legal/OpenContracts) with 1,568 stars as of December 2, 2026. Its last push was on December 2, 2026. To install it, run git clone https://github.com/Open-Source-Legal/OpenContracts.git. It works with Self-hosted, Python.

Key facts

Type
Agent
Jobs it fits
Analyze a document collection; Extract contract data
Fields
Legal, Research
Works with
Self-hosted, Python
GitHub
Open-Source-Legal/OpenContracts
Licence
MIT
Stars
1,568 as of December 2, 2026
Last updated
December 2, 2026 (last push to GitHub)
Author
@Open-Source-Legal
Submitted by
@aiteamguide
Added to the Hub
October 21, 2026

AGPL-3.0.

Install / Use it

MIT

Download ZIP View source

Local (Docker)

git clone https://github.com/Open-Source-Legal/OpenContracts.git
cd OpenContracts
mkdir -p .envs/.local
cp ./docs/sample_env_files/backend/local/.django ./.envs/.local/.django
cp ./docs/sample_env_files/backend/local/.postgres ./.envs/.local/.postgres
cp ./docs/sample_env_files/frontend/local/django.auth.env ./.envs/.local/.frontend
docker compose -f local.yml build
docker compose -f local.yml --profile fullstack up

Safety: Runs code from a third-party repo. Review the source and the permissions before installing.

Commands and configs are taken from the project's README and re-wrapped in each app's documented format. If they differ, the README wins.

FAQ

How do I install OpenContracts?

run git clone https://github.com/Open-Source-Legal/OpenContracts.git. Full steps for each app are in the install panel on this page and in the project's README.

Is OpenContracts free?

The code is open source under the MIT licence, so it's free to use. Any account or API key the connected service needs is billed by that service, not by the project; see the README.

Is OpenContracts still maintained?

Its last push to GitHub was on December 2, 2026, and it had 1,568 stars as of December 2, 2026. We re-check GitHub daily.

Prefer a ready-made product?

Commercial agents for the same job, with real prices: Luminance, Legora, all legal ai agents.

Get new open-source AI tools like OpenContracts in one weekly email

One email a week: new open-source agents, skills, MCP servers and playbooks from the Hub, plus AI agent price changes and new free plans. Free; unsubscribe anytime.

Free, no signup needed: the AI agent pricing cheat sheet, the cheapest listed plan for every job on one printable page.

The pricing cheat sheet is a free page on this site (no signup needed). Not sure yet? Read the latest issue first.

More from the Hub

Summary written by AITeamGuide in our own words. GitHub numbers come from the public GitHub API and refresh daily. Maintainer and want a correction or removal? Tell us. Got something similar? Submit it to the Hub.