leafmesh 2.1.0__cp312-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=iUC6XAq3XnxidsZ_w_DdHlEPlneof0e1JdWorphKhTQ,3856
2
+ leafmesh/_build_tier.pyc,sha256=ZN6whIM4Eyo5Pa0XCnnO1EUrExX02_2knpGvdvw9MZI,978
3
+ leafmesh/agents/__init__.pyc,sha256=7Ql5i3ke-BA38TbGBmhNLTbfK8u2tSOzc6VMNlP00OE,422
4
+ leafmesh/agents/base_agent.pyc,sha256=MTNdBPnwvy_UDRntc5382Dwny4RxdvJXbn3-NPQZEbQ,24933
5
+ leafmesh/agents/human.pyc,sha256=ncBONuVu1CqWsdxO27mTW8OpudYfitcwy-Uw0PCOhmY,93507
6
+ leafmesh/agents/manager.pyc,sha256=yMdJn_oSv8hQc29FowwQ4lL5t8OIB6eW9EZ2drE0sp4,223995
7
+ leafmesh/agents/registry.pyc,sha256=Sbhv2y8Him3TOZwOMfhV0mLSgvqRdwLBCjwDwekVzfI,50271
8
+ leafmesh/agents/summarizer.pyc,sha256=70IlWblkAo3Sm_aSzE0PbEhdaxyIgX6NWXKrIvsFIQE,88424
9
+ leafmesh/agents/yields_validator.pyc,sha256=GUs1OwYTpOCDvQ-gt0Iu_0s5UaX8-wnCpXMN3-kstQQ,5886
10
+ leafmesh/api_services/__init__.pyc,sha256=tDNONpGImKXZFMPqADiIzFKXXoaOVms0oFnYeuuZwRw,643
11
+ leafmesh/api_services/agent_service.pyc,sha256=Wqpud88NkqgrZDe4Ih1EnofclAfjgN85Ku1EYd2sxVE,29916
12
+ leafmesh/api_services/api_server.pyc,sha256=f3VFlI1P71bi5F9eaDAWMPWETiZdQ-cYtU3klYCzW7g,66300
13
+ leafmesh/api_services/auth_middleware.pyc,sha256=KmJFUUQzatfOPGZh6VBN39O8tsgAmIxRgyi2XPqz6MY,19184
14
+ leafmesh/api_services/base_service.pyc,sha256=ZQKX9EM5evjQbpG7ZqXNljijw-gifIdjkQ31oBhQmr4,4869
15
+ leafmesh/api_services/evolution_service.pyc,sha256=Kxn_TqC14VlzRmu1ya-9tQ3v4uveGvw-qf2g0-Q6tog,22858
16
+ leafmesh/api_services/feed_service.pyc,sha256=Jjc_fDF0kZoVrJ9EheYAVOgKmRs7hjzYcGOXeW8cC-A,21149
17
+ leafmesh/api_services/knowledge_service.pyc,sha256=0HPK1M3rXVOzqSad4OPH30yttyeb-qe37EsVvgCALp0,60367
18
+ leafmesh/api_services/playground_service.pyc,sha256=weWc5hUqG5B4ycs7CLGQsIn5kTXM3O1FkdPCyoqd--4,85057
19
+ leafmesh/api_services/session_service.pyc,sha256=IAU5uYwmVk6to_5iF32ugCoIKOf5R2o-e32DVVg3s_4,62692
20
+ leafmesh/api_services/standalone_api.pyc,sha256=nZPiTyCXQoHa-9CklZGWXp-nSby2rQ58jTfeUBHshAM,8366
21
+ leafmesh/api_services/stream_service.pyc,sha256=SXRcw9JB8a0UmJIbTsY0XafKMQVZSL41ky9NgzcikNY,22602
22
+ leafmesh/api_services/yaml_service.pyc,sha256=_1aHcUghwINogzox_vG86vFzc1qXnHiudqA95LwhmgA,83695
23
+ leafmesh/config/__init__.pyc,sha256=p4okMclsgK-8fRMch0IqfcLHrOKERjS2qXww8dCSCkA,216
24
+ leafmesh/config/yaml_loader.pyc,sha256=LhrQgvSv5nzdJcy-klfLRUjfYEt58oIChetV2jUzejg,16210
25
+ leafmesh/core/__init__.pyc,sha256=y-ox4K1lkayQ4WYqzDZZDrOxXoTCWYWMu9CC5LbnD1c,786
26
+ leafmesh/core/_agent_field_schema.pyc,sha256=2q6_FIQpgTdxmquL9_4C_HhCGI2IgtYd4tvXBXtLbyY,3808
27
+ leafmesh/core/agent_state.pyc,sha256=8arAgvv0jppZvdbh-HCT4K-uhUkSXJ4YKn0A9LsHFkw,15227
28
+ leafmesh/core/config.pyc,sha256=gnVp3i3tzA_QIxqgqpZrXOWxjVo0wLsjztJOHHHo-0s,83573
29
+ leafmesh/core/context_manager.pyc,sha256=PRhokoY21MmzRwFTbgOxFwC1ck7S12UJyGEoU2BmEe8,5513
30
+ leafmesh/core/events.pyc,sha256=QradFfyB3Tnixl20HkNwSjoShukwl9manHqfS3sPXKc,41670
31
+ leafmesh/core/evolution.pyc,sha256=D0VlvI2VXlq_N-Z-BVHcIQmfjMVaP93W9oip5tu3g5M,66961
32
+ leafmesh/core/exceptions.pyc,sha256=dg-TM90z_jSLagawIL9T3rKnOj7juehNjI3ARYKksbU,2121
33
+ leafmesh/core/sdk.pyc,sha256=HYQkQf0haDVuQVs9RTfI6LyBAA2KCCz0Awhzq2qek-Q,157665
34
+ leafmesh/core/self_healing.pyc,sha256=zLQcgi1ATClpLGGp6Fgqd-jugabUrV3RFDQ-q2F4vNo,49066
35
+ leafmesh/core/session.pyc,sha256=Ag22eGB2iyjdKm2-DbjPjv_YysAHEyF-uZivIAtbvW8,59269
36
+ leafmesh/external/__init__.pyc,sha256=qassXj_BbTfTfGbw2m28MxToCJ9xeOJHz68RHxUUqHc,796
37
+ leafmesh/external/webhook_handler.pyc,sha256=xVou7ask9LhTKiuUkcT4zYnXPIUUmP0AS11cxWF9goo,36440
38
+ leafmesh/external/channels/__init__.pyc,sha256=Vmkpi1FOY73gObTKwV8dKO_gL3c8nN58gC3GxFEI4tA,2479
39
+ leafmesh/external/channels/base_channel.pyc,sha256=Vb_9kLPvF0-6R2tNAdN7YMG7kXTg3VsCpBHHrDmLdpg,14919
40
+ leafmesh/external/channels/discord_adapter.pyc,sha256=SNDgS-sw2eRbFNRAUr3s6c97hXDiHNgquw7oGRnlLVk,13511
41
+ leafmesh/external/channels/slack_adapter.pyc,sha256=JCb3qKCBsXVDUdhS8gWlXoZ-Kp5dayIYi1yL4axYh_E,14965
42
+ leafmesh/external/channels/teams_adapter.pyc,sha256=O3hkEQCI-GvXIx4wgPdM71oZEOXNnGHZXT2NWeYEH5g,18964
43
+ leafmesh/external/channels/telegram_adapter.pyc,sha256=L_MB3rxzTiaJpq8dauq-EscRNMh2g6g-sgpACFVPJ-c,12772
44
+ leafmesh/external/channels/whatsapp_adapter.pyc,sha256=Exs_oseQMv6d0ZWEpv6IxCNRgwgyVwRwQgKymuNYCMo,13036
45
+ leafmesh/external/connectors/__init__.pyc,sha256=Q71zocuIfZKBuj6i9zbKOArQt5uGLcyfHzA_0RLd6aE,2380
46
+ leafmesh/external/connectors/a2a_connector.pyc,sha256=LVAdzd-ANm6S9dSbiC3mFbhjyyyEJcZgwtpuTBgQKqg,23574
47
+ leafmesh/external/connectors/autogen_connector.pyc,sha256=86Kms-801ikdDWvmMCw2-PSJ2ryR0doEH9mn--W9S58,15912
48
+ leafmesh/external/connectors/base_connector.pyc,sha256=M4rhYIwqaytuxjbNnb692IuC-T9A2kG6k5-GPuL7cPE,22612
49
+ leafmesh/external/connectors/composio_connector.pyc,sha256=WudlJNSB9WaPL8nLLeMz4t7MTAD_PSY-aYmbDv5y1oA,13626
50
+ leafmesh/external/connectors/composio_helpers.pyc,sha256=dUVDIOtR3777UCIqzyzg4QK84nq9CXv0gn0kh-bNKbc,4187
51
+ leafmesh/external/connectors/connector_registry.pyc,sha256=zeuEXK2rS0iEtonc3XGCAKIWHUek3-Y71hrXbVZ1oLg,6071
52
+ leafmesh/external/connectors/crewai_connector.pyc,sha256=G9BEic8Zv1XOBldqyXVPYbroK2-2f8wodr29MEHMBvc,12961
53
+ leafmesh/external/connectors/langgraph_connector.pyc,sha256=zYN61RaphPj6zS-PhlnBuDHsxFAbKWRZdmdWRXFS1lA,17844
54
+ leafmesh/external/connectors/mcp_connector.pyc,sha256=lfRKVuTqjCgVaUTiYyJb_ApKlmNN2DIfq3M5XWILUU4,23256
55
+ leafmesh/external/connectors/mcp_helpers.pyc,sha256=ku19OzvWpAaZZfDeQwXne84DQYDVDxWbo6HeEh5gXks,4628
56
+ leafmesh/external/connectors/n8n_connector.pyc,sha256=UG4fyzdWKsVZr8CTXaAFNjF5zmpCWMcq2eZ2OOlxaj0,13986
57
+ leafmesh/external/connectors/n8n_helpers.pyc,sha256=i4QYClmrQmJIndVCE66hIOHaH3R0rgbHoe0TeVIKurE,4110
58
+ leafmesh/external/connectors/zapier_connector.pyc,sha256=5-DcNddYI_W6CoMLoXipit6MPyCFbm9hkafiBDQ-XTs,18078
59
+ leafmesh/external/connectors/zapier_helpers.pyc,sha256=GlZtIO9Ri2k0Jx4lyu_qC7_nKHkvDAFdrI9QcmhWreE,4513
60
+ leafmesh/knowledge/__init__.pyc,sha256=RZEYTXHU_b06ZVcxkKnNaukEg9F7zpNwoO_x9abeVkI,665
61
+ leafmesh/knowledge/chunker.pyc,sha256=dJ4ZoqDkmDvg4DDlSUUMFI00frgeACiQzc0Da2p7YdE,14636
62
+ leafmesh/knowledge/embedder.pyc,sha256=eJ93G2hfk7FpUk1naDH9uRlXigBiTwZGEv2YoyHl6io,11246
63
+ leafmesh/knowledge/manager.pyc,sha256=RAqlIpTAJ7upMTA2Gq0gykYp6Wz0Vfos8I7DxB4eaYI,37447
64
+ leafmesh/knowledge/connectors/__init__.pyc,sha256=WyYkdF-PhfSTwOdNXu9sI8qcKXlRTFkEPUywhNK2nuo,1021
65
+ leafmesh/knowledge/connectors/base_connector.pyc,sha256=KhyIfQ6nXtbwGjcErDQ-iefrP6udR08kXHLNm-O-co8,5176
66
+ leafmesh/knowledge/connectors/custom_connector.pyc,sha256=K1TwF4VKBic-vKJf4UYrFz3DGlrSW5V03LtCEsZo9co,11926
67
+ leafmesh/knowledge/connectors/mongo_connector.pyc,sha256=gxoZRtYhMQo5cAbkVBc1jcohcdquIaaFpeNsCbgiCLA,13720
68
+ leafmesh/knowledge/connectors/pinecone_connector.pyc,sha256=EUKKp45bm9cYseasrIuxF646dmsfj5rLZeGfx8NcPPA,9876
69
+ leafmesh/knowledge/connectors/postgres_connector.pyc,sha256=lribwsPh8aIqBedB9IrVew_gNtzvYHTeJal-RoQb81Q,16771
70
+ leafmesh/knowledge/connectors/registry.pyc,sha256=XtQjM93jXIdWWG9KXq0sSPToFhguAPuSzirqtaA-7nE,2465
71
+ leafmesh/llm/__init__.pyc,sha256=bAgPi6qBH1VuOlh7jX1aQ0ZpMUYJe27KYJ9h6zR7bM0,736
72
+ leafmesh/llm/adaptive_executor.pyc,sha256=VfExD6lUmR9r851exD1Ae0YZ5mstO6rgXMXUwiwb1es,48531
73
+ leafmesh/llm/base_types.pyc,sha256=xw1utUpHCicdUt-xjukUqyUDZIf3pniIWJGish_M_CQ,21726
74
+ leafmesh/llm/executor.pyc,sha256=qACclOOrPv6zF8XyRMcpeEVrCvd8p0fjDwVPbGE5pKg,114122
75
+ leafmesh/llm/prompt_builder.pyc,sha256=K29IywdNHcfmVkrRLHFJ473Bfl69z48Xn1n8SjM-AdE,46999
76
+ leafmesh/llm/provider_registry.pyc,sha256=biD4mo-onfiZLsyPWEJaNLTFEwo1Jsc0zeAndHijF1w,6262
77
+ leafmesh/llm/providers/__init__.pyc,sha256=DGmhNzGVns55PZsMyyGLt6kh7LZ2r4TvsN_ZQzhnOIY,1592
78
+ leafmesh/llm/providers/anthropic_provider.pyc,sha256=addM4W7FOIBDB3E-38FHFz478OTHHBH0qcECAd6O4EM,27024
79
+ leafmesh/llm/providers/bedrock_provider.pyc,sha256=c7meTpmSF0Vsnztgod_6FDTYQFiVB-6Adp6z7BDoLv0,28735
80
+ leafmesh/llm/providers/deepseek_provider.pyc,sha256=AWNdN_b1eAjTGnLAXexYD-jysiNgvwbkcq6D3ThLVeY,20386
81
+ leafmesh/llm/providers/foundry_provider.pyc,sha256=ddDxmfOdtSTiBLAE00tAX-qvbGqbgf-VMuamf2OxHPQ,18841
82
+ leafmesh/llm/providers/google_provider.pyc,sha256=4uJKFocXCkxsTXUrbSfLWc88O8hSjHGc0fkJOb3UyUQ,35471
83
+ leafmesh/llm/providers/local_provider.pyc,sha256=hEzBwfcJ5fQpNQ8jqnJckqruqexbAfP0FSkszLdhwy4,16555
84
+ leafmesh/llm/providers/openai_provider.pyc,sha256=Vm8Xh266Qj8JWjlqZYJgKrK7qr4sRSGlnBk2aIlQ468,27537
85
+ leafmesh/llm/providers/vertex_provider.pyc,sha256=bAzogj2ddtlT38Wajn5dAVnWrdEKQO6FJnd9okXLLG4,49055
86
+ leafmesh/mesh/__init__.pyc,sha256=JaWVtU8adknDyKcRSelbcbJRdqt63E393i5dS124GyI,471
87
+ leafmesh/mesh/architecture_factory.pyc,sha256=TFXh40yNG-5geS8UXxbcTpvvHzyqYb3z7y7jkM3HUik,6092
88
+ leafmesh/mesh/communication.pyc,sha256=uhPzag2yr7cUdS2CNOqG_9byRIx5tcY9qROH_Zpq36A,145018
89
+ leafmesh/mesh/condition_evaluator.pyc,sha256=R_K_S47UAmq3AcOsAZ-neCD9CxJHBWoBjMa322X4f8A,20786
90
+ leafmesh/mesh/wait_for_evaluator.pyc,sha256=LRXoartefsHMOEjrVW_xwy5EyrYq7rPSgdRRRFbtu0w,10796
91
+ leafmesh/observability/__init__.pyc,sha256=5UV7Vbyr-TI8iy7YcL-u1uJVgkGqCT29KT1FLrtW7IE,410
92
+ leafmesh/observability/license.pyc,sha256=QBtjTyNA7mEhQpNL5VmOwHU3PJ4EXJ5GjIrWjfigu5s,18682
93
+ leafmesh/observability/observability.pyc,sha256=PKyTe5ZpO3mO3tdB2RDEoGxC99pShOtd9VQH4gZoGps,5487
94
+ leafmesh/observability/otel_setup.pyc,sha256=QPGBQntqM6F8YcPuxGAcNYPX635JRyE700X0CIcqwdo,23189
95
+ leafmesh/observability/tracer_wrapper.pyc,sha256=BdzfFR0zjz3ro3kaMB6pA-iUj0XQjARNsYbqerlkcVc,37016
96
+ leafmesh/redis/__init__.pyc,sha256=RjpLQEy2PH43hTanOU_acz-Lp5l2TJ6YUZ4DVQQvkBg,371
97
+ leafmesh/redis/llm_cache.pyc,sha256=XR7IeHB_kyK4ia52xeCwbfg7psXf8l2zOCi5ljI8USw,14756
98
+ leafmesh/redis/manager.pyc,sha256=tRl-baZO_QV1AMAe_Af_dMD5dgk8dulD5bUOeMyYB5w,121907
99
+ leafmesh/redis/stream_manager.pyc,sha256=5uN8kqeFSX0dFRC6J1vxqkQx-cwFQQtKXU23CXAtN9g,59205
100
+ leafmesh/scheduler/__init__.pyc,sha256=u3EWBduu2q1UQEimIxNI5tdduaHTgSU5kj9-5ADA5BE,232
101
+ leafmesh/scheduler/cron_parser.pyc,sha256=9qJAutk4x09KP1mirFJ1SnwAoVazm2le5bvvGIbnUoE,9436
102
+ leafmesh/scheduler/scheduler.pyc,sha256=6Qe8zMdUDwEwwLlQBHX5uoD-vxGiOenEcDACdmeMWo4,19978
103
+ leafmesh/tools/__init__.pyc,sha256=InGaEIZ2qZaNKcAbQl3Sglh17rkOrIvrfjexl4zXavw,454
104
+ leafmesh/tools/base_tool.pyc,sha256=HAkCxTmDnM-8N9MapdQomDFMO6vIvvlv1VwqFHmcF7o,20914
105
+ leafmesh/tools/builtin_tools.pyc,sha256=YqOZwCjOXrAcfNlwlC8Dr8vWkYNBvka-7EJdBIcP1Tk,66599
106
+ leafmesh/tools/tool_executor.pyc,sha256=XcahWIXzkMZOs7T7Iygu8lQrqdEMV61pgnNyKb1xULM,18487
107
+ leafmesh/tools/tool_registry.pyc,sha256=pwXXE3iV2ryabm-BwsQoZlfft9T8NXuNQgErkzvbT20,13324
108
+ leafmesh/utils/__init__.pyc,sha256=zB3ZTLC04tBM3R5eqNgXh70EVkygM639AYm64lEvfG4,206
109
+ leafmesh/utils/async_helpers.pyc,sha256=olOYCAt-aXj2T7If7UiCikdrccG1Nhg0VLXGuJl-VfE,3905
110
+ leafmesh/utils/license_check.pyc,sha256=Yb8-TvzVxDlS4nqvzXIQhzDC1V39hEor6hlf40oyudk,8934
111
+ leafmesh/utils/logger.pyc,sha256=pu6Du6FYSK0ItSUpY9P3R8nrPCQogTXko6D_iwRqwGo,15070
112
+ leafmesh/utils/parsing.pyc,sha256=vXaV8fUXMkWv3BxR_mx90SWgpVyUvPFn-HECkmBQCe4,3164
113
+ leafmesh/utils/redact.pyc,sha256=NPEeNx52McPaqkzyzEOMDuKfNpFJPF5cywJeWF-mPvk,4748
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=JTSuCdIJn8ede4NwIeCY8FppAL7-FDk1nFLYQz3GBBI,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: cp312-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