OpenAgreements is an open-source project designed to help legal teams and software agents find U.S. legal guidance based on primary sources and generate reviewable DOCX files from standard agreement templates.
Purpose The project publishes jurisdiction-specific practice guides with citations to primary law; provides standard agreement templates with source and license metadata; populates templates via a local CLI or MCP; and publishes human-readable and machine-readable review checklists and comparative surveys. Its long-term goal is to build a citable compliance layer for legal AI: turning primary law into checkable requirements, having AI check documents against them, with lawyers ultimately making the final decision.
Key Capabilities
- Publish jurisdiction-specific practice guides citing primary law.
- Provide standard agreement templates with source and license metadata.
- Populate templates locally via CLI or MCP.
- Publish review checklists and comparative surveys in both human-readable and machine-readable formats.
- Support connection to AI agents such as Claude Code, Codex CLI, Cursor, or Gemini CLI.
How to Use Users can install the CLI locally, view available forms, and populate the Common Paper Mutual NDA. The last command generates the mutual-nda.docx file. Users can open it in Word or another DOCX viewer and review each populated clause before signing. By default, a standard one-year term, Delaware governing law, and other omitted cover terms are provided; the CLI reports preferred fields that still need attention. Fully copyable examples and field review steps can be found in the Quick Start.
Workflow Standard forms are authoritative before rendering. User-provided values become deal-specific inputs. The generated DOCX is an output for review and is never automatically accepted or signed. The legal content path is separate: practice guides cite primary sources, surveys compare jurisdictions, and checklists turn requirements into review steps. These materials can assist decision-making but do not change the agreement.
Use Cases Suitable for legal teams and the AI agents assisting them, for finding U.S. legal guidance, populating standard agreement templates, and generating reviewable DOCX files.
Limitations OpenAgreements provides legal information and document mechanics, not legal advice. It does not determine whether a given form or clause is suitable for a particular transaction, and generated documents are drafts for human review. The project code is licensed under the Apache License 2.0, and content retains its source-specific license. Before redistributing ormodifying, please review the license reference and each template's metadata.yaml. Regarding privacy and document handling: local CLI and local stdio MCP processing remain on the user's machine; hosted MCP template population runs server-side, and populated documents are not stored after the response is returned; some field selector workflows download official source documents at runtime. Users should choose an execution mode based on document sensitivity and internal policy requirements.