axc-agent-engine 3.0.0__tar.gz → 3.3.2__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.
Files changed (801) hide show
  1. axc_agent_engine-3.3.2/.pre-commit-config.yaml +21 -0
  2. axc_agent_engine-3.3.2/CHANGELOG.md +114 -0
  3. axc_agent_engine-3.3.2/CONTRIBUTING.md +68 -0
  4. axc_agent_engine-3.3.2/Makefile +38 -0
  5. axc_agent_engine-3.3.2/PKG-INFO +700 -0
  6. axc_agent_engine-3.3.2/README.md +649 -0
  7. axc_agent_engine-3.3.2/README.zh-CN.md +626 -0
  8. axc_agent_engine-3.3.2/axc_agent_engine/__init__.py +90 -0
  9. axc_agent_engine-3.3.2/axc_agent_engine/_version.py +4 -0
  10. axc_agent_engine-3.3.2/axc_agent_engine/agent.py +687 -0
  11. axc_agent_engine-3.3.2/axc_agent_engine/api/app.py +63 -0
  12. axc_agent_engine-3.3.2/axc_agent_engine/api/deps.py +43 -0
  13. axc_agent_engine-3.3.2/axc_agent_engine/api/routes/chat.py +408 -0
  14. axc_agent_engine-3.3.2/axc_agent_engine/api/routes/health.py +15 -0
  15. axc_agent_engine-3.3.2/axc_agent_engine/cli.py +153 -0
  16. axc_agent_engine-3.3.2/axc_agent_engine/core/__init__.py +6 -0
  17. axc_agent_engine-3.3.2/axc_agent_engine/core/constants.py +28 -0
  18. axc_agent_engine-3.3.2/axc_agent_engine/core/context.py +223 -0
  19. axc_agent_engine-3.3.2/axc_agent_engine/core/dispatcher.py +414 -0
  20. axc_agent_engine-3.3.2/axc_agent_engine/core/errors.py +134 -0
  21. axc_agent_engine-3.3.2/axc_agent_engine/core/events.py +206 -0
  22. axc_agent_engine-3.3.2/axc_agent_engine/core/execution_run.py +161 -0
  23. axc_agent_engine-3.3.2/axc_agent_engine/core/executor.py +390 -0
  24. axc_agent_engine-3.3.2/axc_agent_engine/core/input_messages.py +67 -0
  25. axc_agent_engine-3.3.2/axc_agent_engine/core/llm_caller.py +330 -0
  26. axc_agent_engine-3.3.2/axc_agent_engine/core/message_store.py +142 -0
  27. axc_agent_engine-3.3.2/axc_agent_engine/core/plugin_manager.py +200 -0
  28. axc_agent_engine-3.3.2/axc_agent_engine/core/react_loop.py +228 -0
  29. axc_agent_engine-3.3.2/axc_agent_engine/core/run_context.py +95 -0
  30. axc_agent_engine-3.3.2/axc_agent_engine/core/run_request.py +68 -0
  31. axc_agent_engine-3.3.2/axc_agent_engine/core/schema.py +208 -0
  32. axc_agent_engine-3.3.2/axc_agent_engine/core/session.py +41 -0
  33. axc_agent_engine-3.3.2/axc_agent_engine/core/session_manager.py +170 -0
  34. axc_agent_engine-3.3.2/axc_agent_engine/core/stream_aggregator.py +175 -0
  35. axc_agent_engine-3.3.2/axc_agent_engine/core/stream_sink.py +20 -0
  36. axc_agent_engine-3.3.2/axc_agent_engine/engine.py +382 -0
  37. axc_agent_engine-3.3.2/axc_agent_engine/llm/__init__.py +5 -0
  38. axc_agent_engine-3.3.2/axc_agent_engine/llm/client.py +202 -0
  39. axc_agent_engine-3.3.2/axc_agent_engine/llm/config.py +23 -0
  40. axc_agent_engine-3.3.2/axc_agent_engine/llm/provider.py +44 -0
  41. axc_agent_engine-3.3.2/axc_agent_engine/llm/rate_limited.py +58 -0
  42. axc_agent_engine-3.3.2/axc_agent_engine/observability/__init__.py +1 -0
  43. axc_agent_engine-3.3.2/axc_agent_engine/observability/audit.py +89 -0
  44. axc_agent_engine-3.3.2/axc_agent_engine/observability/logging.py +53 -0
  45. axc_agent_engine-3.3.2/axc_agent_engine/planning/__init__.py +28 -0
  46. axc_agent_engine-3.3.2/axc_agent_engine/planning/checkpointing.py +79 -0
  47. axc_agent_engine-3.3.2/axc_agent_engine/planning/graph_nodes.py +36 -0
  48. axc_agent_engine-3.3.2/axc_agent_engine/planning/graph_runtime.py +99 -0
  49. axc_agent_engine-3.3.2/axc_agent_engine/planning/graph_state.py +31 -0
  50. axc_agent_engine-3.3.2/axc_agent_engine/planning/observer.py +72 -0
  51. axc_agent_engine-3.3.2/axc_agent_engine/planning/planner.py +77 -0
  52. axc_agent_engine-3.3.2/axc_agent_engine/planning/planning_service.py +66 -0
  53. axc_agent_engine-3.3.2/axc_agent_engine/planning/por_runner.py +568 -0
  54. axc_agent_engine-3.3.2/axc_agent_engine/planning/prompts.py +21 -0
  55. axc_agent_engine-3.3.2/axc_agent_engine/planning/replanner.py +60 -0
  56. axc_agent_engine-3.3.2/axc_agent_engine/planning/router.py +45 -0
  57. axc_agent_engine-3.3.2/axc_agent_engine/planning/runtime.py +34 -0
  58. axc_agent_engine-3.3.2/axc_agent_engine/planning/scheduler.py +42 -0
  59. axc_agent_engine-3.3.2/axc_agent_engine/planning/step_executor.py +28 -0
  60. axc_agent_engine-3.3.2/axc_agent_engine/plugins/__init__.py +21 -0
  61. axc_agent_engine-3.3.2/axc_agent_engine/plugins/base.py +169 -0
  62. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/__init__.py +56 -0
  63. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/bm25.py +78 -0
  64. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/builtin_tools/artifact_store.py +8 -0
  65. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/builtin_tools/artifact_tools.py +104 -0
  66. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/builtin_tools/command_tools.py +189 -0
  67. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/builtin_tools/file_tools.py +503 -0
  68. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/builtin_tools/http_tools.py +135 -0
  69. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/builtin_tools/path_policy.py +57 -0
  70. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/builtin_tools/plugin.py +132 -0
  71. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/builtin_tools/presenter.py +40 -0
  72. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/builtin_tools/tool_definitions.py +381 -0
  73. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/collaboration/plugin.py +375 -0
  74. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/common.py +101 -0
  75. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/context/__init__.py +1 -0
  76. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/context/boundary.py +120 -0
  77. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/context/file_cache.py +125 -0
  78. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/context/models.py +34 -0
  79. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/context/normalizer.py +76 -0
  80. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/context/packer.py +102 -0
  81. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/context/recall.py +80 -0
  82. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/context/recent_window.py +53 -0
  83. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/context/scoring.py +36 -0
  84. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/context/summarizer.py +35 -0
  85. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/context/tool_result.py +37 -0
  86. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/context/tool_summary.py +81 -0
  87. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/plugin.py +377 -0
  88. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/config_schemas.py +1173 -0
  89. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/cost_statistics/plugin.py +99 -0
  90. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/graph/audit.py +48 -0
  91. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/graph/config.py +63 -0
  92. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/graph/plugin.py +118 -0
  93. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/graph/policy.py +29 -0
  94. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/graph/presenter.py +79 -0
  95. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/graph/service.py +222 -0
  96. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/graph/source_loader.py +109 -0
  97. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/graph/support.py +229 -0
  98. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/graph/tool_factory.py +161 -0
  99. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/graph/tool_handlers.py +359 -0
  100. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/graph/utils.py +54 -0
  101. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/hooks/plugin.py +225 -0
  102. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/human_in_the_loop/plugin.py +153 -0
  103. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/knowledge/plugin.py +462 -0
  104. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/knowledge/support/__init__.py +64 -0
  105. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/knowledge/support/chunker.py +155 -0
  106. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/knowledge/support/ingestion.py +175 -0
  107. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/knowledge/support/retrieval.py +740 -0
  108. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/mcp/plugin.py +267 -0
  109. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/mcp/support/__init__.py +6 -0
  110. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/mcp/support/connection.py +140 -0
  111. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/mcp/support/models.py +20 -0
  112. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/mcp/support/normalization.py +14 -0
  113. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/memory/plugin.py +887 -0
  114. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/memory/support/__init__.py +53 -0
  115. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/memory/support/graph.py +159 -0
  116. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/memory/support/retrieval.py +74 -0
  117. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/memory/support/service.py +438 -0
  118. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/output_format/plugin.py +221 -0
  119. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/output_format/support/__init__.py +5 -0
  120. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/output_format/support/service.py +399 -0
  121. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/post_process/plugin.py +33 -0
  122. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/reflexion/plugin.py +71 -0
  123. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/registry.py +50 -0
  124. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/repetition_guard/plugin.py +157 -0
  125. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/risk_guard/plugin.py +54 -0
  126. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/safety/plugin.py +135 -0
  127. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/sessions/__init__.py +29 -0
  128. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/sessions/notices.py +66 -0
  129. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/sessions/plugin.py +614 -0
  130. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/sessions/protocol.py +96 -0
  131. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/skill/plugin.py +838 -0
  132. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/swarm/plugin.py +405 -0
  133. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/tracing/plugin.py +766 -0
  134. axc_agent_engine-3.3.2/axc_agent_engine/plugins/config_schema.py +241 -0
  135. axc_agent_engine-3.3.2/axc_agent_engine/plugins/context.py +130 -0
  136. axc_agent_engine-3.3.2/axc_agent_engine/plugins/loader.py +118 -0
  137. axc_agent_engine-3.3.2/axc_agent_engine/plugins/registry.py +121 -0
  138. axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategies/por.py +121 -0
  139. axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategies/react.py +73 -0
  140. axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategies/react_kernel.py +68 -0
  141. axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategy.py +199 -0
  142. axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategy_selection.py +24 -0
  143. axc_agent_engine-3.3.2/axc_agent_engine/plugins/testing.py +88 -0
  144. axc_agent_engine-3.3.2/axc_agent_engine/runtime/__init__.py +1 -0
  145. axc_agent_engine-3.3.2/axc_agent_engine/runtime/checkpoint.py +191 -0
  146. axc_agent_engine-3.3.2/axc_agent_engine/runtime/concurrency.py +152 -0
  147. axc_agent_engine-3.3.2/axc_agent_engine/runtime/inbox.py +102 -0
  148. axc_agent_engine-3.3.2/axc_agent_engine/runtime/input.py +34 -0
  149. axc_agent_engine-3.3.2/axc_agent_engine/runtime/policy.py +81 -0
  150. axc_agent_engine-3.3.2/axc_agent_engine/runtime/resources.py +71 -0
  151. axc_agent_engine-3.3.2/axc_agent_engine/runtime/risk.py +219 -0
  152. axc_agent_engine-3.3.2/axc_agent_engine/runtime/run_control.py +94 -0
  153. axc_agent_engine-3.3.2/axc_agent_engine/runtime/sandbox_code.py +87 -0
  154. axc_agent_engine-3.3.2/axc_agent_engine/runtime/sandbox_local.py +125 -0
  155. axc_agent_engine-3.3.2/axc_agent_engine/runtime/sandbox_models.py +56 -0
  156. axc_agent_engine-3.3.2/axc_agent_engine/runtime/sandbox_policy.py +44 -0
  157. axc_agent_engine-3.3.2/axc_agent_engine/runtime/sandbox_provider.py +34 -0
  158. axc_agent_engine-3.3.2/axc_agent_engine/runtime/sandbox_utils.py +49 -0
  159. axc_agent_engine-3.3.2/axc_agent_engine/runtime/sandbox_workspace.py +65 -0
  160. axc_agent_engine-3.3.2/axc_agent_engine/runtime/tasks.py +58 -0
  161. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/__init__.py +62 -0
  162. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/agent_selector/__init__.py +11 -0
  163. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/agent_selector/core.py +128 -0
  164. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/cost_optimizer/__init__.py +20 -0
  165. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/cost_optimizer/core.py +188 -0
  166. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/distiller/__init__.py +18 -0
  167. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/distiller/core.py +147 -0
  168. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/eval/__init__.py +31 -0
  169. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/eval/judge.py +64 -0
  170. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/eval/matcher.py +142 -0
  171. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/eval/report.py +59 -0
  172. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/eval/runner.py +354 -0
  173. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/eval/store.py +147 -0
  174. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/failure_miner/__init__.py +20 -0
  175. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/failure_miner/core.py +135 -0
  176. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/__init__.py +17 -0
  177. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/events.py +21 -0
  178. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/modes.py +184 -0
  179. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/persona.py +70 -0
  180. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/scheduler/__init__.py +6 -0
  181. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/scheduler/all_parallel.py +23 -0
  182. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/scheduler/debate.py +39 -0
  183. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/scheduler/protocols.py +23 -0
  184. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/scheduler/redblue.py +58 -0
  185. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/scheduler/round_robin.py +24 -0
  186. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/scheduler/supervisor.py +71 -0
  187. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/session.py +354 -0
  188. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/shared_context.py +69 -0
  189. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/simulation_session.py +99 -0
  190. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/stop_condition/__init__.py +6 -0
  191. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/stop_condition/causal_chain.py +18 -0
  192. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/stop_condition/consensus.py +17 -0
  193. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/stop_condition/goal_reached.py +18 -0
  194. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/stop_condition/llm_based.py +57 -0
  195. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/stop_condition/max_rounds.py +23 -0
  196. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/stop_condition/protocols.py +20 -0
  197. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/types.py +39 -0
  198. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/orchestration/__init__.py +20 -0
  199. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/orchestration/service.py +237 -0
  200. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/simulation/__init__.py +74 -0
  201. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/simulation/action_parser.py +67 -0
  202. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/simulation/adapters.py +77 -0
  203. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/simulation/defaults.py +162 -0
  204. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/simulation/interfaces.py +80 -0
  205. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/simulation/models.py +237 -0
  206. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/simulation/modes.py +135 -0
  207. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/simulation/report.py +130 -0
  208. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/simulation/runner.py +307 -0
  209. axc_agent_engine-3.3.2/axc_agent_engine/storage/__init__.py +27 -0
  210. axc_agent_engine-3.3.2/axc_agent_engine/storage/artifact_store.py +368 -0
  211. axc_agent_engine-3.3.2/axc_agent_engine/storage/in_memory.py +219 -0
  212. axc_agent_engine-3.3.2/axc_agent_engine/storage/protocols.py +77 -0
  213. axc_agent_engine-3.3.2/axc_agent_engine/tools/__init__.py +1 -0
  214. axc_agent_engine-3.3.2/axc_agent_engine/tools/audit.py +74 -0
  215. axc_agent_engine-3.3.2/axc_agent_engine/tools/batches.py +22 -0
  216. axc_agent_engine-3.3.2/axc_agent_engine/tools/context.py +52 -0
  217. axc_agent_engine-3.3.2/axc_agent_engine/tools/decorator.py +104 -0
  218. axc_agent_engine-3.3.2/axc_agent_engine/tools/executor.py +296 -0
  219. axc_agent_engine-3.3.2/axc_agent_engine/tools/name_mapping.py +72 -0
  220. axc_agent_engine-3.3.2/axc_agent_engine/tools/orchestrator.py +277 -0
  221. axc_agent_engine-3.3.2/axc_agent_engine/tools/policy.py +22 -0
  222. axc_agent_engine-3.3.2/axc_agent_engine/tools/registry.py +171 -0
  223. axc_agent_engine-3.3.2/axc_agent_engine/tools/runtime.py +77 -0
  224. axc_agent_engine-3.3.2/axc_agent_engine/tools/tool_output.py +151 -0
  225. axc_agent_engine-3.3.2/axc_agent_engine/tools/utils.py +43 -0
  226. axc_agent_engine-3.3.2/axc_agent_engine/utils/__init__.py +1 -0
  227. axc_agent_engine-3.3.2/axc_agent_engine/utils/json_utils.py +77 -0
  228. axc_agent_engine-3.3.2/axc_agent_engine/utils/math_utils.py +15 -0
  229. axc_agent_engine-3.3.2/axc_agent_engine/workflow/__init__.py +25 -0
  230. axc_agent_engine-3.3.2/axc_agent_engine/workflow/burr_runtime.py +60 -0
  231. axc_agent_engine-3.3.2/axc_agent_engine/workflow/factory.py +15 -0
  232. axc_agent_engine-3.3.2/axc_agent_engine/workflow/memory_runtime.py +88 -0
  233. axc_agent_engine-3.3.2/axc_agent_engine/workflow/protocols.py +59 -0
  234. axc_agent_engine-3.3.2/axc_agent_engine/workflow/state.py +104 -0
  235. axc_agent_engine-3.3.2/docs/API.md +138 -0
  236. axc_agent_engine-3.3.2/docs/ARCHITECTURE.md +231 -0
  237. axc_agent_engine-3.3.2/docs/PLUGIN_DEVELOPMENT.md +348 -0
  238. axc_agent_engine-3.3.2/docs/RELEASE_CHECKLIST.md +77 -0
  239. axc_agent_engine-3.3.2/docs/SESSIONS.md +288 -0
  240. axc_agent_engine-3.3.2/examples/01_basic_chat/agent.yaml +15 -0
  241. axc_agent_engine-3.3.2/examples/01_basic_chat/run.py +37 -0
  242. axc_agent_engine-3.3.2/examples/02_tool_agent/agent.yaml +31 -0
  243. axc_agent_engine-3.3.2/examples/02_tool_agent/run.py +45 -0
  244. axc_agent_engine-3.3.2/examples/03_rag_agent/agent.yaml +23 -0
  245. axc_agent_engine-3.3.2/examples/03_rag_agent/docs/faq.md +19 -0
  246. axc_agent_engine-3.3.2/examples/03_rag_agent/run.py +40 -0
  247. axc_agent_engine-3.3.2/examples/04_streaming/agent.yaml +23 -0
  248. axc_agent_engine-3.3.2/examples/04_streaming/run.py +61 -0
  249. axc_agent_engine-3.3.2/examples/05_custom_plugin/agent.yaml +23 -0
  250. axc_agent_engine-3.3.2/examples/05_custom_plugin/my_plugin.py +51 -0
  251. axc_agent_engine-3.3.2/examples/05_custom_plugin/run.py +42 -0
  252. axc_agent_engine-3.3.2/examples/06_multi_agent/agent_dev.yaml +13 -0
  253. axc_agent_engine-3.3.2/examples/06_multi_agent/agent_pm.yaml +13 -0
  254. axc_agent_engine-3.3.2/examples/06_multi_agent/agent_supervisor.yaml +14 -0
  255. axc_agent_engine-3.3.2/examples/06_multi_agent/run_group_chat.py +49 -0
  256. axc_agent_engine-3.3.2/examples/06_multi_agent/run_supervisor.py +51 -0
  257. axc_agent_engine-3.3.2/examples/07_simulation/agent_blue.yaml +13 -0
  258. axc_agent_engine-3.3.2/examples/07_simulation/agent_con.yaml +13 -0
  259. axc_agent_engine-3.3.2/examples/07_simulation/agent_pro.yaml +13 -0
  260. axc_agent_engine-3.3.2/examples/07_simulation/agent_red.yaml +13 -0
  261. axc_agent_engine-3.3.2/examples/07_simulation/run_debate.py +49 -0
  262. axc_agent_engine-3.3.2/examples/07_simulation/run_redblue.py +53 -0
  263. axc_agent_engine-3.3.2/examples/08_custom_loop/agent.yaml +7 -0
  264. axc_agent_engine-3.3.2/examples/08_custom_loop/run.py +38 -0
  265. axc_agent_engine-3.3.2/examples/08_custom_loop/single_reply.py +35 -0
  266. axc_agent_engine-3.3.2/examples/09_live_input/agent.yaml +5 -0
  267. axc_agent_engine-3.3.2/examples/09_live_input/run.py +94 -0
  268. axc_agent_engine-3.3.2/examples/README.md +36 -0
  269. axc_agent_engine-3.3.2/llms.txt +90 -0
  270. axc_agent_engine-3.3.2/pyproject.toml +102 -0
  271. axc_agent_engine-3.3.2/tests/api/test_api_chat.py +399 -0
  272. axc_agent_engine-3.3.2/tests/api/test_api_engine_integration.py +160 -0
  273. axc_agent_engine-3.3.2/tests/boundaries/test_compression_boundary.py +331 -0
  274. axc_agent_engine-3.3.2/tests/boundaries/test_core_dependency_boundaries.py +60 -0
  275. axc_agent_engine-3.3.2/tests/boundaries/test_engine_boundaries.py +184 -0
  276. axc_agent_engine-3.3.2/tests/boundaries/test_engine_boundary_matrix.py +76 -0
  277. axc_agent_engine-3.3.2/tests/boundaries/test_engine_plugin_boundaries.py +53 -0
  278. axc_agent_engine-3.3.2/tests/boundaries/test_init_exports.py +137 -0
  279. axc_agent_engine-3.3.2/tests/boundaries/test_plugin_config_schema_boundaries.py +73 -0
  280. axc_agent_engine-3.3.2/tests/boundaries/test_pyproject_deps.py +33 -0
  281. axc_agent_engine-3.3.2/tests/boundaries/test_source_text_policy.py +178 -0
  282. axc_agent_engine-3.3.2/tests/cli/test_cli.py +246 -0
  283. axc_agent_engine-3.3.2/tests/conftest.py +108 -0
  284. axc_agent_engine-3.3.2/tests/core/test_constants.py +20 -0
  285. axc_agent_engine-3.3.2/tests/core/test_context.py +120 -0
  286. axc_agent_engine-3.3.2/tests/core/test_context_layers.py +313 -0
  287. axc_agent_engine-3.3.2/tests/core/test_core.py +450 -0
  288. axc_agent_engine-3.3.2/tests/core/test_dispatcher_architecture.py +461 -0
  289. axc_agent_engine-3.3.2/tests/core/test_engine_body_edges.py +411 -0
  290. axc_agent_engine-3.3.2/tests/core/test_errors.py +77 -0
  291. axc_agent_engine-3.3.2/tests/core/test_event_categories.py +158 -0
  292. axc_agent_engine-3.3.2/tests/core/test_events.py +168 -0
  293. axc_agent_engine-3.3.2/tests/core/test_execution_config_workspace.py +39 -0
  294. axc_agent_engine-3.3.2/tests/core/test_execution_services.py +234 -0
  295. axc_agent_engine-3.3.2/tests/core/test_executor_checkpoint.py +414 -0
  296. axc_agent_engine-3.3.2/tests/core/test_llm_caller_edges.py +174 -0
  297. axc_agent_engine-3.3.2/tests/core/test_message_store_snapshot.py +111 -0
  298. axc_agent_engine-3.3.2/tests/core/test_message_store_tooloutput.py +111 -0
  299. axc_agent_engine-3.3.2/tests/core/test_react_edges.py +281 -0
  300. axc_agent_engine-3.3.2/tests/core/test_realtime_stream.py +166 -0
  301. axc_agent_engine-3.3.2/tests/core/test_run_context.py +83 -0
  302. axc_agent_engine-3.3.2/tests/core/test_schema.py +189 -0
  303. axc_agent_engine-3.3.2/tests/core/test_session_helpers.py +70 -0
  304. axc_agent_engine-3.3.2/tests/core/test_stream_aggregator.py +153 -0
  305. axc_agent_engine-3.3.2/tests/core/test_stream_bridge.py +27 -0
  306. axc_agent_engine-3.3.2/tests/engine/test_builtin_plugin_catalog.py +93 -0
  307. axc_agent_engine-3.3.2/tests/engine/test_engine.py +684 -0
  308. axc_agent_engine-3.3.2/tests/engine/test_engine_dispatcher_lifecycle.py +372 -0
  309. axc_agent_engine-3.3.2/tests/engine/test_example_strategies.py +68 -0
  310. axc_agent_engine-3.3.2/tests/engine/test_integration_flow.py +391 -0
  311. axc_agent_engine-3.3.2/tests/engine/test_live_input.py +574 -0
  312. axc_agent_engine-3.3.2/tests/engine/test_resume_control.py +417 -0
  313. axc_agent_engine-3.3.2/tests/engine/test_session_fork.py +403 -0
  314. axc_agent_engine-3.3.2/tests/engine/test_session_rewind.py +464 -0
  315. axc_agent_engine-3.3.2/tests/engine/test_strategy_plugins.py +510 -0
  316. axc_agent_engine-3.3.2/tests/engine/test_strategy_state_versions.py +158 -0
  317. axc_agent_engine-3.3.2/tests/engine/test_write_tool_settlement.py +61 -0
  318. axc_agent_engine-3.3.2/tests/llm/test_llm_caller_retry.py +237 -0
  319. axc_agent_engine-3.3.2/tests/llm/test_provider.py +375 -0
  320. axc_agent_engine-3.3.2/tests/observability/test_audit.py +154 -0
  321. axc_agent_engine-3.3.2/tests/observability/test_logging.py +33 -0
  322. axc_agent_engine-3.3.2/tests/planning/test_plan_runtime.py +35 -0
  323. axc_agent_engine-3.3.2/tests/planning/test_planning.py +483 -0
  324. axc_agent_engine-3.3.2/tests/planning/test_por_checkpointing.py +42 -0
  325. axc_agent_engine-3.3.2/tests/planning/test_por_graph_runtime.py +54 -0
  326. axc_agent_engine-3.3.2/tests/planning/test_por_runner_edges.py +308 -0
  327. axc_agent_engine-3.3.2/tests/planning/test_routing_integration.py +172 -0
  328. axc_agent_engine-3.3.2/tests/plugins/sessions_fake.py +76 -0
  329. axc_agent_engine-3.3.2/tests/plugins/test_builtin_tools_tooloutput.py +1165 -0
  330. axc_agent_engine-3.3.2/tests/plugins/test_collaboration_plugin.py +445 -0
  331. axc_agent_engine-3.3.2/tests/plugins/test_compress_tooloutput.py +343 -0
  332. axc_agent_engine-3.3.2/tests/plugins/test_config_schema.py +177 -0
  333. axc_agent_engine-3.3.2/tests/plugins/test_graph_plugin.py +147 -0
  334. axc_agent_engine-3.3.2/tests/plugins/test_graph_store.py +408 -0
  335. axc_agent_engine-3.3.2/tests/plugins/test_hooks_and_hitl.py +217 -0
  336. axc_agent_engine-3.3.2/tests/plugins/test_knowledge_core.py +429 -0
  337. axc_agent_engine-3.3.2/tests/plugins/test_knowledge_plugin.py +328 -0
  338. axc_agent_engine-3.3.2/tests/plugins/test_knowledge_vector.py +169 -0
  339. axc_agent_engine-3.3.2/tests/plugins/test_lightweight_guards.py +225 -0
  340. axc_agent_engine-3.3.2/tests/plugins/test_mcp_plugin.py +276 -0
  341. axc_agent_engine-3.3.2/tests/plugins/test_mcp_transports.py +60 -0
  342. axc_agent_engine-3.3.2/tests/plugins/test_memory_core.py +44 -0
  343. axc_agent_engine-3.3.2/tests/plugins/test_memory_plugin.py +589 -0
  344. axc_agent_engine-3.3.2/tests/plugins/test_memory_support.py +252 -0
  345. axc_agent_engine-3.3.2/tests/plugins/test_output_format_service.py +460 -0
  346. axc_agent_engine-3.3.2/tests/plugins/test_plugin_context_workspace.py +61 -0
  347. axc_agent_engine-3.3.2/tests/plugins/test_plugin_dependencies.py +91 -0
  348. axc_agent_engine-3.3.2/tests/plugins/test_plugin_isolation.py +74 -0
  349. axc_agent_engine-3.3.2/tests/plugins/test_plugin_lifecycle.py +114 -0
  350. axc_agent_engine-3.3.2/tests/plugins/test_plugin_post_tool_call.py +213 -0
  351. axc_agent_engine-3.3.2/tests/plugins/test_plugin_registry.py +110 -0
  352. axc_agent_engine-3.3.2/tests/plugins/test_plugins.py +669 -0
  353. axc_agent_engine-3.3.2/tests/plugins/test_sessions_integration.py +161 -0
  354. axc_agent_engine-3.3.2/tests/plugins/test_sessions_notices.py +84 -0
  355. axc_agent_engine-3.3.2/tests/plugins/test_sessions_plugin.py +527 -0
  356. axc_agent_engine-3.3.2/tests/plugins/test_skill_plugin.py +426 -0
  357. axc_agent_engine-3.3.2/tests/plugins/test_swarm_plugin.py +304 -0
  358. axc_agent_engine-3.3.2/tests/plugins/test_tracing_plugin.py +614 -0
  359. axc_agent_engine-3.3.2/tests/plugins/test_vector_store_capacity.py +57 -0
  360. axc_agent_engine-3.3.2/tests/runtime/test_capability_gate.py +87 -0
  361. axc_agent_engine-3.3.2/tests/runtime/test_checkpoint.py +125 -0
  362. axc_agent_engine-3.3.2/tests/runtime/test_concurrency.py +212 -0
  363. axc_agent_engine-3.3.2/tests/runtime/test_policy.py +116 -0
  364. axc_agent_engine-3.3.2/tests/runtime/test_sandbox.py +277 -0
  365. axc_agent_engine-3.3.2/tests/runtime/test_security_risk.py +51 -0
  366. axc_agent_engine-3.3.2/tests/sidecar/test_eval_framework.py +355 -0
  367. axc_agent_engine-3.3.2/tests/sidecar/test_multi_agent_modes.py +173 -0
  368. axc_agent_engine-3.3.2/tests/sidecar/test_multi_agent_session.py +272 -0
  369. axc_agent_engine-3.3.2/tests/sidecar/test_orchestration_service.py +237 -0
  370. axc_agent_engine-3.3.2/tests/sidecar/test_sidecar_agent_ops.py +156 -0
  371. axc_agent_engine-3.3.2/tests/sidecar/test_simulation_adapters.py +205 -0
  372. axc_agent_engine-3.3.2/tests/sidecar/test_simulation_kernel.py +271 -0
  373. axc_agent_engine-3.3.2/tests/storage/test_artifact_store.py +107 -0
  374. axc_agent_engine-3.3.2/tests/storage/test_storage.py +324 -0
  375. axc_agent_engine-3.3.2/tests/tools/test_decorator_tooloutput.py +135 -0
  376. axc_agent_engine-3.3.2/tests/tools/test_orchestrator_tool_context.py +295 -0
  377. axc_agent_engine-3.3.2/tests/tools/test_tool_context.py +97 -0
  378. axc_agent_engine-3.3.2/tests/tools/test_tool_orchestrator_timeout.py +94 -0
  379. axc_agent_engine-3.3.2/tests/tools/test_tool_output.py +452 -0
  380. axc_agent_engine-3.3.2/tests/tools/test_tool_output_integration.py +285 -0
  381. axc_agent_engine-3.3.2/tests/tools/test_tool_validation.py +262 -0
  382. axc_agent_engine-3.3.2/tests/tools/test_tooloutput_protocol.py +295 -0
  383. axc_agent_engine-3.3.2/tests/tools/test_tools.py +442 -0
  384. axc_agent_engine-3.3.2/tests/utils/test_json_utils.py +19 -0
  385. axc_agent_engine-3.3.2/tests/utils/test_math_utils.py +48 -0
  386. axc_agent_engine-3.3.2/tests/workflow/__init__.py +0 -0
  387. axc_agent_engine-3.3.2/tests/workflow/test_workflow_runtime.py +302 -0
  388. axc_agent_engine-3.0.0/CHANGELOG.md +0 -29
  389. axc_agent_engine-3.0.0/CONTRIBUTING.md +0 -67
  390. axc_agent_engine-3.0.0/Makefile +0 -35
  391. axc_agent_engine-3.0.0/PKG-INFO +0 -652
  392. axc_agent_engine-3.0.0/README.md +0 -602
  393. axc_agent_engine-3.0.0/README.zh-CN.md +0 -579
  394. axc_agent_engine-3.0.0/axc_agent_engine/__init__.py +0 -50
  395. axc_agent_engine-3.0.0/axc_agent_engine/_version.py +0 -4
  396. axc_agent_engine-3.0.0/axc_agent_engine/agent.py +0 -507
  397. axc_agent_engine-3.0.0/axc_agent_engine/api/app.py +0 -55
  398. axc_agent_engine-3.0.0/axc_agent_engine/api/deps.py +0 -58
  399. axc_agent_engine-3.0.0/axc_agent_engine/api/routes/chat.py +0 -364
  400. axc_agent_engine-3.0.0/axc_agent_engine/api/routes/health.py +0 -15
  401. axc_agent_engine-3.0.0/axc_agent_engine/cli.py +0 -148
  402. axc_agent_engine-3.0.0/axc_agent_engine/core/__init__.py +0 -6
  403. axc_agent_engine-3.0.0/axc_agent_engine/core/constants.py +0 -28
  404. axc_agent_engine-3.0.0/axc_agent_engine/core/context.py +0 -204
  405. axc_agent_engine-3.0.0/axc_agent_engine/core/dispatcher.py +0 -424
  406. axc_agent_engine-3.0.0/axc_agent_engine/core/errors.py +0 -140
  407. axc_agent_engine-3.0.0/axc_agent_engine/core/events.py +0 -209
  408. axc_agent_engine-3.0.0/axc_agent_engine/core/execution_run.py +0 -151
  409. axc_agent_engine-3.0.0/axc_agent_engine/core/executor.py +0 -237
  410. axc_agent_engine-3.0.0/axc_agent_engine/core/input_messages.py +0 -66
  411. axc_agent_engine-3.0.0/axc_agent_engine/core/llm_caller.py +0 -300
  412. axc_agent_engine-3.0.0/axc_agent_engine/core/message_store.py +0 -126
  413. axc_agent_engine-3.0.0/axc_agent_engine/core/plugin_manager.py +0 -285
  414. axc_agent_engine-3.0.0/axc_agent_engine/core/react_kernel.py +0 -152
  415. axc_agent_engine-3.0.0/axc_agent_engine/core/react_loop.py +0 -226
  416. axc_agent_engine-3.0.0/axc_agent_engine/core/run_context.py +0 -67
  417. axc_agent_engine-3.0.0/axc_agent_engine/core/run_request.py +0 -76
  418. axc_agent_engine-3.0.0/axc_agent_engine/core/schema.py +0 -196
  419. axc_agent_engine-3.0.0/axc_agent_engine/core/session.py +0 -28
  420. axc_agent_engine-3.0.0/axc_agent_engine/core/session_manager.py +0 -137
  421. axc_agent_engine-3.0.0/axc_agent_engine/core/stream_aggregator.py +0 -170
  422. axc_agent_engine-3.0.0/axc_agent_engine/core/stream_sink.py +0 -20
  423. axc_agent_engine-3.0.0/axc_agent_engine/engine.py +0 -364
  424. axc_agent_engine-3.0.0/axc_agent_engine/llm/__init__.py +0 -4
  425. axc_agent_engine-3.0.0/axc_agent_engine/llm/client.py +0 -206
  426. axc_agent_engine-3.0.0/axc_agent_engine/llm/config.py +0 -21
  427. axc_agent_engine-3.0.0/axc_agent_engine/llm/provider.py +0 -43
  428. axc_agent_engine-3.0.0/axc_agent_engine/llm/rate_limited.py +0 -58
  429. axc_agent_engine-3.0.0/axc_agent_engine/observability/__init__.py +0 -2
  430. axc_agent_engine-3.0.0/axc_agent_engine/observability/audit.py +0 -90
  431. axc_agent_engine-3.0.0/axc_agent_engine/observability/logging.py +0 -57
  432. axc_agent_engine-3.0.0/axc_agent_engine/planning/__init__.py +0 -19
  433. axc_agent_engine-3.0.0/axc_agent_engine/planning/checkpointing.py +0 -91
  434. axc_agent_engine-3.0.0/axc_agent_engine/planning/graph_nodes.py +0 -35
  435. axc_agent_engine-3.0.0/axc_agent_engine/planning/graph_runtime.py +0 -79
  436. axc_agent_engine-3.0.0/axc_agent_engine/planning/graph_state.py +0 -31
  437. axc_agent_engine-3.0.0/axc_agent_engine/planning/observer.py +0 -57
  438. axc_agent_engine-3.0.0/axc_agent_engine/planning/planner.py +0 -89
  439. axc_agent_engine-3.0.0/axc_agent_engine/planning/planning_service.py +0 -69
  440. axc_agent_engine-3.0.0/axc_agent_engine/planning/por_runner.py +0 -433
  441. axc_agent_engine-3.0.0/axc_agent_engine/planning/prompts.py +0 -22
  442. axc_agent_engine-3.0.0/axc_agent_engine/planning/replanner.py +0 -54
  443. axc_agent_engine-3.0.0/axc_agent_engine/planning/router.py +0 -46
  444. axc_agent_engine-3.0.0/axc_agent_engine/planning/runtime.py +0 -22
  445. axc_agent_engine-3.0.0/axc_agent_engine/planning/scheduler.py +0 -53
  446. axc_agent_engine-3.0.0/axc_agent_engine/planning/step_executor.py +0 -25
  447. axc_agent_engine-3.0.0/axc_agent_engine/plugins/__init__.py +0 -20
  448. axc_agent_engine-3.0.0/axc_agent_engine/plugins/base.py +0 -168
  449. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/__init__.py +0 -50
  450. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/builtin_tools/artifact_store.py +0 -8
  451. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/builtin_tools/artifact_tools.py +0 -104
  452. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/builtin_tools/command_tools.py +0 -148
  453. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/builtin_tools/file_tools.py +0 -451
  454. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/builtin_tools/http_tools.py +0 -133
  455. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/builtin_tools/path_policy.py +0 -58
  456. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/builtin_tools/plugin.py +0 -131
  457. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/builtin_tools/presenter.py +0 -42
  458. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/builtin_tools/support.py +0 -11
  459. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/builtin_tools/tool_definitions.py +0 -359
  460. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/collaboration/plugin.py +0 -351
  461. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/common.py +0 -98
  462. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/compress/context/__init__.py +0 -3
  463. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/compress/context/boundary.py +0 -110
  464. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/compress/context/file_cache.py +0 -127
  465. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/compress/context/models.py +0 -37
  466. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/compress/context/normalizer.py +0 -79
  467. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/compress/context/packer.py +0 -103
  468. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/compress/context/recall.py +0 -95
  469. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/compress/context/recent_window.py +0 -54
  470. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/compress/context/scoring.py +0 -36
  471. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/compress/context/summarizer.py +0 -35
  472. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/compress/context/tool_result.py +0 -36
  473. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/compress/context/tool_summary.py +0 -81
  474. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/compress/plugin.py +0 -359
  475. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/config_schemas.py +0 -380
  476. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/cost_statistics/plugin.py +0 -94
  477. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/graph/audit.py +0 -36
  478. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/graph/config.py +0 -63
  479. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/graph/plugin.py +0 -117
  480. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/graph/policy.py +0 -30
  481. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/graph/presenter.py +0 -78
  482. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/graph/service.py +0 -201
  483. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/graph/source_loader.py +0 -91
  484. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/graph/support.py +0 -208
  485. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/graph/tool_factory.py +0 -55
  486. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/graph/tool_handlers.py +0 -168
  487. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/graph/utils.py +0 -53
  488. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/hooks/plugin.py +0 -225
  489. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/human_in_the_loop/plugin.py +0 -155
  490. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/knowledge/plugin.py +0 -616
  491. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/knowledge/support/__init__.py +0 -64
  492. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/knowledge/support/chunker.py +0 -154
  493. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/knowledge/support/ingestion.py +0 -177
  494. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/knowledge/support/retrieval.py +0 -763
  495. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/mcp/plugin.py +0 -245
  496. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/mcp/support/__init__.py +0 -5
  497. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/mcp/support/client.py +0 -18
  498. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/mcp/support/connection.py +0 -88
  499. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/mcp/support/models.py +0 -31
  500. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/mcp/support/normalization.py +0 -48
  501. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/mcp/support/transports/__init__.py +0 -16
  502. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/mcp/support/transports/base.py +0 -43
  503. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/mcp/support/transports/factory.py +0 -30
  504. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/mcp/support/transports/http.py +0 -43
  505. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/mcp/support/transports/sdk.py +0 -115
  506. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/mcp/support/transports/stdio.py +0 -102
  507. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/memory/plugin.py +0 -852
  508. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/memory/support/__init__.py +0 -53
  509. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/memory/support/graph.py +0 -151
  510. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/memory/support/retrieval.py +0 -129
  511. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/memory/support/service.py +0 -416
  512. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/output_format/plugin.py +0 -211
  513. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/output_format/support/__init__.py +0 -5
  514. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/output_format/support/service.py +0 -395
  515. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/post_process/plugin.py +0 -34
  516. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/reflexion/plugin.py +0 -63
  517. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/registry.py +0 -41
  518. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/repetition_guard/plugin.py +0 -178
  519. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/risk_guard/plugin.py +0 -49
  520. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/safety/plugin.py +0 -128
  521. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/skill/plugin.py +0 -835
  522. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/swarm/plugin.py +0 -374
  523. axc_agent_engine-3.0.0/axc_agent_engine/plugins/builtin/tracing/plugin.py +0 -779
  524. axc_agent_engine-3.0.0/axc_agent_engine/plugins/config_schema.py +0 -233
  525. axc_agent_engine-3.0.0/axc_agent_engine/plugins/context.py +0 -132
  526. axc_agent_engine-3.0.0/axc_agent_engine/plugins/loader.py +0 -114
  527. axc_agent_engine-3.0.0/axc_agent_engine/plugins/registry.py +0 -147
  528. axc_agent_engine-3.0.0/axc_agent_engine/runtime/__init__.py +0 -2
  529. axc_agent_engine-3.0.0/axc_agent_engine/runtime/checkpoint.py +0 -131
  530. axc_agent_engine-3.0.0/axc_agent_engine/runtime/concurrency.py +0 -159
  531. axc_agent_engine-3.0.0/axc_agent_engine/runtime/input.py +0 -37
  532. axc_agent_engine-3.0.0/axc_agent_engine/runtime/policy.py +0 -81
  533. axc_agent_engine-3.0.0/axc_agent_engine/runtime/resources.py +0 -77
  534. axc_agent_engine-3.0.0/axc_agent_engine/runtime/risk.py +0 -158
  535. axc_agent_engine-3.0.0/axc_agent_engine/runtime/run_control.py +0 -73
  536. axc_agent_engine-3.0.0/axc_agent_engine/runtime/sandbox_code.py +0 -85
  537. axc_agent_engine-3.0.0/axc_agent_engine/runtime/sandbox_local.py +0 -64
  538. axc_agent_engine-3.0.0/axc_agent_engine/runtime/sandbox_models.py +0 -54
  539. axc_agent_engine-3.0.0/axc_agent_engine/runtime/sandbox_policy.py +0 -46
  540. axc_agent_engine-3.0.0/axc_agent_engine/runtime/sandbox_provider.py +0 -35
  541. axc_agent_engine-3.0.0/axc_agent_engine/runtime/sandbox_utils.py +0 -49
  542. axc_agent_engine-3.0.0/axc_agent_engine/runtime/sandbox_workspace.py +0 -64
  543. axc_agent_engine-3.0.0/axc_agent_engine/runtime/tasks.py +0 -19
  544. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/__init__.py +0 -52
  545. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/agent_selector/__init__.py +0 -10
  546. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/agent_selector/core.py +0 -137
  547. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/cost_optimizer/__init__.py +0 -19
  548. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/cost_optimizer/core.py +0 -181
  549. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/distiller/__init__.py +0 -17
  550. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/distiller/core.py +0 -155
  551. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/eval/__init__.py +0 -32
  552. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/eval/judge.py +0 -63
  553. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/eval/matcher.py +0 -154
  554. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/eval/report.py +0 -61
  555. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/eval/runner.py +0 -370
  556. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/eval/store.py +0 -154
  557. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/failure_miner/__init__.py +0 -19
  558. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/failure_miner/core.py +0 -139
  559. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/__init__.py +0 -16
  560. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/events.py +0 -20
  561. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/modes.py +0 -176
  562. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/persona.py +0 -71
  563. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/scheduler/__init__.py +0 -5
  564. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/scheduler/all_parallel.py +0 -28
  565. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/scheduler/debate.py +0 -46
  566. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/scheduler/protocols.py +0 -25
  567. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/scheduler/redblue.py +0 -68
  568. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/scheduler/round_robin.py +0 -27
  569. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/scheduler/supervisor.py +0 -85
  570. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/session.py +0 -369
  571. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/shared_context.py +0 -81
  572. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/simulation_session.py +0 -97
  573. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/stop_condition/__init__.py +0 -5
  574. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/stop_condition/causal_chain.py +0 -17
  575. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/stop_condition/consensus.py +0 -16
  576. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/stop_condition/goal_reached.py +0 -17
  577. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/stop_condition/llm_based.py +0 -58
  578. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/stop_condition/max_rounds.py +0 -24
  579. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/stop_condition/protocols.py +0 -24
  580. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/multi_agent/types.py +0 -44
  581. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/orchestration/__init__.py +0 -19
  582. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/orchestration/service.py +0 -244
  583. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/simulation/__init__.py +0 -75
  584. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/simulation/action_parser.py +0 -74
  585. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/simulation/adapters.py +0 -84
  586. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/simulation/defaults.py +0 -179
  587. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/simulation/interfaces.py +0 -89
  588. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/simulation/models.py +0 -261
  589. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/simulation/modes.py +0 -137
  590. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/simulation/report.py +0 -140
  591. axc_agent_engine-3.0.0/axc_agent_engine/sidecar/simulation/runner.py +0 -316
  592. axc_agent_engine-3.0.0/axc_agent_engine/storage/__init__.py +0 -15
  593. axc_agent_engine-3.0.0/axc_agent_engine/storage/artifact_store.py +0 -367
  594. axc_agent_engine-3.0.0/axc_agent_engine/storage/in_memory.py +0 -215
  595. axc_agent_engine-3.0.0/axc_agent_engine/storage/protocols.py +0 -102
  596. axc_agent_engine-3.0.0/axc_agent_engine/tools/__init__.py +0 -2
  597. axc_agent_engine-3.0.0/axc_agent_engine/tools/audit.py +0 -72
  598. axc_agent_engine-3.0.0/axc_agent_engine/tools/batches.py +0 -23
  599. axc_agent_engine-3.0.0/axc_agent_engine/tools/context.py +0 -52
  600. axc_agent_engine-3.0.0/axc_agent_engine/tools/decorator.py +0 -107
  601. axc_agent_engine-3.0.0/axc_agent_engine/tools/executor.py +0 -261
  602. axc_agent_engine-3.0.0/axc_agent_engine/tools/name_mapping.py +0 -76
  603. axc_agent_engine-3.0.0/axc_agent_engine/tools/orchestrator.py +0 -225
  604. axc_agent_engine-3.0.0/axc_agent_engine/tools/policy.py +0 -20
  605. axc_agent_engine-3.0.0/axc_agent_engine/tools/registry.py +0 -179
  606. axc_agent_engine-3.0.0/axc_agent_engine/tools/runtime.py +0 -77
  607. axc_agent_engine-3.0.0/axc_agent_engine/tools/tool_output.py +0 -155
  608. axc_agent_engine-3.0.0/axc_agent_engine/tools/utils.py +0 -45
  609. axc_agent_engine-3.0.0/axc_agent_engine/utils/__init__.py +0 -2
  610. axc_agent_engine-3.0.0/axc_agent_engine/utils/json_utils.py +0 -79
  611. axc_agent_engine-3.0.0/axc_agent_engine/utils/math_utils.py +0 -16
  612. axc_agent_engine-3.0.0/axc_agent_engine/workflow/__init__.py +0 -25
  613. axc_agent_engine-3.0.0/axc_agent_engine/workflow/burr_runtime.py +0 -108
  614. axc_agent_engine-3.0.0/axc_agent_engine/workflow/factory.py +0 -18
  615. axc_agent_engine-3.0.0/axc_agent_engine/workflow/memory_runtime.py +0 -60
  616. axc_agent_engine-3.0.0/axc_agent_engine/workflow/protocols.py +0 -58
  617. axc_agent_engine-3.0.0/axc_agent_engine/workflow/state.py +0 -47
  618. axc_agent_engine-3.0.0/docs/API.md +0 -98
  619. axc_agent_engine-3.0.0/docs/ARCHITECTURE.md +0 -179
  620. axc_agent_engine-3.0.0/docs/PLUGIN_DEVELOPMENT.md +0 -134
  621. axc_agent_engine-3.0.0/docs/RELEASE_CHECKLIST.md +0 -39
  622. axc_agent_engine-3.0.0/examples/01_basic_chat/agent.yaml +0 -13
  623. axc_agent_engine-3.0.0/examples/01_basic_chat/run.py +0 -30
  624. axc_agent_engine-3.0.0/examples/02_tool_agent/agent.yaml +0 -29
  625. axc_agent_engine-3.0.0/examples/02_tool_agent/run.py +0 -37
  626. axc_agent_engine-3.0.0/examples/03_rag_agent/agent.yaml +0 -21
  627. axc_agent_engine-3.0.0/examples/03_rag_agent/docs/faq.md +0 -19
  628. axc_agent_engine-3.0.0/examples/03_rag_agent/run.py +0 -33
  629. axc_agent_engine-3.0.0/examples/04_streaming/agent.yaml +0 -21
  630. axc_agent_engine-3.0.0/examples/04_streaming/run.py +0 -54
  631. axc_agent_engine-3.0.0/examples/05_custom_plugin/agent.yaml +0 -21
  632. axc_agent_engine-3.0.0/examples/05_custom_plugin/my_plugin.py +0 -45
  633. axc_agent_engine-3.0.0/examples/05_custom_plugin/run.py +0 -34
  634. axc_agent_engine-3.0.0/examples/06_multi_agent/agent_dev.yaml +0 -9
  635. axc_agent_engine-3.0.0/examples/06_multi_agent/agent_pm.yaml +0 -9
  636. axc_agent_engine-3.0.0/examples/06_multi_agent/agent_supervisor.yaml +0 -10
  637. axc_agent_engine-3.0.0/examples/06_multi_agent/run_group_chat.py +0 -41
  638. axc_agent_engine-3.0.0/examples/06_multi_agent/run_supervisor.py +0 -43
  639. axc_agent_engine-3.0.0/examples/07_simulation/agent_blue.yaml +0 -9
  640. axc_agent_engine-3.0.0/examples/07_simulation/agent_con.yaml +0 -9
  641. axc_agent_engine-3.0.0/examples/07_simulation/agent_pro.yaml +0 -9
  642. axc_agent_engine-3.0.0/examples/07_simulation/agent_red.yaml +0 -9
  643. axc_agent_engine-3.0.0/examples/07_simulation/run_debate.py +0 -41
  644. axc_agent_engine-3.0.0/examples/07_simulation/run_redblue.py +0 -45
  645. axc_agent_engine-3.0.0/examples/README.md +0 -22
  646. axc_agent_engine-3.0.0/llms.txt +0 -85
  647. axc_agent_engine-3.0.0/pyproject.toml +0 -97
  648. axc_agent_engine-3.0.0/tests/api/test_api_chat.py +0 -276
  649. axc_agent_engine-3.0.0/tests/api/test_api_engine_integration.py +0 -144
  650. axc_agent_engine-3.0.0/tests/boundaries/test_compression_boundary.py +0 -165
  651. axc_agent_engine-3.0.0/tests/boundaries/test_core_dependency_boundaries.py +0 -62
  652. axc_agent_engine-3.0.0/tests/boundaries/test_engine_boundaries.py +0 -179
  653. axc_agent_engine-3.0.0/tests/boundaries/test_engine_boundary_matrix.py +0 -73
  654. axc_agent_engine-3.0.0/tests/boundaries/test_engine_plugin_boundaries.py +0 -51
  655. axc_agent_engine-3.0.0/tests/boundaries/test_init_exports.py +0 -95
  656. axc_agent_engine-3.0.0/tests/boundaries/test_plugin_config_schema_boundaries.py +0 -73
  657. axc_agent_engine-3.0.0/tests/boundaries/test_pyproject_deps.py +0 -30
  658. axc_agent_engine-3.0.0/tests/boundaries/test_source_text_policy.py +0 -170
  659. axc_agent_engine-3.0.0/tests/cli/test_cli.py +0 -195
  660. axc_agent_engine-3.0.0/tests/conftest.py +0 -90
  661. axc_agent_engine-3.0.0/tests/core/test_constants.py +0 -18
  662. axc_agent_engine-3.0.0/tests/core/test_context.py +0 -115
  663. axc_agent_engine-3.0.0/tests/core/test_context_layers.py +0 -289
  664. axc_agent_engine-3.0.0/tests/core/test_core.py +0 -425
  665. axc_agent_engine-3.0.0/tests/core/test_dispatcher_architecture.py +0 -446
  666. axc_agent_engine-3.0.0/tests/core/test_engine_body_edges.py +0 -350
  667. axc_agent_engine-3.0.0/tests/core/test_errors.py +0 -65
  668. axc_agent_engine-3.0.0/tests/core/test_event_categories.py +0 -147
  669. axc_agent_engine-3.0.0/tests/core/test_events.py +0 -160
  670. axc_agent_engine-3.0.0/tests/core/test_execution_config_workspace.py +0 -35
  671. axc_agent_engine-3.0.0/tests/core/test_execution_services.py +0 -222
  672. axc_agent_engine-3.0.0/tests/core/test_executor_checkpoint.py +0 -440
  673. axc_agent_engine-3.0.0/tests/core/test_llm_caller_edges.py +0 -158
  674. axc_agent_engine-3.0.0/tests/core/test_message_store_snapshot.py +0 -109
  675. axc_agent_engine-3.0.0/tests/core/test_message_store_tooloutput.py +0 -102
  676. axc_agent_engine-3.0.0/tests/core/test_react_edges.py +0 -264
  677. axc_agent_engine-3.0.0/tests/core/test_realtime_stream.py +0 -150
  678. axc_agent_engine-3.0.0/tests/core/test_run_context.py +0 -76
  679. axc_agent_engine-3.0.0/tests/core/test_schema.py +0 -173
  680. axc_agent_engine-3.0.0/tests/core/test_stream_aggregator.py +0 -139
  681. axc_agent_engine-3.0.0/tests/engine/test_engine.py +0 -663
  682. axc_agent_engine-3.0.0/tests/engine/test_engine_dispatcher_lifecycle.py +0 -346
  683. axc_agent_engine-3.0.0/tests/engine/test_integration_flow.py +0 -362
  684. axc_agent_engine-3.0.0/tests/llm/test_llm_caller_retry.py +0 -218
  685. axc_agent_engine-3.0.0/tests/llm/test_provider.py +0 -324
  686. axc_agent_engine-3.0.0/tests/observability/test_audit.py +0 -153
  687. axc_agent_engine-3.0.0/tests/observability/test_logging.py +0 -31
  688. axc_agent_engine-3.0.0/tests/planning/test_plan_runtime.py +0 -33
  689. axc_agent_engine-3.0.0/tests/planning/test_planning.py +0 -398
  690. axc_agent_engine-3.0.0/tests/planning/test_por_checkpointing.py +0 -22
  691. axc_agent_engine-3.0.0/tests/planning/test_por_graph_runtime.py +0 -54
  692. axc_agent_engine-3.0.0/tests/planning/test_por_runner_edges.py +0 -213
  693. axc_agent_engine-3.0.0/tests/planning/test_routing_integration.py +0 -159
  694. axc_agent_engine-3.0.0/tests/plugins/test_builtin_tools_tooloutput.py +0 -1048
  695. axc_agent_engine-3.0.0/tests/plugins/test_collaboration_plugin.py +0 -436
  696. axc_agent_engine-3.0.0/tests/plugins/test_compress_tooloutput.py +0 -313
  697. axc_agent_engine-3.0.0/tests/plugins/test_config_schema.py +0 -138
  698. axc_agent_engine-3.0.0/tests/plugins/test_graph_plugin.py +0 -123
  699. axc_agent_engine-3.0.0/tests/plugins/test_graph_store.py +0 -364
  700. axc_agent_engine-3.0.0/tests/plugins/test_hooks_and_hitl.py +0 -172
  701. axc_agent_engine-3.0.0/tests/plugins/test_knowledge_core.py +0 -320
  702. axc_agent_engine-3.0.0/tests/plugins/test_knowledge_plugin.py +0 -274
  703. axc_agent_engine-3.0.0/tests/plugins/test_knowledge_vector.py +0 -154
  704. axc_agent_engine-3.0.0/tests/plugins/test_lightweight_guards.py +0 -165
  705. axc_agent_engine-3.0.0/tests/plugins/test_mcp_plugin.py +0 -221
  706. axc_agent_engine-3.0.0/tests/plugins/test_mcp_transports.py +0 -325
  707. axc_agent_engine-3.0.0/tests/plugins/test_memory_core.py +0 -44
  708. axc_agent_engine-3.0.0/tests/plugins/test_memory_plugin.py +0 -316
  709. axc_agent_engine-3.0.0/tests/plugins/test_memory_support.py +0 -229
  710. axc_agent_engine-3.0.0/tests/plugins/test_output_format_service.py +0 -392
  711. axc_agent_engine-3.0.0/tests/plugins/test_plugin_context_workspace.py +0 -57
  712. axc_agent_engine-3.0.0/tests/plugins/test_plugin_dependencies.py +0 -79
  713. axc_agent_engine-3.0.0/tests/plugins/test_plugin_isolation.py +0 -72
  714. axc_agent_engine-3.0.0/tests/plugins/test_plugin_post_tool_call.py +0 -210
  715. axc_agent_engine-3.0.0/tests/plugins/test_plugin_registry.py +0 -97
  716. axc_agent_engine-3.0.0/tests/plugins/test_plugins.py +0 -605
  717. axc_agent_engine-3.0.0/tests/plugins/test_skill_plugin.py +0 -354
  718. axc_agent_engine-3.0.0/tests/plugins/test_swarm_plugin.py +0 -263
  719. axc_agent_engine-3.0.0/tests/plugins/test_tracing_plugin.py +0 -610
  720. axc_agent_engine-3.0.0/tests/plugins/test_vector_store_capacity.py +0 -55
  721. axc_agent_engine-3.0.0/tests/runtime/test_capability_gate.py +0 -77
  722. axc_agent_engine-3.0.0/tests/runtime/test_checkpoint.py +0 -113
  723. axc_agent_engine-3.0.0/tests/runtime/test_concurrency.py +0 -166
  724. axc_agent_engine-3.0.0/tests/runtime/test_policy.py +0 -111
  725. axc_agent_engine-3.0.0/tests/runtime/test_sandbox.py +0 -209
  726. axc_agent_engine-3.0.0/tests/runtime/test_security_risk.py +0 -49
  727. axc_agent_engine-3.0.0/tests/sidecar/test_eval_framework.py +0 -344
  728. axc_agent_engine-3.0.0/tests/sidecar/test_multi_agent_modes.py +0 -172
  729. axc_agent_engine-3.0.0/tests/sidecar/test_multi_agent_session.py +0 -259
  730. axc_agent_engine-3.0.0/tests/sidecar/test_orchestration_service.py +0 -236
  731. axc_agent_engine-3.0.0/tests/sidecar/test_sidecar_agent_ops.py +0 -135
  732. axc_agent_engine-3.0.0/tests/sidecar/test_simulation_adapters.py +0 -201
  733. axc_agent_engine-3.0.0/tests/sidecar/test_simulation_kernel.py +0 -261
  734. axc_agent_engine-3.0.0/tests/storage/test_artifact_store.py +0 -107
  735. axc_agent_engine-3.0.0/tests/storage/test_storage.py +0 -298
  736. axc_agent_engine-3.0.0/tests/tools/test_decorator_tooloutput.py +0 -117
  737. axc_agent_engine-3.0.0/tests/tools/test_orchestrator_tool_context.py +0 -188
  738. axc_agent_engine-3.0.0/tests/tools/test_tool_context.py +0 -82
  739. axc_agent_engine-3.0.0/tests/tools/test_tool_orchestrator_timeout.py +0 -73
  740. axc_agent_engine-3.0.0/tests/tools/test_tool_output.py +0 -446
  741. axc_agent_engine-3.0.0/tests/tools/test_tool_output_integration.py +0 -266
  742. axc_agent_engine-3.0.0/tests/tools/test_tool_validation.py +0 -218
  743. axc_agent_engine-3.0.0/tests/tools/test_tooloutput_protocol.py +0 -259
  744. axc_agent_engine-3.0.0/tests/tools/test_tools.py +0 -419
  745. axc_agent_engine-3.0.0/tests/utils/test_json_utils.py +0 -17
  746. axc_agent_engine-3.0.0/tests/utils/test_math_utils.py +0 -47
  747. axc_agent_engine-3.0.0/tests/workflow/test_workflow_runtime.py +0 -258
  748. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/.gitignore +0 -0
  749. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/CODE_OF_CONDUCT.md +0 -0
  750. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/ENGINE_DEVELOPMENT_RULES.md +0 -0
  751. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/LICENSE +0 -0
  752. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/NOTICE +0 -0
  753. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/SECURITY.md +0 -0
  754. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/api/__init__.py +0 -0
  755. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/api/routes/__init__.py +0 -0
  756. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/__init__.py +0 -0
  757. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/registry.py +0 -0
  758. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/collaboration/__init__.py +0 -0
  759. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/__init__.py +0 -0
  760. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/prompts.py +0 -0
  761. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/cost_statistics/__init__.py +0 -0
  762. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/__init__.py +0 -0
  763. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/hooks/__init__.py +0 -0
  764. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/human_in_the_loop/__init__.py +0 -0
  765. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/knowledge/__init__.py +0 -0
  766. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/mcp/__init__.py +0 -0
  767. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/memory/__init__.py +0 -0
  768. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/memory/prompts.py +0 -0
  769. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/output_format/__init__.py +0 -0
  770. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/post_process/__init__.py +0 -0
  771. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/reflexion/__init__.py +0 -0
  772. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/reflexion/prompts.py +0 -0
  773. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/repetition_guard/__init__.py +0 -0
  774. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/risk_guard/__init__.py +0 -0
  775. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/safety/__init__.py +0 -0
  776. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/skill/__init__.py +0 -0
  777. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/swarm/__init__.py +0 -0
  778. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/tracing/__init__.py +0 -0
  779. {axc_agent_engine-3.0.0/tests/api → axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategies}/__init__.py +0 -0
  780. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/py.typed +0 -0
  781. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/README.md +0 -0
  782. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/docs/OPEN_SOURCE_REPORT.md +0 -0
  783. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/docs/SECURITY_MODEL.md +0 -0
  784. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/examples/01_basic_chat/README.md +0 -0
  785. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/tests/__init__.py +0 -0
  786. {axc_agent_engine-3.0.0/tests/boundaries → axc_agent_engine-3.3.2/tests/api}/__init__.py +0 -0
  787. {axc_agent_engine-3.0.0/tests/core → axc_agent_engine-3.3.2/tests/boundaries}/__init__.py +0 -0
  788. {axc_agent_engine-3.0.0/tests/engine → axc_agent_engine-3.3.2/tests/core}/__init__.py +0 -0
  789. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/tests/core/test_input_messages.py +0 -0
  790. {axc_agent_engine-3.0.0/tests/llm → axc_agent_engine-3.3.2/tests/engine}/__init__.py +0 -0
  791. {axc_agent_engine-3.0.0/tests/observability → axc_agent_engine-3.3.2/tests/llm}/__init__.py +0 -0
  792. {axc_agent_engine-3.0.0/tests/planning → axc_agent_engine-3.3.2/tests/observability}/__init__.py +0 -0
  793. {axc_agent_engine-3.0.0/tests/plugins → axc_agent_engine-3.3.2/tests/planning}/__init__.py +0 -0
  794. {axc_agent_engine-3.0.0/tests/runtime → axc_agent_engine-3.3.2/tests/plugins}/__init__.py +0 -0
  795. {axc_agent_engine-3.0.0/tests/sidecar → axc_agent_engine-3.3.2/tests/runtime}/__init__.py +0 -0
  796. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/tests/runtime/test_run_control.py +0 -0
  797. {axc_agent_engine-3.0.0 → axc_agent_engine-3.3.2}/tests/runtime/test_tasks.py +0 -0
  798. {axc_agent_engine-3.0.0/tests/storage → axc_agent_engine-3.3.2/tests/sidecar}/__init__.py +0 -0
  799. {axc_agent_engine-3.0.0/tests/tools → axc_agent_engine-3.3.2/tests/storage}/__init__.py +0 -0
  800. {axc_agent_engine-3.0.0/tests/utils → axc_agent_engine-3.3.2/tests/tools}/__init__.py +0 -0
  801. {axc_agent_engine-3.0.0/tests/workflow → axc_agent_engine-3.3.2/tests/utils}/__init__.py +0 -0
@@ -0,0 +1,21 @@
1
+ repos:
2
+ - repo: local
3
+ hooks:
4
+ - id: ruff-check
5
+ name: Ruff lint
6
+ entry: python -m ruff check axc_agent_engine tests examples
7
+ language: system
8
+ pass_filenames: false
9
+ types: [python]
10
+ - id: ruff-format
11
+ name: Ruff formatting
12
+ entry: python -m ruff format --check axc_agent_engine tests examples
13
+ language: system
14
+ pass_filenames: false
15
+ types: [python]
16
+ - id: mypy
17
+ name: Engine type checks
18
+ entry: python -m mypy axc_agent_engine
19
+ language: system
20
+ pass_filenames: false
21
+ types: [python]
@@ -0,0 +1,114 @@
1
+ # Changelog
2
+
3
+ All notable changes to AxcAgentEngine are documented in this file.
4
+
5
+ ## 3.3.2
6
+
7
+ ### Fixed
8
+
9
+ - Settle write tools whenever they return a `ToolOutput`, including
10
+ `ToolOutput.error`, so a known failure no longer blocks later resume or fork.
11
+ Exceptions, timeouts, cancellation, and interrupted writes without a returned
12
+ outcome still require reconciliation.
13
+ - Document that write tools must return failure results for rejected arguments
14
+ or missing targets detected before writing, rather than raising exceptions.
15
+
16
+ ## 3.3.1
17
+
18
+ ### Changed
19
+
20
+ - Completion notices now count every delivered notice as one wakeup, including
21
+ `inject` into a running caller. A running caller at `max_wakeups` returns
22
+ `hold` instead of `inject`; the host writes the notice but does not deliver it
23
+ or start a turn.
24
+ - Raise long-task defaults and bounds: `runtime.max_rounds` 500 / 1–100000,
25
+ `sessions.max_wakeups` 100 / 0–100000, `sessions.max_active` 16 / 1–256,
26
+ and `sessions.max_depth` 3 / 1–20.
27
+
28
+ ## 3.3.0
29
+
30
+ ### Added
31
+
32
+ - `Agent.fork_run` writes the selected cut's messages into the new session
33
+ history, including system, `tool_calls`, and `tool` messages.
34
+ - `Agent.rewind_session` and `Agent.can_rewind` restore a session to the history
35
+ loaded before a run; start checkpoints retain that history across restarts.
36
+ Add the `on_session_rewind` plugin hook.
37
+ - Add `plugins.builtin.sessions.notices` with `notice_id`, `format_notice`,
38
+ `decide`, `NOTICE_STATUSES`, and `CALLER_STATES`.
39
+ - Add `max_wakeups` to the sessions plugin and `turn_origin` to `SessionCaller`.
40
+ - Add `SessionInfo.scope` and show it in the session list text.
41
+
42
+ ### Changed
43
+
44
+ - Session tools now reject any ancestor target for read, watch, send, and stop
45
+ before authorization, and remove self/ancestors from `session_list`.
46
+ - Fork and resume distinguish a missing checkpoint owner from an owner mismatch.
47
+ Checkpoints without an owner record require an identity-less caller; no owner
48
+ migration is provided. Branch resume reports a missing owner record separately
49
+ from a different owner.
50
+ - Harden fork rollback on cancellation and session-write failure, validate
51
+ assistant `tool_calls` and tool `tool_call_id` structure before history restore, and propagate
52
+ `ConfigValueError` from plugin configuration through Agent loading. Failed
53
+ cleanup exposes `ForkFailure` and `Agent.discard_fork` for idempotent recovery.
54
+ - Require explicit `turn_origin` values to be `user` or `notice`; only an absent
55
+ field defaults to `user`.
56
+
57
+ ## 3.2.0
58
+
59
+ ### Added
60
+
61
+ - Add the `sessions` plugin: `session_list`, `session_read`, `session_send`,
62
+ `session_stop`, `session_create`, `session_watch`, and `session_wait` over a
63
+ host-mounted `sessions.service`.
64
+ - Add `session_read` and `session_operate` capabilities.
65
+ - Add `docs/SESSIONS.md` with the host service contract, provenance, completion
66
+ notices, and authorization rules.
67
+
68
+ ## 3.1.0rc1
69
+
70
+ - Add opt-in ripgrep workspace search and content-version checks for file changes. Exact edits preserve unmatched bytes.
71
+ - Reclaim local foreground commands on timeout or cancellation. Large command output can be paged through file-backed artifacts.
72
+
73
+ - Fork a retained strategy checkpoint into an independent run and session. POR exposes a cut after every parallel result has been merged.
74
+
75
+ - Isolate compression and recall by agent and session. Anonymous runs use their own state.
76
+ - Add ordered active-run input, durable receipts, live POR progress and revision of pending steps.
77
+ - Reserve run IDs before reading checkpoints and reject stale queued resumes. A resume instruction joins the original conversation.
78
+ - Persist write-tool intent after argument validation and before dispatch. Recovery reports unresolved call IDs for host reconciliation.
79
+ - Delegate MCP transports to the optional official SDK. Remove the obsolete knowledge extra and choose Burr explicitly.
80
+ - Keep repetition and reflection state local to a run, and load scoped memory before constructing model context. Resetting a session clears its compression boundary.
81
+ - Honor the requested API listen address and resolve templates through the configured agent directory. HTTP clients receive the final POR text, token counts and cancellation outcome.
82
+ - Reject malformed model plans before replacing pending steps. The in-memory message bus releases idle listeners and pending requests on shutdown.
83
+ - Hosts can register ReAct, POR, or custom execution strategies and select them per agent.
84
+ - Examples select the bundled POR plugin in auto mode. A host-defined single-turn loop demonstrates switching implementations in YAML.
85
+ - Strategy checkpoints record the plugin name and state version. Plugins can migrate older snapshots before the loop starts.
86
+ - Plugin binding validates dependencies before initialization and rolls back partial failures in reverse order.
87
+ - Added a public strategy runtime, black-box conformance checks and `axc inspect` for resolved drivers, tools and capability policies.
88
+ - Fixed semaphore release on queue timeout and stream cleanup on early disconnect. Memory and Burr now use the same workflow lifecycle.
89
+
90
+ ## [3.0.0] - 2026-10-26
91
+
92
+ ### Fixed
93
+
94
+ - Isolated session history by an internal per-agent scope so identical session
95
+ IDs cannot leak messages between agents.
96
+ - Kept an agent's persistence scope stable when its public `name` is changed at
97
+ runtime.
98
+ - Scoped session reset and removal operations to the owning agent.
99
+
100
+ ### Changed
101
+
102
+ - `SessionManager` now requires an identity seed when constructed.
103
+ - `MessagePersistence.save`, `load`, and `delete` now receive `scope_id` before
104
+ `session_id`.
105
+ - `MessagePersistence` now includes `clear(scope_id)`.
106
+ - `Engine` now creates one session manager per agent instead of sharing a
107
+ manager across all agents.
108
+
109
+ ### Compatibility
110
+
111
+ - This release intentionally changes the `MessagePersistence` protocol and
112
+ does not read data written with the unscoped 2.x persistence contract.
113
+
114
+ [3.0.0]: https://github.com/axclogo/AxcAgentEngine/releases/tag/v3.0.0
@@ -0,0 +1,68 @@
1
+ # Contributing to AxcAgentEngine
2
+
3
+ ## Development Setup
4
+
5
+ ```bash
6
+ git clone https://github.com/axcteam/axc-agent-engine.git
7
+ cd axc-agent-engine
8
+ pip install -e ".[dev]"
9
+ pre-commit install
10
+ python -m pytest
11
+ ```
12
+
13
+ ## Code Style
14
+
15
+ - Python 3.11+, full type hints
16
+ - Prefer small functions and explicit module boundaries.
17
+ - All network, storage, and model IO should be async.
18
+ - Keep public API changes narrow and documented.
19
+ - Run `ruff check`, `ruff format --check`, `mypy`, and `pytest` before committing.
20
+ - Use `pre-commit run --all-files` before opening a pull request when practical.
21
+
22
+ Recommended local validation:
23
+
24
+ ```bash
25
+ python -m pytest
26
+ python -m compileall -q axc_agent_engine
27
+ ruff check axc_agent_engine tests examples
28
+ ruff format --check axc_agent_engine tests examples
29
+ python -m mypy axc_agent_engine
30
+ python -m build
31
+ twine check dist/*
32
+ ```
33
+
34
+ ## Pull Request Process
35
+
36
+ 1. Fork the repo and create a branch from `main`
37
+ 2. Add tests for any new functionality
38
+ 3. Ensure all tests pass: `python -m pytest tests/ -v`
39
+ 4. Ensure lint passes: `ruff check axc_agent_engine tests examples`
40
+ 5. Update docs for public behavior changes
41
+ 6. Submit a PR with a clear description
42
+
43
+ ## Plugin Development
44
+
45
+ See `docs/PLUGIN_DEVELOPMENT.md` and `examples/05_custom_plugin/` and `examples/08_custom_loop/`.
46
+
47
+ Plugins inherit `BasePlugin`. Execution drivers subclass `ExecutionStrategyPlugin` from
48
+ `axc_agent_engine.plugins.strategy` and implement its per-run loop factory. Exercise concurrent sessions, cancellation, early stream close, denied tools, and persisted state across plugin versions with the helpers in `axc_agent_engine.plugins.testing`. The [strategy contract](docs/PLUGIN_DEVELOPMENT.md#testing-a-host-strategy) includes fixture requirements and an offline test command.
49
+
50
+ ## API Compatibility
51
+
52
+ The OpenAI-compatible HTTP API is a documented subset. Any change to request
53
+ parameters, stream chunks, error shape, or `/v1/capabilities` must update
54
+ `docs/API.md` and `tests/test_api_chat.py`.
55
+
56
+ ## Security-Sensitive Changes
57
+
58
+ Changes touching tools, command execution, HTTP requests, MCP, plugin loading,
59
+ workspace validation, memory, or persistence should include tests and should be
60
+ reviewed against `SECURITY.md` and `docs/SECURITY_MODEL.md`.
61
+
62
+ ## Reporting Issues
63
+
64
+ Use GitHub Issues. Include:
65
+ - Python version
66
+ - AxcAgentEngine version
67
+ - Minimal reproduction steps
68
+ - Expected vs actual behavior
@@ -0,0 +1,38 @@
1
+ .PHONY: test test-cov test-core-cov lint format build clean
2
+
3
+ PYTHON ?= .venv/bin/python
4
+
5
+ test:
6
+ $(PYTHON) -m pytest tests/ -v --tb=short
7
+
8
+ test-cov:
9
+ $(PYTHON) -m pytest tests/ -v --cov=axc_agent_engine --cov-report=html
10
+
11
+ test-core-cov:
12
+ $(PYTHON) -m pytest tests/core tests/engine tests/runtime tests/tools tests/storage tests/workflow tests/planning \
13
+ --cov=axc_agent_engine.agent \
14
+ --cov=axc_agent_engine.engine \
15
+ --cov=axc_agent_engine.core \
16
+ --cov=axc_agent_engine.runtime \
17
+ --cov=axc_agent_engine.tools \
18
+ --cov=axc_agent_engine.storage \
19
+ --cov=axc_agent_engine.workflow \
20
+ --cov=axc_agent_engine.planning \
21
+ --cov=axc_agent_engine.plugins.strategy \
22
+ --cov=axc_agent_engine.plugins.strategy_selection \
23
+ --cov=axc_agent_engine.plugins.strategies \
24
+ --cov-report=term-missing:skip-covered \
25
+ --cov-fail-under=98 --cov-precision=2 -q
26
+
27
+ lint:
28
+ $(PYTHON) -m ruff check axc_agent_engine tests examples
29
+
30
+ format:
31
+ $(PYTHON) -m ruff format axc_agent_engine tests examples
32
+
33
+ build:
34
+ $(PYTHON) -m build
35
+
36
+ clean:
37
+ rm -rf dist/ build/ *.egg-info .pytest_cache .ruff_cache htmlcov coverage.xml
38
+ find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true