kailash 0.1.4__py3-none-any.whl → 0.2.0__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/access_control.py +740 -0
- kailash/api/__main__.py +6 -0
- kailash/api/auth.py +668 -0
- kailash/api/custom_nodes.py +285 -0
- kailash/api/custom_nodes_secure.py +377 -0
- kailash/api/database.py +620 -0
- kailash/api/studio.py +915 -0
- kailash/api/studio_secure.py +893 -0
- kailash/mcp/__init__.py +53 -0
- kailash/mcp/__main__.py +13 -0
- kailash/mcp/ai_registry_server.py +712 -0
- kailash/mcp/client.py +447 -0
- kailash/mcp/client_new.py +334 -0
- kailash/mcp/server.py +293 -0
- kailash/mcp/server_new.py +336 -0
- kailash/mcp/servers/__init__.py +12 -0
- kailash/mcp/servers/ai_registry.py +289 -0
- kailash/nodes/__init__.py +4 -2
- kailash/nodes/ai/__init__.py +38 -0
- kailash/nodes/ai/a2a.py +1790 -0
- kailash/nodes/ai/agents.py +116 -2
- kailash/nodes/ai/ai_providers.py +206 -8
- kailash/nodes/ai/intelligent_agent_orchestrator.py +2108 -0
- kailash/nodes/ai/iterative_llm_agent.py +1280 -0
- kailash/nodes/ai/llm_agent.py +324 -1
- kailash/nodes/ai/self_organizing.py +1623 -0
- kailash/nodes/api/http.py +106 -25
- kailash/nodes/api/rest.py +116 -21
- kailash/nodes/base.py +15 -2
- kailash/nodes/base_async.py +45 -0
- kailash/nodes/base_cycle_aware.py +374 -0
- kailash/nodes/base_with_acl.py +338 -0
- kailash/nodes/code/python.py +135 -27
- kailash/nodes/data/readers.py +116 -53
- kailash/nodes/data/writers.py +16 -6
- kailash/nodes/logic/__init__.py +8 -0
- kailash/nodes/logic/async_operations.py +48 -9
- kailash/nodes/logic/convergence.py +642 -0
- kailash/nodes/logic/loop.py +153 -0
- kailash/nodes/logic/operations.py +212 -27
- kailash/nodes/logic/workflow.py +26 -18
- kailash/nodes/mixins/__init__.py +11 -0
- kailash/nodes/mixins/mcp.py +228 -0
- kailash/nodes/mixins.py +387 -0
- kailash/nodes/transform/__init__.py +8 -1
- kailash/nodes/transform/processors.py +119 -4
- kailash/runtime/__init__.py +2 -1
- kailash/runtime/access_controlled.py +458 -0
- kailash/runtime/local.py +106 -33
- kailash/runtime/parallel_cyclic.py +529 -0
- kailash/sdk_exceptions.py +90 -5
- kailash/security.py +845 -0
- kailash/tracking/manager.py +38 -15
- kailash/tracking/models.py +1 -1
- kailash/tracking/storage/filesystem.py +30 -2
- kailash/utils/__init__.py +8 -0
- kailash/workflow/__init__.py +18 -0
- kailash/workflow/convergence.py +270 -0
- kailash/workflow/cycle_analyzer.py +768 -0
- kailash/workflow/cycle_builder.py +573 -0
- kailash/workflow/cycle_config.py +709 -0
- kailash/workflow/cycle_debugger.py +760 -0
- kailash/workflow/cycle_exceptions.py +601 -0
- kailash/workflow/cycle_profiler.py +671 -0
- kailash/workflow/cycle_state.py +338 -0
- kailash/workflow/cyclic_runner.py +985 -0
- kailash/workflow/graph.py +500 -39
- kailash/workflow/migration.py +768 -0
- kailash/workflow/safety.py +365 -0
- kailash/workflow/templates.py +744 -0
- kailash/workflow/validation.py +693 -0
- {kailash-0.1.4.dist-info → kailash-0.2.0.dist-info}/METADATA +446 -13
- kailash-0.2.0.dist-info/RECORD +125 -0
- kailash/nodes/mcp/__init__.py +0 -11
- kailash/nodes/mcp/client.py +0 -554
- kailash/nodes/mcp/resource.py +0 -682
- kailash/nodes/mcp/server.py +0 -577
- kailash-0.1.4.dist-info/RECORD +0 -85
- {kailash-0.1.4.dist-info → kailash-0.2.0.dist-info}/WHEEL +0 -0
- {kailash-0.1.4.dist-info → kailash-0.2.0.dist-info}/entry_points.txt +0 -0
- {kailash-0.1.4.dist-info → kailash-0.2.0.dist-info}/licenses/LICENSE +0 -0
- {kailash-0.1.4.dist-info → kailash-0.2.0.dist-info}/top_level.txt +0 -0
kailash/nodes/ai/__init__.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
"""AI and ML nodes for the Kailash SDK."""
|
2
2
|
|
3
|
+
# Import A2A communication nodes
|
4
|
+
from .a2a import A2AAgentNode, A2ACoordinatorNode, SharedMemoryPoolNode
|
3
5
|
from .agents import ChatAgent, FunctionCallingAgent, PlanningAgent, RetrievalAgent
|
4
6
|
|
5
7
|
# Import from unified ai_providers module
|
@@ -14,6 +16,16 @@ from .ai_providers import (
|
|
14
16
|
get_provider,
|
15
17
|
)
|
16
18
|
from .embedding_generator import EmbeddingGeneratorNode
|
19
|
+
|
20
|
+
# Import intelligent orchestration nodes
|
21
|
+
from .intelligent_agent_orchestrator import (
|
22
|
+
ConvergenceDetectorNode,
|
23
|
+
IntelligentCacheNode,
|
24
|
+
MCPAgentNode,
|
25
|
+
OrchestrationManagerNode,
|
26
|
+
QueryAnalysisNode,
|
27
|
+
)
|
28
|
+
from .iterative_llm_agent import IterativeLLMAgentNode
|
17
29
|
from .llm_agent import LLMAgentNode
|
18
30
|
from .models import (
|
19
31
|
ModelPredictor,
|
@@ -24,6 +36,15 @@ from .models import (
|
|
24
36
|
TextSummarizer,
|
25
37
|
)
|
26
38
|
|
39
|
+
# Import self-organizing nodes
|
40
|
+
from .self_organizing import (
|
41
|
+
AgentPoolManagerNode,
|
42
|
+
ProblemAnalyzerNode,
|
43
|
+
SelfOrganizingAgentNode,
|
44
|
+
SolutionEvaluatorNode,
|
45
|
+
TeamFormationNode,
|
46
|
+
)
|
47
|
+
|
27
48
|
__all__ = [
|
28
49
|
# Agents
|
29
50
|
"ChatAgent",
|
@@ -31,6 +52,23 @@ __all__ = [
|
|
31
52
|
"FunctionCallingAgent",
|
32
53
|
"PlanningAgent",
|
33
54
|
"LLMAgentNode",
|
55
|
+
"IterativeLLMAgentNode",
|
56
|
+
# A2A Communication
|
57
|
+
"A2AAgentNode",
|
58
|
+
"SharedMemoryPoolNode",
|
59
|
+
"A2ACoordinatorNode",
|
60
|
+
# Self-Organizing Agents
|
61
|
+
"AgentPoolManagerNode",
|
62
|
+
"ProblemAnalyzerNode",
|
63
|
+
"SelfOrganizingAgentNode",
|
64
|
+
"SolutionEvaluatorNode",
|
65
|
+
"TeamFormationNode",
|
66
|
+
# Intelligent Orchestration
|
67
|
+
"ConvergenceDetectorNode",
|
68
|
+
"IntelligentCacheNode",
|
69
|
+
"MCPAgentNode",
|
70
|
+
"OrchestrationManagerNode",
|
71
|
+
"QueryAnalysisNode",
|
34
72
|
# Embedding and Vector Operations
|
35
73
|
"EmbeddingGeneratorNode",
|
36
74
|
# Provider Infrastructure
|