graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
LICENSE: covered companies by funding, net worth or revenue after 0.0.302.22
justrachd6547ff9786d
diff --git a/LICENSE b/LICENSEindex 9df8ffbe..edbf7295 100644--- a/LICENSE+++ b/LICENSE@@ -33,7 +33,7 @@ no Licensor may grant any such license alone.This reservation runs solely and personally to the two Licensors named above.EVERY OTHER PERSON OR ENTITY receives, copies, runs, modifies, conveys, andinteracts with this software strictly and only under the AGPL-3.0 as set out-below, subject to the FUNDED COMPANIES term that follows -- including its+below, subject to the COVERED COMPANIES term that follows -- including itsSection 13 obligation to offer the Corresponding Source to all users whointeract with a modified version remotely over a network.Nothing in this carve-out grants any right to anyone other than the two named@@ -58,35 +58,55 @@ own material breach. Both Licensors have agreed to and signed these AdditionalTerms.---------------------------------------------------------------------------------FUNDED COMPANIES (Additional Term for versions after 0.0.302.15)+COVERED COMPANIES (Additional Term for versions after 0.0.302.22)--------------------------------------------------------------------------------This Additional Term is part of this License for every version of this-software released after version 0.0.302.15, and for any copy whose LICENSE+software released after version 0.0.302.22, and for any copy whose LICENSEcontains it. A version whose LICENSE does not contain it remains licensed asthat LICENSE states.-A "Funded Company" is any company, partnership, or other organization that,-together with its Affiliates, has raised more than US$500,000 in total from-investors or lenders, through equity, convertible notes, SAFEs, or similar-instruments, at any valuation. An "Affiliate" is any organization that-controls, is controlled by, or is under common control with it.--A Funded Company, and anyone using this software on its behalf (including its-employees, contractors, and agents), may use this software for any purpose-only under a separate commercial license granted jointly by the Licensors.-"Use" includes running this software on the Funded Company's computers,-servers, continuous-integration systems, or networks, and making it available-to its personnel or users over a network. The AGPL-3.0 license below is not-granted to a Funded Company, or to anyone acting on its behalf, for any such-use.--An organization that becomes a Funded Company may continue its existing use-for 30 days, within which it must obtain a commercial license or stop using-this software.--Individuals using this software for themselves, and organizations that are not-Funded Companies, receive this software under the AGPL-3.0 as set out below.+1. WHO IS A COVERED COMPANY. A "Covered Company" is any company, partnership,+ or other organization that, counted together with its Affiliates, meets ANY+ ONE of the following tests. Meeting a single test is enough.++ (a) FUNDING. It has raised more than US$500,000 in total, at any time, from+ investors or lenders, through equity, convertible notes, SAFEs, loans,+ grants, or similar instruments, at any valuation.++ (b) NET WORTH. Its net worth (total assets minus total liabilities) or its+ most recent valuation (pre-money or post-money, whichever is higher) is+ more than US$500,000.++ (c) REVENUE. Its gross revenue, from any source, was more than US$100,000+ in its most recent fiscal year or in any period of 12 consecutive+ months.++ An "Affiliate" is any organization that controls, is controlled by, or is+ under common control with it. Amounts in other currencies are converted to+ US dollars at the exchange rate on the date the amount is measured.++2. WHAT A COVERED COMPANY MUST DO. A Covered Company, and anyone using this+ software on its behalf (including its employees, contractors, and agents),+ may use this software for any purpose only under a separate commercial+ license granted jointly by the Licensors. "Use" includes installing or+ running this software on the Covered Company's computers, servers, cloud+ accounts, continuous-integration systems, or networks, and making it+ available to its personnel or users over a network. The AGPL-3.0 license+ below is not granted to a Covered Company, or to anyone acting on its+ behalf, for any such use.++3. CROSSING A THRESHOLD. An organization that becomes a Covered Company must+ contact the Licensors at [email protected] within 5 working days of+ the date it first meets any test in section 1, to obtain a commercial+ license. If it does not contact the Licensors within those 5 working days,+ it must stop using this software.++4. WHO IS NOT AFFECTED. Individuals using this software for themselves, and+ organizations that meet none of the tests in section 1, receive this+ software under the AGPL-3.0 as set out below. If you are unsure whether+ your organization is a Covered Company, treat it as one and contact the+ Licensors.Components in this repository distributed under their own license (such as anSDK under Apache-2.0) keep that license; a copy of this software that such adiff --git a/README.md b/README.mdindex 9ce6c4b2..044e8032 100644--- a/README.md+++ b/README.md@@ -427,10 +427,9 @@ Docs-only pushes skip it. In-house PR fixtures: `graff-evals/`## Enterprise-From the release after v0.0.302.15, a company that has raised more than-US$500k (at any valuation, counting its affiliates) needs a commercial license-for any use of graff, including on its own machines, CI and network (see-[License](#license)). Contact+From the release after v0.0.302.22, an organization needs a commercial license+for any use of graff, including on its own machines, cloud, CI and network, if+it meets any one of the tests under [License](#license). Contact[[email protected]](mailto:[email protected]) for a license,support, and deployment help. What the measured harness comparisons mean fora budget: [evals/enterprise-cost.md](evals/enterprise-cost.md).@@ -444,11 +443,20 @@ licence is perpetual unless they breach it. Commercial permission withoutcopyleft exists only if **both authors grant it jointly in writing**, and isrevocable.-**Funded companies.** Every version after v0.0.302.15 adds one term: a-company that has raised more than US$500k, at any valuation and counting its-affiliates, may use graff only under a commercial license, including on its-own machines, CI and network. Individuals and other organizations use graff-under the AGPL. Versions up to v0.0.302.15 keep the license they shipped-with. Contact [[email protected]](mailto:[email protected]).+**Companies need a commercial license.** Every version after v0.0.302.22 adds+one term. Your organization, counted together with its affiliates, needs a+commercial license for any use of graff (including on its own machines, cloud,+CI and network) if it meets **any one** of these:++- it has raised more than **US$500k** in total from investors or lenders;+- its net worth or latest valuation is more than **US$500k**;+- its gross revenue was more than **US$100k** in its last fiscal year or any+ 12-month period.++A company that crosses a line must contact us within 5 working days.+Individuals, and organizations that meet none of these, use graff under the+AGPL. Earlier versions keep the license they shipped with. Unsure? Treat+yourself as covered and contact+[[email protected]](mailto:[email protected]).<p align="center"><sub>Built in Zig 0.17 dev · <a href="LICENSE">AGPL-3.0 (modified)</a> · <a href="docs/architecture.md">architecture</a> · <a href="CHANGELOG.md">CHANGELOG</a> · <a href="docs/uxlog.md">uxlog</a></sub></p>diff --git a/docs/embedding.md b/docs/embedding.mdindex 3723fe4e..1a226d00 100644--- a/docs/embedding.md+++ b/docs/embedding.md@@ -139,9 +139,10 @@ registry client.codegraff is **Modified AGPLv3** ([`LICENSE`](../LICENSE)): a hosted or SaaSembed is a legal event (AGPL §13) unless both authors grant a separate-written permission. From the release after v0.0.302.15, a company that has-raised more than US$500k needs a commercial license for any use, embedding-included (contact [email protected]).+written permission. From the release after v0.0.302.22, an organization that+has raised more than US$500k, is worth more than US$500k, or earns more than+US$100k a year needs a commercial license for any use, embedding included+(contact [email protected]).## In-process (`createGraffAgent`)diff --git a/evals/enterprise-cost.md b/evals/enterprise-cost.mdindex 5aaa614f..c8480b8d 100644--- a/evals/enterprise-cost.md+++ b/evals/enterprise-cost.md@@ -55,8 +55,9 @@ Against the Codex app server graff is now faster, 22.2s against 28.6s per task## Enterprisegraff is licensed under a modified AGPL-3.0 ([LICENSE](../LICENSE)). From-the release after v0.0.302.15, a company that has raised more than US$500k-(at any valuation, counting its affiliates) needs a commercial license for any-use, including on its own machines, CI and network. Contact+the release after v0.0.302.22, an organization (counting its affiliates) that+has raised more than US$500k, has a net worth or valuation above US$500k, or+has gross revenue above US$100k a year needs a commercial license for any use,+including on its own machines, CI and network. Contact[[email protected]](mailto:[email protected]) for a license,support, and deployment help.