agentforge-oss 0.5.2__tar.gz → 0.5.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/CHANGELOG.md +3 -0
- agentforge_oss-0.5.3/LICENSE +202 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/PKG-INFO +30 -17
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/README.md +27 -14
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/docs/examples/custom-tools.md +4 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/docs/examples/otel-tracing.md +2 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/docs/examples/parallel-supervisor.md +3 -3
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/docs/examples/persistent-rag.md +2 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/docs/examples/policy-governance.md +43 -29
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/_version.py +1 -1
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/pyproject.toml +2 -2
- agentforge_oss-0.5.2/LICENSE +0 -21
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/.gitignore +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/docs/examples/index.md +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/examples/enterprise_governance.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/examples/otel_tracing.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/examples/policy_governance.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/examples/quickstart.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/examples/rag.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/examples/rag_persistent.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/examples/rag_pgvector.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/examples/tool_use.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/__init__.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/agents/__init__.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/agents/agent.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/agents/base.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/agents/supervisor.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/cli/__init__.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/cli/console.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/cli/main.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/compliance/__init__.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/compliance/audit.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/compliance/redaction.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/config.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/exceptions.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/governance/__init__.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/governance/policy.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/memory/__init__.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/memory/base.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/memory/conversation.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/memory/pgvector.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/memory/sqlite.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/memory/vector.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/models/__init__.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/models/base.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/models/providers/__init__.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/models/providers/anthropic.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/models/providers/bedrock.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/models/providers/echo.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/models/providers/ollama.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/models/providers/openai.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/models/registry.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/models/router.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/observability/__init__.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/observability/events.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/observability/logging.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/observability/otel.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/observability/usage.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/orchestration/__init__.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/orchestration/context.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/orchestration/orchestrator.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/py.typed +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/security/__init__.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/security/access.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/security/sandbox.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/security/sanitization.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/tools/__init__.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/tools/base.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/tools/builtin/__init__.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/tools/builtin/calculator.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/tools/builtin/http.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/tools/builtin/time.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/tools/registry.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/forge/types.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/conftest.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_agents.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_audit.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_audit_robustness.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_bedrock_provider.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_config_security.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_config_validation.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_http_security.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_memory.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_models.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_ollama_provider.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_openai_provider.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_orchestrator.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_otel.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_parallel_workers.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_pgvector_memory.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_policy_governance.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_security.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_sqlite_concurrency.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_sqlite_memory.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_streaming.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_tools.py +0 -0
- {agentforge_oss-0.5.2 → agentforge_oss-0.5.3}/tests/test_types.py +0 -0
|
@@ -8,7 +8,10 @@ Versioning follows [Semantic Versioning](https://semver.org/).
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [0.5.3] - 2026-08-06
|
|
12
|
+
|
|
11
13
|
### Maintenance
|
|
14
|
+
- Publish corrected Apache-2.0 package metadata under the public maintainer identity `sekacorn`.
|
|
12
15
|
- Consolidated git commit authorship under a single maintainer identity (`sekacorn`).
|
|
13
16
|
|
|
14
17
|
## [0.5.2] — 2026-07-07
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentforge-oss
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.3
|
|
4
4
|
Summary: Forge — an open-source, enterprise-ready multi-agent orchestration platform with cost awareness, governance, and security built in.
|
|
5
5
|
Project-URL: Homepage, https://github.com/sekacorn/AgentForge
|
|
6
6
|
Project-URL: Documentation, https://github.com/sekacorn/AgentForge#readme
|
|
@@ -9,12 +9,12 @@ Project-URL: Issues, https://github.com/sekacorn/AgentForge/issues
|
|
|
9
9
|
Project-URL: Changelog, https://github.com/sekacorn/AgentForge/blob/main/CHANGELOG.md
|
|
10
10
|
Author: sekacorn
|
|
11
11
|
Maintainer: sekacorn
|
|
12
|
-
License:
|
|
12
|
+
License-Expression: Apache-2.0
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Keywords: agents,ai,anthropic,claude,enterprise,governance,llm,multi-agent,observability,openai,orchestration,rag
|
|
15
15
|
Classifier: Development Status :: 4 - Beta
|
|
16
16
|
Classifier: Intended Audience :: Developers
|
|
17
|
-
Classifier: License :: OSI Approved ::
|
|
17
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
18
18
|
Classifier: Operating System :: OS Independent
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -82,7 +82,7 @@ with cost-awareness, security, and compliance built in from line one.**
|
|
|
82
82
|
|
|
83
83
|
[](https://github.com/sekacorn/AgentForge/actions/workflows/ci.yml)
|
|
84
84
|
[](https://pypi.org/project/agentforge-oss/)
|
|
85
|
-
[](LICENSE)
|
|
86
86
|
[](https://www.python.org/)
|
|
87
87
|
[](pyproject.toml)
|
|
88
88
|
[](https://sekacorn.github.io/AgentForge/)
|
|
@@ -113,16 +113,18 @@ features — not afterthoughts you bolt on before launch.
|
|
|
113
113
|
import asyncio
|
|
114
114
|
from forge import Orchestrator
|
|
115
115
|
|
|
116
|
+
|
|
116
117
|
async def main() -> None:
|
|
117
118
|
# Zero config. Runs fully offline with the deterministic echo provider, and
|
|
118
119
|
# automatically uses Claude or GPT when an API key is present in the environment.
|
|
119
120
|
async with Orchestrator() as forge:
|
|
120
121
|
result = await forge.run(
|
|
121
122
|
"Research our top 3 competitors, draft a comparison, and compute Q3 growth at 18%",
|
|
122
|
-
mode="supervisor",
|
|
123
|
+
mode="supervisor", # spawns parallel workers, one per subtask
|
|
123
124
|
)
|
|
124
125
|
print(result.output)
|
|
125
|
-
print(result.usage.format_table())
|
|
126
|
+
print(result.usage.format_table()) # tokens + cost, per model and per agent
|
|
127
|
+
|
|
126
128
|
|
|
127
129
|
asyncio.run(main())
|
|
128
130
|
```
|
|
@@ -238,14 +240,16 @@ An honest snapshot of what works today versus what is on the way. Everything mar
|
|
|
238
240
|
from forge import PolicyRule, PolicySet
|
|
239
241
|
|
|
240
242
|
policy = PolicySet()
|
|
241
|
-
policy.add(
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
243
|
+
policy.add(
|
|
244
|
+
PolicyRule(
|
|
245
|
+
name="require-approval-for-network",
|
|
246
|
+
description="Any network call requires human sign-off",
|
|
247
|
+
tool_names=["http_get"],
|
|
248
|
+
condition=lambda name, args: True,
|
|
249
|
+
action="approve",
|
|
250
|
+
approver=my_approval_webhook, # async fn returning bool
|
|
251
|
+
)
|
|
252
|
+
)
|
|
249
253
|
```
|
|
250
254
|
|
|
251
255
|
### Observability built in
|
|
@@ -330,6 +334,7 @@ call, run tools in the sandbox, and tally cost in real time.
|
|
|
330
334
|
import asyncio
|
|
331
335
|
from forge import Orchestrator, ToolRegistry, tool, calculator
|
|
332
336
|
|
|
337
|
+
|
|
333
338
|
@tool
|
|
334
339
|
def fx_convert(amount: float, rate: float) -> float:
|
|
335
340
|
"""Convert an amount using an FX rate.
|
|
@@ -340,6 +345,7 @@ def fx_convert(amount: float, rate: float) -> float:
|
|
|
340
345
|
"""
|
|
341
346
|
return round(amount * rate, 2)
|
|
342
347
|
|
|
348
|
+
|
|
343
349
|
async def main() -> None:
|
|
344
350
|
tools = ToolRegistry([calculator, fx_convert])
|
|
345
351
|
async with Orchestrator() as forge:
|
|
@@ -350,6 +356,7 @@ async def main() -> None:
|
|
|
350
356
|
)
|
|
351
357
|
print(result.output)
|
|
352
358
|
|
|
359
|
+
|
|
353
360
|
asyncio.run(main())
|
|
354
361
|
```
|
|
355
362
|
|
|
@@ -359,6 +366,7 @@ asyncio.run(main())
|
|
|
359
366
|
import asyncio
|
|
360
367
|
from forge import Orchestrator, ForgeConfig, BudgetConfig
|
|
361
368
|
|
|
369
|
+
|
|
362
370
|
async def main() -> None:
|
|
363
371
|
config = ForgeConfig(budget=BudgetConfig(max_workers=3, max_usd_per_run=0.25))
|
|
364
372
|
async with Orchestrator(config) as forge:
|
|
@@ -369,6 +377,7 @@ async def main() -> None:
|
|
|
369
377
|
print(result.output)
|
|
370
378
|
print(result.usage.format_table())
|
|
371
379
|
|
|
380
|
+
|
|
372
381
|
asyncio.run(main())
|
|
373
382
|
```
|
|
374
383
|
|
|
@@ -378,12 +387,14 @@ asyncio.run(main())
|
|
|
378
387
|
import asyncio
|
|
379
388
|
from forge import InMemoryVectorStore
|
|
380
389
|
|
|
390
|
+
|
|
381
391
|
async def main() -> None:
|
|
382
392
|
store = InMemoryVectorStore()
|
|
383
393
|
await store.add("Forge routes cheap tasks to small models to save cost.")
|
|
384
394
|
await store.add("The audit log is hash-chained and tamper-evident.")
|
|
385
395
|
hits = await store.search("how does Forge keep costs down?", k=1)
|
|
386
|
-
print(hits[0].text)
|
|
396
|
+
print(hits[0].text) # -> the cost-routing fact
|
|
397
|
+
|
|
387
398
|
|
|
388
399
|
asyncio.run(main())
|
|
389
400
|
```
|
|
@@ -394,13 +405,15 @@ asyncio.run(main())
|
|
|
394
405
|
import asyncio
|
|
395
406
|
from forge import PGVectorMemoryStore
|
|
396
407
|
|
|
408
|
+
|
|
397
409
|
async def main() -> None:
|
|
398
410
|
dsn = "postgresql://forge:forge@localhost:5432/forge"
|
|
399
411
|
async with PGVectorMemoryStore(dsn) as store:
|
|
400
412
|
await store.add("Forge routes cheap tasks to small models to save cost.")
|
|
401
413
|
await store.add("The audit log is hash-chained and tamper-evident.")
|
|
402
414
|
hits = await store.search("how does Forge keep costs down?", k=1)
|
|
403
|
-
print(hits[0].text)
|
|
415
|
+
print(hits[0].text) # -> the cost-routing fact
|
|
416
|
+
|
|
404
417
|
|
|
405
418
|
asyncio.run(main())
|
|
406
419
|
```
|
|
@@ -561,5 +574,5 @@ the core typed (`mypy --strict`) and tested.
|
|
|
561
574
|
|
|
562
575
|
## License
|
|
563
576
|
|
|
564
|
-
[
|
|
577
|
+
[Apache License 2.0](LICENSE) — free for commercial and private use. Build something that multiplies
|
|
565
578
|
your team.
|
|
@@ -9,7 +9,7 @@ with cost-awareness, security, and compliance built in from line one.**
|
|
|
9
9
|
|
|
10
10
|
[](https://github.com/sekacorn/AgentForge/actions/workflows/ci.yml)
|
|
11
11
|
[](https://pypi.org/project/agentforge-oss/)
|
|
12
|
-
[](LICENSE)
|
|
13
13
|
[](https://www.python.org/)
|
|
14
14
|
[](pyproject.toml)
|
|
15
15
|
[](https://sekacorn.github.io/AgentForge/)
|
|
@@ -40,16 +40,18 @@ features — not afterthoughts you bolt on before launch.
|
|
|
40
40
|
import asyncio
|
|
41
41
|
from forge import Orchestrator
|
|
42
42
|
|
|
43
|
+
|
|
43
44
|
async def main() -> None:
|
|
44
45
|
# Zero config. Runs fully offline with the deterministic echo provider, and
|
|
45
46
|
# automatically uses Claude or GPT when an API key is present in the environment.
|
|
46
47
|
async with Orchestrator() as forge:
|
|
47
48
|
result = await forge.run(
|
|
48
49
|
"Research our top 3 competitors, draft a comparison, and compute Q3 growth at 18%",
|
|
49
|
-
mode="supervisor",
|
|
50
|
+
mode="supervisor", # spawns parallel workers, one per subtask
|
|
50
51
|
)
|
|
51
52
|
print(result.output)
|
|
52
|
-
print(result.usage.format_table())
|
|
53
|
+
print(result.usage.format_table()) # tokens + cost, per model and per agent
|
|
54
|
+
|
|
53
55
|
|
|
54
56
|
asyncio.run(main())
|
|
55
57
|
```
|
|
@@ -165,14 +167,16 @@ An honest snapshot of what works today versus what is on the way. Everything mar
|
|
|
165
167
|
from forge import PolicyRule, PolicySet
|
|
166
168
|
|
|
167
169
|
policy = PolicySet()
|
|
168
|
-
policy.add(
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
170
|
+
policy.add(
|
|
171
|
+
PolicyRule(
|
|
172
|
+
name="require-approval-for-network",
|
|
173
|
+
description="Any network call requires human sign-off",
|
|
174
|
+
tool_names=["http_get"],
|
|
175
|
+
condition=lambda name, args: True,
|
|
176
|
+
action="approve",
|
|
177
|
+
approver=my_approval_webhook, # async fn returning bool
|
|
178
|
+
)
|
|
179
|
+
)
|
|
176
180
|
```
|
|
177
181
|
|
|
178
182
|
### Observability built in
|
|
@@ -257,6 +261,7 @@ call, run tools in the sandbox, and tally cost in real time.
|
|
|
257
261
|
import asyncio
|
|
258
262
|
from forge import Orchestrator, ToolRegistry, tool, calculator
|
|
259
263
|
|
|
264
|
+
|
|
260
265
|
@tool
|
|
261
266
|
def fx_convert(amount: float, rate: float) -> float:
|
|
262
267
|
"""Convert an amount using an FX rate.
|
|
@@ -267,6 +272,7 @@ def fx_convert(amount: float, rate: float) -> float:
|
|
|
267
272
|
"""
|
|
268
273
|
return round(amount * rate, 2)
|
|
269
274
|
|
|
275
|
+
|
|
270
276
|
async def main() -> None:
|
|
271
277
|
tools = ToolRegistry([calculator, fx_convert])
|
|
272
278
|
async with Orchestrator() as forge:
|
|
@@ -277,6 +283,7 @@ async def main() -> None:
|
|
|
277
283
|
)
|
|
278
284
|
print(result.output)
|
|
279
285
|
|
|
286
|
+
|
|
280
287
|
asyncio.run(main())
|
|
281
288
|
```
|
|
282
289
|
|
|
@@ -286,6 +293,7 @@ asyncio.run(main())
|
|
|
286
293
|
import asyncio
|
|
287
294
|
from forge import Orchestrator, ForgeConfig, BudgetConfig
|
|
288
295
|
|
|
296
|
+
|
|
289
297
|
async def main() -> None:
|
|
290
298
|
config = ForgeConfig(budget=BudgetConfig(max_workers=3, max_usd_per_run=0.25))
|
|
291
299
|
async with Orchestrator(config) as forge:
|
|
@@ -296,6 +304,7 @@ async def main() -> None:
|
|
|
296
304
|
print(result.output)
|
|
297
305
|
print(result.usage.format_table())
|
|
298
306
|
|
|
307
|
+
|
|
299
308
|
asyncio.run(main())
|
|
300
309
|
```
|
|
301
310
|
|
|
@@ -305,12 +314,14 @@ asyncio.run(main())
|
|
|
305
314
|
import asyncio
|
|
306
315
|
from forge import InMemoryVectorStore
|
|
307
316
|
|
|
317
|
+
|
|
308
318
|
async def main() -> None:
|
|
309
319
|
store = InMemoryVectorStore()
|
|
310
320
|
await store.add("Forge routes cheap tasks to small models to save cost.")
|
|
311
321
|
await store.add("The audit log is hash-chained and tamper-evident.")
|
|
312
322
|
hits = await store.search("how does Forge keep costs down?", k=1)
|
|
313
|
-
print(hits[0].text)
|
|
323
|
+
print(hits[0].text) # -> the cost-routing fact
|
|
324
|
+
|
|
314
325
|
|
|
315
326
|
asyncio.run(main())
|
|
316
327
|
```
|
|
@@ -321,13 +332,15 @@ asyncio.run(main())
|
|
|
321
332
|
import asyncio
|
|
322
333
|
from forge import PGVectorMemoryStore
|
|
323
334
|
|
|
335
|
+
|
|
324
336
|
async def main() -> None:
|
|
325
337
|
dsn = "postgresql://forge:forge@localhost:5432/forge"
|
|
326
338
|
async with PGVectorMemoryStore(dsn) as store:
|
|
327
339
|
await store.add("Forge routes cheap tasks to small models to save cost.")
|
|
328
340
|
await store.add("The audit log is hash-chained and tamper-evident.")
|
|
329
341
|
hits = await store.search("how does Forge keep costs down?", k=1)
|
|
330
|
-
print(hits[0].text)
|
|
342
|
+
print(hits[0].text) # -> the cost-routing fact
|
|
343
|
+
|
|
331
344
|
|
|
332
345
|
asyncio.run(main())
|
|
333
346
|
```
|
|
@@ -488,5 +501,5 @@ the core typed (`mypy --strict`) and tested.
|
|
|
488
501
|
|
|
489
502
|
## License
|
|
490
503
|
|
|
491
|
-
[
|
|
504
|
+
[Apache License 2.0](LICENSE) — free for commercial and private use. Build something that multiplies
|
|
492
505
|
your team.
|
|
@@ -8,6 +8,7 @@ an agent tool via `@tool`.
|
|
|
8
8
|
```python
|
|
9
9
|
from forge import tool
|
|
10
10
|
|
|
11
|
+
|
|
11
12
|
@tool
|
|
12
13
|
def fx_convert(amount: float, rate: float) -> float:
|
|
13
14
|
"""Convert an amount of money using an exchange rate.
|
|
@@ -29,6 +30,7 @@ two float parameters and a description it can reason about.
|
|
|
29
30
|
import asyncio
|
|
30
31
|
from forge import Orchestrator, ToolRegistry, calculator, tool
|
|
31
32
|
|
|
33
|
+
|
|
32
34
|
@tool
|
|
33
35
|
def fx_convert(amount: float, rate: float) -> float:
|
|
34
36
|
"""Convert an amount of money using an exchange rate.
|
|
@@ -39,6 +41,7 @@ def fx_convert(amount: float, rate: float) -> float:
|
|
|
39
41
|
"""
|
|
40
42
|
return round(amount * rate, 2)
|
|
41
43
|
|
|
44
|
+
|
|
42
45
|
async def main() -> None:
|
|
43
46
|
tools = ToolRegistry([calculator, fx_convert])
|
|
44
47
|
async with Orchestrator() as forge:
|
|
@@ -51,6 +54,7 @@ async def main() -> None:
|
|
|
51
54
|
print()
|
|
52
55
|
print(result.usage.format_table())
|
|
53
56
|
|
|
57
|
+
|
|
54
58
|
asyncio.run(main())
|
|
55
59
|
```
|
|
56
60
|
|
|
@@ -9,6 +9,7 @@ up a real OTel collector.
|
|
|
9
9
|
import asyncio
|
|
10
10
|
from forge import ForgeConfig, Orchestrator
|
|
11
11
|
|
|
12
|
+
|
|
12
13
|
async def main() -> None:
|
|
13
14
|
config = ForgeConfig(
|
|
14
15
|
otel_enabled=True,
|
|
@@ -23,6 +24,7 @@ async def main() -> None:
|
|
|
23
24
|
print(result.usage.format_table())
|
|
24
25
|
print("\nSpans exported above (ConsoleSpanExporter).")
|
|
25
26
|
|
|
27
|
+
|
|
26
28
|
asyncio.run(main())
|
|
27
29
|
```
|
|
28
30
|
|
|
@@ -18,10 +18,9 @@ peers are never cancelled.
|
|
|
18
18
|
import asyncio
|
|
19
19
|
from forge import Orchestrator, ForgeConfig, BudgetConfig
|
|
20
20
|
|
|
21
|
+
|
|
21
22
|
async def main() -> None:
|
|
22
|
-
config = ForgeConfig(
|
|
23
|
-
budget=BudgetConfig(max_workers=3, max_usd_per_run=0.25)
|
|
24
|
-
)
|
|
23
|
+
config = ForgeConfig(budget=BudgetConfig(max_workers=3, max_usd_per_run=0.25))
|
|
25
24
|
async with Orchestrator(config) as forge:
|
|
26
25
|
result = await forge.run(
|
|
27
26
|
"Summarize our product, draft a pricing page, and write an FAQ",
|
|
@@ -30,6 +29,7 @@ async def main() -> None:
|
|
|
30
29
|
print(result.output)
|
|
31
30
|
print(result.usage.format_table())
|
|
32
31
|
|
|
32
|
+
|
|
33
33
|
asyncio.run(main())
|
|
34
34
|
```
|
|
35
35
|
|
|
@@ -15,6 +15,7 @@ restarts -- no external infrastructure needed.
|
|
|
15
15
|
import asyncio
|
|
16
16
|
from forge.memory.sqlite import SQLiteMemoryStore
|
|
17
17
|
|
|
18
|
+
|
|
18
19
|
async def main() -> None:
|
|
19
20
|
async with SQLiteMemoryStore("demo_memory.db") as store:
|
|
20
21
|
count_before = len(await store.search("forge", k=100))
|
|
@@ -30,6 +31,7 @@ async def main() -> None:
|
|
|
30
31
|
for hit in hits:
|
|
31
32
|
print(f" [{hit.score:.3f}] {hit.text}")
|
|
32
33
|
|
|
34
|
+
|
|
33
35
|
asyncio.run(main())
|
|
34
36
|
```
|
|
35
37
|
|
|
@@ -11,13 +11,15 @@ Block a specific tool unconditionally:
|
|
|
11
11
|
from forge import PolicyRule, PolicySet
|
|
12
12
|
|
|
13
13
|
policy = PolicySet()
|
|
14
|
-
policy.add(
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
policy.add(
|
|
15
|
+
PolicyRule(
|
|
16
|
+
name="block-calculator",
|
|
17
|
+
description="Calculator is blocked by policy",
|
|
18
|
+
tool_names=["calculator"],
|
|
19
|
+
condition=lambda name, args: True,
|
|
20
|
+
action="deny",
|
|
21
|
+
)
|
|
22
|
+
)
|
|
21
23
|
```
|
|
22
24
|
|
|
23
25
|
When the agent tries to call `calculator`, the sandbox rejects the call
|
|
@@ -30,20 +32,24 @@ Require a human (or automated system) to approve before a tool runs:
|
|
|
30
32
|
```python
|
|
31
33
|
from typing import Any
|
|
32
34
|
|
|
35
|
+
|
|
33
36
|
async def my_approver(tool_name: str, args: dict[str, Any]) -> bool:
|
|
34
37
|
print(f"[APPROVAL GATE] Tool '{tool_name}' requested with args: {args}")
|
|
35
38
|
print("[APPROVAL GATE] Auto-approving for demo purposes.")
|
|
36
39
|
return True
|
|
37
40
|
|
|
41
|
+
|
|
38
42
|
policy = PolicySet()
|
|
39
|
-
policy.add(
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
policy.add(
|
|
44
|
+
PolicyRule(
|
|
45
|
+
name="require-approval-for-calculator",
|
|
46
|
+
description="Calculator requires human approval",
|
|
47
|
+
tool_names=["calculator"],
|
|
48
|
+
condition=lambda name, args: True,
|
|
49
|
+
action="approve",
|
|
50
|
+
approver=my_approver,
|
|
51
|
+
)
|
|
52
|
+
)
|
|
47
53
|
```
|
|
48
54
|
|
|
49
55
|
The `approver` is an async function that receives the tool name and arguments.
|
|
@@ -56,13 +62,15 @@ Log every tool call without blocking:
|
|
|
56
62
|
|
|
57
63
|
```python
|
|
58
64
|
policy = PolicySet()
|
|
59
|
-
policy.add(
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
65
|
+
policy.add(
|
|
66
|
+
PolicyRule(
|
|
67
|
+
name="log-all-tools",
|
|
68
|
+
description="Log every tool call for audit",
|
|
69
|
+
tool_names=["*"],
|
|
70
|
+
condition=lambda name, args: True,
|
|
71
|
+
action="log",
|
|
72
|
+
)
|
|
73
|
+
)
|
|
66
74
|
```
|
|
67
75
|
|
|
68
76
|
The wildcard `"*"` matches any tool name. Log rules continue to the next rule
|
|
@@ -74,6 +82,7 @@ The wildcard `"*"` matches any tool name. Log rules continue to the next rule
|
|
|
74
82
|
import asyncio
|
|
75
83
|
from forge import EchoProvider, ForgeConfig, Orchestrator, PolicyRule, PolicySet, tool
|
|
76
84
|
|
|
85
|
+
|
|
77
86
|
@tool
|
|
78
87
|
def calculator(expression: str) -> str:
|
|
79
88
|
"""Evaluate a math expression.
|
|
@@ -83,15 +92,18 @@ def calculator(expression: str) -> str:
|
|
|
83
92
|
"""
|
|
84
93
|
return str(eval(expression))
|
|
85
94
|
|
|
95
|
+
|
|
86
96
|
async def main() -> None:
|
|
87
97
|
policy = PolicySet()
|
|
88
|
-
policy.add(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
98
|
+
policy.add(
|
|
99
|
+
PolicyRule(
|
|
100
|
+
name="block-calculator",
|
|
101
|
+
description="Calculator is blocked by policy",
|
|
102
|
+
tool_names=["calculator"],
|
|
103
|
+
condition=lambda name, args: True,
|
|
104
|
+
action="deny",
|
|
105
|
+
)
|
|
106
|
+
)
|
|
95
107
|
|
|
96
108
|
forge_instance = Orchestrator(ForgeConfig(), providers={"echo": EchoProvider()})
|
|
97
109
|
async with forge_instance as forge:
|
|
@@ -103,6 +115,7 @@ async def main() -> None:
|
|
|
103
115
|
)
|
|
104
116
|
print(f"Output: {result.output}")
|
|
105
117
|
|
|
118
|
+
|
|
106
119
|
asyncio.run(main())
|
|
107
120
|
```
|
|
108
121
|
|
|
@@ -121,6 +134,7 @@ def on_event(event):
|
|
|
121
134
|
if "policy" in event.type.value:
|
|
122
135
|
print(f" [{event.type.value}] {event.data}")
|
|
123
136
|
|
|
137
|
+
|
|
124
138
|
forge.subscribe(on_event)
|
|
125
139
|
```
|
|
126
140
|
|
|
@@ -11,7 +11,7 @@ dynamic = ["version"]
|
|
|
11
11
|
description = "Forge — an open-source, enterprise-ready multi-agent orchestration platform with cost awareness, governance, and security built in."
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
requires-python = ">=3.11"
|
|
14
|
-
license =
|
|
14
|
+
license = "Apache-2.0"
|
|
15
15
|
authors = [{ name = "sekacorn" }]
|
|
16
16
|
maintainers = [{ name = "sekacorn" }]
|
|
17
17
|
keywords = [
|
|
@@ -31,7 +31,7 @@ keywords = [
|
|
|
31
31
|
classifiers = [
|
|
32
32
|
"Development Status :: 4 - Beta",
|
|
33
33
|
"Intended Audience :: Developers",
|
|
34
|
-
"License :: OSI Approved ::
|
|
34
|
+
"License :: OSI Approved :: Apache Software License",
|
|
35
35
|
"Operating System :: OS Independent",
|
|
36
36
|
"Programming Language :: Python :: 3",
|
|
37
37
|
"Programming Language :: Python :: 3.11",
|
agentforge_oss-0.5.2/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 sekacorn
|
|
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.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|