The Additional Terms that supplement and override the base MIT LICENSE; the two files together govern use. Defines four legal-services thresholds (a law firm/ALSP with 2+ professionals; a non-legal corporate over $3M revenue; a solo lawyer over $500K practice revenue; and a managed-service/SaaS trigger that always fires and has no attribution path). Below the thresholds it is plain MIT; above them the licensee must either display a "Powered by Anylegal.ai" hyperlink under the strict Attribution Path rules or buy a Commercial License. Also covers the Anylegal.ai trademark, a clause declaring AI-coding-agent rewrites to be "Reproduction" subject to the same terms, and a README-level "Based on Anylegal-OSS" attribution requirement for derivative works. Before redistributing, forking, offering it as a service, or generating derivative code from it with an AI agent.
Additional Terms — Anylegal-OSS License
These Additional Terms supplement and modify the LICENSE (MIT) file in the root of this repository. The LICENSE file and this file together constitute the licensing terms for Anylegal-OSS. By exercising any of the rights granted in LICENSE, you accept these Additional Terms.
In the event of any inconsistency between LICENSE and this file, this file governs. References to "this License" below mean the combined LICENSE and LICENSE-ADDITIONAL-TERMS.md.
Legal-Services Thresholds
If any of the thresholds below applies to a Licensee or its affiliates, the Licensee must EITHER (a) display prominent attribution as defined under "Attribution Path" below, OR (b) obtain a Commercial License by contacting licensing@anylegal.ai.
Threshold (a) — Law Firm or Legal Services Provider. Licensee or its affiliates make this Software available to a law firm, alternative legal services provider (ALSP), legal-process-outsourcing firm, document or contract review service, or other entity delivering paid legal services to clients, with TWO (2) OR MORE personnel (lawyers, paralegals, or other professionals) engaged in the legal services delivery.
Threshold (b) — Corporate (Non-Legal-Services). Licensee or its affiliates make this Software available to an organization other than one covered by Threshold (a) (i.e., other than a law firm, alternative legal services provider, or similar entity), with annual revenue exceeding THREE MILLION US DOLLARS (USD $3,000,000).
Threshold (c) — Solo Lawyer. Licensee is an individual lawyer with annual practice revenue exceeding FIVE HUNDRED THOUSAND US DOLLARS (USD $500,000).
Threshold (d) — Managed-Service / Anti-Aggregator. The Software (or any derivative work) is offered as a managed service, hosted SaaS, or third-party-accessible service to customers. This threshold ALWAYS triggers, regardless of size. The attribution path is NOT available for this trigger — a Commercial License is the only permitted path.
Internal-only deployments above any other threshold are also limited to the Commercial License path (no attribution path available — there is no external surface where attribution provides reciprocal value).
Attribution Path
Where the attribution path is available, the Licensee must display "Powered by Anylegal.ai" as a clickable hyperlink to https://anylegal.ai on EACH of:
(1) the primary landing page or login page of the public-facing product, service, or platform that incorporates or exposes the Software to external users (above the fold; font size at least equal to primary navigation labels; visible without scrolling on desktop ≥1280px and mobile ≥375px viewports);
(2) the Licensee's "About", "Credits", or vendor disclosure page; and
(3) any AI capability documentation the Licensee maintains.
In addition, the Licensee must list Anylegal as a sub-processor in any GDPR Article 28, DORA, UAE PDPL, or equivalent regulatory disclosure the Licensee maintains.
The following attribution presentations are FORBIDDEN: hidden behind a click; in text; failing WCAG contrast; behind authentication walls; deeper than two clicks from the landing page; image-only without alt text; abbreviations or acronyms in place of the full text.
Commercial License
Commercial Licenses are negotiated per deployment. To obtain one, contact licensing@anylegal.ai with your deployment details. A Commercial License removes the attribution requirement and is the only permitted path for Threshold (d) and for internal-only deployments above other thresholds.
Trademark
"Anylegal.ai" is a registered trademark. This License permits forks of the Software but does NOT grant any rights to use the Anylegal.ai name or logo. Forks may not be branded as "Anylegal.ai" or any confusingly similar name, including without limitation "Anylegal", "AnyLegal", "anylegal", or any variant differing only in capitalization, punctuation, separator characters, or whitespace. The "Powered by Anylegal.ai" attribution required under the Attribution Path section above is a license condition, not a trademark grant.
Reproduction by AI Coding Agents and Automated Tools
For the avoidance of doubt, the following constitute "Reproduction" of the Software within the meaning of this License:
(1) using an AI coding agent, large language model, or other automated tool to read, analyze, transform, regenerate, or rewrite the Software (or any substantial portion thereof) into output that is substantially similar in functional structure, behavior, or expression to the Software — regardless of programming language, module organization, or paraphrasing;
(2) any "clean-room" rewrite where the rewriting party (whether human or automated) has had access to the Software, including access mediated by an AI agent or other automated tool that has read the Software.
Output produced under (1) or (2) is subject to these Additional Terms (including the threshold-based attribution requirements and the Managed-Service / Anti-Aggregator clause) as if the Software had been copied verbatim by a human. The Licensee's commitments under this License extend to such output regardless of whether the output itself is independently copyrightable in the Licensee's hands.
Forks of the Software are permitted provided they comply with this License, including these Additional Terms. This clause does not prohibit forking; it clarifies that AI-mediated forks are subject to the same terms as human-authored forks.
This clause does not restrict the use of AI coding agents to: (i) fix bugs in the Software, (ii) maintain or contribute to the Software, (iii) conduct security review of the Software, or (iv) otherwise interact with the Software within the rights granted by this License.
Public Attribution for Derivative Works
Any public distribution of the Software, a fork, or a derivative work that includes substantial portions of the Software — including AI-mediated reproductions per the section "Reproduction by AI Coding Agents and Automated Tools" — must clearly identify Anylegal.ai as the source by:
(1) including a visible reference in the derivative project's README (or equivalent primary documentation) to the original Software, in the form "Based on Anylegal-OSS — https://github.com/anylegal-ai/anylegal-oss" or substantively equivalent language with a working hyperlink;
(2) preserving the LICENSE and LICENSE-ADDITIONAL-TERMS.md files unchanged in the root of the derivative repository.
The Licensee may not represent the Software, or any substantial portion or AI-mediated reproduction thereof, as the Licensee's original work or independent invention — neither in the derivative work itself nor in any public statement promoting it (including social media posts, announcements, presentations, blog posts, press releases, or marketing communications). False claims of authorship over the Software or substantial portions thereof are a material breach of this License.
This requirement applies regardless of whether any threshold under "Legal-Services Thresholds" is triggered, and it is distinct from the prominent UI attribution required when a threshold fires (which mandates "Powered by Anylegal.ai" placement on user-facing surfaces). Source-file copyright header preservation alone does not satisfy this requirement — end-users encounter the README before source files, so the README-level reference is the binding form.