Skip to content

Commit 9789aa3

Browse files
committed
Adopt BSL 1.1 licensing terms
1 parent 672f232 commit 9789aa3

5 files changed

Lines changed: 154 additions & 25 deletions

File tree

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ members = [
1111
[workspace.package]
1212
version = "0.1.0"
1313
edition = "2024"
14-
license = "MIT"
14+
license = "BUSL-1.1"
1515

1616
[workspace.dependencies]
1717
# Web framework

‎LICENSE‎

Lines changed: 87 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,87 @@
1-
MIT License
2-
3-
Copyright (c) 2026 AgentBastion Contributors
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
1+
Business Source License 1.1
2+
3+
Parameters
4+
5+
Licensor: AgentBastion Contributors
6+
7+
Licensed Work: AgentBastion, including all source code, build scripts, and
8+
documentation in this repository, each version as released by the Licensor.
9+
10+
Additional Use Grant: You may make production use of the Licensed Work,
11+
without purchasing a separate commercial license, if your aggregate Production
12+
Usage Volume does not exceed 10,000,000 Billable Tokens in a calendar month.
13+
"Billable Tokens" means the sum of all input and output LLM tokens processed by
14+
the Licensed Work for production traffic. Production use above that threshold
15+
requires a separate commercial license from the Licensor, priced according to
16+
monthly Billable Tokens as described in LICENSING.md.
17+
18+
Change Date: 2030-04-02
19+
20+
Change License: GPL-2.0-or-later
21+
22+
Terms
23+
24+
The Licensor hereby grants you the right to copy, modify, create derivative
25+
works, redistribute, and make non-production use of the Licensed Work. The
26+
Licensor may make an Additional Use Grant, above, permitting limited
27+
production use.
28+
29+
Effective on the Change Date, or the fourth anniversary of the first publicly
30+
available distribution of a specific version of the Licensed Work under this
31+
License, whichever comes first, the Licensor hereby grants you rights under
32+
the terms of the Change License, and the rights granted in the paragraph above
33+
terminate.
34+
35+
If your use of the Licensed Work does not comply with the requirements
36+
currently in effect as described in this License, you must purchase a
37+
commercial license from the Licensor, its affiliated entities, or authorized
38+
resellers, or you must refrain from using the Licensed Work.
39+
40+
All copies of the original and modified Licensed Work, and derivative works of
41+
the Licensed Work, are subject to this License. This License applies
42+
separately for each version of the Licensed Work and the Change Date may vary
43+
for each version of the Licensed Work released by Licensor.
44+
45+
You must conspicuously display this License on each original or modified copy
46+
of the Licensed Work. If you receive the Licensed Work in original or modified
47+
form from a third party, the terms and conditions set forth in this License
48+
apply to your use of that work.
49+
50+
Any use of the Licensed Work in violation of this License will automatically
51+
terminate your rights under this License for the current and all other
52+
versions of the Licensed Work.
53+
54+
This License does not grant you any right in any trademark or logo of
55+
Licensor or its affiliates (provided that you may use a trademark or logo of
56+
Licensor as expressly required by this License). TO THE EXTENT PERMITTED BY
57+
APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN "AS IS" BASIS. LICENSOR
58+
HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING
59+
(WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
60+
PURPOSE, NON-INFRINGEMENT, AND TITLE.
61+
62+
MariaDB hereby grants you permission to use this License's text to license
63+
your works, and to refer to it using the trademark "Business Source License",
64+
as long as you comply with the Covenants of Licensor below.
65+
66+
Covenants of Licensor
67+
68+
In consideration of the right to use this License's text and the "Business
69+
Source License" name and trademark, Licensor covenants to MariaDB, and to all
70+
other recipients of the licensed work to be provided by Licensor:
71+
72+
To specify as the Change License the GPL Version 2.0 or any later version, or
73+
a license that is compatible with GPL Version 2.0 or a later version, where
74+
"compatible" means that software provided under the Change License can be
75+
included in a program with software provided under GPL Version 2.0 or a later
76+
version. Licensor may specify additional Change Licenses without limitation.
77+
78+
To either: (a) specify an additional grant of rights to use that does not
79+
impose any additional restriction on the right granted in this License, as the
80+
Additional Use Grant; or (b) insert the text "None" to specify a Change Date.
81+
Not to modify this License in any other way.
82+
83+
Notice
84+
85+
The Business Source License (this document, or the "License") is not an Open
86+
Source license. However, the Licensed Work will eventually be made available
87+
under an Open Source License, as stated in this License.

‎LICENSING.md‎

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Licensing
2+
3+
AgentBastion is distributed under the [Business Source License 1.1](LICENSE)
4+
as source-available software.
5+
6+
## Summary
7+
8+
- Non-production use is permitted at no charge.
9+
- Production use is permitted at no charge up to 10,000,000 Billable Tokens per
10+
calendar month.
11+
- Production use above that threshold requires a separate commercial license
12+
from the Licensor.
13+
- Each released version converts to `GPL-2.0-or-later` on the earlier of its
14+
Change Date or the fourth anniversary of that version's first public release.
15+
16+
## Usage-Based Commercial Terms
17+
18+
Commercial access is priced by monthly usage rather than by seat count.
19+
20+
### Billable Tokens
21+
22+
For licensing purposes, Billable Tokens are:
23+
24+
- All input tokens processed for production traffic.
25+
- All output tokens generated for production traffic.
26+
- Aggregated across all workspaces, teams, environments, and customers operated
27+
by the same legal entity.
28+
29+
Billable Tokens do not include:
30+
31+
- Local development, CI, test, staging, or demo traffic.
32+
- Internal evaluation traffic that does not serve end-user production requests.
33+
34+
### Production Usage Volume
35+
36+
Production Usage Volume means the total Billable Tokens processed during a UTC
37+
calendar month.
38+
39+
### Pricing Model
40+
41+
- `0` to `10,000,000` Billable Tokens per month: included under the Additional
42+
Use Grant in [LICENSE](LICENSE).
43+
- Above `10,000,000` Billable Tokens per month: requires a commercial license
44+
priced on monthly Billable Tokens.
45+
- Embedded, OEM, and managed-service offerings may require a custom commercial
46+
agreement even when usage is otherwise metered monthly.
47+
48+
## Compliance
49+
50+
If you exceed the free production threshold, you must obtain a commercial
51+
license before continuing production use of the Licensed Work.

‎README.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,10 @@ Contributions are welcome. Please open an issue to discuss before submitting a P
150150

151151
## License
152152

153-
[MIT](LICENSE)
153+
AgentBastion is source-available under the [Business Source License 1.1](LICENSE).
154+
Non-production use is free. Production use is free up to `10,000,000`
155+
Billable Tokens per UTC calendar month; above that threshold, a commercial
156+
license is required and priced by usage volume.
157+
158+
See [LICENSING.md](LICENSING.md) for the production-use threshold, the Billable
159+
Token definition, and the changeover to `GPL-2.0-or-later`.

‎README.zh-CN.md‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,12 @@ AgentBastion/
148148

149149
欢迎贡献。提交大型变更前请先开 Issue 讨论。
150150

151-
## 开源协议
151+
## 授权协议
152152

153-
[MIT](LICENSE)
153+
AgentBastion 采用 [Business Source License 1.1](LICENSE) 进行源码可见分发。
154+
非生产用途可免费使用。生产用途在每个 UTC 自然月内不超过
155+
`10,000,000` Billable Tokens 时可免费使用;超过该阈值后,需购买按
156+
使用量计费的商业授权。
157+
158+
具体的生产阈值、Billable Tokens 定义以及后续切换到
159+
`GPL-2.0-or-later` 的规则,见 [LICENSING.md](LICENSING.md)。

0 commit comments

Comments
 (0)