aiecs 1.3.8__tar.gz → 1.4.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aiecs might be problematic. Click here for more details.

Files changed (209) hide show
  1. {aiecs-1.3.8/aiecs.egg-info → aiecs-1.4.1}/PKG-INFO +1 -1
  2. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/__init__.py +1 -1
  3. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/__init__.py +120 -0
  4. aiecs-1.4.1/aiecs/domain/agent/__init__.py +184 -0
  5. aiecs-1.4.1/aiecs/domain/agent/base_agent.py +691 -0
  6. aiecs-1.4.1/aiecs/domain/agent/exceptions.py +99 -0
  7. aiecs-1.4.1/aiecs/domain/agent/hybrid_agent.py +495 -0
  8. aiecs-1.4.1/aiecs/domain/agent/integration/__init__.py +23 -0
  9. aiecs-1.4.1/aiecs/domain/agent/integration/context_compressor.py +219 -0
  10. aiecs-1.4.1/aiecs/domain/agent/integration/context_engine_adapter.py +258 -0
  11. aiecs-1.4.1/aiecs/domain/agent/integration/retry_policy.py +228 -0
  12. aiecs-1.4.1/aiecs/domain/agent/integration/role_config.py +217 -0
  13. aiecs-1.4.1/aiecs/domain/agent/lifecycle.py +298 -0
  14. aiecs-1.4.1/aiecs/domain/agent/llm_agent.py +309 -0
  15. aiecs-1.4.1/aiecs/domain/agent/memory/__init__.py +13 -0
  16. aiecs-1.4.1/aiecs/domain/agent/memory/conversation.py +216 -0
  17. aiecs-1.4.1/aiecs/domain/agent/migration/__init__.py +15 -0
  18. aiecs-1.4.1/aiecs/domain/agent/migration/conversion.py +171 -0
  19. aiecs-1.4.1/aiecs/domain/agent/migration/legacy_wrapper.py +97 -0
  20. aiecs-1.4.1/aiecs/domain/agent/models.py +263 -0
  21. aiecs-1.4.1/aiecs/domain/agent/observability.py +443 -0
  22. aiecs-1.4.1/aiecs/domain/agent/persistence.py +287 -0
  23. aiecs-1.4.1/aiecs/domain/agent/prompts/__init__.py +25 -0
  24. aiecs-1.4.1/aiecs/domain/agent/prompts/builder.py +164 -0
  25. aiecs-1.4.1/aiecs/domain/agent/prompts/formatters.py +192 -0
  26. aiecs-1.4.1/aiecs/domain/agent/prompts/template.py +264 -0
  27. aiecs-1.4.1/aiecs/domain/agent/registry.py +261 -0
  28. aiecs-1.4.1/aiecs/domain/agent/tool_agent.py +267 -0
  29. aiecs-1.4.1/aiecs/domain/agent/tools/__init__.py +13 -0
  30. aiecs-1.4.1/aiecs/domain/agent/tools/schema_generator.py +222 -0
  31. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/main.py +2 -2
  32. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/search_tool/__init__.py +1 -0
  33. {aiecs-1.3.8 → aiecs-1.4.1/aiecs.egg-info}/PKG-INFO +1 -1
  34. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs.egg-info/SOURCES.txt +27 -0
  35. {aiecs-1.3.8 → aiecs-1.4.1}/pyproject.toml +1 -1
  36. {aiecs-1.3.8 → aiecs-1.4.1}/LICENSE +0 -0
  37. {aiecs-1.3.8 → aiecs-1.4.1}/MANIFEST.in +0 -0
  38. {aiecs-1.3.8 → aiecs-1.4.1}/README.md +0 -0
  39. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/__main__.py +0 -0
  40. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/aiecs_client.py +0 -0
  41. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/application/__init__.py +0 -0
  42. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/application/executors/__init__.py +0 -0
  43. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/application/executors/operation_executor.py +0 -0
  44. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/config/__init__.py +0 -0
  45. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/config/config.py +0 -0
  46. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/config/registry.py +0 -0
  47. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/core/__init__.py +0 -0
  48. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/core/interface/__init__.py +0 -0
  49. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/core/interface/execution_interface.py +0 -0
  50. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/core/interface/storage_interface.py +0 -0
  51. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/community/__init__.py +0 -0
  52. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/community/agent_adapter.py +0 -0
  53. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/community/analytics.py +0 -0
  54. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/community/collaborative_workflow.py +0 -0
  55. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/community/communication_hub.py +0 -0
  56. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/community/community_builder.py +0 -0
  57. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/community/community_integration.py +0 -0
  58. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/community/community_manager.py +0 -0
  59. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/community/decision_engine.py +0 -0
  60. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/community/exceptions.py +0 -0
  61. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/community/models/__init__.py +0 -0
  62. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/community/models/community_models.py +0 -0
  63. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/community/resource_manager.py +0 -0
  64. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/community/shared_context_manager.py +0 -0
  65. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/context/__init__.py +0 -0
  66. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/context/context_engine.py +0 -0
  67. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/context/conversation_models.py +0 -0
  68. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/execution/__init__.py +0 -0
  69. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/execution/model.py +0 -0
  70. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/task/__init__.py +0 -0
  71. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/task/dsl_processor.py +0 -0
  72. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/task/model.py +0 -0
  73. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/domain/task/task_context.py +0 -0
  74. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/infrastructure/__init__.py +0 -0
  75. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/infrastructure/messaging/__init__.py +0 -0
  76. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/infrastructure/messaging/celery_task_manager.py +0 -0
  77. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/infrastructure/messaging/websocket_manager.py +0 -0
  78. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/infrastructure/monitoring/__init__.py +0 -0
  79. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/infrastructure/monitoring/executor_metrics.py +0 -0
  80. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/infrastructure/monitoring/global_metrics_manager.py +0 -0
  81. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/infrastructure/monitoring/structured_logger.py +0 -0
  82. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/infrastructure/monitoring/tracing_manager.py +0 -0
  83. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/infrastructure/persistence/__init__.py +0 -0
  84. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/infrastructure/persistence/context_engine_client.py +0 -0
  85. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/infrastructure/persistence/database_manager.py +0 -0
  86. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/infrastructure/persistence/file_storage.py +0 -0
  87. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/infrastructure/persistence/redis_client.py +0 -0
  88. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/llm/__init__.py +0 -0
  89. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/llm/callbacks/__init__.py +0 -0
  90. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/llm/callbacks/custom_callbacks.py +0 -0
  91. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/llm/client_factory.py +0 -0
  92. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/llm/clients/__init__.py +0 -0
  93. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/llm/clients/base_client.py +0 -0
  94. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/llm/clients/googleai_client.py +0 -0
  95. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/llm/clients/openai_client.py +0 -0
  96. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/llm/clients/vertex_client.py +0 -0
  97. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/llm/clients/xai_client.py +0 -0
  98. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/llm/config/__init__.py +0 -0
  99. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/llm/config/config_loader.py +0 -0
  100. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/llm/config/config_validator.py +0 -0
  101. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/llm/config/model_config.py +0 -0
  102. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/llm/utils/__init__.py +0 -0
  103. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/llm/utils/validate_config.py +0 -0
  104. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/__init__.py +0 -0
  105. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/aid/VERSION_MANAGEMENT.md +0 -0
  106. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/aid/__init__.py +0 -0
  107. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/aid/version_manager.py +0 -0
  108. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/dependance_check/DEPENDENCY_SYSTEM_SUMMARY.md +0 -0
  109. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/dependance_check/README_DEPENDENCY_CHECKER.md +0 -0
  110. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/dependance_check/__init__.py +0 -0
  111. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/dependance_check/dependency_checker.py +0 -0
  112. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/dependance_check/dependency_fixer.py +0 -0
  113. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/dependance_check/download_nlp_data.py +0 -0
  114. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/dependance_check/quick_dependency_check.py +0 -0
  115. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/dependance_check/setup_nlp_data.sh +0 -0
  116. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/dependance_patch/__init__.py +0 -0
  117. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/dependance_patch/fix_weasel/README_WEASEL_PATCH.md +0 -0
  118. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/dependance_patch/fix_weasel/__init__.py +0 -0
  119. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/dependance_patch/fix_weasel/fix_weasel_validator.py +0 -0
  120. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/dependance_patch/fix_weasel/fix_weasel_validator.sh +0 -0
  121. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/dependance_patch/fix_weasel/patch_weasel_library.sh +0 -0
  122. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/dependance_patch/fix_weasel/run_weasel_patch.sh +0 -0
  123. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/tools_develop/README.md +0 -0
  124. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/tools_develop/TOOL_AUTO_DISCOVERY.md +0 -0
  125. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/tools_develop/__init__.py +0 -0
  126. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/tools_develop/check_type_annotations.py +0 -0
  127. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/tools_develop/validate_tool_schemas.py +0 -0
  128. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/scripts/tools_develop/verify_tools.py +0 -0
  129. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tasks/__init__.py +0 -0
  130. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tasks/worker.py +0 -0
  131. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/__init__.py +0 -0
  132. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/__init__.py +0 -0
  133. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/intelligence/__init__.py +0 -0
  134. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/intelligence/data_fusion.py +0 -0
  135. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/intelligence/query_analyzer.py +0 -0
  136. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/intelligence/search_enhancer.py +0 -0
  137. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/monitoring/__init__.py +0 -0
  138. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/monitoring/metrics.py +0 -0
  139. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/providers/__init__.py +0 -0
  140. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/providers/base.py +0 -0
  141. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/providers/census.py +0 -0
  142. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/providers/fred.py +0 -0
  143. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/providers/newsapi.py +0 -0
  144. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/providers/worldbank.py +0 -0
  145. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/reliability/__init__.py +0 -0
  146. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/reliability/error_handler.py +0 -0
  147. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/reliability/fallback_strategy.py +0 -0
  148. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/tool.py +0 -0
  149. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/utils/__init__.py +0 -0
  150. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/apisource/utils/validators.py +0 -0
  151. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/base_tool.py +0 -0
  152. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/docs/__init__.py +0 -0
  153. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/docs/ai_document_orchestrator.py +0 -0
  154. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/docs/ai_document_writer_orchestrator.py +0 -0
  155. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/docs/content_insertion_tool.py +0 -0
  156. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/docs/document_creator_tool.py +0 -0
  157. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/docs/document_layout_tool.py +0 -0
  158. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/docs/document_parser_tool.py +0 -0
  159. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/docs/document_writer_tool.py +0 -0
  160. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/langchain_adapter.py +0 -0
  161. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/schema_generator.py +0 -0
  162. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/search_tool/analyzers.py +0 -0
  163. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/search_tool/cache.py +0 -0
  164. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/search_tool/constants.py +0 -0
  165. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/search_tool/context.py +0 -0
  166. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/search_tool/core.py +0 -0
  167. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/search_tool/deduplicator.py +0 -0
  168. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/search_tool/error_handler.py +0 -0
  169. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/search_tool/metrics.py +0 -0
  170. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/search_tool/rate_limiter.py +0 -0
  171. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/search_tool/schemas.py +0 -0
  172. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/statistics/__init__.py +0 -0
  173. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/statistics/ai_data_analysis_orchestrator.py +0 -0
  174. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/statistics/ai_insight_generator_tool.py +0 -0
  175. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/statistics/ai_report_orchestrator_tool.py +0 -0
  176. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/statistics/data_loader_tool.py +0 -0
  177. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/statistics/data_profiler_tool.py +0 -0
  178. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/statistics/data_transformer_tool.py +0 -0
  179. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/statistics/data_visualizer_tool.py +0 -0
  180. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/statistics/model_trainer_tool.py +0 -0
  181. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/statistics/statistical_analyzer_tool.py +0 -0
  182. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/task_tools/__init__.py +0 -0
  183. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/task_tools/chart_tool.py +0 -0
  184. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/task_tools/classfire_tool.py +0 -0
  185. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/task_tools/image_tool.py +0 -0
  186. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/task_tools/office_tool.py +0 -0
  187. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/task_tools/pandas_tool.py +0 -0
  188. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/task_tools/report_tool.py +0 -0
  189. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/task_tools/research_tool.py +0 -0
  190. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/task_tools/scraper_tool.py +0 -0
  191. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/task_tools/stats_tool.py +0 -0
  192. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/temp_file_manager.py +0 -0
  193. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/tool_executor/__init__.py +0 -0
  194. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/tools/tool_executor/tool_executor.py +0 -0
  195. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/utils/LLM_output_structor.py +0 -0
  196. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/utils/__init__.py +0 -0
  197. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/utils/base_callback.py +0 -0
  198. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/utils/cache_provider.py +0 -0
  199. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/utils/execution_utils.py +0 -0
  200. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/utils/logging.py +0 -0
  201. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/utils/prompt_loader.py +0 -0
  202. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/utils/token_usage_repository.py +0 -0
  203. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/ws/__init__.py +0 -0
  204. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs/ws/socket_server.py +0 -0
  205. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs.egg-info/dependency_links.txt +0 -0
  206. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs.egg-info/entry_points.txt +0 -0
  207. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs.egg-info/requires.txt +0 -0
  208. {aiecs-1.3.8 → aiecs-1.4.1}/aiecs.egg-info/top_level.txt +0 -0
  209. {aiecs-1.3.8 → aiecs-1.4.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiecs
3
- Version: 1.3.8
3
+ Version: 1.4.1
4
4
  Summary: AI Execute Services - A middleware framework for AI-powered task execution and tool orchestration
5
5
  Author-email: AIECS Team <iretbl@gmail.com>
6
6
  License-Expression: MIT
@@ -5,7 +5,7 @@ A powerful Python middleware framework for building AI-powered applications
5
5
  with tool orchestration, task execution, and multi-provider LLM support.
6
6
  """
7
7
 
8
- __version__ = "1.3.8"
8
+ __version__ = "1.4.1"
9
9
  __author__ = "AIECS Team"
10
10
  __email__ = "iretbl@gmail.com"
11
11
 
@@ -41,6 +41,50 @@ from .community import (
41
41
  AgentAdapterError, CommunicationError, ContextError,
42
42
  )
43
43
 
44
+ from .agent import (
45
+ # Exceptions
46
+ AgentException, AgentNotFoundError, AgentAlreadyRegisteredError,
47
+ InvalidStateTransitionError, ConfigurationError, TaskExecutionError,
48
+ ToolAccessDeniedError, SerializationError, AgentInitializationError,
49
+
50
+ # Enums
51
+ AgentState, AgentType, GoalStatus, GoalPriority, CapabilityLevel, MemoryType,
52
+
53
+ # Models
54
+ RetryPolicy, AgentConfiguration, AgentGoal, AgentCapabilityDeclaration,
55
+ AgentMetrics, AgentInteraction, AgentMemory,
56
+
57
+ # Base and Concrete Agents
58
+ BaseAIAgent, LLMAgent, ToolAgent, HybridAgent,
59
+
60
+ # Lifecycle Management
61
+ AgentRegistry, AgentLifecycleManager,
62
+ get_global_registry, get_global_lifecycle_manager,
63
+
64
+ # Persistence
65
+ InMemoryPersistence, FilePersistence,
66
+ get_global_persistence, set_global_persistence,
67
+
68
+ # Observability
69
+ AgentController, LoggingObserver, MetricsObserver,
70
+
71
+ # Prompts
72
+ PromptTemplate, ChatPromptTemplate, MessageBuilder,
73
+
74
+ # Tools
75
+ ToolSchemaGenerator, generate_tool_schema,
76
+
77
+ # Memory
78
+ ConversationMemory, Session,
79
+
80
+ # Integration
81
+ ContextEngineAdapter, EnhancedRetryPolicy, RoleConfiguration,
82
+ ContextCompressor, compress_messages,
83
+
84
+ # Migration
85
+ LegacyAgentWrapper, convert_langchain_prompt, convert_legacy_config,
86
+ )
87
+
44
88
  __all__ = [
45
89
  # Execution domain
46
90
  "TaskStepResult",
@@ -127,4 +171,80 @@ __all__ = [
127
171
  "AgentAdapterError",
128
172
  "CommunicationError",
129
173
  "ContextError",
174
+
175
+ # Agent domain - Exceptions
176
+ "AgentException",
177
+ "AgentNotFoundError",
178
+ "AgentAlreadyRegisteredError",
179
+ "InvalidStateTransitionError",
180
+ "ConfigurationError",
181
+ "TaskExecutionError",
182
+ "ToolAccessDeniedError",
183
+ "SerializationError",
184
+ "AgentInitializationError",
185
+
186
+ # Agent domain - Enums
187
+ "AgentState",
188
+ "AgentType",
189
+ "GoalStatus",
190
+ "GoalPriority",
191
+ "CapabilityLevel",
192
+ "MemoryType",
193
+
194
+ # Agent domain - Models
195
+ "RetryPolicy",
196
+ "AgentConfiguration",
197
+ "AgentGoal",
198
+ "AgentCapabilityDeclaration",
199
+ "AgentMetrics",
200
+ "AgentInteraction",
201
+ "AgentMemory",
202
+
203
+ # Agent domain - Base and Concrete Agents
204
+ "BaseAIAgent",
205
+ "LLMAgent",
206
+ "ToolAgent",
207
+ "HybridAgent",
208
+
209
+ # Agent domain - Lifecycle Management
210
+ "AgentRegistry",
211
+ "AgentLifecycleManager",
212
+ "get_global_registry",
213
+ "get_global_lifecycle_manager",
214
+
215
+ # Agent domain - Persistence
216
+ "InMemoryPersistence",
217
+ "FilePersistence",
218
+ "get_global_persistence",
219
+ "set_global_persistence",
220
+
221
+ # Agent domain - Observability
222
+ "AgentController",
223
+ "LoggingObserver",
224
+ "MetricsObserver",
225
+
226
+ # Agent domain - Prompts
227
+ "PromptTemplate",
228
+ "ChatPromptTemplate",
229
+ "MessageBuilder",
230
+
231
+ # Agent domain - Tools
232
+ "ToolSchemaGenerator",
233
+ "generate_tool_schema",
234
+
235
+ # Agent domain - Memory
236
+ "ConversationMemory",
237
+ "Session",
238
+
239
+ # Agent domain - Integration
240
+ "ContextEngineAdapter",
241
+ "EnhancedRetryPolicy",
242
+ "RoleConfiguration",
243
+ "ContextCompressor",
244
+ "compress_messages",
245
+
246
+ # Agent domain - Migration
247
+ "LegacyAgentWrapper",
248
+ "convert_langchain_prompt",
249
+ "convert_legacy_config",
130
250
  ]
@@ -0,0 +1,184 @@
1
+ """
2
+ Agent Domain Module
3
+
4
+ Provides the base AI agent model and related components.
5
+ """
6
+
7
+ # Exceptions
8
+ from .exceptions import (
9
+ AgentException,
10
+ AgentNotFoundError,
11
+ AgentAlreadyRegisteredError,
12
+ InvalidStateTransitionError,
13
+ ConfigurationError,
14
+ TaskExecutionError,
15
+ ToolAccessDeniedError,
16
+ SerializationError,
17
+ AgentInitializationError,
18
+ )
19
+
20
+ # Models and Enums
21
+ from .models import (
22
+ AgentState,
23
+ AgentType,
24
+ GoalStatus,
25
+ GoalPriority,
26
+ CapabilityLevel,
27
+ MemoryType,
28
+ RetryPolicy,
29
+ AgentConfiguration,
30
+ AgentGoal,
31
+ AgentCapabilityDeclaration,
32
+ AgentMetrics,
33
+ AgentInteraction,
34
+ AgentMemory,
35
+ )
36
+
37
+ # Base Agent
38
+ from .base_agent import BaseAIAgent
39
+
40
+ # Concrete Agents
41
+ from .llm_agent import LLMAgent
42
+ from .tool_agent import ToolAgent
43
+ from .hybrid_agent import HybridAgent
44
+
45
+ # Lifecycle Management
46
+ from .registry import AgentRegistry, get_global_registry, reset_global_registry
47
+ from .lifecycle import (
48
+ AgentLifecycleManager,
49
+ get_global_lifecycle_manager,
50
+ reset_global_lifecycle_manager,
51
+ )
52
+
53
+ # Persistence
54
+ from .persistence import (
55
+ AgentPersistence,
56
+ InMemoryPersistence,
57
+ FilePersistence,
58
+ AgentStateSerializer,
59
+ get_global_persistence,
60
+ set_global_persistence,
61
+ reset_global_persistence,
62
+ )
63
+
64
+ # Observability
65
+ from .observability import (
66
+ AgentObserver,
67
+ LoggingObserver,
68
+ MetricsObserver,
69
+ AgentController,
70
+ )
71
+
72
+ # Prompts
73
+ from .prompts import (
74
+ PromptTemplate,
75
+ ChatPromptTemplate,
76
+ MessageBuilder,
77
+ )
78
+
79
+ # Tools
80
+ from .tools import (
81
+ ToolSchemaGenerator,
82
+ generate_tool_schema,
83
+ )
84
+
85
+ # Memory
86
+ from .memory import (
87
+ ConversationMemory,
88
+ Session,
89
+ )
90
+
91
+ # Integration
92
+ from .integration import (
93
+ ContextEngineAdapter,
94
+ EnhancedRetryPolicy,
95
+ ErrorClassifier,
96
+ RoleConfiguration,
97
+ load_role_config,
98
+ ContextCompressor,
99
+ compress_messages,
100
+ )
101
+
102
+ # Migration
103
+ from .migration import (
104
+ LegacyAgentWrapper,
105
+ convert_langchain_prompt,
106
+ convert_legacy_config,
107
+ )
108
+
109
+ __all__ = [
110
+ # Exceptions
111
+ "AgentException",
112
+ "AgentNotFoundError",
113
+ "AgentAlreadyRegisteredError",
114
+ "InvalidStateTransitionError",
115
+ "ConfigurationError",
116
+ "TaskExecutionError",
117
+ "ToolAccessDeniedError",
118
+ "SerializationError",
119
+ "AgentInitializationError",
120
+ # Enums
121
+ "AgentState",
122
+ "AgentType",
123
+ "GoalStatus",
124
+ "GoalPriority",
125
+ "CapabilityLevel",
126
+ "MemoryType",
127
+ # Models
128
+ "RetryPolicy",
129
+ "AgentConfiguration",
130
+ "AgentGoal",
131
+ "AgentCapabilityDeclaration",
132
+ "AgentMetrics",
133
+ "AgentInteraction",
134
+ "AgentMemory",
135
+ # Base Agent
136
+ "BaseAIAgent",
137
+ # Concrete Agents
138
+ "LLMAgent",
139
+ "ToolAgent",
140
+ "HybridAgent",
141
+ # Lifecycle Management
142
+ "AgentRegistry",
143
+ "get_global_registry",
144
+ "reset_global_registry",
145
+ "AgentLifecycleManager",
146
+ "get_global_lifecycle_manager",
147
+ "reset_global_lifecycle_manager",
148
+ # Persistence
149
+ "AgentPersistence",
150
+ "InMemoryPersistence",
151
+ "FilePersistence",
152
+ "AgentStateSerializer",
153
+ "get_global_persistence",
154
+ "set_global_persistence",
155
+ "reset_global_persistence",
156
+ # Observability
157
+ "AgentObserver",
158
+ "LoggingObserver",
159
+ "MetricsObserver",
160
+ "AgentController",
161
+ # Prompts
162
+ "PromptTemplate",
163
+ "ChatPromptTemplate",
164
+ "MessageBuilder",
165
+ # Tools
166
+ "ToolSchemaGenerator",
167
+ "generate_tool_schema",
168
+ # Memory
169
+ "ConversationMemory",
170
+ "Session",
171
+ # Integration
172
+ "ContextEngineAdapter",
173
+ "EnhancedRetryPolicy",
174
+ "ErrorClassifier",
175
+ "RoleConfiguration",
176
+ "load_role_config",
177
+ "ContextCompressor",
178
+ "compress_messages",
179
+ # Migration
180
+ "LegacyAgentWrapper",
181
+ "convert_langchain_prompt",
182
+ "convert_legacy_config",
183
+ ]
184
+