kailash 0.9.8__py3-none-any.whl → 0.9.10__py3-none-any.whl
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.
- kailash/__init__.py +1 -1
- kailash/nodes/ai/iterative_llm_agent.py +19 -38
- {kailash-0.9.8.dist-info → kailash-0.9.10.dist-info}/METADATA +41 -19
- {kailash-0.9.8.dist-info → kailash-0.9.10.dist-info}/RECORD +9 -8
- kailash-0.9.10.dist-info/licenses/LICENSE +243 -0
- kailash-0.9.10.dist-info/licenses/NOTICE +17 -0
- kailash-0.9.8.dist-info/licenses/LICENSE +0 -21
- {kailash-0.9.8.dist-info → kailash-0.9.10.dist-info}/WHEEL +0 -0
- {kailash-0.9.8.dist-info → kailash-0.9.10.dist-info}/entry_points.txt +0 -0
- {kailash-0.9.8.dist-info → kailash-0.9.10.dist-info}/top_level.txt +0 -0
kailash/__init__.py
CHANGED
@@ -94,41 +94,37 @@ class IterativeLLMAgentNode(LLMAgentNode):
|
|
94
94
|
Key Features:
|
95
95
|
- Progressive MCP discovery without pre-configuration
|
96
96
|
- 6-phase iterative process (Discovery → Planning → Execution → Reflection → Convergence → Synthesis)
|
97
|
-
-
|
97
|
+
- Real MCP tool execution with fallback to LLM capabilities
|
98
98
|
- Semantic tool understanding and capability mapping
|
99
99
|
- Adaptive strategy based on iteration results
|
100
100
|
- Smart convergence criteria and resource management
|
101
|
-
- Configurable execution modes (real MCP vs mock for testing)
|
102
101
|
|
103
102
|
Examples:
|
104
|
-
>>> # Basic iterative agent
|
103
|
+
>>> # Basic iterative agent execution
|
105
104
|
>>> agent = IterativeLLMAgentNode()
|
106
105
|
>>> result = agent.execute(
|
107
106
|
... messages=[{"role": "user", "content": "Find and analyze healthcare AI trends"}],
|
108
107
|
... mcp_servers=["http://localhost:8080"],
|
109
|
-
... max_iterations=3
|
110
|
-
... use_real_mcp=True # Enables real MCP tool execution
|
108
|
+
... max_iterations=3
|
111
109
|
... )
|
112
110
|
|
113
|
-
>>> # Advanced iterative agent with custom convergence
|
111
|
+
>>> # Advanced iterative agent with custom convergence
|
114
112
|
>>> result = agent.execute(
|
115
113
|
... messages=[{"role": "user", "content": "Research and recommend AI implementation strategy"}],
|
116
114
|
... mcp_servers=["http://ai-registry:8080", "http://knowledge-base:8081"],
|
117
115
|
... max_iterations=5,
|
118
116
|
... discovery_mode="semantic",
|
119
|
-
... use_real_mcp=True, # Use real MCP tools
|
120
117
|
... convergence_criteria={
|
121
118
|
... "goal_satisfaction": {"threshold": 0.9},
|
122
119
|
... "diminishing_returns": {"min_improvement": 0.1}
|
123
120
|
... }
|
124
121
|
... )
|
125
122
|
|
126
|
-
>>> #
|
123
|
+
>>> # Simple execution example
|
127
124
|
>>> result = agent.execute(
|
128
125
|
... messages=[{"role": "user", "content": "Test query"}],
|
129
126
|
... mcp_servers=["http://localhost:8080"],
|
130
|
-
... max_iterations=2
|
131
|
-
... use_real_mcp=False # Uses mock execution for testing
|
127
|
+
... max_iterations=2
|
132
128
|
... )
|
133
129
|
"""
|
134
130
|
|
@@ -232,18 +228,16 @@ class IterativeLLMAgentNode(LLMAgentNode):
|
|
232
228
|
default=300,
|
233
229
|
description="Timeout for each iteration in seconds",
|
234
230
|
),
|
235
|
-
# MCP Execution Control
|
236
|
-
"use_real_mcp": NodeParameter(
|
237
|
-
name="use_real_mcp",
|
238
|
-
type=bool,
|
239
|
-
required=False,
|
240
|
-
default=True,
|
241
|
-
description="Use real MCP tool execution instead of mock execution",
|
242
|
-
),
|
243
231
|
}
|
244
232
|
|
245
233
|
# Merge base parameters with iterative parameters
|
246
234
|
base_params.update(iterative_params)
|
235
|
+
|
236
|
+
# Remove deprecated mock-related parameters since this node always uses real execution
|
237
|
+
deprecated_params = ["use_real_mcp", "mock_mode"]
|
238
|
+
for param_name in deprecated_params:
|
239
|
+
base_params.pop(param_name, None)
|
240
|
+
|
247
241
|
return base_params
|
248
242
|
|
249
243
|
def run(self, **kwargs) -> dict[str, Any]:
|
@@ -582,7 +576,7 @@ class IterativeLLMAgentNode(LLMAgentNode):
|
|
582
576
|
self, server_config: Any, budget: dict[str, Any]
|
583
577
|
) -> list[dict[str, Any]]:
|
584
578
|
"""Discover resources from a specific MCP server."""
|
585
|
-
#
|
579
|
+
# Default implementation - provides basic resource discovery
|
586
580
|
try:
|
587
581
|
server_id = (
|
588
582
|
server_config
|
@@ -591,8 +585,8 @@ class IterativeLLMAgentNode(LLMAgentNode):
|
|
591
585
|
)
|
592
586
|
max_resources = budget.get("max_resources", 50)
|
593
587
|
|
594
|
-
#
|
595
|
-
|
588
|
+
# Default discovered resources
|
589
|
+
default_resources = [
|
596
590
|
{
|
597
591
|
"uri": f"{server_id}/resource/data/overview",
|
598
592
|
"name": "Data Overview",
|
@@ -607,7 +601,7 @@ class IterativeLLMAgentNode(LLMAgentNode):
|
|
607
601
|
},
|
608
602
|
]
|
609
603
|
|
610
|
-
return
|
604
|
+
return default_resources[:max_resources]
|
611
605
|
|
612
606
|
except Exception as e:
|
613
607
|
self.logger.debug(f"Resource discovery failed: {e}")
|
@@ -669,7 +663,7 @@ class IterativeLLMAgentNode(LLMAgentNode):
|
|
669
663
|
domain=domain,
|
670
664
|
complexity=complexity,
|
671
665
|
dependencies=[],
|
672
|
-
confidence=0.8, #
|
666
|
+
confidence=0.8, # Default confidence estimate
|
673
667
|
server_source=server_id,
|
674
668
|
)
|
675
669
|
|
@@ -779,9 +773,6 @@ class IterativeLLMAgentNode(LLMAgentNode):
|
|
779
773
|
"errors": [],
|
780
774
|
}
|
781
775
|
|
782
|
-
# Check if we should use real MCP tool execution
|
783
|
-
use_real_mcp = kwargs.get("use_real_mcp", True)
|
784
|
-
|
785
776
|
# Handle direct LLM response mode
|
786
777
|
if plan.get("planning_mode") == "direct_llm":
|
787
778
|
try:
|
@@ -828,21 +819,11 @@ class IterativeLLMAgentNode(LLMAgentNode):
|
|
828
819
|
tools = step.get("tools", [])
|
829
820
|
|
830
821
|
try:
|
831
|
-
if
|
822
|
+
if tools:
|
832
823
|
# Real MCP tool execution
|
833
824
|
step_result = self._execute_tools_with_mcp(
|
834
825
|
step_num, action, tools, discoveries, kwargs
|
835
826
|
)
|
836
|
-
elif tools:
|
837
|
-
# Mock tool execution for backward compatibility
|
838
|
-
step_result = {
|
839
|
-
"step": step_num,
|
840
|
-
"action": action,
|
841
|
-
"tools_used": tools,
|
842
|
-
"output": f"Mock execution result for {action} using tools: {', '.join(tools)}",
|
843
|
-
"success": True,
|
844
|
-
"duration": 1.5,
|
845
|
-
}
|
846
827
|
else:
|
847
828
|
# No tools available, try direct LLM call for this step
|
848
829
|
self.logger.info(
|
@@ -1814,7 +1795,7 @@ provide your best analysis of the query directly.""",
|
|
1814
1795
|
"total_tools_used": total_tools_used,
|
1815
1796
|
"total_api_calls": total_api_calls,
|
1816
1797
|
"average_iteration_time": total_duration / max(len(iterations), 1),
|
1817
|
-
"estimated_cost_usd": total_api_calls * 0.01, #
|
1798
|
+
"estimated_cost_usd": total_api_calls * 0.01, # Simple cost estimation
|
1818
1799
|
}
|
1819
1800
|
|
1820
1801
|
def _phase_convergence_with_mode(
|
@@ -1,20 +1,24 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: kailash
|
3
|
-
Version: 0.9.
|
3
|
+
Version: 0.9.10
|
4
4
|
Summary: Python SDK for the Kailash container-node architecture
|
5
5
|
Home-page: https://github.com/integrum/kailash-python-sdk
|
6
6
|
Author: Integrum
|
7
7
|
Author-email: Integrum <info@integrum.com>
|
8
|
+
License: Apache-2.0 WITH Additional-Terms
|
8
9
|
Project-URL: Homepage, https://github.com/integrum/kailash-python-sdk
|
9
10
|
Project-URL: Bug Tracker, https://github.com/integrum/kailash-python-sdk/issues
|
11
|
+
Project-URL: License, https://github.com/integrum/kailash-python-sdk/blob/main/LICENSE
|
10
12
|
Classifier: Development Status :: 3 - Alpha
|
11
13
|
Classifier: Intended Audience :: Developers
|
14
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
12
15
|
Classifier: Programming Language :: Python :: 3
|
13
16
|
Classifier: Programming Language :: Python :: 3.11
|
14
17
|
Classifier: Programming Language :: Python :: 3.12
|
15
18
|
Requires-Python: >=3.11
|
16
19
|
Description-Content-Type: text/markdown
|
17
20
|
License-File: LICENSE
|
21
|
+
License-File: NOTICE
|
18
22
|
Requires-Dist: networkx>=2.7
|
19
23
|
Requires-Dist: pydantic>=1.9
|
20
24
|
Requires-Dist: matplotlib>=3.5
|
@@ -99,7 +103,7 @@ Dynamic: requires-python
|
|
99
103
|
<a href="https://pypi.org/project/kailash/"><img src="https://img.shields.io/pypi/v/kailash.svg" alt="PyPI version"></a>
|
100
104
|
<a href="https://pypi.org/project/kailash/"><img src="https://img.shields.io/pypi/pyversions/kailash.svg" alt="Python versions"></a>
|
101
105
|
<a href="https://pepy.tech/project/kailash"><img src="https://static.pepy.tech/badge/kailash" alt="Downloads"></a>
|
102
|
-
<img src="https://img.shields.io/badge/license-
|
106
|
+
<img src="https://img.shields.io/badge/license-Apache%202.0%20with%20Additional%20Terms-orange.svg" alt="Apache 2.0 with Additional Terms">
|
103
107
|
<img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code style: black">
|
104
108
|
<img src="https://img.shields.io/badge/tests-2400%2B%20passing-brightgreen.svg" alt="Tests: 2400+ Passing">
|
105
109
|
<img src="https://img.shields.io/badge/performance-11x%20faster-yellow.svg" alt="Performance: 11x Faster">
|
@@ -117,27 +121,28 @@ Dynamic: requires-python
|
|
117
121
|
|
118
122
|
---
|
119
123
|
|
120
|
-
## 🔥 Latest Release: v0.9.
|
124
|
+
## 🔥 Latest Release: v0.9.10 (August 1, 2025)
|
121
125
|
|
122
|
-
**
|
126
|
+
**License Update & IterativeLLMAgentNode API Simplification**
|
123
127
|
|
124
|
-
###
|
125
|
-
- **
|
126
|
-
- **
|
127
|
-
- **
|
128
|
-
- **
|
128
|
+
### 📄 License Changed to Apache 2.0 with Additional Terms
|
129
|
+
- **Changed**: From MIT to Apache License 2.0 with Additional Terms
|
130
|
+
- **Protection**: Prevents standalone commercial distribution of the SDK
|
131
|
+
- **Freedom**: Allows commercial use of derivatives and integration into larger systems
|
132
|
+
- **Patent Grant**: Includes Apache 2.0 patent protection clauses
|
129
133
|
|
130
|
-
###
|
131
|
-
- **
|
132
|
-
- **
|
133
|
-
- **
|
134
|
+
### 🤖 IterativeLLMAgentNode Improvements (v0.9.9)
|
135
|
+
- **Removed**: Mock mode entirely - real MCP execution always enabled
|
136
|
+
- **Simplified**: API by removing confusing `use_real_mcp` parameter
|
137
|
+
- **Enhanced**: Graceful fallback when MCP tools unavailable
|
138
|
+
- **Updated**: All documentation and examples with simplified API
|
134
139
|
|
135
|
-
###
|
136
|
-
- **
|
137
|
-
- **
|
138
|
-
- **
|
140
|
+
### 📦 Package Updates
|
141
|
+
- **kailash**: v0.9.10 - License update
|
142
|
+
- **kailash-nexus**: v1.0.6 - License update
|
143
|
+
- **kailash-dataflow**: v0.3.7 - License update
|
139
144
|
|
140
|
-
[Full Changelog](sdk-users/6-reference/changelogs/releases/v0.9.
|
145
|
+
[Full Changelog](sdk-users/6-reference/changelogs/releases/v0.9.10-2025-08-01.md) | [Core SDK 0.9.10](https://pypi.org/project/kailash/0.9.10/) | [Nexus 1.0.6](https://pypi.org/project/kailash-nexus/1.0.6/) | [DataFlow 0.3.7](https://pypi.org/project/kailash-dataflow/0.3.7/)
|
141
146
|
|
142
147
|
## 🎯 What Makes Kailash Different
|
143
148
|
|
@@ -542,7 +547,24 @@ See [Contributing Guide](CONTRIBUTING.md) and [sdk-contributors/CLAUDE.md](sdk-c
|
|
542
547
|
|
543
548
|
## 📄 License
|
544
549
|
|
545
|
-
This project is licensed under the
|
550
|
+
This project is licensed under the **Apache License 2.0 with Additional Terms** that protect against standalone commercial distribution while encouraging innovation.
|
551
|
+
|
552
|
+
### ✅ What You CAN Do:
|
553
|
+
- **Use** Kailash SDK in your commercial applications and services
|
554
|
+
- **Create and sell** derivative works that add substantial functionality
|
555
|
+
- **Integrate** Kailash as a component of larger systems
|
556
|
+
- **Use internally** within your organization without restrictions
|
557
|
+
- **Provide services** using Kailash without distributing the SDK itself
|
558
|
+
|
559
|
+
### ❌ What You CANNOT Do:
|
560
|
+
- **Sell the SDK as-is** without substantial modifications
|
561
|
+
- **Repackage and sell** with only cosmetic changes
|
562
|
+
- **Distribute commercially** as a standalone product
|
563
|
+
|
564
|
+
### 📋 Summary:
|
565
|
+
We encourage commercial use of Kailash SDK as part of your innovative solutions while preventing direct resale of our work. This ensures the community benefits from continuous development while protecting the project's sustainability.
|
566
|
+
|
567
|
+
For complete license terms, see the [LICENSE](LICENSE) file. For commercial licensing inquiries or clarifications, please contact info@integrum.com.
|
546
568
|
|
547
569
|
## 🙏 Acknowledgments
|
548
570
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
kailash/__init__.py,sha256=
|
1
|
+
kailash/__init__.py,sha256=amrc4JD2yQaPHlYDEMvn1L-jk22-FDF8AZmh8ND_35I,2772
|
2
2
|
kailash/__main__.py,sha256=vr7TVE5o16V6LsTmRFKG6RDKUXHpIWYdZ6Dok2HkHnI,198
|
3
3
|
kailash/access_control.py,sha256=MjKtkoQ2sg1Mgfe7ovGxVwhAbpJKvaepPWr8dxOueMA,26058
|
4
4
|
kailash/access_control_abac.py,sha256=FPfa_8PuDP3AxTjdWfiH3ntwWO8NodA0py9W8SE5dno,30263
|
@@ -166,7 +166,7 @@ kailash/nodes/ai/ai_providers.py,sha256=egfiOZzPmZ10d3wBCJ6ST4tRFrrtq0kt1VyCqxVp
|
|
166
166
|
kailash/nodes/ai/embedding_generator.py,sha256=akGCzz7zLRSziqEQCiPwL2qWhRWxuM_1RQh-YtVEddw,31879
|
167
167
|
kailash/nodes/ai/hybrid_search.py,sha256=k26uDDP_bwrIpv7Yl7PBCPvWSyQEmTlBjI1IpbgDsO4,35446
|
168
168
|
kailash/nodes/ai/intelligent_agent_orchestrator.py,sha256=LvBqMKc64zSxFWVCjbLKKel2QwEzoTeJAEgna7rZw00,83097
|
169
|
-
kailash/nodes/ai/iterative_llm_agent.py,sha256=
|
169
|
+
kailash/nodes/ai/iterative_llm_agent.py,sha256=Q_letP5mHtO225LBX0Tq5GlPkXkk-yWf3oFEOJTP6Z0,100289
|
170
170
|
kailash/nodes/ai/llm_agent.py,sha256=NeNJZbV_VOUbULug2LASwyzLyoUO5wi58Bc9sXTubuc,90181
|
171
171
|
kailash/nodes/ai/models.py,sha256=wsEeUTuegy87mnLtKgSTg7ggCXvC1n3MsL-iZ4qujHs,16393
|
172
172
|
kailash/nodes/ai/self_organizing.py,sha256=B7NwKaBW8OHQBf5b0F9bSs8Wm-5BDJ9IjIkxS9h00mg,62885
|
@@ -403,9 +403,10 @@ kailash/workflow/templates.py,sha256=XQMAKZXC2dlxgMMQhSEOWAF3hIbe9JJt9j_THchhAm8
|
|
403
403
|
kailash/workflow/type_inference.py,sha256=i1F7Yd_Z3elTXrthsLpqGbOnQBIVVVEjhRpI0HrIjd0,24492
|
404
404
|
kailash/workflow/validation.py,sha256=r2zApGiiG8UEn7p5Ji842l8OR1_KftzDkWc7gg0cac0,44675
|
405
405
|
kailash/workflow/visualization.py,sha256=nHBW-Ai8QBMZtn2Nf3EE1_aiMGi9S6Ui_BfpA5KbJPU,23187
|
406
|
-
kailash-0.9.
|
407
|
-
kailash-0.9.
|
408
|
-
kailash-0.9.
|
409
|
-
kailash-0.9.
|
410
|
-
kailash-0.9.
|
411
|
-
kailash-0.9.
|
406
|
+
kailash-0.9.10.dist-info/licenses/LICENSE,sha256=9GYZHXVUmx6FdFRNzOeE_w7a_aEGeYbqTVmFtJlrbGk,13438
|
407
|
+
kailash-0.9.10.dist-info/licenses/NOTICE,sha256=9ssIK4LcHSTFqriXGdteMpBPTS1rSLlYtjppZ_bsjZ0,723
|
408
|
+
kailash-0.9.10.dist-info/METADATA,sha256=uU7Mhecq6GvLVX5nPxKHbwxMFY_IdrV5IqdGWyRvBLA,23528
|
409
|
+
kailash-0.9.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
410
|
+
kailash-0.9.10.dist-info/entry_points.txt,sha256=M_q3b8PG5W4XbhSgESzIJjh3_4OBKtZFYFsOdkr2vO4,45
|
411
|
+
kailash-0.9.10.dist-info/top_level.txt,sha256=z7GzH2mxl66498pVf5HKwo5wwfPtt9Aq95uZUpH6JV0,8
|
412
|
+
kailash-0.9.10.dist-info/RECORD,,
|
@@ -0,0 +1,243 @@
|
|
1
|
+
Apache License
|
2
|
+
Version 2.0, January 2004
|
3
|
+
http://www.apache.org/licenses/
|
4
|
+
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
+
|
7
|
+
1. Definitions.
|
8
|
+
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
+
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
+
the copyright owner that is granting the License.
|
14
|
+
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
+
other entities that control, are controlled by, or are under common
|
17
|
+
control with that entity. For the purposes of this definition,
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
19
|
+
direction or management of such entity, whether by contract or
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
+
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
+
exercising permissions granted by this License.
|
25
|
+
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
27
|
+
including but not limited to software source code, documentation
|
28
|
+
source, and configuration files.
|
29
|
+
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
31
|
+
transformation or translation of a Source form, including but
|
32
|
+
not limited to compiled object code, generated documentation,
|
33
|
+
and conversions to other media types.
|
34
|
+
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
36
|
+
Object form, made available under the License, as indicated by a
|
37
|
+
copyright notice that is included in or attached to the work
|
38
|
+
(an example is provided in the Appendix below).
|
39
|
+
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
+
the Work and Derivative Works thereof.
|
47
|
+
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
49
|
+
the original version of the Work and any modifications or additions
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
+
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
64
|
+
subsequently incorporated within the Work.
|
65
|
+
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
72
|
+
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
+
where such license applies only to those patent claims licensable
|
79
|
+
by such Contributor that are necessarily infringed by their
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
82
|
+
institute patent litigation against any entity (including a
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
85
|
+
or contributory patent infringement, then any patent licenses
|
86
|
+
granted to You under this License for that Work shall terminate
|
87
|
+
as of the date such litigation is filed.
|
88
|
+
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
91
|
+
modifications, and in Source or Object form, provided that You
|
92
|
+
meet the following conditions:
|
93
|
+
|
94
|
+
(a) You must give any other recipients of the Work or
|
95
|
+
Derivative Works a copy of this License; and
|
96
|
+
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
98
|
+
stating that You changed the files; and
|
99
|
+
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
102
|
+
attribution notices from the Source form of the Work,
|
103
|
+
excluding those notices that do not pertain to any part of
|
104
|
+
the Derivative Works; and
|
105
|
+
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
108
|
+
include a readable copy of the attribution notices contained
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
111
|
+
of the following places: within a NOTICE text file distributed
|
112
|
+
as part of the Derivative Works; within the Source form or
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
114
|
+
within a display generated by the Derivative Works, if and
|
115
|
+
wherever such third-party notices normally appear. The contents
|
116
|
+
of the NOTICE file are for informational purposes only and
|
117
|
+
do not modify the License. You may add Your own attribution
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
120
|
+
that such additional attribution notices cannot be construed
|
121
|
+
as modifying the License.
|
122
|
+
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
124
|
+
may provide additional or different license terms and conditions
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
128
|
+
the conditions stated in this License.
|
129
|
+
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
133
|
+
this License, without any additional terms or conditions.
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
+
the terms of any separate license agreement you may have executed
|
136
|
+
with Licensor regarding such Contributions.
|
137
|
+
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
140
|
+
except as required for reasonable and customary use in describing the
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
+
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
152
|
+
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
158
|
+
incidental, or consequential damages of any character arising as a
|
159
|
+
result of this License or out of the use or inability to use the
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
162
|
+
other commercial damages or losses), even if such Contributor
|
163
|
+
has been advised of the possibility of such damages.
|
164
|
+
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
+
or other liability obligations and/or rights consistent with this
|
169
|
+
License. However, in accepting such obligations, You may act only
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
174
|
+
of your accepting any such warranty or additional liability.
|
175
|
+
|
176
|
+
END OF TERMS AND CONDITIONS
|
177
|
+
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
179
|
+
|
180
|
+
To apply the Apache License to your work, attach the following
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
182
|
+
replaced with your own identifying information. (Don't include
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
184
|
+
comment syntax for the file format. We also recommend that a
|
185
|
+
file or class name and description of purpose be included on the
|
186
|
+
same "printed page" as the copyright notice for easier
|
187
|
+
identification within third-party archives.
|
188
|
+
|
189
|
+
Copyright 2025 Integrum Global Pte Ltd
|
190
|
+
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
192
|
+
you may not use this file except in compliance with the License.
|
193
|
+
You may obtain a copy of the License at
|
194
|
+
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
196
|
+
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
|
+
See the License for the specific language governing permissions and
|
201
|
+
limitations under the License.
|
202
|
+
|
203
|
+
===========================================================================
|
204
|
+
ADDITIONAL TERMS AND CONDITIONS
|
205
|
+
===========================================================================
|
206
|
+
|
207
|
+
In addition to the Apache License 2.0 terms above, the following
|
208
|
+
restrictions apply:
|
209
|
+
|
210
|
+
1. PROHIBITION ON STANDALONE COMMERCIAL DISTRIBUTION
|
211
|
+
The Software may not be sold, licensed, or distributed on a standalone
|
212
|
+
basis for commercial purposes. This includes, but is not limited to:
|
213
|
+
- Selling the unmodified Software as a product
|
214
|
+
- Repackaging the Software with only cosmetic changes
|
215
|
+
- Offering the Software as-is through commercial channels
|
216
|
+
|
217
|
+
2. PERMITTED USES
|
218
|
+
The above restriction does NOT apply to:
|
219
|
+
a) Using the Software as a component of a larger application or service
|
220
|
+
b) Creating and distributing Derivative Works that add substantial new
|
221
|
+
functionality beyond the original Software
|
222
|
+
c) Using the Software internally within an organization
|
223
|
+
d) Providing services that use the Software without distributing it
|
224
|
+
e) Educational and non-commercial research use
|
225
|
+
|
226
|
+
3. SUBSTANTIAL MODIFICATION CRITERIA
|
227
|
+
For the purpose of these Additional Terms, "substantial new functionality"
|
228
|
+
means modifications that:
|
229
|
+
- Add significant features not present in the original Software
|
230
|
+
- Integrate the Software into a larger system as a component
|
231
|
+
- Adapt the Software for a specific industry or use case with meaningful
|
232
|
+
domain-specific enhancements
|
233
|
+
|
234
|
+
4. ATTRIBUTION FOR DERIVATIVE WORKS
|
235
|
+
Any distribution of Derivative Works must:
|
236
|
+
- Clearly indicate the modifications made
|
237
|
+
- Not imply endorsement by the original authors
|
238
|
+
- Maintain the copyright notice and license information
|
239
|
+
|
240
|
+
These Additional Terms are supplementary to, and do not replace or modify,
|
241
|
+
the Apache License 2.0 terms above. In case of any conflict between these
|
242
|
+
Additional Terms and the Apache License 2.0, these Additional Terms shall
|
243
|
+
prevail only to the extent of such conflict.
|
@@ -0,0 +1,17 @@
|
|
1
|
+
Kailash Python SDK
|
2
|
+
Copyright 2025 Integrum Global Pte Ltd
|
3
|
+
|
4
|
+
This product includes software developed at Integrum Global Pte Ltd
|
5
|
+
(https://github.com/Integrum-Global/kailash_python_sdk).
|
6
|
+
|
7
|
+
The Kailash Python SDK is an enterprise-grade workflow orchestration
|
8
|
+
framework with AI-first architecture, providing 115+ nodes across data,
|
9
|
+
AI, security, and transaction categories.
|
10
|
+
|
11
|
+
IMPORTANT LICENSING NOTE:
|
12
|
+
This software is licensed under the Apache License 2.0 with Additional Terms
|
13
|
+
that prohibit standalone commercial distribution. Please see the LICENSE file
|
14
|
+
for complete terms and conditions.
|
15
|
+
|
16
|
+
Third-party components included in this distribution may be subject to
|
17
|
+
separate license terms as noted in their respective license files.
|
@@ -1,21 +0,0 @@
|
|
1
|
-
MIT License
|
2
|
-
|
3
|
-
Copyright (c) 2025 Integrum
|
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
|