leafmesh 2.1.0__cp310-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.
Files changed (118) hide show
  1. leafmesh/__init__.pyc +0 -0
  2. leafmesh/_build_tier.pyc +0 -0
  3. leafmesh/agents/__init__.pyc +0 -0
  4. leafmesh/agents/base_agent.pyc +0 -0
  5. leafmesh/agents/human.pyc +0 -0
  6. leafmesh/agents/manager.pyc +0 -0
  7. leafmesh/agents/registry.pyc +0 -0
  8. leafmesh/agents/summarizer.pyc +0 -0
  9. leafmesh/agents/yields_validator.pyc +0 -0
  10. leafmesh/api_services/__init__.pyc +0 -0
  11. leafmesh/api_services/agent_service.pyc +0 -0
  12. leafmesh/api_services/api_server.pyc +0 -0
  13. leafmesh/api_services/auth_middleware.pyc +0 -0
  14. leafmesh/api_services/base_service.pyc +0 -0
  15. leafmesh/api_services/evolution_service.pyc +0 -0
  16. leafmesh/api_services/feed_service.pyc +0 -0
  17. leafmesh/api_services/knowledge_service.pyc +0 -0
  18. leafmesh/api_services/playground_service.pyc +0 -0
  19. leafmesh/api_services/session_service.pyc +0 -0
  20. leafmesh/api_services/standalone_api.pyc +0 -0
  21. leafmesh/api_services/stream_service.pyc +0 -0
  22. leafmesh/api_services/yaml_service.pyc +0 -0
  23. leafmesh/config/__init__.pyc +0 -0
  24. leafmesh/config/yaml_loader.pyc +0 -0
  25. leafmesh/core/__init__.pyc +0 -0
  26. leafmesh/core/_agent_field_schema.pyc +0 -0
  27. leafmesh/core/agent_state.pyc +0 -0
  28. leafmesh/core/config.pyc +0 -0
  29. leafmesh/core/context_manager.pyc +0 -0
  30. leafmesh/core/events.pyc +0 -0
  31. leafmesh/core/evolution.pyc +0 -0
  32. leafmesh/core/exceptions.pyc +0 -0
  33. leafmesh/core/sdk.pyc +0 -0
  34. leafmesh/core/self_healing.pyc +0 -0
  35. leafmesh/core/session.pyc +0 -0
  36. leafmesh/external/__init__.pyc +0 -0
  37. leafmesh/external/channels/__init__.pyc +0 -0
  38. leafmesh/external/channels/base_channel.pyc +0 -0
  39. leafmesh/external/channels/discord_adapter.pyc +0 -0
  40. leafmesh/external/channels/slack_adapter.pyc +0 -0
  41. leafmesh/external/channels/teams_adapter.pyc +0 -0
  42. leafmesh/external/channels/telegram_adapter.pyc +0 -0
  43. leafmesh/external/channels/whatsapp_adapter.pyc +0 -0
  44. leafmesh/external/connectors/__init__.pyc +0 -0
  45. leafmesh/external/connectors/a2a_connector.pyc +0 -0
  46. leafmesh/external/connectors/autogen_connector.pyc +0 -0
  47. leafmesh/external/connectors/base_connector.pyc +0 -0
  48. leafmesh/external/connectors/composio_connector.pyc +0 -0
  49. leafmesh/external/connectors/composio_helpers.pyc +0 -0
  50. leafmesh/external/connectors/connector_registry.pyc +0 -0
  51. leafmesh/external/connectors/crewai_connector.pyc +0 -0
  52. leafmesh/external/connectors/langgraph_connector.pyc +0 -0
  53. leafmesh/external/connectors/mcp_connector.pyc +0 -0
  54. leafmesh/external/connectors/mcp_helpers.pyc +0 -0
  55. leafmesh/external/connectors/n8n_connector.pyc +0 -0
  56. leafmesh/external/connectors/n8n_helpers.pyc +0 -0
  57. leafmesh/external/connectors/zapier_connector.pyc +0 -0
  58. leafmesh/external/connectors/zapier_helpers.pyc +0 -0
  59. leafmesh/external/webhook_handler.pyc +0 -0
  60. leafmesh/knowledge/__init__.pyc +0 -0
  61. leafmesh/knowledge/chunker.pyc +0 -0
  62. leafmesh/knowledge/connectors/__init__.pyc +0 -0
  63. leafmesh/knowledge/connectors/base_connector.pyc +0 -0
  64. leafmesh/knowledge/connectors/custom_connector.pyc +0 -0
  65. leafmesh/knowledge/connectors/mongo_connector.pyc +0 -0
  66. leafmesh/knowledge/connectors/pinecone_connector.pyc +0 -0
  67. leafmesh/knowledge/connectors/postgres_connector.pyc +0 -0
  68. leafmesh/knowledge/connectors/registry.pyc +0 -0
  69. leafmesh/knowledge/embedder.pyc +0 -0
  70. leafmesh/knowledge/manager.pyc +0 -0
  71. leafmesh/llm/__init__.pyc +0 -0
  72. leafmesh/llm/adaptive_executor.pyc +0 -0
  73. leafmesh/llm/base_types.pyc +0 -0
  74. leafmesh/llm/executor.pyc +0 -0
  75. leafmesh/llm/prompt_builder.pyc +0 -0
  76. leafmesh/llm/provider_registry.pyc +0 -0
  77. leafmesh/llm/providers/__init__.pyc +0 -0
  78. leafmesh/llm/providers/anthropic_provider.pyc +0 -0
  79. leafmesh/llm/providers/bedrock_provider.pyc +0 -0
  80. leafmesh/llm/providers/deepseek_provider.pyc +0 -0
  81. leafmesh/llm/providers/foundry_provider.pyc +0 -0
  82. leafmesh/llm/providers/google_provider.pyc +0 -0
  83. leafmesh/llm/providers/local_provider.pyc +0 -0
  84. leafmesh/llm/providers/openai_provider.pyc +0 -0
  85. leafmesh/llm/providers/vertex_provider.pyc +0 -0
  86. leafmesh/mesh/__init__.pyc +0 -0
  87. leafmesh/mesh/architecture_factory.pyc +0 -0
  88. leafmesh/mesh/communication.pyc +0 -0
  89. leafmesh/mesh/condition_evaluator.pyc +0 -0
  90. leafmesh/mesh/wait_for_evaluator.pyc +0 -0
  91. leafmesh/observability/__init__.pyc +0 -0
  92. leafmesh/observability/license.pyc +0 -0
  93. leafmesh/observability/observability.pyc +0 -0
  94. leafmesh/observability/otel_setup.pyc +0 -0
  95. leafmesh/observability/tracer_wrapper.pyc +0 -0
  96. leafmesh/redis/__init__.pyc +0 -0
  97. leafmesh/redis/llm_cache.pyc +0 -0
  98. leafmesh/redis/manager.pyc +0 -0
  99. leafmesh/redis/stream_manager.pyc +0 -0
  100. leafmesh/scheduler/__init__.pyc +0 -0
  101. leafmesh/scheduler/cron_parser.pyc +0 -0
  102. leafmesh/scheduler/scheduler.pyc +0 -0
  103. leafmesh/tools/__init__.pyc +0 -0
  104. leafmesh/tools/base_tool.pyc +0 -0
  105. leafmesh/tools/builtin_tools.pyc +0 -0
  106. leafmesh/tools/tool_executor.pyc +0 -0
  107. leafmesh/tools/tool_registry.pyc +0 -0
  108. leafmesh/utils/__init__.pyc +0 -0
  109. leafmesh/utils/async_helpers.pyc +0 -0
  110. leafmesh/utils/license_check.pyc +0 -0
  111. leafmesh/utils/logger.pyc +0 -0
  112. leafmesh/utils/parsing.pyc +0 -0
  113. leafmesh/utils/redact.pyc +0 -0
  114. leafmesh-2.1.0.dist-info/METADATA +360 -0
  115. leafmesh-2.1.0.dist-info/RECORD +118 -0
  116. leafmesh-2.1.0.dist-info/WHEEL +5 -0
  117. leafmesh-2.1.0.dist-info/licenses/LICENSE +296 -0
  118. leafmesh-2.1.0.dist-info/top_level.txt +3 -0
leafmesh/__init__.pyc ADDED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
leafmesh/core/sdk.pyc ADDED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,360 @@
1
+ Metadata-Version: 2.4
2
+ Name: leafmesh
3
+ Version: 2.1.0
4
+ Summary: LeafMesh — YAML-native multi-agent orchestration platform
5
+ Author-email: LeafCraft <koushik@leafcraftstudios.com>
6
+ Maintainer-email: LeafCraft <koushik@leafcraftstudios.com>
7
+ License-Expression: LicenseRef-Proprietary
8
+ Project-URL: Homepage, https://github.com/LeafCraftStudios/LeafMesh
9
+ Project-URL: Repository, https://github.com/LeafCraftStudios/LeafMesh.git
10
+ Project-URL: Documentation, https://github.com/LeafCraftStudios/LeafMesh/blob/main/README.md
11
+ Project-URL: Bug Tracker, https://github.com/LeafCraftStudios/LeafMesh/issues
12
+ Keywords: multi-agent,ai,orchestration,leafmesh,leafcraft,adk,swarm,human-in-the-loop,llm,automation
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
23
+ Classifier: Framework :: AsyncIO
24
+ Requires-Python: >=3.8
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE
27
+ Requires-Dist: pydantic<3.0.0,>=2.0.0
28
+ Requires-Dist: redis>=5.0.0
29
+ Requires-Dist: PyYAML>=6.0.0
30
+ Requires-Dist: openai>=1.0.0
31
+ Requires-Dist: structlog>=23.0.0
32
+ Requires-Dist: aiohttp>=3.9.0
33
+ Requires-Dist: httpx>=0.25.0
34
+ Requires-Dist: requests>=2.28.0
35
+ Requires-Dist: certifi>=2023.0.0
36
+ Requires-Dist: composio-core>=0.5.0
37
+ Requires-Dist: anthropic>=0.25.0
38
+ Requires-Dist: google-genai>=1.0.0
39
+ Requires-Dist: boto3>=1.28.0
40
+ Requires-Dist: google-auth>=2.0.0
41
+ Requires-Dist: opentelemetry-api>=1.21.0
42
+ Requires-Dist: opentelemetry-sdk>=1.21.0
43
+ Requires-Dist: opentelemetry-exporter-otlp>=1.21.0
44
+ Requires-Dist: opentelemetry-exporter-otlp-proto-grpc>=1.21.0
45
+ Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.21.0
46
+ Requires-Dist: opentelemetry-instrumentation>=0.42b0
47
+ Requires-Dist: opentelemetry-instrumentation-redis>=0.42b0
48
+ Requires-Dist: opentelemetry-instrumentation-fastapi>=0.42b0
49
+ Requires-Dist: opentelemetry-instrumentation-requests>=0.42b0
50
+ Requires-Dist: opentelemetry-instrumentation-aiohttp-client>=0.42b0
51
+ Requires-Dist: opentelemetry-instrumentation-logging>=0.42b0
52
+ Requires-Dist: opentelemetry-instrumentation-system-metrics>=0.42b0
53
+ Requires-Dist: opentelemetry-semantic-conventions>=0.42b0
54
+ Provides-Extra: crewai
55
+ Requires-Dist: crewai>=0.41.0; extra == "crewai"
56
+ Provides-Extra: langgraph
57
+ Requires-Dist: langgraph>=0.0.40; extra == "langgraph"
58
+ Provides-Extra: autogen
59
+ Requires-Dist: pyautogen>=0.2.0; extra == "autogen"
60
+ Provides-Extra: a2a
61
+ Requires-Dist: a2a-sdk>=0.2.0; extra == "a2a"
62
+ Provides-Extra: mcp
63
+ Requires-Dist: mcp>=1.0.0; extra == "mcp"
64
+ Provides-Extra: composio
65
+ Requires-Dist: composio-core>=0.5.0; extra == "composio"
66
+ Provides-Extra: zapier
67
+ Requires-Dist: httpx>=0.25.0; extra == "zapier"
68
+ Provides-Extra: slack
69
+ Requires-Dist: slack-sdk>=3.27.0; extra == "slack"
70
+ Provides-Extra: telegram
71
+ Requires-Dist: python-telegram-bot>=21.0; extra == "telegram"
72
+ Provides-Extra: teams
73
+ Requires-Dist: botframework-connector>=4.16.0; extra == "teams"
74
+ Provides-Extra: discord
75
+ Requires-Dist: pynacl>=1.5.0; extra == "discord"
76
+ Provides-Extra: channels
77
+ Requires-Dist: slack-sdk>=3.27.0; extra == "channels"
78
+ Requires-Dist: python-telegram-bot>=21.0; extra == "channels"
79
+ Requires-Dist: botbuilder-core>=4.16.0; extra == "channels"
80
+ Requires-Dist: botframework-connector>=4.16.0; extra == "channels"
81
+ Requires-Dist: pynacl>=1.5.0; extra == "channels"
82
+ Provides-Extra: knowledge-mongo
83
+ Requires-Dist: motor>=3.3.0; extra == "knowledge-mongo"
84
+ Provides-Extra: knowledge-postgres
85
+ Requires-Dist: asyncpg>=0.29.0; extra == "knowledge-postgres"
86
+ Provides-Extra: knowledge-pinecone
87
+ Requires-Dist: pinecone-client>=3.0.0; extra == "knowledge-pinecone"
88
+ Provides-Extra: knowledge-docs
89
+ Requires-Dist: PyPDF2>=3.0.0; extra == "knowledge-docs"
90
+ Requires-Dist: python-docx>=1.0.0; extra == "knowledge-docs"
91
+ Provides-Extra: knowledge
92
+ Requires-Dist: motor>=3.3.0; extra == "knowledge"
93
+ Requires-Dist: asyncpg>=0.29.0; extra == "knowledge"
94
+ Requires-Dist: pinecone-client>=3.0.0; extra == "knowledge"
95
+ Requires-Dist: PyPDF2>=3.0.0; extra == "knowledge"
96
+ Requires-Dist: python-docx>=1.0.0; extra == "knowledge"
97
+ Provides-Extra: connectors
98
+ Requires-Dist: crewai>=0.41.0; extra == "connectors"
99
+ Requires-Dist: langgraph>=0.0.40; extra == "connectors"
100
+ Requires-Dist: pyautogen>=0.2.0; extra == "connectors"
101
+ Requires-Dist: a2a-sdk>=0.2.0; extra == "connectors"
102
+ Requires-Dist: mcp>=1.0.0; extra == "connectors"
103
+ Requires-Dist: composio-core>=0.5.0; extra == "connectors"
104
+ Requires-Dist: httpx>=0.25.0; extra == "connectors"
105
+ Provides-Extra: dev
106
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
107
+ Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
108
+ Requires-Dist: pytest-mock>=3.10.0; extra == "dev"
109
+ Requires-Dist: black>=23.0.0; extra == "dev"
110
+ Requires-Dist: isort>=5.12.0; extra == "dev"
111
+ Requires-Dist: flake8>=6.0.0; extra == "dev"
112
+ Dynamic: license-file
113
+
114
+ # LeafMesh — Multi-Agent AI Orchestration Platform
115
+
116
+ [![License: Commercial](https://img.shields.io/badge/License-Commercial-red.svg)](LICENSE)
117
+ [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
118
+ [![Version](https://img.shields.io/badge/version-1.0.0-green.svg)](https://github.com/LeafCraftStudios/LeafMesh/releases)
119
+ [![Redis](https://img.shields.io/badge/Redis-5.0+-red.svg)](https://redis.io/)
120
+
121
+ > **YAML-native multi-agent AI platform with self-healing and evolutionary capabilities**
122
+
123
+ LeafMesh transforms multi-agent AI development through declarative YAML configuration that becomes executable intelligence. Built on the MANAGED_MESH architecture with production-ready coordination and persistence.
124
+
125
+ ## Core Features
126
+
127
+ - **YAML-Native Intelligence** - Zero-code agent creation with AST-parsed configuration
128
+ - **Built-in Coordination** - Manager and Summarizer agents provide automatic oversight
129
+ - **MANAGED_MESH Architecture** - Direct agent communication with conditional routing
130
+ - **Redis-Powered Persistence** - Automatic session management and conversation history
131
+ - **Enterprise Tool Ecosystem** - 15+ built-in tools with OpenAI-compatible function calling
132
+ - **Advanced Parallel Processing** - Multi-session threading with intelligent coordination
133
+
134
+ ### Production Features
135
+
136
+ - **Self-Healing Networks** - 6 autonomous healing actions with failure detection
137
+ - **Evolutionary Optimization** - Genetic algorithms with real fitness testing
138
+ - **Adaptive Model Intelligence** - ML-powered model selection with performance prediction
139
+
140
+ ---
141
+
142
+ ## Quick Start
143
+
144
+ ### 1. Installation
145
+
146
+ ```bash
147
+ pip install leafmesh
148
+ ```
149
+
150
+ ### 2. Environment Setup
151
+
152
+ ```bash
153
+ # Required: OpenAI API key
154
+ export OPENAI_API_KEY="your-openai-key"
155
+
156
+ # Optional: Additional providers
157
+ export ANTHROPIC_API_KEY="your-anthropic-key"
158
+ export GOOGLE_API_KEY="your-google-key"
159
+ ```
160
+
161
+ ### 3. Redis Setup
162
+
163
+ **Local Redis:**
164
+
165
+ ```bash
166
+ # macOS
167
+ brew install redis && brew services start redis
168
+
169
+ # Ubuntu/Debian
170
+ sudo apt install redis-server && sudo systemctl start redis
171
+
172
+ # Docker
173
+ docker run -d -p 6379:6379 redis:alpine
174
+ ```
175
+
176
+ ### 4. Basic Usage
177
+
178
+ ```python
179
+ from leafmesh import LeafMesh
180
+
181
+ # Initialize from YAML configuration
182
+ sdk = LeafMesh.from_yaml("config.yaml")
183
+
184
+ # Start the mesh
185
+ await sdk.start()
186
+
187
+ # Process requests
188
+ response = await sdk.process_request(
189
+ session_id="user_session",
190
+ input_data={"message": "Hello, how can you help me?"}
191
+ )
192
+
193
+ print(response)
194
+ ```
195
+
196
+ **Example YAML Configuration:**
197
+
198
+ ```yaml
199
+ name: "my_mesh"
200
+ architecture: "managed_mesh"
201
+
202
+ # Built-in coordination
203
+ manager:
204
+ enabled: true
205
+ model: "gpt-4o"
206
+
207
+ summarizer:
208
+ enabled: true
209
+ model: "gpt-4o-mini"
210
+
211
+ # User-defined agents
212
+ agents:
213
+ conversation_agent:
214
+ name: "conversation_agent"
215
+ model: "gpt-4o-mini"
216
+ prompt: "You are a helpful AI assistant."
217
+ yields:
218
+ response: "string"
219
+ confidence: "number"
220
+ tools: ["calculator", "current_time"]
221
+ ```
222
+
223
+ ---
224
+
225
+ ## Architecture Overview
226
+
227
+ LeafMesh implements a **MANAGED_MESH** architecture with:
228
+
229
+ - **LLM Agents** - YAML-defined with optional Python enhancement
230
+ - **Manager Agent** - Built-in coordination and rule enforcement
231
+ - **Summarizer Agent** - Omnipresent monitoring and analysis
232
+ - **Redis Persistence** - Automatic session and conversation storage
233
+ - **Event System** - All communication flows through events
234
+ - **Tool System** - OpenAI-compatible function calling
235
+
236
+ **For detailed architecture information, see [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md)**
237
+
238
+ ---
239
+
240
+ ## Agent Enhancement
241
+
242
+ Add Python logic to YAML-defined agents:
243
+
244
+ ```python
245
+ @sdk.intelligence("conversation_agent")
246
+ async def enhance_conversation(llm_response, input_data, context):
247
+ """Add business logic to agent responses"""
248
+
249
+ # Access conversation history
250
+ history = context.get("conversation_history", [])
251
+
252
+ # Enhance the LLM response
253
+ enhanced_response = add_context(llm_response, history)
254
+
255
+ # Trigger other agents conditionally
256
+ if needs_specialist(enhanced_response):
257
+ await sdk.trigger_agents(data={"analysis": enhanced_response})
258
+
259
+ return {
260
+ "response": enhanced_response,
261
+ "confidence": calculate_confidence(enhanced_response)
262
+ }
263
+ ```
264
+
265
+ ---
266
+
267
+ ## Revolutionary Features
268
+
269
+ ### Self-Healing Networks
270
+
271
+ ```python
272
+ # Enable automatic failure recovery
273
+ await sdk.enable_self_healing()
274
+
275
+ # Monitor agent health
276
+ health = await sdk.get_agent_health_status()
277
+ stats = await sdk.get_healing_statistics()
278
+ ```
279
+
280
+ ### Evolutionary Optimization
281
+
282
+ ```python
283
+ # Optimize mesh configuration automatically
284
+ test_scenarios = [
285
+ {"input": "Test case 1", "agents": ["conversation_agent"]},
286
+ {"input": "Test case 2", "agents": ["technical_agent"]}
287
+ ]
288
+
289
+ best_genome = await sdk.evolve_swarm_architecture(test_scenarios)
290
+ await sdk.apply_evolved_configuration()
291
+ ```
292
+
293
+ ### Adaptive Model Selection
294
+
295
+ ```python
296
+ # Automatic model selection based on request characteristics
297
+ response = await sdk.adaptive_execute(
298
+ prompt="Analyze this complex scenario",
299
+ preferred_models=["gpt-4o", "claude-3.5-sonnet"]
300
+ )
301
+ ```
302
+
303
+ ---
304
+
305
+ ## Documentation
306
+
307
+ - **[Architecture Guide](docs/ARCHITECTURE.md)** - Technical implementation details
308
+ - **[Debugging Guide](docs/DEBUGGING.md)** - Troubleshooting and monitoring
309
+ - **Getting Started** - Run `create-leafmesh my-project` to scaffold a complete example project
310
+
311
+ ---
312
+
313
+ ## Use Cases
314
+
315
+ LeafMesh excels at:
316
+
317
+ - **Customer Service Systems** - Multi-tier workflows with self-healing
318
+ - **Data Analysis Pipelines** - Collaborative analytical workflows
319
+ - **Content Creation** - Coordinated writing and editing
320
+ - **Decision Support** - Complex decision-making with oversight
321
+ - **Workflow Automation** - Business process automation
322
+
323
+ ---
324
+
325
+ ## Framework Comparison
326
+
327
+ | Feature | LeafMesh | LangGraph | CrewAI | AutoGen |
328
+ | ----------------------------- | ------------------ | ---------- | ---------- | ---------- |
329
+ | **YAML Configuration** | Primary | Code-based | Code-based | Code-based |
330
+ | **Built-in Coordination** | Manager/Summarizer | Manual | Manual | Manual |
331
+ | **Auto-Persistence** | Redis | Manual | Manual | Manual |
332
+ | **Self-Healing** | Production | None | None | None |
333
+ | **Evolutionary Optimization** | Genetic Algorithm | None | None | None |
334
+
335
+ ---
336
+
337
+ ## Licensing
338
+
339
+ **LeafMesh is commercial software owned by LeafCraft.**
340
+
341
+ - **Evaluation**: 30-day free evaluation for research/development
342
+ - **Commercial**: Requires valid commercial license for revenue-generating use
343
+ - **Enterprise**: Custom enterprise licensing available
344
+
345
+ **Licensing**: info@leafcraftstudios.com
346
+
347
+ ---
348
+
349
+ ## Getting Started
350
+
351
+ 1. **[Install LeafMesh](#installation)** and set up Redis
352
+ 2. **Create your first YAML configuration** with basic agents
353
+ 3. **[Add Python enhancements](#agent-enhancement)** for custom logic
354
+ 4. **[Enable revolutionary features](#revolutionary-features)** for production
355
+
356
+ **LeafMesh: Production-ready multi-agent AI with YAML-driven simplicity**
357
+
358
+ ---
359
+
360
+ **Copyright 2025 LeafCraft. All rights reserved.**
@@ -0,0 +1,118 @@
1
+ leafmesh/__init__.pyc,sha256=daWkUjGTeZUxaobxTDpS4FYlLOKCoC70PAgm1CMeD_g,3698
2
+ leafmesh/_build_tier.pyc,sha256=s4imXG9DQHgDsl-5wSxFgAcEpE0H0FNlTdxT7P9lg_s,627
3
+ leafmesh/agents/__init__.pyc,sha256=Kht8lhAARE2Lgz8ixAEjjQc9_EQeSkmetsgL9uCWhUo,406
4
+ leafmesh/agents/base_agent.pyc,sha256=tCWScI6EVL_1hu9WHxe9DPAaeUAK_dEF-nHb9ILsKcI,12875
5
+ leafmesh/agents/human.pyc,sha256=NMckU_VNWDlWOFKxcyCY9-TFFWBkUUbaGmRyKDMUzsc,39357
6
+ leafmesh/agents/manager.pyc,sha256=wWMGgjtqmK9D2pipLF7r6cUNc3ofwXYNiL5J5Zxbcuo,98293
7
+ leafmesh/agents/registry.pyc,sha256=4WTT-SQNkBTCMbbFGCVYpo-mAK_OEbb2hGjLjcloNK0,25266
8
+ leafmesh/agents/summarizer.pyc,sha256=eVO0lCdwf33uSeYs-CUxWP32PBcWpflcrcWUzB3pFjw,45009
9
+ leafmesh/agents/yields_validator.pyc,sha256=v4Q4_A8Era2HI2uO3xxSn8zF7LbPm7PAXVBGAl0rsi8,2929
10
+ leafmesh/api_services/__init__.pyc,sha256=pz4yp-0pFArB1G15tIMqplU4ZQvztUPUVH2I3JbUqbM,623
11
+ leafmesh/api_services/agent_service.pyc,sha256=2y5p_Hv5YBKnHK0CGDGRwxIpocfTGMaJpMI0lchHsv0,14520
12
+ leafmesh/api_services/api_server.pyc,sha256=AXU0rgvkfdrJCaUyzxz8wzJcd4k04NxS4m1cVzmsLZc,34442
13
+ leafmesh/api_services/auth_middleware.pyc,sha256=DHDRui5pF71XKkJyv2_bIGQ7Yt248o7qpLyu1ePGHcw,10374
14
+ leafmesh/api_services/base_service.pyc,sha256=BtwAM0uesnIeFU7SayC_RxG_XXrsaBnM1lwkysZRA1g,3104
15
+ leafmesh/api_services/evolution_service.pyc,sha256=0CMaJGN0TA6p9_e-c3366BFtwh4Aebh3PINUomvTWsE,12844
16
+ leafmesh/api_services/feed_service.pyc,sha256=THtZ2v1L1ndMptbUgIc1iRVCx4Q-fT79FXlOPH48Ut4,12722
17
+ leafmesh/api_services/knowledge_service.pyc,sha256=IlhCUqeBU1yr2V4hbaU9jteiu4KNRaXAFLjCWKKglI8,25664
18
+ leafmesh/api_services/playground_service.pyc,sha256=WjKqg05i-efkywd4Bgub8GWgKdxVGtSMLyjucvrLqco,42690
19
+ leafmesh/api_services/session_service.pyc,sha256=C6ahq1ddZ9ybXS1hUDRyMVuf7LKi_lHnbmnDJVRhVH0,34872
20
+ leafmesh/api_services/standalone_api.pyc,sha256=RnV4Y82uDurFemOCaUg0bruNYX80RwF8DPR9gVb0ZtE,4711
21
+ leafmesh/api_services/stream_service.pyc,sha256=GitkZHmWxsvAI4SGU0bpJ9B1YoT_DfSR560m-xMneBE,13296
22
+ leafmesh/api_services/yaml_service.pyc,sha256=RHdDEgv2wgHKvhNKXLI1sZKOmy6z4mV79XJmu4QJ800,41745
23
+ leafmesh/config/__init__.pyc,sha256=_ejFatro7_PiTmv0wJ_ija0l3iq54QhWa-8wmVzP_j0,200
24
+ leafmesh/config/yaml_loader.pyc,sha256=ROd60r8oHhTfe7yYVOiYk9fTdS8GLRZcv8XwSPcpqbA,8727
25
+ leafmesh/core/__init__.pyc,sha256=JUclhCUGWrIkIluQfl8pnf2z-lVEVrdGauwIYou1FUs,748
26
+ leafmesh/core/_agent_field_schema.pyc,sha256=WsJ-Q08GQaYiu9HZN8Xhx5nOvyHRi78QbaiBE9l92R8,2262
27
+ leafmesh/core/agent_state.pyc,sha256=naAtEDrAqC8SPsCc1Fn_tyaPZyhfKt3W3Lh4Lf9Iq04,8372
28
+ leafmesh/core/config.pyc,sha256=MRFDCbl2OZwi7yQCc6a-cr7MhrwtcMDtM6sjXKDRXDQ,50880
29
+ leafmesh/core/context_manager.pyc,sha256=SNivv-8BeSHcPJDwik368nd-atkK3yHvtAFhAz7kzfw,3111
30
+ leafmesh/core/events.pyc,sha256=Axs5v72rsQPe-5W4lrq9NY-IikJ3u9bBnU42mMRxcOE,20486
31
+ leafmesh/core/evolution.pyc,sha256=oPsUHOrA5tm22Td3FDy5NtJvgCRMybp0SAUk_RKPikc,33343
32
+ leafmesh/core/exceptions.pyc,sha256=Js2itaAGKEFwmk4riTBf_2OaROOfDL-PxBF48GNAwGo,1567
33
+ leafmesh/core/sdk.pyc,sha256=VmBYpSM54sBx8arygeqKOzC1Df_WTRllRwC3az-q5aw,73854
34
+ leafmesh/core/self_healing.pyc,sha256=DlhATqwWRk1MCW_5agBdq62Z252mkKGq24wuHIW9b04,22016
35
+ leafmesh/core/session.pyc,sha256=OQZQL9mO6Sv_KhLgJ-20gFcg35Ek3DpzGm2dB2qT8Sk,29490
36
+ leafmesh/external/__init__.pyc,sha256=HDWZ5dTrpMrUFELUUUwrjUACf8h6MUcR2geAadQ23ag,739
37
+ leafmesh/external/webhook_handler.pyc,sha256=IIBos8fOZfEJeIrfOdjnIPx6HTxO9sLoAPUNvvRCVGA,18299
38
+ leafmesh/external/channels/__init__.pyc,sha256=Vn54e8b0zlORN4u0lIuy53duYO6rEzJl16DkbS9C_8Q,1723
39
+ leafmesh/external/channels/base_channel.pyc,sha256=Y5LbZgeqK99GHNtFVH9J6oR1LXr5GeDDWmObz_Y99dA,7437
40
+ leafmesh/external/channels/discord_adapter.pyc,sha256=IHVIapQP2J5XZ88mqQH9lnNRxaLo1ZD1nfiQnndBIkA,6903
41
+ leafmesh/external/channels/slack_adapter.pyc,sha256=me3yXZ2uZh9f43mQYZ84AwRK80XocITos2c-6C8hzfc,7618
42
+ leafmesh/external/channels/teams_adapter.pyc,sha256=E3Jdf6U6phJrxxmDu7jIpMeBeahfShvxgzMLEDtxePs,9636
43
+ leafmesh/external/channels/telegram_adapter.pyc,sha256=hvG-nOoPYVbw8zQv-rVMEdHE7ZGQxqzeHYsmgSP-VRM,6738
44
+ leafmesh/external/channels/whatsapp_adapter.pyc,sha256=EICzB0w1ABiYTijZAv3HXzbu0cOkXr4NM04gjFM0iQg,6912
45
+ leafmesh/external/connectors/__init__.pyc,sha256=NFuPcL1agP1gkpigJTMY6rlcMQl4gIoUBRVXiWLIurw,1509
46
+ leafmesh/external/connectors/a2a_connector.pyc,sha256=VByHJB-INMgVl3Mg-qu-ltaFycHBAjv7qFERDCbc0BY,10303
47
+ leafmesh/external/connectors/autogen_connector.pyc,sha256=YocCIixo08HAbnwqLe1FeP9SNq6Zhfy4QP94qSC0mK4,6851
48
+ leafmesh/external/connectors/base_connector.pyc,sha256=08B9SRRgxmS8K9ixQevX1NvgIrv5xOODS9Jwx7zTbqM,11932
49
+ leafmesh/external/connectors/composio_connector.pyc,sha256=uPMBwCRVcAybPs9klL3Fg5xyIW3b9criixgm16VoPq4,6593
50
+ leafmesh/external/connectors/composio_helpers.pyc,sha256=sC2M1zO6h-8vWT2_sZs6KZ96azto5FYuv6zLyF9Zcq0,2508
51
+ leafmesh/external/connectors/connector_registry.pyc,sha256=gGV8-eYBh79jWfOKl01TOaqRtEXqrqWfaQZv7CfPN1Y,3001
52
+ leafmesh/external/connectors/crewai_connector.pyc,sha256=iVWX6Zu09xwGfmuBzF2oIWBNUV6t727Qvq_Z2cP0vyo,5632
53
+ leafmesh/external/connectors/langgraph_connector.pyc,sha256=95hd0WujZH9Jx2MCZsRx2uQFmKKCVsX2aWYFRhUieYg,7560
54
+ leafmesh/external/connectors/mcp_connector.pyc,sha256=nopxnYG-z_LpLA9U4lZBrsdHIQrX50upddfXcAthpLk,11102
55
+ leafmesh/external/connectors/mcp_helpers.pyc,sha256=dPtFfBTq328FPmRjTyYhs6ISrxm6N8W2UUStJnP6cnI,2739
56
+ leafmesh/external/connectors/n8n_connector.pyc,sha256=WGGT8mOJdtt3lsWqMQ2q8jiGwEhkrTymX-aXS5cEJFc,6177
57
+ leafmesh/external/connectors/n8n_helpers.pyc,sha256=bEsC5AVMSrIrKtR8Rwa4gZAMfpcaaDuCqGlGoqOQF4A,2434
58
+ leafmesh/external/connectors/zapier_connector.pyc,sha256=PZuncCU0ryLuYtVKMK6YJMyXV5zzqQVYPIiuzpntdOc,8035
59
+ leafmesh/external/connectors/zapier_helpers.pyc,sha256=h2q17qk8OQMDdU3EJ1abWrnO8jnzDxLjhRByGu0ewfE,2646
60
+ leafmesh/knowledge/__init__.pyc,sha256=xt5LFKlLVUNGrkcQxVxbj_ddI5dAb075h4fcR7nZV1g,506
61
+ leafmesh/knowledge/chunker.pyc,sha256=wKwchwoG_c0JNDyFw7i-a3B-lghiRyAwCKSRtbDx2hw,8415
62
+ leafmesh/knowledge/embedder.pyc,sha256=uCTVujaaYUX1XalQvqnBKDYxXAmLnbLb_o_IAmxFo3M,6214
63
+ leafmesh/knowledge/manager.pyc,sha256=LyKU8Y4wMz94xN6gXtnb7YGalMMdehqUOpC4WqUGrZU,17634
64
+ leafmesh/knowledge/connectors/__init__.pyc,sha256=1NxAdr7EzIfoOG8f8uOQ0r3NNUzvhSSMxpdH1RWs2W8,717
65
+ leafmesh/knowledge/connectors/base_connector.pyc,sha256=znGjh6EvLCGIC9Gfn8aMDfRQEck2nV0zGNznCWkwiAg,3911
66
+ leafmesh/knowledge/connectors/custom_connector.pyc,sha256=gIPtu7iRsnua05FZb-XnO9dUaMt7qauJFL-Wo92qRBQ,6250
67
+ leafmesh/knowledge/connectors/mongo_connector.pyc,sha256=lEDy3yvhwNBEcfk8JBYPWiTwx5XJ_YWQAygKaXaFLbM,6714
68
+ leafmesh/knowledge/connectors/pinecone_connector.pyc,sha256=ll9y7ht7SaleL3UO6y5QK44XVu6jFG9Eo1z-AGGremQ,5707
69
+ leafmesh/knowledge/connectors/postgres_connector.pyc,sha256=vIbqG9mv8yHbx6mNFc5bFU4XwFD2FW8kSaOBMJdgLHA,9023
70
+ leafmesh/knowledge/connectors/registry.pyc,sha256=_Acc3A-AmF96WgNxDJyp6Xv7vLb3Ptm7NKtrFRXCYYg,1655
71
+ leafmesh/llm/__init__.pyc,sha256=IA8euC4R9HyeKFo5ZhnB0t7NGiszIYYH_OHPbyD2Dlg,701
72
+ leafmesh/llm/adaptive_executor.pyc,sha256=gsCq7xOt1ureAuY0Agfxix246A3vBm9S9euzGSrudlg,24647
73
+ leafmesh/llm/base_types.pyc,sha256=veIJQ3LTGdvfb4RFmhz83YpTtQPks7U4HTnfGP0AX2M,11606
74
+ leafmesh/llm/executor.pyc,sha256=t8d-dDk-NKPFNMWnIkKJptztvF_8r4VSBepofehAkzQ,51175
75
+ leafmesh/llm/prompt_builder.pyc,sha256=58tm_OF3fk6Ol_U--1lAI-BnslCHiQ-O8r084tLKSi0,23475
76
+ leafmesh/llm/provider_registry.pyc,sha256=x3g0A27wGVOCadKE-5zaUYsuLeGKQizjDgNA8BxlAGM,3622
77
+ leafmesh/llm/providers/__init__.pyc,sha256=Xphp6NU6_ogdLVXifMo7WOzBmS_ZCJaZydYvk85B4Ss,1004
78
+ leafmesh/llm/providers/anthropic_provider.pyc,sha256=Jtc0oFM9QCb0QVIpxWaFPPoQNMa_mhP6ZSOZ3asCN10,11517
79
+ leafmesh/llm/providers/bedrock_provider.pyc,sha256=3-3l-kMaEAPh701L5gjG5vU1DNgMB4vk7TB0APwD2-c,13058
80
+ leafmesh/llm/providers/deepseek_provider.pyc,sha256=RJZiUzniT2iDN3XsiFaAzXBMaXEYhzLoys6wE0KOGCU,8853
81
+ leafmesh/llm/providers/foundry_provider.pyc,sha256=qlGfyThs5p69nYXClWY-vs9SEZMhYZ8JmG3Ou_z9Vq0,8482
82
+ leafmesh/llm/providers/google_provider.pyc,sha256=Q1tc-y7dsOK4I8ZvqgYtv1v4cK1SCUXk65luEZPPEI0,14507
83
+ leafmesh/llm/providers/local_provider.pyc,sha256=aaSFL6W9OvTtUzhv4KBoVPL4H35gvCkFp4ov8S_B2og,7388
84
+ leafmesh/llm/providers/openai_provider.pyc,sha256=S6qZcdJTPNsHlLobkQ_7Q52ACgmeXgoaKfddjXhF600,11922
85
+ leafmesh/llm/providers/vertex_provider.pyc,sha256=lgKciQkwWW9nl2d6UePla8CuuljWnWcG0tPQTCoaYHE,20983
86
+ leafmesh/mesh/__init__.pyc,sha256=oW003IrjyxIviEiHKB2T4uuU8nJlqRG-oXwg8VEJFVI,450
87
+ leafmesh/mesh/architecture_factory.pyc,sha256=2ENMEZ3PC_mXsIDDq9pOp6k1TPXlXzAAcBq8ZOkLxVk,4108
88
+ leafmesh/mesh/communication.pyc,sha256=g1svC5skl-mbacyUEmb1BRQsu4tS8fSdPDOTHI8CSb4,62841
89
+ leafmesh/mesh/condition_evaluator.pyc,sha256=9_mgnd1DSBXtG6YGi1-My9N5NyyosJgv3GAwU8MfD9M,8792
90
+ leafmesh/mesh/wait_for_evaluator.pyc,sha256=aXUbEvdJeMq_BrcaA5zP1DPsSd6f_AiSGVzal-hmvyA,6170
91
+ leafmesh/observability/__init__.pyc,sha256=HDVe5FfdMbJSA4tWv30w77uGjiYR27p41_b1IB5k8Kc,392
92
+ leafmesh/observability/license.pyc,sha256=jKH7bhG1X9fDm9ePsmHlUOGJmcRouwyqqKclBN2UWew,10236
93
+ leafmesh/observability/observability.pyc,sha256=9zDiazZhpHNcOcTGcLR08KmcCPam0W9VwNh3bC3EqN0,3489
94
+ leafmesh/observability/otel_setup.pyc,sha256=oB2Qw0keMC9OJ8ytJk86Z4YkW6kcn-yNV6Xh1fOaVnI,13071
95
+ leafmesh/observability/tracer_wrapper.pyc,sha256=zNFXED90zX8RYMxuO_ZWitjR_y7dkmYYZvNoKZyBDdE,19759
96
+ leafmesh/redis/__init__.pyc,sha256=EGQJMh7kfPEF2ZCxxH7sle4v-YhMdHHntSbkmtPsOOY,356
97
+ leafmesh/redis/llm_cache.pyc,sha256=leKRGH1iN38_pJMnX3yj55fNLL42Fx3mi_ZRtEY70Jo,7039
98
+ leafmesh/redis/manager.pyc,sha256=MwWUV-VzfCdse4kx0uKVsEQiVE1aO226Vz40xZBvXjM,55509
99
+ leafmesh/redis/stream_manager.pyc,sha256=2EyAO9PPSK8gSSMVWmVh4d4xK37mrlZxG6eC_yWSNWs,29170
100
+ leafmesh/scheduler/__init__.pyc,sha256=g5vZr59ah8KKVoipffBbZvDmSiPzD3o0zChyqxajOkk,216
101
+ leafmesh/scheduler/cron_parser.pyc,sha256=-OR13BuZszjooCfKnRaML9ZKN1h19-dXzIOpCRYnYoc,5040
102
+ leafmesh/scheduler/scheduler.pyc,sha256=fDB1Q6dwbWk9dTYekldlwAsX0rJ2fTDuV8xeiG8uD1E,10476
103
+ leafmesh/tools/__init__.pyc,sha256=kguz5CqtqmjUtog5iNEQ-cDG5CUf3azRwnWSxx0kxzU,433
104
+ leafmesh/tools/base_tool.pyc,sha256=FsEGRVj5EhQLOddIXpaV4h4acUSrdKVb23j2fb9kf0g,10695
105
+ leafmesh/tools/builtin_tools.pyc,sha256=axoVSGf8EaVrkVUgTNXayi2P5ggupQtBnVbqXGAUI_Y,32144
106
+ leafmesh/tools/tool_executor.pyc,sha256=i0rAYYwGXsvdOLs1KlM_Ldx7RQIAmJ8kfxC6MQwYifc,9166
107
+ leafmesh/tools/tool_registry.pyc,sha256=SSQVr2Qw3DQgUYY9HSeH7nDeuNGELfxoIn54sqElCV8,7804
108
+ leafmesh/utils/__init__.pyc,sha256=w-5QxM1IasEg-RAZ8xQWodmwJZwzZbuB6HReQmoVSoU,191
109
+ leafmesh/utils/async_helpers.pyc,sha256=jB8oHXLcmMYsgYfnUc6joPcvYM9I7oZTs0nYg64bdx4,2314
110
+ leafmesh/utils/license_check.pyc,sha256=AaTjWqA1wSfFucVaWqjRlsVdlur7GWWCwnH6CGi0l90,5661
111
+ leafmesh/utils/logger.pyc,sha256=TvmwDI85-cFtuIpXQ1ErdLAFbvf0vDuoUJxr5l6gpac,8348
112
+ leafmesh/utils/parsing.pyc,sha256=FMMQEuMGazo21VoM7e7B_IyAaKqV2vjgQd7JUgSMB30,2055
113
+ leafmesh/utils/redact.pyc,sha256=QfedBnAA0FiF62rKpAqc6nPHfGCUMf47w_6lmFHyCU4,3081
114
+ leafmesh-2.1.0.dist-info/licenses/LICENSE,sha256=2-dE_Qdwh7ZPwLb_gCTwK142wA9jLNemPvIiis_CZMw,13218
115
+ leafmesh-2.1.0.dist-info/METADATA,sha256=Y4I5bsTa4ZFpu2EORllJf3r1-_xIMkcoIOZ-1yiHI14,12260
116
+ leafmesh-2.1.0.dist-info/WHEEL,sha256=MUwqLBUYSXgI-9CrY4VSvEeNA0hGiHO5SKsKqzb-3E4,93
117
+ leafmesh-2.1.0.dist-info/top_level.txt,sha256=QDuXLrEmO7KODDD--Ajl0jhb0iAHZ0uqHZgCJeNMz8o,19
118
+ leafmesh-2.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: cp310-none-any
5
+
@@ -0,0 +1,296 @@
1
+ ================================================================================
2
+ SWARMSDK COMMERCIAL LICENSE AGREEMENT
3
+ ================================================================================
4
+
5
+ THIS SOFTWARE LICENSE AGREEMENT ("AGREEMENT") IS A LEGAL AGREEMENT BETWEEN YOU
6
+ (EITHER AN INDIVIDUAL OR A SINGLE ENTITY) AND LeafCraft ("LEAFCRAFT",
7
+ "COMPANY", "WE", "US", OR "OUR") FOR THE SWARMSDK SOFTWARE PRODUCT INCLUDING
8
+ COMPUTER SOFTWARE AND ASSOCIATED MEDIA AND PRINTED MATERIALS, AND MAY INCLUDE
9
+ ONLINE OR ELECTRONIC DOCUMENTATION ("SOFTWARE").
10
+
11
+ BY INSTALLING, COPYING, DOWNLOADING, ACCESSING, OR OTHERWISE USING THE SOFTWARE,
12
+ YOU AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO THE
13
+ TERMS OF THIS AGREEMENT, DO NOT INSTALL, COPY, DOWNLOAD, ACCESS, OR USE THE SOFTWARE.
14
+
15
+ ================================================================================
16
+ DEFINITIONS
17
+ ================================================================================
18
+
19
+ "Affiliate" means any entity that directly or indirectly controls, is controlled
20
+ by, or is under common control with a party to this Agreement.
21
+
22
+ "Commercial Use" means any use of the Software for commercial, business, or
23
+ revenue-generating purposes, including but not limited to:
24
+ (a) Use in connection with business operations or commercial activities
25
+ (b) Integration into products or services offered to third parties
26
+ (c) Use to provide services to customers or clients for compensation
27
+ (d) Use in enterprise environments or business organizations
28
+ (e) Use that generates revenue directly or indirectly
29
+
30
+ "Documentation" means any written or electronic materials provided by LeafCraft
31
+ relating to the Software.
32
+
33
+ "Evaluation Period" means a period of thirty (30) calendar days from first use
34
+ of the Software for evaluation purposes only.
35
+
36
+ "Intellectual Property Rights" means all intellectual property rights worldwide,
37
+ including patents, copyrights, trademarks, trade secrets, moral rights, and any
38
+ other proprietary rights.
39
+
40
+ "Licensed Software" means the SwarmSDK software package, including all components,
41
+ libraries, documentation, and related materials.
42
+
43
+ ================================================================================
44
+ LICENSE GRANT AND SCOPE
45
+ ================================================================================
46
+
47
+ 1. EVALUATION LICENSE
48
+ Subject to the terms of this Agreement, LeafCraft grants you a limited,
49
+ non-exclusive, non-transferable license to use the Software solely for
50
+ evaluation, testing, and development purposes for the Evaluation Period.
51
+
52
+ 2. COMMERCIAL LICENSE REQUIRED
53
+ Any Commercial Use of the Software requires a separate written commercial
54
+ license agreement with LeafCraft. Contact info@leafcraftstudios.com
55
+ to obtain appropriate commercial licensing.
56
+
57
+ 3. ACADEMIC AND RESEARCH USE
58
+ Educational institutions and non-profit research organizations may use the
59
+ Software for non-commercial research and educational purposes beyond the
60
+ Evaluation Period, subject to written approval from LeafCraft.
61
+
62
+ 4. SCOPE OF LICENSE
63
+ The license granted herein is limited to the specific version of the Software
64
+ provided. Updates, upgrades, and new versions may require separate licensing.
65
+
66
+ ================================================================================
67
+ RESTRICTIONS
68
+ ================================================================================
69
+
70
+ YOU MAY NOT:
71
+ 1. Use the Software for Commercial Use without a valid commercial license
72
+ 2. Distribute, sublicense, rent, lease, or sell the Software
73
+ 3. Modify, adapt, alter, translate, or create derivative works of the Software
74
+ 4. Reverse engineer, decompile, disassemble, or attempt to derive source code
75
+ 5. Remove, alter, or obscure any proprietary notices, labels, or marks
76
+ 6. Use the Software in violation of applicable laws or regulations
77
+ 7. Use the Software in life-critical or safety-critical applications
78
+ 8. Benchmark the Software against competing products without prior consent
79
+ 9. Access the Software to build a similar or competing product
80
+ 10. Circumvent or attempt to circumvent any licensing restrictions
81
+
82
+ ================================================================================
83
+ INTELLECTUAL PROPERTY RIGHTS
84
+ ================================================================================
85
+
86
+ 1. OWNERSHIP
87
+ The Software and all Intellectual Property Rights therein are and shall remain
88
+ the exclusive property of LeafCraft. This Agreement grants you only the limited
89
+ rights expressly set forth herein.
90
+
91
+ 2. TRADEMARKS
92
+ LeafCraft, SwarmSDK, and related marks are trademarks of LeafCraft.
93
+ You may not use these marks without prior written consent.
94
+
95
+ 3. FEEDBACK
96
+ Any feedback, suggestions, or improvements you provide regarding the Software
97
+ may be used by LeafCraft without compensation or attribution.
98
+
99
+ ================================================================================
100
+ COMPLIANCE
101
+ ================================================================================
102
+
103
+ 1. AUDIT RIGHTS
104
+ LeafCraft reserves the right to audit your use of the Software to ensure
105
+ compliance with this Agreement. You agree to cooperate with such audits and
106
+ provide reasonable access to relevant records and systems.
107
+
108
+ 2. REPORTING
109
+ You may be required to provide reports on your use of the Software as
110
+ specified in your commercial license agreement.
111
+
112
+ 3. RECORD KEEPING
113
+ You shall maintain accurate records of your use of the Software and provide
114
+ such records to LeafCraft upon reasonable request.
115
+
116
+ ================================================================================
117
+ PAYMENT AND FEES
118
+ ================================================================================
119
+
120
+ 1. EVALUATION USE
121
+ No fees are required for use during the Evaluation Period.
122
+
123
+ 2. COMMERCIAL LICENSING FEES
124
+ Commercial use requires payment of applicable licensing fees as specified
125
+ in your commercial license agreement.
126
+
127
+ 3. PAYMENT TERMS
128
+ All fees are due and payable in accordance with the terms of your commercial
129
+ license agreement. Late payments may incur additional charges.
130
+
131
+ ================================================================================
132
+ SUPPORT AND MAINTENANCE
133
+ ================================================================================
134
+
135
+ 1. EVALUATION SUPPORT
136
+ No support or maintenance is provided during the Evaluation Period.
137
+
138
+ 2. COMMERCIAL SUPPORT
139
+ Support and maintenance services are available under separate commercial
140
+ support agreements.
141
+
142
+ 3. UPDATES AND UPGRADES
143
+ Access to updates and upgrades may require additional licensing fees.
144
+
145
+ ================================================================================
146
+ DISCLAIMERS AND WARRANTIES
147
+ ================================================================================
148
+
149
+ 1. WARRANTY DISCLAIMER
150
+ THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. LEAFCRAFT
151
+ DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
152
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
153
+ AND NON-INFRINGEMENT.
154
+
155
+ 2. NO WARRANTY OF PERFORMANCE
156
+ LEAFCRAFT DOES NOT WARRANT THAT THE SOFTWARE WILL MEET YOUR REQUIREMENTS
157
+ OR THAT THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR-FREE.
158
+
159
+ 3. THIRD-PARTY COMPONENTS
160
+ The Software may include third-party components subject to separate license
161
+ terms. You are responsible for complying with such terms.
162
+
163
+ ================================================================================
164
+ LIMITATION OF LIABILITY
165
+ ================================================================================
166
+
167
+ 1. LIMITATION OF DAMAGES
168
+ IN NO EVENT SHALL LEAFCRAFT BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
169
+ CONSEQUENTIAL, OR PUNITIVE DAMAGES, INCLUDING BUT NOT LIMITED TO LOSS OF
170
+ PROFITS, DATA, USE, GOODWILL, OR OTHER INTANGIBLE LOSSES.
171
+
172
+ 2. MAXIMUM LIABILITY
173
+ LEAFCRAFT'S TOTAL LIABILITY FOR ALL CLAIMS RELATED TO THE SOFTWARE SHALL NOT
174
+ EXCEED THE AMOUNT PAID BY YOU FOR THE SOFTWARE IN THE TWELVE MONTHS PRECEDING
175
+ THE CLAIM.
176
+
177
+ 3. ESSENTIAL PURPOSE
178
+ THE LIMITATIONS SET FORTH IN THIS SECTION SHALL APPLY EVEN IF THE LIMITED
179
+ REMEDIES PROVIDED HEREIN FAIL OF THEIR ESSENTIAL PURPOSE.
180
+
181
+ ================================================================================
182
+ INDEMNIFICATION
183
+ ================================================================================
184
+
185
+ You agree to indemnify, defend, and hold harmless LeafCraft and its officers,
186
+ directors, employees, and agents from and against any claims, liabilities,
187
+ damages, losses, and expenses arising out of or in any way connected with:
188
+ (a) Your use of the Software
189
+ (b) Your violation of this Agreement
190
+ (c) Your violation of any third-party rights
191
+
192
+ ================================================================================
193
+ TERMINATION
194
+ ================================================================================
195
+
196
+ 1. TERMINATION BY LEAFCRAFT
197
+ LeafCraft may terminate this Agreement immediately upon notice if you breach
198
+ any term of this Agreement.
199
+
200
+ 2. TERMINATION BY YOU
201
+ You may terminate this Agreement at any time by ceasing use of the Software
202
+ and destroying all copies in your possession.
203
+
204
+ 3. EFFECT OF TERMINATION
205
+ Upon termination, all rights granted hereunder shall cease immediately, and
206
+ you must cease all use of the Software and destroy all copies.
207
+
208
+ 4. SURVIVAL
209
+ Sections relating to intellectual property, disclaimers, limitation of
210
+ liability, indemnification, and general provisions shall survive termination.
211
+
212
+ ================================================================================
213
+ EXPORT CONTROL
214
+ ================================================================================
215
+
216
+ 1. EXPORT COMPLIANCE
217
+ You acknowledge that the Software may be subject to export controls under
218
+ applicable laws. You agree to comply with all applicable export and import
219
+ laws and regulations.
220
+
221
+ 2. RESTRICTED COUNTRIES
222
+ You represent that you are not located in, under control of, or a national
223
+ of any country to which export of the Software is restricted by applicable law.
224
+
225
+ ================================================================================
226
+ GENERAL PROVISIONS
227
+ ================================================================================
228
+
229
+ 1. GOVERNING LAW
230
+ This Agreement shall be governed by and construed in accordance with the laws
231
+ of the State of Delaware, United States, without regard to conflict of law
232
+ principles.
233
+
234
+ 2. JURISDICTION
235
+ Any disputes arising under this Agreement shall be subject to the exclusive
236
+ jurisdiction of the state and federal courts located in Delaware.
237
+
238
+ 3. ENTIRE AGREEMENT
239
+ This Agreement constitutes the entire agreement between the parties regarding
240
+ the Software and supersedes all prior agreements and understandings.
241
+
242
+ 4. MODIFICATION
243
+ This Agreement may only be modified by a written instrument signed by
244
+ authorized representatives of both parties.
245
+
246
+ 5. SEVERABILITY
247
+ If any provision of this Agreement is held to be invalid or unenforceable,
248
+ the remainder of this Agreement shall remain in full force and effect.
249
+
250
+ 6. WAIVER
251
+ No waiver of any provision of this Agreement shall be deemed or shall
252
+ constitute a waiver of any other provision.
253
+
254
+ 7. ASSIGNMENT
255
+ You may not assign this Agreement or any rights hereunder without the prior
256
+ written consent of LeafCraft. LeafCraft may assign this Agreement without
257
+ restriction.
258
+
259
+ 8. FORCE MAJEURE
260
+ Neither party shall be liable for any failure or delay in performance due
261
+ to causes beyond its reasonable control.
262
+
263
+ ================================================================================
264
+ COMMERCIAL LICENSING CONTACT
265
+ ================================================================================
266
+
267
+ For commercial licensing, enterprise agreements, OEM licensing, and custom
268
+ licensing arrangements, please contact:
269
+
270
+ LeafCraft
271
+ Licensing Department
272
+ Email: info@leafcraftstudios.com
273
+ Website: https://leafcraft.ai
274
+ Phone: +1 (XXX) XXX-XXXX
275
+
276
+ Business Address:
277
+ LeafCraft
278
+ [Street Address]
279
+ [City, State ZIP Code]
280
+ [Country]
281
+
282
+ ================================================================================
283
+ ACKNOWLEDGMENT
284
+ ================================================================================
285
+
286
+ BY USING THE SOFTWARE, YOU ACKNOWLEDGE THAT YOU HAVE READ THIS AGREEMENT,
287
+ UNDERSTAND IT, AND AGREE TO BE BOUND BY ITS TERMS AND CONDITIONS.
288
+
289
+ ================================================================================
290
+
291
+ SwarmSDK Commercial License Agreement
292
+ Version 1.0
293
+ Effective Date: August 29, 2025
294
+ Copyright (c) 2024-2025 LeafCraft. All Rights Reserved.
295
+
296
+ Last Updated: August 29, 2025
@@ -0,0 +1,3 @@
1
+ dist
2
+ docs
3
+ leafmesh