axc-agent-engine 0.2.0__tar.gz → 2.0__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 (419) hide show
  1. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/.gitignore +5 -0
  2. axc_agent_engine-2.0/AXC_ENGINE_CORE_REFACTOR_PLAN.md +377 -0
  3. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/PKG-INFO +10 -15
  4. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/README.md +5 -14
  5. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/README.zh-CN.md +9 -18
  6. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/__init__.py +1 -3
  7. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/agent.py +157 -62
  8. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/api/app.py +1 -1
  9. axc_agent_engine-2.0/axc_agent_engine/core/__init__.py +5 -0
  10. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/core/context.py +0 -1
  11. axc_agent_engine-2.0/axc_agent_engine/core/execution_run.py +159 -0
  12. axc_agent_engine-2.0/axc_agent_engine/core/executor.py +199 -0
  13. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/core/llm_caller.py +46 -23
  14. axc_agent_engine-2.0/axc_agent_engine/core/react_kernel.py +148 -0
  15. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/core/react_loop.py +5 -2
  16. axc_agent_engine-2.0/axc_agent_engine/core/run_request.py +64 -0
  17. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/core/schema.py +2 -0
  18. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/core/session_manager.py +0 -9
  19. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/core/stream_aggregator.py +5 -0
  20. axc_agent_engine-2.0/axc_agent_engine/core/stream_sink.py +19 -0
  21. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/planning/__init__.py +1 -7
  22. axc_agent_engine-2.0/axc_agent_engine/planning/checkpointing.py +92 -0
  23. axc_agent_engine-2.0/axc_agent_engine/planning/graph_nodes.py +35 -0
  24. axc_agent_engine-2.0/axc_agent_engine/planning/graph_runtime.py +77 -0
  25. axc_agent_engine-2.0/axc_agent_engine/planning/graph_state.py +30 -0
  26. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/planning/por_runner.py +232 -238
  27. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/builtin_tools/__init__.py +3 -0
  28. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/builtin_tools/plugin.py +1 -32
  29. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/builtin_tools/tool_definitions.py +1 -1
  30. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/collaboration/__init__.py +3 -0
  31. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/compress/__init__.py +3 -0
  32. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/compress/plugin.py +1 -1
  33. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/cost_statistics/__init__.py +3 -0
  34. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/graph/__init__.py +3 -0
  35. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/hooks/__init__.py +3 -0
  36. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/human_in_the_loop/__init__.py +3 -0
  37. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/knowledge/__init__.py +3 -0
  38. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/mcp/__init__.py +3 -0
  39. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/mcp/support/connection.py +3 -3
  40. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/mcp/support/transports/__init__.py +1 -1
  41. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/memory/__init__.py +3 -0
  42. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/output_format/__init__.py +3 -0
  43. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/post_process/__init__.py +3 -0
  44. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/reflexion/__init__.py +3 -0
  45. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/repetition_guard/__init__.py +3 -0
  46. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/risk_guard/__init__.py +3 -0
  47. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/safety/__init__.py +3 -0
  48. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/skill/__init__.py +3 -0
  49. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/swarm/__init__.py +3 -0
  50. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/tracing/__init__.py +3 -0
  51. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/scheduler/round_robin.py +4 -0
  52. axc_agent_engine-2.0/axc_agent_engine/tools/audit.py +71 -0
  53. axc_agent_engine-2.0/axc_agent_engine/tools/batches.py +21 -0
  54. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/tools/context.py +4 -0
  55. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/tools/executor.py +1 -1
  56. axc_agent_engine-2.0/axc_agent_engine/tools/orchestrator.py +182 -0
  57. axc_agent_engine-2.0/axc_agent_engine/tools/policy.py +19 -0
  58. axc_agent_engine-2.0/axc_agent_engine/tools/runtime.py +74 -0
  59. axc_agent_engine-2.0/axc_agent_engine/workflow/__init__.py +24 -0
  60. axc_agent_engine-2.0/axc_agent_engine/workflow/burr_runtime.py +107 -0
  61. axc_agent_engine-2.0/axc_agent_engine/workflow/factory.py +16 -0
  62. axc_agent_engine-2.0/axc_agent_engine/workflow/memory_runtime.py +59 -0
  63. axc_agent_engine-2.0/axc_agent_engine/workflow/protocols.py +58 -0
  64. axc_agent_engine-2.0/axc_agent_engine/workflow/state.py +46 -0
  65. axc_agent_engine-2.0/docs/RAVEN_EXECUTION_KERNEL_REPLACEMENT.md +1657 -0
  66. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/06_multi_agent/run_group_chat.py +1 -1
  67. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/06_multi_agent/run_supervisor.py +1 -1
  68. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/07_simulation/run_debate.py +1 -1
  69. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/07_simulation/run_redblue.py +1 -1
  70. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/llms.txt +0 -3
  71. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/pyproject.toml +13 -2
  72. axc_agent_engine-2.0/tests/api/__init__.py +0 -0
  73. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/api}/test_api_chat.py +99 -0
  74. axc_agent_engine-2.0/tests/boundaries/__init__.py +0 -0
  75. axc_agent_engine-2.0/tests/boundaries/test_core_dependency_boundaries.py +62 -0
  76. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/boundaries}/test_engine_boundaries.py +64 -1
  77. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/boundaries}/test_engine_plugin_boundaries.py +5 -3
  78. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/boundaries}/test_init_exports.py +1 -2
  79. axc_agent_engine-2.0/tests/cli/test_cli.py +75 -0
  80. axc_agent_engine-2.0/tests/core/__init__.py +0 -0
  81. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/core}/test_core.py +0 -11
  82. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/core}/test_executor_checkpoint.py +3 -3
  83. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/core}/test_stream_aggregator.py +13 -0
  84. axc_agent_engine-2.0/tests/engine/__init__.py +0 -0
  85. axc_agent_engine-2.0/tests/llm/__init__.py +0 -0
  86. axc_agent_engine-2.0/tests/llm/test_provider.py +346 -0
  87. axc_agent_engine-2.0/tests/observability/__init__.py +0 -0
  88. axc_agent_engine-2.0/tests/observability/test_logging.py +31 -0
  89. axc_agent_engine-2.0/tests/planning/__init__.py +0 -0
  90. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/planning}/test_plan_runtime.py +1 -5
  91. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/planning}/test_planning.py +109 -0
  92. axc_agent_engine-2.0/tests/planning/test_por_checkpointing.py +20 -0
  93. axc_agent_engine-2.0/tests/planning/test_por_graph_runtime.py +54 -0
  94. axc_agent_engine-2.0/tests/plugins/__init__.py +0 -0
  95. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_builtin_tools_tooloutput.py +3 -3
  96. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_graph_store.py +95 -0
  97. axc_agent_engine-2.0/tests/plugins/test_hooks_and_hitl.py +96 -0
  98. axc_agent_engine-2.0/tests/plugins/test_knowledge_core.py +349 -0
  99. axc_agent_engine-2.0/tests/plugins/test_lightweight_guards.py +101 -0
  100. axc_agent_engine-2.0/tests/plugins/test_mcp_transports.py +213 -0
  101. axc_agent_engine-2.0/tests/plugins/test_memory_support.py +220 -0
  102. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_output_format_service.py +67 -0
  103. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_tracing_plugin.py +124 -0
  104. axc_agent_engine-2.0/tests/runtime/__init__.py +0 -0
  105. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/runtime}/test_checkpoint.py +0 -24
  106. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/runtime}/test_concurrency.py +1 -1
  107. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/runtime}/test_sandbox.py +31 -1
  108. axc_agent_engine-2.0/tests/sidecar/__init__.py +0 -0
  109. axc_agent_engine-2.0/tests/sidecar/test_eval_framework.py +179 -0
  110. axc_agent_engine-2.0/tests/sidecar/test_multi_agent_modes.py +101 -0
  111. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/sidecar}/test_orchestration_service.py +22 -0
  112. axc_agent_engine-2.0/tests/storage/__init__.py +0 -0
  113. axc_agent_engine-2.0/tests/tools/__init__.py +0 -0
  114. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/tools}/test_orchestrator_tool_context.py +18 -0
  115. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/tools}/test_tool_context.py +8 -2
  116. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/tools}/test_tool_output_integration.py +3 -3
  117. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/tools}/test_tooloutput_protocol.py +10 -10
  118. axc_agent_engine-2.0/tests/utils/__init__.py +0 -0
  119. axc_agent_engine-2.0/tests/workflow/__init__.py +0 -0
  120. axc_agent_engine-2.0/tests/workflow/test_workflow_runtime.py +255 -0
  121. axc_agent_engine-0.2.0/.axc/logs/exec_1779680491396_b741cf27.log +0 -12
  122. axc_agent_engine-0.2.0/.axc/logs/exec_1779680491423_63760928.log +0 -15
  123. axc_agent_engine-0.2.0/.axc/logs/exec_1779680491444_ec22bb49.log +0 -12
  124. axc_agent_engine-0.2.0/TODO.md +0 -1166
  125. axc_agent_engine-0.2.0/axc_agent_engine/core/__init__.py +0 -4
  126. axc_agent_engine-0.2.0/axc_agent_engine/core/executor.py +0 -370
  127. axc_agent_engine-0.2.0/axc_agent_engine/planning/checkpointing.py +0 -196
  128. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/builtin_tools/__init__.py +0 -1
  129. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/collaboration/__init__.py +0 -1
  130. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/compress/__init__.py +0 -1
  131. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/cost_statistics/__init__.py +0 -1
  132. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/graph/__init__.py +0 -1
  133. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/hooks/__init__.py +0 -1
  134. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/human_in_the_loop/__init__.py +0 -1
  135. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/knowledge/__init__.py +0 -1
  136. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/mcp/__init__.py +0 -1
  137. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/memory/__init__.py +0 -1
  138. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/output_format/__init__.py +0 -1
  139. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/post_process/__init__.py +0 -1
  140. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/reflexion/__init__.py +0 -1
  141. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/repetition_guard/__init__.py +0 -1
  142. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/risk_guard/__init__.py +0 -1
  143. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/safety/__init__.py +0 -1
  144. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/skill/__init__.py +0 -1
  145. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/swarm/__init__.py +0 -1
  146. axc_agent_engine-0.2.0/axc_agent_engine/plugins/builtin/tracing/__init__.py +0 -1
  147. axc_agent_engine-0.2.0/axc_agent_engine/runtime/recovery.py +0 -98
  148. axc_agent_engine-0.2.0/axc_agent_engine/tools/orchestrator.py +0 -334
  149. axc_agent_engine-0.2.0/tests/test_eval_framework.py +0 -90
  150. axc_agent_engine-0.2.0/tests/test_knowledge_core.py +0 -142
  151. axc_agent_engine-0.2.0/tests/test_multi_agent_modes.py +0 -52
  152. axc_agent_engine-0.2.0/tests/test_por_checkpointing.py +0 -50
  153. axc_agent_engine-0.2.0/tests/test_provider.py +0 -174
  154. axc_agent_engine-0.2.0/try_engine.py +0 -268
  155. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/CHANGELOG.md +0 -0
  156. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/CODE_OF_CONDUCT.md +0 -0
  157. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/CONTRIBUTING.md +0 -0
  158. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/ENGINE_BOUNDARY_DESIGN.md +0 -0
  159. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/LICENSE +0 -0
  160. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/Makefile +0 -0
  161. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/NOTICE +0 -0
  162. {axc_agent_engine-0.2.0/docs → axc_agent_engine-2.0}/RAVEN_EXECUTION_KERNEL_REPLACEMENT.md +0 -0
  163. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/SECURITY.md +0 -0
  164. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/api/__init__.py +0 -0
  165. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/api/deps.py +0 -0
  166. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/api/routes/__init__.py +0 -0
  167. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/api/routes/chat.py +0 -0
  168. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/api/routes/health.py +0 -0
  169. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/cli.py +0 -0
  170. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/core/constants.py +0 -0
  171. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/core/dispatcher.py +0 -0
  172. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/core/errors.py +0 -0
  173. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/core/events.py +0 -0
  174. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/core/message_store.py +0 -0
  175. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/core/plugin_manager.py +0 -0
  176. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/core/session.py +0 -0
  177. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/engine.py +0 -0
  178. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/llm/__init__.py +0 -0
  179. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/llm/client.py +0 -0
  180. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/llm/config.py +0 -0
  181. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/llm/provider.py +0 -0
  182. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/llm/rate_limited.py +0 -0
  183. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/llm/registry.py +0 -0
  184. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/observability/__init__.py +0 -0
  185. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/observability/audit.py +0 -0
  186. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/observability/logging.py +0 -0
  187. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/planning/observer.py +0 -0
  188. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/planning/planner.py +0 -0
  189. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/planning/planning_service.py +0 -0
  190. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/planning/prompts.py +0 -0
  191. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/planning/replanner.py +0 -0
  192. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/planning/router.py +0 -0
  193. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/planning/runtime.py +0 -0
  194. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/planning/scheduler.py +0 -0
  195. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/planning/step_executor.py +0 -0
  196. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/__init__.py +0 -0
  197. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/base.py +0 -0
  198. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/__init__.py +0 -0
  199. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/builtin_tools/command_tools.py +0 -0
  200. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/builtin_tools/file_tools.py +0 -0
  201. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/builtin_tools/http_tools.py +0 -0
  202. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/builtin_tools/path_policy.py +0 -0
  203. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/builtin_tools/presenter.py +0 -0
  204. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/builtin_tools/registry.py +0 -0
  205. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/builtin_tools/result_store.py +0 -0
  206. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/builtin_tools/result_tools.py +0 -0
  207. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/builtin_tools/support.py +0 -0
  208. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/collaboration/plugin.py +0 -0
  209. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/common.py +0 -0
  210. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/compress/context/__init__.py +0 -0
  211. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/compress/context/boundary.py +0 -0
  212. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/compress/context/file_cache.py +0 -0
  213. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/compress/context/models.py +0 -0
  214. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/compress/context/normalizer.py +0 -0
  215. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/compress/context/packer.py +0 -0
  216. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/compress/context/recall.py +0 -0
  217. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/compress/context/recent_window.py +0 -0
  218. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/compress/context/scoring.py +0 -0
  219. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/compress/context/summarizer.py +0 -0
  220. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/compress/context/tool_result.py +0 -0
  221. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/compress/context/tool_summary.py +0 -0
  222. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/compress/prompts.py +0 -0
  223. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/cost_statistics/plugin.py +0 -0
  224. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/graph/audit.py +0 -0
  225. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/graph/config.py +0 -0
  226. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/graph/plugin.py +0 -0
  227. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/graph/policy.py +0 -0
  228. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/graph/presenter.py +0 -0
  229. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/graph/service.py +0 -0
  230. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/graph/source_loader.py +0 -0
  231. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/graph/support.py +0 -0
  232. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/graph/tool_factory.py +0 -0
  233. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/graph/tool_handlers.py +0 -0
  234. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/graph/utils.py +0 -0
  235. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/hooks/plugin.py +0 -0
  236. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/human_in_the_loop/plugin.py +0 -0
  237. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/knowledge/plugin.py +0 -0
  238. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/knowledge/support/__init__.py +0 -0
  239. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/knowledge/support/chunker.py +0 -0
  240. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/knowledge/support/ingestion.py +0 -0
  241. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/knowledge/support/retrieval.py +0 -0
  242. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/mcp/plugin.py +0 -0
  243. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/mcp/support/__init__.py +0 -0
  244. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/mcp/support/client.py +0 -0
  245. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/mcp/support/models.py +0 -0
  246. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/mcp/support/normalization.py +0 -0
  247. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/mcp/support/transports/base.py +0 -0
  248. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/mcp/support/transports/http.py +0 -0
  249. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/mcp/support/transports/sdk.py +0 -0
  250. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/mcp/support/transports/stdio.py +0 -0
  251. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/memory/plugin.py +0 -0
  252. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/memory/prompts.py +0 -0
  253. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/memory/support/__init__.py +0 -0
  254. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/memory/support/embedding.py +0 -0
  255. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/memory/support/graph.py +0 -0
  256. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/memory/support/retrieval.py +0 -0
  257. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/memory/support/service.py +0 -0
  258. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/output_format/plugin.py +0 -0
  259. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/output_format/support/__init__.py +0 -0
  260. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/output_format/support/service.py +0 -0
  261. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/post_process/plugin.py +0 -0
  262. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/reflexion/plugin.py +0 -0
  263. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/reflexion/prompts.py +0 -0
  264. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/repetition_guard/plugin.py +0 -0
  265. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/risk_guard/plugin.py +0 -0
  266. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/safety/plugin.py +0 -0
  267. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/skill/plugin.py +0 -0
  268. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/swarm/plugin.py +0 -0
  269. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/builtin/tracing/plugin.py +0 -0
  270. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/loader.py +0 -0
  271. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/plugins/registry.py +0 -0
  272. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/py.typed +0 -0
  273. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/runtime/__init__.py +0 -0
  274. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/runtime/checkpoint.py +0 -0
  275. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/runtime/concurrency.py +0 -0
  276. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/runtime/input.py +0 -0
  277. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/runtime/policy.py +0 -0
  278. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/runtime/resources.py +0 -0
  279. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/runtime/risk.py +0 -0
  280. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/runtime/sandbox_code.py +0 -0
  281. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/runtime/sandbox_local.py +0 -0
  282. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/runtime/sandbox_models.py +0 -0
  283. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/runtime/sandbox_policy.py +0 -0
  284. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/runtime/sandbox_provider.py +0 -0
  285. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/runtime/sandbox_utils.py +0 -0
  286. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/runtime/sandbox_workspace.py +0 -0
  287. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/README.md +0 -0
  288. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/__init__.py +0 -0
  289. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/agent_selector/__init__.py +0 -0
  290. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/cost_optimizer/__init__.py +0 -0
  291. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/distiller/__init__.py +0 -0
  292. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/eval/__init__.py +0 -0
  293. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/eval/judge.py +0 -0
  294. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/eval/matcher.py +0 -0
  295. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/eval/report.py +0 -0
  296. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/eval/runner.py +0 -0
  297. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/eval/store.py +0 -0
  298. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/failure_miner/__init__.py +0 -0
  299. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/__init__.py +0 -0
  300. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/events.py +0 -0
  301. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/modes.py +0 -0
  302. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/persona.py +0 -0
  303. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/scheduler/__init__.py +0 -0
  304. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/scheduler/all_parallel.py +0 -0
  305. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/scheduler/debate.py +0 -0
  306. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/scheduler/redblue.py +0 -0
  307. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/scheduler/supervisor.py +0 -0
  308. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/session.py +0 -0
  309. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/shared_context.py +0 -0
  310. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/simulation_session.py +0 -0
  311. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/__init__.py +0 -0
  312. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/causal_chain.py +0 -0
  313. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/consensus.py +0 -0
  314. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/goal_reached.py +0 -0
  315. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/llm_based.py +0 -0
  316. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/max_rounds.py +0 -0
  317. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/multi_agent/types.py +0 -0
  318. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/orchestration/__init__.py +0 -0
  319. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/simulation/__init__.py +0 -0
  320. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/simulation/action_parser.py +0 -0
  321. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/simulation/adapters.py +0 -0
  322. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/simulation/defaults.py +0 -0
  323. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/simulation/interfaces.py +0 -0
  324. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/simulation/models.py +0 -0
  325. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/simulation/modes.py +0 -0
  326. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/simulation/report.py +0 -0
  327. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/sidecar/simulation/runner.py +0 -0
  328. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/storage/__init__.py +0 -0
  329. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/storage/in_memory.py +0 -0
  330. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/storage/protocols.py +0 -0
  331. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/storage/result_store.py +0 -0
  332. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/tools/__init__.py +0 -0
  333. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/tools/decorator.py +0 -0
  334. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/tools/name_mapping.py +0 -0
  335. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/tools/registry.py +0 -0
  336. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/tools/tool_output.py +0 -0
  337. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/tools/utils.py +0 -0
  338. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/utils/__init__.py +0 -0
  339. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/utils/json_utils.py +0 -0
  340. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/axc_agent_engine/utils/math_utils.py +0 -0
  341. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/docs/API.md +0 -0
  342. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/docs/ARCHITECTURE.md +0 -0
  343. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/docs/OPEN_SOURCE_REPORT.md +0 -0
  344. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/docs/PLUGIN_DEVELOPMENT.md +0 -0
  345. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/docs/RELEASE_CHECKLIST.md +0 -0
  346. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/docs/SECURITY_MODEL.md +0 -0
  347. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/01_basic_chat/README.md +0 -0
  348. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/01_basic_chat/agent.yaml +0 -0
  349. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/01_basic_chat/run.py +0 -0
  350. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/02_tool_agent/agent.yaml +0 -0
  351. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/02_tool_agent/run.py +0 -0
  352. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/03_rag_agent/agent.yaml +0 -0
  353. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/03_rag_agent/docs/faq.md +0 -0
  354. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/03_rag_agent/run.py +0 -0
  355. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/04_streaming/agent.yaml +0 -0
  356. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/04_streaming/run.py +0 -0
  357. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/05_custom_plugin/agent.yaml +0 -0
  358. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/05_custom_plugin/my_plugin.py +0 -0
  359. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/05_custom_plugin/run.py +0 -0
  360. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/06_multi_agent/agent_dev.yaml +0 -0
  361. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/06_multi_agent/agent_pm.yaml +0 -0
  362. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/06_multi_agent/agent_supervisor.yaml +0 -0
  363. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/07_simulation/agent_blue.yaml +0 -0
  364. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/07_simulation/agent_con.yaml +0 -0
  365. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/07_simulation/agent_pro.yaml +0 -0
  366. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/07_simulation/agent_red.yaml +0 -0
  367. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/examples/README.md +0 -0
  368. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/tests/__init__.py +0 -0
  369. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/boundaries}/test_compression_boundary.py +0 -0
  370. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/boundaries}/test_engine_boundary_matrix.py +0 -0
  371. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/boundaries}/test_pyproject_deps.py +0 -0
  372. {axc_agent_engine-0.2.0 → axc_agent_engine-2.0}/tests/conftest.py +0 -0
  373. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/core}/test_constants.py +0 -0
  374. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/core}/test_context.py +0 -0
  375. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/core}/test_context_layers.py +0 -0
  376. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/core}/test_dispatcher_architecture.py +0 -0
  377. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/core}/test_errors.py +0 -0
  378. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/core}/test_event_categories.py +0 -0
  379. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/core}/test_events.py +0 -0
  380. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/core}/test_execution_config_workspace.py +0 -0
  381. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/core}/test_execution_services.py +0 -0
  382. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/core}/test_message_store_snapshot.py +0 -0
  383. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/core}/test_message_store_tooloutput.py +0 -0
  384. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/core}/test_realtime_stream.py +0 -0
  385. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/core}/test_schema.py +0 -0
  386. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/engine}/test_engine.py +0 -0
  387. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/engine}/test_engine_dispatcher_lifecycle.py +0 -0
  388. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/engine}/test_integration_flow.py +0 -0
  389. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/llm}/test_llm_caller_retry.py +0 -0
  390. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/observability}/test_audit.py +0 -0
  391. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_collaboration_plugin.py +0 -0
  392. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_compress_tooloutput.py +0 -0
  393. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_knowledge_plugin.py +0 -0
  394. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_knowledge_vector.py +0 -0
  395. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_mcp_plugin.py +0 -0
  396. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_memory_core.py +0 -0
  397. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_memory_plugin.py +0 -0
  398. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_plugin_context_workspace.py +0 -0
  399. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_plugin_dependencies.py +0 -0
  400. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_plugin_isolation.py +0 -0
  401. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_plugin_post_tool_call.py +0 -0
  402. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_plugin_registry.py +0 -0
  403. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_plugins.py +0 -0
  404. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_skill_plugin.py +0 -0
  405. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_swarm_plugin.py +0 -0
  406. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/plugins}/test_vector_store_capacity.py +0 -0
  407. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/runtime}/test_capability_gate.py +0 -0
  408. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/runtime}/test_policy.py +0 -0
  409. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/runtime}/test_security_risk.py +0 -0
  410. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/sidecar}/test_sidecar_agent_ops.py +0 -0
  411. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/sidecar}/test_simulation_adapters.py +0 -0
  412. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/sidecar}/test_simulation_kernel.py +0 -0
  413. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/storage}/test_storage.py +0 -0
  414. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/tools}/test_decorator_tooloutput.py +0 -0
  415. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/tools}/test_tool_orchestrator_timeout.py +0 -0
  416. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/tools}/test_tool_output.py +0 -0
  417. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/tools}/test_tool_validation.py +0 -0
  418. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/tools}/test_tools.py +0 -0
  419. {axc_agent_engine-0.2.0/tests → axc_agent_engine-2.0/tests/utils}/test_math_utils.py +0 -0
@@ -53,3 +53,8 @@ coverage.xml
53
53
  # Env files
54
54
  .env
55
55
  .env.local
56
+
57
+ # Misc
58
+ .axc/
59
+ try_engine.py
60
+ dist/
@@ -0,0 +1,377 @@
1
+ # AxcAgentEngine Core Refactor Plan
2
+
3
+ 本文档只描述 `AxcAgentEngine` 内部核心重构,不包含 RavenSystem 适配层、DB、router、WebSocket 协议或业务系统迁移。
4
+
5
+ ## 核心目标
6
+
7
+ ```text
8
+ ReAct:继续保留自研
9
+ POR:使用 pydantic-graph
10
+ Workflow / 暂停恢复:使用 Apache Burr
11
+ 不要引入 LlamaIndex / LangGraph / CrewAI 这种大框架进核心
12
+ ```
13
+
14
+ 目标不是堆功能,而是降低长期维护负债:
15
+
16
+ - ReAct 是引擎最核心的可控循环,必须保持轻量、可读、可测试。
17
+ - POR 是有状态图执行问题,交给小型、显式、类型友好的 `pydantic-graph`。
18
+ - 暂停恢复和长 workflow 是 durable execution 问题,交给 Apache Burr。
19
+ - 任何依赖都必须服务于明确的执行模型,不允许为了集成而引入大框架。
20
+
21
+ ## 非目标
22
+
23
+ - 不改 RavenSystem。
24
+ - 不引入 LangGraph、LlamaIndex、CrewAI。
25
+ - 不把业务协议、数据库模型、用户鉴权、私有工具发现写进引擎 core。
26
+ - 不重写 LLMProvider、ToolDefinition、ToolOutput 的公共契约,除非能显著减少核心复杂度。
27
+ - 不让 POR 或 Burr 反向污染 ReAct 主循环。
28
+
29
+ ## 当前问题
30
+
31
+ 当前仓库已经有:
32
+
33
+ - 自研 ReAct:`axc_agent_engine/core/executor.py`、`react_loop.py`
34
+ - 自研 POR:`axc_agent_engine/planning/*`
35
+ - 自研 checkpoint/resume:`runtime/checkpoint.py`、`planning/checkpointing.py`、`Agent.resume_stream`
36
+
37
+ 问题在于三类职责仍然耦合:
38
+
39
+ - `Agent` 入口同时处理输入、session、executor 创建、resume。
40
+ - `Executor` 同时处理 ReAct、POR 路由、checkpoint 生命周期。
41
+ - `planning` 目录承担计划建模、执行调度、观察、重规划、checkpoint 多种职责。
42
+
43
+ 重构方向是把三件事拆清楚:
44
+
45
+ ```text
46
+ Agent API
47
+ -> ReActKernel # 自研,短循环,工具调用
48
+ -> PORGraphRuntime # pydantic-graph,计划图执行
49
+ -> WorkflowRuntime # Burr,durable run / pause / resume
50
+ ```
51
+
52
+ ## 架构边界
53
+
54
+ ### ReAct Kernel
55
+
56
+ 保留自研实现,边界收窄为:
57
+
58
+ ```text
59
+ messages + tools + execution context
60
+ -> LLM call
61
+ -> tool call flow
62
+ -> assistant final answer or next round
63
+ ```
64
+
65
+ 允许依赖:
66
+
67
+ - `LLMCaller`
68
+ - `MessageStore`
69
+ - `ToolRegistry`
70
+ - `ToolExecutionPipeline`
71
+ - `PluginManager`
72
+ - `ExecutionContext`
73
+
74
+ 禁止依赖:
75
+
76
+ - `pydantic-graph`
77
+ - `burr`
78
+ - Raven 业务代码
79
+ - LangGraph / LlamaIndex / CrewAI
80
+
81
+ 目标文件形态:
82
+
83
+ ```text
84
+ axc_agent_engine/core/react_kernel.py
85
+ axc_agent_engine/core/react_turn.py
86
+ axc_agent_engine/core/executor.py # 只做 orchestration boundary
87
+ ```
88
+
89
+ ### POR Graph Runtime
90
+
91
+ POR 使用 `pydantic-graph` 表达计划图和状态流转。
92
+
93
+ 边界:
94
+
95
+ ```text
96
+ PlanRequest
97
+ -> PlanGraph
98
+ -> StepNode / ObserveNode / ReplanNode
99
+ -> PlanResult
100
+ ```
101
+
102
+ `pydantic-graph` 只允许出现在:
103
+
104
+ ```text
105
+ axc_agent_engine/planning/graph_runtime.py
106
+ axc_agent_engine/planning/graph_nodes.py
107
+ axc_agent_engine/planning/graph_state.py
108
+ ```
109
+
110
+ 不允许出现在:
111
+
112
+ ```text
113
+ axc_agent_engine/core/*
114
+ axc_agent_engine/tools/*
115
+ axc_agent_engine/llm/*
116
+ ```
117
+
118
+ POR 节点内执行单步任务时调用自研 ReAct kernel,不复制 ReAct 逻辑。
119
+
120
+ ```text
121
+ StepNode
122
+ -> ReActKernel.run_step(...)
123
+ ```
124
+
125
+ ### Workflow / Pause / Resume Runtime
126
+
127
+ 暂停恢复使用 Apache Burr,定位为 durable workflow runtime,不是 Agent 框架。
128
+
129
+ 边界:
130
+
131
+ ```text
132
+ WorkflowRuntime
133
+ start(run_request) -> run_id
134
+ pause(run_id, reason)
135
+ resume(run_id, input)
136
+ status(run_id)
137
+ ```
138
+
139
+ Burr 只允许出现在:
140
+
141
+ ```text
142
+ axc_agent_engine/workflow/burr_runtime.py
143
+ axc_agent_engine/workflow/state.py
144
+ axc_agent_engine/workflow/adapters.py
145
+ ```
146
+
147
+ 不允许直接出现在:
148
+
149
+ ```text
150
+ axc_agent_engine/core/*
151
+ axc_agent_engine/tools/*
152
+ axc_agent_engine/planning/graph_nodes.py
153
+ ```
154
+
155
+ `Agent.resume_stream(...)` 最终应委托给 `WorkflowRuntime`,不直接拼 checkpoint 状态。
156
+
157
+ ## 目录调整
158
+
159
+ 新增:
160
+
161
+ ```text
162
+ axc_agent_engine/workflow/
163
+ __init__.py
164
+ protocols.py
165
+ state.py
166
+ burr_runtime.py
167
+ memory_runtime.py
168
+
169
+ axc_agent_engine/planning/
170
+ graph_state.py
171
+ graph_nodes.py
172
+ graph_runtime.py
173
+ ```
174
+
175
+ 保留但收窄:
176
+
177
+ ```text
178
+ axc_agent_engine/core/react_loop.py
179
+ axc_agent_engine/core/executor.py
180
+ axc_agent_engine/planning/planner.py
181
+ axc_agent_engine/planning/observer.py
182
+ axc_agent_engine/planning/replanner.py
183
+ ```
184
+
185
+ 迁移完成后评估删除或降级:
186
+
187
+ ```text
188
+ axc_agent_engine/planning/por_runner.py
189
+ axc_agent_engine/planning/checkpointing.py
190
+ axc_agent_engine/runtime/recovery.py
191
+ ```
192
+
193
+ ## 依赖策略
194
+
195
+ `pyproject.toml` 调整:
196
+
197
+ ```toml
198
+ dependencies = [
199
+ "pydantic>=2.0,<3.0",
200
+ "httpx>=0.27.0,<0.29",
201
+ "pyyaml>=6.0,<7.0",
202
+ "pydantic-graph>=...",
203
+ ]
204
+
205
+ [project.optional-dependencies]
206
+ workflow = [
207
+ "burr>=...",
208
+ ]
209
+ ```
210
+
211
+ 原则:
212
+
213
+ - `pydantic-graph` 是 POR 核心依赖,可以进主依赖。
214
+ - `burr` 先放 optional dependency,避免所有轻量用户被迫安装 durable workflow 栈。
215
+ - 禁止 `langgraph`、`llama-index`、`crewai` 出现在主依赖、optional 依赖和 core imports。
216
+
217
+ 版本号实施前必须查询并固定到合理上限。
218
+
219
+ ## 执行阶段
220
+
221
+ ### 阶段 1:加架构护栏
222
+
223
+ 新增测试:
224
+
225
+ ```text
226
+ tests/test_core_dependency_boundaries.py
227
+ ```
228
+
229
+ 覆盖:
230
+
231
+ - `langgraph` / `llama-index` / `crewai` 不在任何依赖中。
232
+ - `pydantic_graph` 不被 `core/*`、`tools/*` import。
233
+ - `burr` 不被 `core/*`、`tools/*`、`planning/*` 直接 import。
234
+ - `react_loop` 不依赖 POR graph runtime。
235
+
236
+ 验收:
237
+
238
+ ```bash
239
+ python3 -m pytest tests/test_core_dependency_boundaries.py
240
+ ```
241
+
242
+ ### 阶段 2:收窄自研 ReAct
243
+
244
+ 目标:
245
+
246
+ - 从 `Executor` 中抽出 `ReActKernel`。
247
+ - `Executor` 只负责选择 `react_only`、`por_first`、`auto`,不直接实现每轮逻辑。
248
+ - 工具执行仍使用现有 `ToolExecutionPipeline`。
249
+
250
+ 验收:
251
+
252
+ - 现有 ReAct 工具调用测试全部通过。
253
+ - `core/react_kernel.py` 不 import `planning`。
254
+ - `core/executor.py` 行数下降。
255
+
256
+ ### 阶段 3:引入 pydantic-graph POR
257
+
258
+ 目标:
259
+
260
+ - 用 `pydantic-graph` 表达 plan -> step -> observe -> replan。
261
+ - planner/observer/replanner 的业务逻辑由 graph node 服务调用。
262
+ - `PORRunner` 作为 POR 执行入口,内部委托 `PORGraphRuntime`。
263
+
264
+ 事件保持:
265
+
266
+ ```text
267
+ plan_created
268
+ step_start
269
+ step_completed
270
+ error
271
+ done
272
+ ```
273
+
274
+ 验收:
275
+
276
+ - `tests/test_planning.py`
277
+ - `tests/test_por_checkpointing.py`
278
+ - 新增 `tests/test_por_graph_runtime.py`
279
+
280
+ ### 阶段 4:引入 WorkflowRuntime Protocol
281
+
282
+ 目标:
283
+
284
+ ```python
285
+ class WorkflowRuntime(Protocol):
286
+ async def start(self, request: WorkflowRequest) -> AsyncIterator[Event]: ...
287
+ async def resume(self, run_id: str, message: str = "") -> AsyncIterator[Event]: ...
288
+ async def pause(self, run_id: str, reason: str = "") -> None: ...
289
+ ```
290
+
291
+ 先实现:
292
+
293
+ - `MemoryWorkflowRuntime`:包装现有 checkpoint store,保证现有测试不大面积破坏。
294
+ - `BurrWorkflowRuntime`:使用 Apache Burr 承载 durable 状态机。
295
+
296
+ 验收:
297
+
298
+ - `Agent.resume_stream` 不直接读 checkpoint store。
299
+ - checkpoint store 只作为 workflow runtime 的持久层。
300
+ - 原 resume 测试迁移到 workflow runtime 测试。
301
+
302
+ ### 阶段 5:Burr 接管暂停恢复
303
+
304
+ 目标:
305
+
306
+ - ReAct run、POR run 都注册为 Burr action graph。
307
+ - pause/resume 不直接恢复 `Executor` 内部字段,只消费 `WorkflowRuntime` 提供的 snapshot。
308
+ - 对外保持 `agent.resume_stream(run_id, ...)`。
309
+
310
+ 验收:
311
+
312
+ - 中断后可以恢复 ReAct。
313
+ - 中断后可以恢复 POR 当前 step。
314
+ - 恢复后不重复已完成工具调用。
315
+ - `run_id` 稳定。
316
+
317
+ ### 阶段 6:删除冗余恢复路径
318
+
319
+ 删除或降级:
320
+
321
+ - 删除 `Executor` 的直接 checkpoint 恢复入口。
322
+ - 删除 `Agent.resume_stream` 内部 checkpoint 拼装逻辑。
323
+ - 删除 `planning/checkpointing.py` 中与 Burr 重叠的状态恢复逻辑。
324
+
325
+ 当前保留:
326
+
327
+ - `CheckpointStore` protocol,作为 workflow 持久层。
328
+ - `runtime/checkpoint.py` 的通用 checkpoint 数据结构,如 Burr adapter 仍需要。
329
+
330
+ ## 测试矩阵
331
+
332
+ 必须覆盖:
333
+
334
+ - 纯 ReAct 文本回答。
335
+ - ReAct 工具调用。
336
+ - ReAct 多轮工具调用。
337
+ - POR plan_created / step_start / step_completed。
338
+ - POR step 失败后 replan。
339
+ - POR resume 当前 step。
340
+ - ReAct pause/resume。
341
+ - human approval pause/resume。
342
+ - stream delta 不丢失。
343
+ - checkpoint/run_id 可查询。
344
+ - 禁止大框架依赖。
345
+
346
+ ## 代码质量门槛
347
+
348
+ 每阶段完成必须满足:
349
+
350
+ ```bash
351
+ python3 -m pytest
352
+ ```
353
+
354
+ 并检查:
355
+
356
+ ```bash
357
+ rg "langgraph|llama_index|llama-index|crewai" pyproject.toml axc_agent_engine tests
358
+ rg "pydantic_graph|pydantic-graph" axc_agent_engine/core axc_agent_engine/tools
359
+ rg "burr" axc_agent_engine/core axc_agent_engine/tools axc_agent_engine/planning
360
+ ```
361
+
362
+ 期望:
363
+
364
+ - 第一条只允许出现在边界测试或文档。
365
+ - 第二条无输出。
366
+ - 第三条无输出。
367
+
368
+ ## 完成定义
369
+
370
+ 重构完成必须同时满足:
371
+
372
+ - ReAct 自研路径仍可独立运行,不依赖 pydantic-graph 或 Burr。
373
+ - POR 主执行路径由 pydantic-graph 承载。
374
+ - pause/resume 主路径由 WorkflowRuntime 承载,Burr adapter 可用。
375
+ - `Agent` 不直接拼装 checkpoint 恢复细节。
376
+ - `Executor` 不直接实现 POR 状态机。
377
+ - 全量测试通过。
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: axc-agent-engine
3
- Version: 0.2.0
3
+ Version: 2.0
4
4
  Summary: Agent execution engine with Plan-Observe-Replan (POR) and plugin architecture
5
5
  Project-URL: Homepage, https://github.com/axcteam/axc-agent-engine
6
6
  Project-URL: Documentation, https://github.com/axcteam/axc-agent-engine#readme
@@ -20,9 +20,11 @@ Classifier: Programming Language :: Python :: 3.13
20
20
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
21
  Requires-Python: >=3.11
22
22
  Requires-Dist: httpx<0.29,>=0.27.0
23
+ Requires-Dist: pydantic-graph<2.0,>=1.102.0
23
24
  Requires-Dist: pydantic<3.0,>=2.0
24
25
  Requires-Dist: pyyaml<7.0,>=6.0
25
26
  Provides-Extra: all
27
+ Requires-Dist: burr<0.41,>=0.40.2; extra == 'all'
26
28
  Requires-Dist: faiss-cpu>=1.8.0; extra == 'all'
27
29
  Requires-Dist: fastapi>=0.115.0; extra == 'all'
28
30
  Requires-Dist: uvicorn>=0.30.0; extra == 'all'
@@ -42,6 +44,8 @@ Requires-Dist: ruff>=0.5.0; extra == 'dev'
42
44
  Requires-Dist: twine>=5.0.0; extra == 'dev'
43
45
  Provides-Extra: knowledge
44
46
  Requires-Dist: faiss-cpu>=1.8.0; extra == 'knowledge'
47
+ Provides-Extra: workflow
48
+ Requires-Dist: burr<0.41,>=0.40.2; extra == 'workflow'
45
49
  Description-Content-Type: text/markdown
46
50
 
47
51
  <h1 align="center">AxcAgentEngine</h1>
@@ -80,16 +84,7 @@ AxcAgentEngine adds **POR (Plan-Observe-Replan)** on top of ReAct: the agent pro
80
84
  pip install axc-agent-engine
81
85
  ```
82
86
 
83
- <details>
84
- <summary>Optional extras</summary>
85
87
 
86
- ```bash
87
- pip install "axc-agent-engine[api]" # HTTP API server
88
- pip install "axc-agent-engine[knowledge]" # Knowledge / RAG
89
- pip install "axc-agent-engine[all]" # Everything
90
- ```
91
-
92
- </details>
93
88
 
94
89
  ```python
95
90
  from axc_agent_engine import Engine, LLMConfig, PluginRegistry
@@ -128,7 +123,7 @@ async for event in agent.stream("Build a REST API for user management"):
128
123
  - **ReAct executor** - standard think / call / observe loop
129
124
  - **Plugin system** - built-in spec registry, YAML-driven loading; optional capabilities live in plugins
130
125
  - **Tool protocol** - every tool returns `ToolOutput`; read-only runs concurrent, write serial; safe function-name mapping
131
- - **Durable recovery** - `CheckpointStore` + `ExecutionRecoveryService` + Agent resume API
126
+ - **Durable workflow** - `WorkflowRuntime` + `CheckpointStore` + Agent resume API
132
127
  - **OpenAI compatible** - provider protocol + OpenAI-compatible HTTP client and API subset
133
128
  - **Memory & knowledge** - four-layer memory (KV, dedup, decay, graph hooks) + semantic chunking + vector/BM25 hybrid retrieval
134
129
  - **MCP** - stdio, JSON-RPC HTTP, official SDK transports
@@ -142,12 +137,12 @@ async for event in agent.stream("Build a REST API for user management"):
142
137
  | --- | --- |
143
138
  | ReAct loop | `Executor` |
144
139
  | POR planning | `auto` / `react_only` / `por_first` |
145
- | Durable recovery | `CheckpointStore` + `ExecutionRecoveryService` + Agent resume |
140
+ | Durable workflow | `WorkflowRuntime` + `CheckpointStore` + Agent resume |
146
141
  | Plugin system | spec registry + YAML-driven loading |
147
142
  | LLM provider | provider protocol + OpenAI-compatible HTTP |
148
143
  | Parallel tools | read concurrent, write serial |
149
144
  | Tool output | enforced `ToolOutput` |
150
- | Tool name compat | provider-side model-safe mapping |
145
+ | Tool name mapping | provider-side model-safe mapping |
151
146
  | Context compression | built-in `compress` plugin |
152
147
  | Memory | four layers + KV fallback + dedup + decay + graph hooks |
153
148
  | Knowledge | semantic chunking + embeddings + BM25/vector + optional rerank |
@@ -163,7 +158,7 @@ async for event in agent.stream("Build a REST API for user management"):
163
158
  | | |
164
159
  | --- | --- |
165
160
  | [Architecture](docs/ARCHITECTURE.md) | Engine and plugin boundaries |
166
- | [API compatibility](docs/API.md) | HTTP API subset notes |
161
+ | [API](docs/API.md) | HTTP API subset notes |
167
162
  | [Plugin development](docs/PLUGIN_DEVELOPMENT.md) | Build your own plugin |
168
163
  | [Security model](docs/SECURITY_MODEL.md) | Capabilities, risk, workspace |
169
164
  | [Examples](examples/README.md) | 7 end-to-end demos |
@@ -259,7 +254,7 @@ engine.provider_registry.register("fast", fast_provider)
259
254
  agent = engine.load_agent("./agents/my_agent.yaml", default_llm="fast")
260
255
  ```
261
256
 
262
- Tool-name compatibility is the provider's job. Internal tool names are encoded to model-safe function names before the LLM call and decoded before hooks and tool execution.
257
+ Tool-name mapping is the provider's job. Internal tool names are encoded to model-safe function names before the LLM call and decoded before hooks and tool execution.
263
258
 
264
259
  ## API
265
260
 
@@ -34,16 +34,7 @@ AxcAgentEngine adds **POR (Plan-Observe-Replan)** on top of ReAct: the agent pro
34
34
  pip install axc-agent-engine
35
35
  ```
36
36
 
37
- <details>
38
- <summary>Optional extras</summary>
39
37
 
40
- ```bash
41
- pip install "axc-agent-engine[api]" # HTTP API server
42
- pip install "axc-agent-engine[knowledge]" # Knowledge / RAG
43
- pip install "axc-agent-engine[all]" # Everything
44
- ```
45
-
46
- </details>
47
38
 
48
39
  ```python
49
40
  from axc_agent_engine import Engine, LLMConfig, PluginRegistry
@@ -82,7 +73,7 @@ async for event in agent.stream("Build a REST API for user management"):
82
73
  - **ReAct executor** - standard think / call / observe loop
83
74
  - **Plugin system** - built-in spec registry, YAML-driven loading; optional capabilities live in plugins
84
75
  - **Tool protocol** - every tool returns `ToolOutput`; read-only runs concurrent, write serial; safe function-name mapping
85
- - **Durable recovery** - `CheckpointStore` + `ExecutionRecoveryService` + Agent resume API
76
+ - **Durable workflow** - `WorkflowRuntime` + `CheckpointStore` + Agent resume API
86
77
  - **OpenAI compatible** - provider protocol + OpenAI-compatible HTTP client and API subset
87
78
  - **Memory & knowledge** - four-layer memory (KV, dedup, decay, graph hooks) + semantic chunking + vector/BM25 hybrid retrieval
88
79
  - **MCP** - stdio, JSON-RPC HTTP, official SDK transports
@@ -96,12 +87,12 @@ async for event in agent.stream("Build a REST API for user management"):
96
87
  | --- | --- |
97
88
  | ReAct loop | `Executor` |
98
89
  | POR planning | `auto` / `react_only` / `por_first` |
99
- | Durable recovery | `CheckpointStore` + `ExecutionRecoveryService` + Agent resume |
90
+ | Durable workflow | `WorkflowRuntime` + `CheckpointStore` + Agent resume |
100
91
  | Plugin system | spec registry + YAML-driven loading |
101
92
  | LLM provider | provider protocol + OpenAI-compatible HTTP |
102
93
  | Parallel tools | read concurrent, write serial |
103
94
  | Tool output | enforced `ToolOutput` |
104
- | Tool name compat | provider-side model-safe mapping |
95
+ | Tool name mapping | provider-side model-safe mapping |
105
96
  | Context compression | built-in `compress` plugin |
106
97
  | Memory | four layers + KV fallback + dedup + decay + graph hooks |
107
98
  | Knowledge | semantic chunking + embeddings + BM25/vector + optional rerank |
@@ -117,7 +108,7 @@ async for event in agent.stream("Build a REST API for user management"):
117
108
  | | |
118
109
  | --- | --- |
119
110
  | [Architecture](docs/ARCHITECTURE.md) | Engine and plugin boundaries |
120
- | [API compatibility](docs/API.md) | HTTP API subset notes |
111
+ | [API](docs/API.md) | HTTP API subset notes |
121
112
  | [Plugin development](docs/PLUGIN_DEVELOPMENT.md) | Build your own plugin |
122
113
  | [Security model](docs/SECURITY_MODEL.md) | Capabilities, risk, workspace |
123
114
  | [Examples](examples/README.md) | 7 end-to-end demos |
@@ -213,7 +204,7 @@ engine.provider_registry.register("fast", fast_provider)
213
204
  agent = engine.load_agent("./agents/my_agent.yaml", default_llm="fast")
214
205
  ```
215
206
 
216
- Tool-name compatibility is the provider's job. Internal tool names are encoded to model-safe function names before the LLM call and decoded before hooks and tool execution.
207
+ Tool-name mapping is the provider's job. Internal tool names are encoded to model-safe function names before the LLM call and decoded before hooks and tool execution.
217
208
 
218
209
  ## API
219
210
 
@@ -34,16 +34,7 @@ AxcAgentEngine 在 ReAct 之外加了 **POR(Plan-Observe-Replan)**:先生
34
34
  pip install axc-agent-engine
35
35
  ```
36
36
 
37
- <details>
38
- <summary>可选依赖</summary>
39
37
 
40
- ```bash
41
- pip install "axc-agent-engine[api]" # HTTP API 服务
42
- pip install "axc-agent-engine[knowledge]" # 知识库 / RAG
43
- pip install "axc-agent-engine[all]" # 全部
44
- ```
45
-
46
- </details>
47
38
 
48
39
  ```python
49
40
  from axc_agent_engine import Engine, LLMConfig, PluginRegistry
@@ -83,8 +74,8 @@ async for event in agent.stream("Build a REST API for user management"):
83
74
  - **ReAct 执行器** —— 思考、工具调用、观察的标准循环
84
75
  - **插件体系** —— 内置 spec 注册表,YAML 按需加载;可选能力都在插件里
85
76
  - **工具协议** —— 所有工具返回 `ToolOutput`;只读并发,写串行;模型函数名安全映射
86
- - **中断恢复** —— `CheckpointStore` + `ExecutionRecoveryService` + Agent resume API
87
- - **OpenAI 兼容** —— Provider 协议 + OpenAI-compatible HTTP 客户端 / API 子集
77
+ - **中断恢复** —— `WorkflowRuntime` + `CheckpointStore` + Agent resume API
78
+ - **OpenAI API 子集** —— Provider 协议 + OpenAI-compatible HTTP 客户端 / API 子集
88
79
  - **记忆与知识** —— 四层记忆(KV、去重、衰减、图 hook)+ 语义分块 + 向量/BM25 混合检索
89
80
  - **MCP** —— stdio、JSON-RPC HTTP、官方 SDK transport
90
81
  - **人工介入** —— 审批队列、`ask_human` 工具
@@ -97,19 +88,19 @@ async for event in agent.stream("Build a REST API for user management"):
97
88
  | --- | --- |
98
89
  | ReAct 循环 | `Executor` |
99
90
  | POR 规划 | `auto` / `react_only` / `por_first` |
100
- | 中断恢复 | `CheckpointStore` + `ExecutionRecoveryService` + Agent resume |
91
+ | 中断恢复 | `WorkflowRuntime` + `CheckpointStore` + Agent resume |
101
92
  | 插件系统 | spec 注册表 + YAML 按需加载 |
102
93
  | LLM Provider | Provider 协议 + OpenAI-compatible HTTP |
103
94
  | 并行工具 | 只读并发,写串行 |
104
95
  | 工具输出 | 强制 `ToolOutput` |
105
- | 工具名兼容 | Provider 负责模型安全映射 |
96
+ | 工具名映射 | Provider 负责模型安全映射 |
106
97
  | 上下文压缩 | 内置 `compress` 插件 |
107
98
  | 记忆 | 四层 + KV fallback + 去重 + 衰减 + 图 hook |
108
99
  | 知识库 | 语义分块 + embedding + BM25/向量 + 可选 rerank |
109
100
  | MCP | stdio / JSON-RPC HTTP / 官方 SDK |
110
101
  | 人工审批 | 审批队列 + `ask_human` |
111
102
  | Sidecar | 多 Agent / 仿真 / 评测 / 成本 / 失败挖掘 / 蒸馏 |
112
- | API 服务 | OpenAI Chat Completions 兼容子集 |
103
+ | API 服务 | OpenAI Chat Completions 明确子集 |
113
104
 
114
105
  </details>
115
106
 
@@ -118,7 +109,7 @@ async for event in agent.stream("Build a REST API for user management"):
118
109
  | | |
119
110
  | --- | --- |
120
111
  | [架构](docs/ARCHITECTURE.md) | 引擎与插件边界 |
121
- | [API 兼容性](docs/API.md) | HTTP API 子集说明 |
112
+ | [API](docs/API.md) | HTTP API 子集说明 |
122
113
  | [插件开发](docs/PLUGIN_DEVELOPMENT.md) | 写自己的插件 |
123
114
  | [安全模型](docs/SECURITY_MODEL.md) | 能力、风险、workspace |
124
115
  | [示例](examples/README.md) | 7 个端到端 demo |
@@ -214,11 +205,11 @@ engine.provider_registry.register("fast", fast_provider)
214
205
  agent = engine.load_agent("./agents/my_agent.yaml", default_llm="fast")
215
206
  ```
216
207
 
217
- 工具名兼容属于 provider 职责。内部工具名在 LLM 调用前编码为模型安全 function name,在 hooks/工具执行前解码回来。
208
+ 工具名映射属于 provider 职责。内部工具名在 LLM 调用前编码为模型安全 function name,在 hooks/工具执行前解码回来。
218
209
 
219
210
  ## API
220
211
 
221
- HTTP API 是 OpenAI Chat Completions 兼容子集。
212
+ HTTP API 是 OpenAI Chat Completions 明确子集。
222
213
 
223
214
  - `POST /v1/chat/completions`
224
215
  - `GET /v1/agents`
@@ -378,7 +369,7 @@ CLI 日志参数是全局参数,需要放在子命令前。
378
369
  - **工具定义必须是 `ToolDefinition`。** 不接受 dict。
379
370
  - **业务协议不进入开源引擎。** 内部 API、私有数据库、公司鉴权、服务发现属于私有插件。
380
371
  - **LLM 配置在代码中。** Agent YAML 只描述运行时限制、能力和插件。
381
- - **API 是兼容子集。** 请求级 `tools`、`tool_choice`、`n > 1` 会被拒绝。
372
+ - **API 是明确子集。** 请求级 `tools`、`tool_choice`、`n > 1` 会被拒绝。
382
373
 
383
374
  ## 测试
384
375
 
@@ -12,7 +12,6 @@ from axc_agent_engine.tools.decorator import tool
12
12
  from axc_agent_engine.tools.tool_output import ToolOutput, ArtifactRef, ResultStore
13
13
  from axc_agent_engine.observability.audit import AuditEvent, AuditEventType, InMemoryAuditSink
14
14
  from axc_agent_engine.runtime.checkpoint import Checkpoint, CheckpointStatus, CheckpointStore, InMemoryCheckpointStore
15
- from axc_agent_engine.runtime.recovery import ExecutionRecoveryService, RecoverableRun
16
15
  from axc_agent_engine.runtime.policy import CapabilityPolicyEvaluator, PolicyDecision, PolicyEvaluator, PolicyRequest
17
16
  from axc_agent_engine.runtime.input import InputProviderResult, InputProvider, PassthroughInputProvider
18
17
  from axc_agent_engine.runtime.resources import (
@@ -31,7 +30,6 @@ __all__ = [
31
30
  "AuditEvent", "AuditEventType", "InMemoryAuditSink", "ErrorEnvelope", "ErrorCategory",
32
31
  # durable execution
33
32
  "Checkpoint", "CheckpointStatus", "CheckpointStore", "InMemoryCheckpointStore",
34
- "ExecutionRecoveryService", "RecoverableRun",
35
33
  # policy
36
34
  "CapabilityPolicyEvaluator", "PolicyDecision", "PolicyEvaluator", "PolicyRequest",
37
35
  # LLM 响应模型
@@ -52,4 +50,4 @@ try:
52
50
  from importlib.metadata import version as _get_version
53
51
  __version__ = _get_version("axc-agent-engine")
54
52
  except Exception:
55
- __version__ = "0.2.0"
53
+ __version__ = "2.0"