Skip to content

open-agreements/open-agreements

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

626 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OpenAgreements seal

OpenAgreements

npm version License: Apache 2.0 CI codecov Agent Skill

Open, primary-source-backed U.S. legal content and standard agreement templates — built for legal teams of any size and the agents helping them.

  • Legal Practice Library — jurisdiction-by-jurisdiction practice guides (non-compete & restrictive covenants, consumer data privacy, AI employment law), every claim cited to primary law.
  • Templates — 40+ fillable forms across NDAs, cloud service agreements, employment docs, SAFEs, and NVCA financing documents.
  • Checklists — clause-by-clause reviewer checklists.
  • Law Surveys — 50-state and international comparison tables.

This repository mirrors the OpenAgreements public legal content library for GitHub, local AI agents, and contributor pull requests. Everything ships as plain markdown here and as machine-readable twins on openagreements.org. Accepted content changes are reviewed and synchronized into the publishing workflow for openagreements.org.

Propose a Form Source · Give Feedback · Request Coverage · Report an Issue

Who this is for

The practice guides, surveys, and checklists answer jurisdiction-specific questions with citations to primary law; the templates start from standard forms teams already recognize — Common Paper, Bonterms, NVCA model documents, and YC SAFE templates — keeping source, license, and validation context close to the document. It does not provide legal advice; consult an attorney.

Contents

Legal Practice Library

Primary-source-backed legal practice guides, projected from openagreements.org as plain markdown under legal-practice-library/. Each guide cites primary law and links to its canonical page (with machine-readable twins — see Use it with AI agents & the CLI).

Topic What it covers Coverage Markdown HTML
Non-Compete & Restrictive Covenants Enforceability, blue-pencil reformation, tolling, choice of law, and FTC-rule status. 56 U.S. states + international Markdown HTML
Consumer Data Privacy CCPA/CPRA and every comprehensive state privacy act — who's covered, consumer rights, opt-outs, and who enforces. 51 U.S. states Markdown HTML
AI Vendors Zero-data-retention, data residency, and the terms that matter in AI vendor contracts. 9 practice guides Markdown HTML
AI & the Workforce AI in hiring and adverse-action, workforce AI policies, and outside-counsel transitions. 20 practice guides Markdown HTML
Privacy-Policy Requirement Phrasings Preferred phrasings for what a U.S. consumer privacy policy must disclose. 8 practice guides Markdown HTML

Backed by 519 verbatim case excerpts — the passages our practice guides rely on, each linked to the full opinion on CourtListener. Supporting evidence, not a case database.

Available Templates

Fill standard legal agreement templates and get signable DOCX files — party info, dates, and terms in, formatting-preserving Word document out. The Source column links to the upstream standard or canonical project page (varies by publisher); the License column shows redistribution terms; Repo links point to the GitHub content directory for each template or field-selector. To fill one with an agent or the CLI, see Template Filling via MCP.

SAFEs

Template HTML Source License Repo
Valuation Cap HTML Y Combinator Creative Commons, no derivatives (CC-BY-ND) Repo
Pro Rata Side Letter HTML Y Combinator Creative Commons, no derivatives (CC-BY-ND) Repo
MFN HTML Y Combinator Creative Commons, no derivatives (CC-BY-ND) Repo
Discount HTML Y Combinator Creative Commons, no derivatives (CC-BY-ND) Repo

Venture Financing

Template HTML Source License Repo
ROFR Co Sale Agreement HTML NVCA Field-selector
Investors Rights Agreement HTML NVCA Field-selector
Voting Agreement HTML NVCA Field-selector
Stock Purchase Agreement HTML NVCA Field-selector
Certificate Of Incorporation HTML NVCA Field-selector
Indemnification Agreement HTML NVCA Field-selector
Management Rights Letter HTML NVCA Field-selector

Deals & Partnerships

Template HTML Source License Repo
Design Partner Agreement HTML Common Paper Creative Commons (CC-BY) Repo
Term Sheet HTML Common Paper Creative Commons (CC-BY) Repo
Partnership Agreement HTML Common Paper Creative Commons (CC-BY) Repo
Pilot Agreement HTML Common Paper Creative Commons (CC-BY) Repo
Amendment HTML Common Paper Creative Commons (CC-BY) Repo
Letter Of Intent HTML Common Paper Creative Commons (CC-BY) Repo

Sales & Licensing

Template HTML Source License Repo
CSA Click Through HTML Common Paper Creative Commons (CC-BY) Repo
CSA Without SLA HTML Common Paper Creative Commons (CC-BY) Repo
CSA With SLA HTML Common Paper Creative Commons (CC-BY) Repo
Order Form HTML Common Paper Creative Commons (CC-BY) Repo
Cloud Service Agreement HTML Common Paper Creative Commons (CC-BY) Repo
Software License Agreement HTML Common Paper Creative Commons (CC-BY) Repo
Order Form With SLA HTML Common Paper Creative Commons (CC-BY) Repo
CSA With AI HTML Common Paper Creative Commons (CC-BY) Repo

Confidentiality

Template HTML Source License Repo
Common Paper Mutual NDA HTML Common Paper Creative Commons (CC-BY) Repo
Bonterms Mutual NDA HTML Bonterms Public domain (CC0) Repo
One Way NDA HTML Common Paper Creative Commons (CC-BY) Repo

Board & Stockholder Consents

Template HTML Source License Repo
Stockholder Consent SAFE HTML OpenAgreements Creative Commons (CC-BY) Repo
Board Consent SAFE HTML OpenAgreements Creative Commons (CC-BY) Repo

Employment

Template HTML Source License Repo
Employment Offer Letter HTML OpenAgreements Creative Commons (CC-BY) Repo
Restrictive Covenant Wyoming HTML OpenAgreements Creative Commons (CC-BY) Repo
Restrictive Covenant Florida HTML OpenAgreements Creative Commons (CC-BY) Repo
Restrictive Covenant Massachusetts HTML OpenAgreements Creative Commons (CC-BY) Repo
Restrictive Covenant California HTML OpenAgreements Creative Commons (CC-BY) Repo
Restrictive Covenant Illinois HTML OpenAgreements Creative Commons (CC-BY) Repo
Restrictive Covenant Texas HTML OpenAgreements Creative Commons (CC-BY) Repo

Professional Services

Template HTML Source License Repo
Independent Contractor Agreement HTML Common Paper Creative Commons (CC-BY) Repo
Common Paper Professional Services Agreement HTML Common Paper Creative Commons (CC-BY) Repo
Bonterms Professional Services Agreement HTML Bonterms Public domain (CC0) Repo
Statement Of Work HTML Common Paper Creative Commons (CC-BY) Repo

Data & Compliance

Template HTML Source License Repo
Data Processing Agreement HTML Common Paper Creative Commons (CC-BY) Repo
AI Addendum HTML Common Paper Creative Commons (CC-BY) Repo
AI Addendum In App HTML Common Paper Creative Commons (CC-BY) Repo
Business Associate Agreement HTML Common Paper Creative Commons (CC-BY) Repo

Deal Process

Template HTML Source License Repo
Working Group List HTML OpenAgreements Public domain (CC0) Repo
Due Diligence Request List HTML OpenAgreements Creative Commons (CC-BY) Repo
Closing Checklist HTML OpenAgreements Public domain (CC0) Repo

Other

Template HTML Source License Repo
Confidentiality Invention Assignment Agreement HTML OpenAgreements Creative Commons (CC-BY) Repo

Checklists

Clause-by-clause reviewer checklists. Each has .json and .docx twins on the web, and contract checklists also emit a contract-api.json for template integrations.

Topic What it covers Markdown HTML
Non-Compete review Clause-by-clause reviewer checklists — a baseline plus 50-state overlays. Markdown HTML
Privacy-Policy review What a compliant U.S. consumer privacy policy must contain. Markdown HTML
Venture Financing review NVCA model-document review (e.g. the Stock Purchase Agreement). Markdown HTML

Law Surveys

Side-by-side comparison tables across jurisdictions. The web pages also publish machine-readable .json and .csv twins (append .json / .csv, e.g. /surveys/non-compete/us.csv).

Survey Markdown HTML
U.S. 50-State Non-Compete Survey Markdown HTML
U.S. invention-assignment survey Markdown HTML
U.S. State Consumer Privacy Survey Markdown HTML
Worldwide Non-Compete Survey Markdown HTML

Available Skills

Install any skill by name (paths below are for browsing only — installs are name-based and survive reorganization):

npx skills add open-agreements/open-agreements --skill <skill-name>

Legal Explainers

Skill Description
non-compete-contract-explainer Explain U.S. state-by-state (and select international) non-compete and restrictive-covenant law — whether a non-compete is enforceable, blue-pencil reformation, tolling, choice of law, independent-contractor reach, and recent bans. Reads a bundled, source-cited snapshot per jurisdiction. Use when the user says "non-compete," "noncompete contract," "restrictive covenant," "non-solicit," "garden leave," "covenant not to compete," "employment agreement," asks "is my non-compete enforceable," or names a U.S. state.
data-privacy-law-explainer Explain U.S. state-by-state consumer data-privacy law (CCPA/CPRA, TDPSA, VCDPA, CPA, and the other comprehensive state acts) — who a law covers, applicability thresholds, privacy-policy requirements, consumer rights and opt-outs, private rights of action, and who enforces. Reads a bundled, source-cited snapshot per state. Use when the user says "CCPA," "CPRA," "state privacy law," "privacy policy," "data subject request," "consumer rights request," "opt-out of sale," "data broker," "sensitive data," asks "do I need to comply with 's privacy law," or names a U.S. state together with privacy.

Agreement Drafting And Filling

Skill Description
open-agreements Navigate and use the OpenAgreements legal content library — source-cited practice guides, review checklists, 50-state law surveys, and fill-ready agreement templates. Look up state-by-state legal guides, checklists, and law surveys, or fill standard templates (NDAs, cloud service agreements, SAFEs) into signable DOCX files. Supports Common Paper, Bonterms, and Y Combinator templates. Use when the user needs a practice guide, a review checklist, a law survey, to draft a legal agreement, create an NDA, fill a contract template, or generate a SAFE.
nda Draft and fill NDA templates — mutual NDA, one-way NDA, confidentiality agreement. Produces signable DOCX files from Common Paper and Bonterms standard forms. Use when user says "NDA," "non-disclosure agreement," "confidentiality agreement," "mutual NDA," or "one-way NDA."
cloud-service-agreement Draft and fill SaaS agreement templates — cloud contract, MSA, order form, software license, pilot agreement, design partner agreement. Includes variants with SLAs and AI terms. Produces signable DOCX from Common Paper standard forms. Use when user says "SaaS agreement," "cloud contract," "MSA," "order form," "software license," "pilot agreement," or "design partner agreement."
services-agreement Draft and fill services agreement templates — consulting contract, contractor agreement, SOW, statement of work, professional services agreement. Produces signable DOCX files from Common Paper and Bonterms standard forms. Use when user says "consulting contract," "contractor agreement," "SOW," "statement of work," "services agreement," or "freelancer contract."
employment-contract Draft and fill employment contract templates — offer letter, employment agreement, IP/inventions assignment (PIIA), and confidentiality acknowledgement — producing signable DOCX files from OpenAgreements standard forms for hiring employees. Use when the user says "employment contract," "employment agreement," "offer letter," "PIIA," "IP assignment," "hire someone," "new hire paperwork," or "onboarding paperwork." To explain non-compete or restrictive-covenant law rather than draft a document, see the non-compete-contract-explainer skill.
data-privacy-agreement Draft and fill data privacy agreement templates — DPA, data processing agreement, GDPR, HIPAA BAA, business associate agreement, AI addendum. Produces signable DOCX files from Common Paper standard forms. Use when user says "DPA," "data processing agreement," "HIPAA BAA," "business associate agreement," or "AI addendum." To understand a U.S. state's consumer privacy law (CCPA etc.) rather than draft, see data-privacy-law-explainer.
safe Draft and fill Y Combinator SAFE templates — valuation cap, discount, MFN, pro rata side letter. Standard startup fundraising documents for convertible equity. Produces signable DOCX files. Use when user says "SAFE," "simple agreement for future equity," "YC SAFE," "valuation cap," "seed round documents," or "fundraising paperwork."
venture-financing Draft and fill NVCA model documents — stock purchase agreement, certificate of incorporation, investors rights agreement, voting agreement, ROFR, co-sale, indemnification, management rights letter. Series A and venture financing templates. Produces signable DOCX files. Use when user says "Series A documents," "NVCA," "stock purchase agreement," "investors rights agreement," "voting agreement," or "venture financing docs."

Editing And Client Workflows

Skill Description
edit-docx-agreement Make bespoke edits to a DOCX agreement generated by OpenAgreements (or any existing DOCX), using Safe Docx MCP tools for surgical, formatting-preserving edits and tracked-changes outputs. Use when user says "edit this contract," "change a clause," "modify the agreement," "custom edits to the docx," or "bespoke changes to the document."
client-email Draft client-facing emails for legal services — cover notes for contract deliverables, redline summaries, deal status updates, and follow-ups. Use when composing or revising outbound emails to clients about legal work product. Triggers on "draft reply," "email to client," "cover note," "write back to," or any outbound email accompanying a legal deliverable.
delaware-franchise-tax File your Delaware annual franchise tax and annual report. Guides you through tax calculation (Authorized Shares and Assumed Par Value Capital methods), the eCorp portal filing process, and payment. For Delaware C-Corps (March 1 deadline) and LLCs/LPs/GPs (June 1 deadline). Use when user says "Delaware franchise tax," "annual report Delaware," "file franchise tax," or "eCorp portal."

Compliance And Audit

Skill Description
soc2-readiness Assess SOC 2 Type II readiness. Map Trust Services Criteria to controls, identify gaps, and build a remediation plan. Uses NIST SP 800-53 (public domain) as canonical reference with SOC 2 criterion cross-mapping. Use when user says "SOC 2 readiness," "SOC 2 preparation," "SOC 2 gap analysis," or "prepare for SOC 2 audit."
iso-27001-internal-audit Run an ISO 27001 internal audit. Walk through controls by domain, identify gaps, collect evidence, and generate findings with corrective action recommendations. Uses NIST SP 800-53 (public domain) as canonical reference. Use when user says "run internal audit," "ISO 27001 audit," "control assessment," "audit findings," or "ISMS assessment."
iso-27001-evidence-collection Collect, organize, and validate evidence for ISO 27001 and SOC 2 audits. API-first approach with CLI commands for major cloud platforms. Produces timestamped, auditor-ready evidence packages. Use when user says "collect audit evidence," "prepare evidence package," "evidence for the auditor," "refresh evidence," or "evidence gap analysis."

Internal repo-maintenance skills (marked internal: true in their SKILL.md metadata) are excluded from this catalog and from default npx skills add installs.

Use it with AI agents & the CLI

Fill any template from a coding agent over MCP — local stdio or the hosted server at https://openagreements.org/api/mcp — or from the open-agreements CLI, and read every guide, survey, and checklist as machine-readable JSON/CSV twins.

Using OpenAgreements with AI agents & the CLI — setup for Claude Code, Cursor, and Gemini CLI; the CLI reference; and the machine-readable twins table.

Packages

Package Description
open-agreements Open-source legal template filling CLI and library
@open-agreements/contract-templates-mcp Local stdio MCP server for OpenAgreements template discovery and filling
@open-agreements/contracts-workspace Workspace-oriented CLI for organizing and tracking contract repositories
@open-agreements/contracts-workspace-mcp Local stdio MCP server for contracts workspace operations
@open-agreements/checklist-mcp Local stdio MCP server for OpenAgreements checklist memory operations

Documentation

Start Here

Guides

Other Packages

Reference

Links: Website | Template Catalog | Docs | Trust | npm

Privacy

  • Local mode (npx, global install, stdio MCP): all processing happens on your machine. No document content is sent externally.
  • Hosted mode (https://openagreements.org/api/mcp): template filling runs server-side. No filled documents are stored after the response is returned.

See the Privacy Policy for details.

Security policy: see SECURITY.md.

See Also

  • safe-docx — surgical editing of existing Word documents with coding agents

Roadmap

Planned work is tracked in open issues.

Contributing

See CONTRIBUTING.md for how to add templates, field-selectors, and other improvements. The Legal Practice Library is generated upstream — see its index.md for where to send content fixes.

Built With OpenAgreements

Building on OpenAgreements? Open a PR to add your project.

Star History

Star History Chart

License

Project code is licensed under Apache License 2.0. The Apache license covers the code only — bundled template content retains its upstream licenses, set by its respective authors:

  • CC BY 4.0 for Common Paper, Bonterms, OpenAgreements-authored templates, and the Legal Practice Library
  • CC BY-ND 4.0 for Y Combinator SAFE templates vendored unchanged
  • proprietary or non-redistributable for NVCA source documents handled via field-selector workflows

See each template's metadata.yaml for source-specific details.

This tool generates documents from standard templates and provides general legal information. It does not provide legal advice. Consult an attorney for legal guidance.

About

Open, primary-source-backed U.S. legal content — practice guides, 50-state surveys, reviewer checklists, and standard agreement templates. Built for legal teams and the agents helping them.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors