axc-agent-engine 2.0__tar.gz → 2.1.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 (398) hide show
  1. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/PKG-INFO +58 -20
  2. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/README.md +53 -15
  3. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/README.zh-CN.md +52 -15
  4. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/__init__.py +9 -9
  5. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/agent.py +33 -15
  6. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/api/app.py +4 -2
  7. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/api/deps.py +9 -3
  8. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/api/routes/chat.py +18 -8
  9. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/api/routes/health.py +2 -1
  10. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/cli.py +8 -4
  11. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/__init__.py +2 -1
  12. axc_agent_engine-2.1.0/axc_agent_engine/core/constants.py +28 -0
  13. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/context.py +40 -17
  14. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/dispatcher.py +25 -9
  15. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/errors.py +30 -15
  16. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/events.py +36 -13
  17. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/execution_run.py +9 -5
  18. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/executor.py +17 -9
  19. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/llm_caller.py +25 -9
  20. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/message_store.py +36 -16
  21. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/plugin_manager.py +45 -21
  22. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/react_kernel.py +11 -8
  23. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/react_loop.py +6 -3
  24. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/run_request.py +2 -1
  25. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/schema.py +30 -13
  26. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/session.py +2 -1
  27. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/session_manager.py +23 -9
  28. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/stream_aggregator.py +10 -4
  29. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/core/stream_sink.py +2 -1
  30. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/engine.py +23 -12
  31. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/llm/client.py +13 -5
  32. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/llm/provider.py +3 -1
  33. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/llm/rate_limited.py +4 -2
  34. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/llm/registry.py +24 -8
  35. axc_agent_engine-2.1.0/axc_agent_engine/observability/__init__.py +2 -0
  36. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/observability/audit.py +10 -5
  37. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/observability/logging.py +7 -3
  38. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/planning/__init__.py +2 -1
  39. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/planning/checkpointing.py +9 -5
  40. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/planning/graph_nodes.py +1 -1
  41. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/planning/graph_runtime.py +4 -2
  42. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/planning/graph_state.py +2 -1
  43. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/planning/observer.py +6 -3
  44. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/planning/planner.py +10 -4
  45. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/planning/planning_service.py +9 -3
  46. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/planning/por_runner.py +34 -19
  47. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/planning/prompts.py +2 -1
  48. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/planning/replanner.py +4 -2
  49. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/planning/router.py +10 -4
  50. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/planning/scheduler.py +8 -4
  51. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/planning/step_executor.py +3 -1
  52. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/__init__.py +35 -10
  53. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/base.py +45 -21
  54. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/__init__.py +4 -3
  55. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/builtin_tools/command_tools.py +8 -4
  56. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/builtin_tools/file_tools.py +2 -1
  57. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/builtin_tools/http_tools.py +6 -3
  58. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/builtin_tools/path_policy.py +4 -2
  59. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/builtin_tools/plugin.py +14 -6
  60. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/builtin_tools/presenter.py +2 -1
  61. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/builtin_tools/registry.py +4 -2
  62. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/builtin_tools/result_store.py +2 -1
  63. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/builtin_tools/result_tools.py +2 -1
  64. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/builtin_tools/support.py +2 -1
  65. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/builtin_tools/tool_definitions.py +6 -5
  66. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/collaboration/plugin.py +6 -2
  67. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/common.py +16 -7
  68. axc_agent_engine-2.1.0/axc_agent_engine/plugins/builtin/compress/context/__init__.py +3 -0
  69. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/compress/context/boundary.py +8 -4
  70. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/compress/context/file_cache.py +8 -5
  71. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/compress/context/models.py +8 -4
  72. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/compress/context/normalizer.py +6 -3
  73. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/compress/context/packer.py +5 -3
  74. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/compress/context/recall.py +8 -4
  75. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/compress/context/recent_window.py +4 -2
  76. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/compress/context/scoring.py +2 -1
  77. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/compress/context/summarizer.py +4 -2
  78. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/compress/context/tool_result.py +8 -5
  79. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/compress/context/tool_summary.py +12 -9
  80. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/compress/plugin.py +8 -4
  81. axc_agent_engine-2.1.0/axc_agent_engine/plugins/builtin/config_schemas.py +405 -0
  82. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/cost_statistics/plugin.py +10 -47
  83. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/graph/audit.py +2 -1
  84. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/graph/config.py +2 -1
  85. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/graph/plugin.py +3 -1
  86. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/graph/policy.py +2 -1
  87. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/graph/presenter.py +2 -1
  88. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/graph/service.py +2 -1
  89. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/graph/source_loader.py +2 -1
  90. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/graph/support.py +6 -3
  91. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/graph/tool_factory.py +2 -1
  92. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/graph/tool_handlers.py +2 -1
  93. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/graph/utils.py +2 -1
  94. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/hooks/plugin.py +13 -5
  95. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/human_in_the_loop/plugin.py +16 -7
  96. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/knowledge/plugin.py +50 -26
  97. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/knowledge/support/__init__.py +2 -1
  98. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/knowledge/support/chunker.py +7 -4
  99. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/knowledge/support/ingestion.py +14 -7
  100. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/knowledge/support/retrieval.py +64 -44
  101. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/mcp/plugin.py +4 -1
  102. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/mcp/support/__init__.py +2 -1
  103. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/mcp/support/client.py +2 -1
  104. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/mcp/support/connection.py +5 -3
  105. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/mcp/support/models.py +6 -3
  106. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/mcp/support/normalization.py +2 -1
  107. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/mcp/support/transports/__init__.py +2 -1
  108. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/mcp/support/transports/base.py +2 -1
  109. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/mcp/support/transports/http.py +2 -1
  110. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/mcp/support/transports/sdk.py +4 -2
  111. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/mcp/support/transports/stdio.py +2 -1
  112. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/memory/plugin.py +30 -13
  113. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/memory/support/__init__.py +2 -1
  114. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/memory/support/embedding.py +8 -8
  115. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/memory/support/graph.py +8 -4
  116. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/memory/support/retrieval.py +12 -6
  117. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/memory/support/service.py +22 -11
  118. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/output_format/plugin.py +13 -7
  119. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/output_format/support/__init__.py +2 -1
  120. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/output_format/support/service.py +16 -13
  121. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/post_process/plugin.py +4 -2
  122. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/reflexion/plugin.py +8 -3
  123. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/repetition_guard/plugin.py +7 -2
  124. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/risk_guard/plugin.py +7 -2
  125. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/safety/plugin.py +11 -4
  126. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/skill/plugin.py +12 -4
  127. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/swarm/plugin.py +2 -0
  128. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/tracing/plugin.py +7 -3
  129. axc_agent_engine-2.1.0/axc_agent_engine/plugins/config_schema.py +192 -0
  130. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/loader.py +19 -8
  131. axc_agent_engine-2.1.0/axc_agent_engine/plugins/registry.py +147 -0
  132. axc_agent_engine-2.1.0/axc_agent_engine/runtime/__init__.py +2 -0
  133. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/runtime/checkpoint.py +9 -5
  134. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/runtime/concurrency.py +9 -5
  135. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/runtime/input.py +8 -4
  136. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/runtime/policy.py +10 -5
  137. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/runtime/resources.py +14 -7
  138. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/runtime/risk.py +2 -1
  139. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/runtime/sandbox_code.py +6 -3
  140. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/runtime/sandbox_local.py +4 -2
  141. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/runtime/sandbox_models.py +12 -6
  142. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/runtime/sandbox_policy.py +6 -3
  143. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/runtime/sandbox_provider.py +4 -2
  144. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/runtime/sandbox_utils.py +2 -1
  145. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/runtime/sandbox_workspace.py +4 -2
  146. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/__init__.py +4 -3
  147. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/agent_selector/__init__.py +16 -7
  148. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/cost_optimizer/__init__.py +22 -9
  149. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/distiller/__init__.py +19 -8
  150. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/eval/__init__.py +4 -3
  151. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/eval/judge.py +6 -2
  152. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/eval/matcher.py +16 -7
  153. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/eval/report.py +10 -5
  154. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/eval/runner.py +27 -9
  155. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/eval/store.py +19 -8
  156. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/failure_miner/__init__.py +16 -7
  157. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/events.py +3 -1
  158. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/modes.py +10 -5
  159. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/persona.py +9 -3
  160. axc_agent_engine-2.1.0/axc_agent_engine/sidecar/multi_agent/scheduler/__init__.py +25 -0
  161. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/scheduler/all_parallel.py +6 -2
  162. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/scheduler/debate.py +8 -4
  163. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/scheduler/redblue.py +12 -8
  164. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/scheduler/round_robin.py +5 -2
  165. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/scheduler/supervisor.py +19 -13
  166. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/session.py +24 -8
  167. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/shared_context.py +18 -6
  168. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/simulation_session.py +13 -6
  169. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/__init__.py +6 -2
  170. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/llm_based.py +8 -4
  171. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/max_rounds.py +3 -1
  172. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/types.py +10 -5
  173. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/orchestration/__init__.py +19 -8
  174. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/simulation/__init__.py +4 -3
  175. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/simulation/action_parser.py +10 -5
  176. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/simulation/adapters.py +17 -13
  177. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/simulation/defaults.py +25 -10
  178. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/simulation/interfaces.py +22 -9
  179. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/simulation/models.py +40 -15
  180. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/simulation/modes.py +7 -4
  181. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/simulation/report.py +19 -10
  182. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/simulation/runner.py +19 -8
  183. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/storage/__init__.py +3 -1
  184. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/storage/in_memory.py +15 -9
  185. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/storage/protocols.py +25 -10
  186. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/storage/result_store.py +16 -8
  187. axc_agent_engine-2.1.0/axc_agent_engine/tools/__init__.py +2 -0
  188. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/tools/audit.py +2 -1
  189. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/tools/batches.py +4 -2
  190. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/tools/context.py +11 -4
  191. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/tools/decorator.py +7 -3
  192. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/tools/executor.py +24 -11
  193. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/tools/name_mapping.py +10 -5
  194. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/tools/orchestrator.py +12 -6
  195. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/tools/policy.py +2 -1
  196. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/tools/registry.py +27 -13
  197. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/tools/runtime.py +6 -3
  198. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/tools/tool_output.py +28 -13
  199. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/tools/utils.py +8 -3
  200. axc_agent_engine-2.1.0/axc_agent_engine/utils/__init__.py +2 -0
  201. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/utils/json_utils.py +9 -3
  202. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/utils/math_utils.py +4 -2
  203. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/workflow/__init__.py +2 -1
  204. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/workflow/burr_runtime.py +3 -2
  205. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/workflow/factory.py +4 -2
  206. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/workflow/memory_runtime.py +3 -2
  207. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/workflow/protocols.py +1 -1
  208. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/workflow/state.py +2 -1
  209. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/docs/PLUGIN_DEVELOPMENT.md +45 -0
  210. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/pyproject.toml +5 -5
  211. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/boundaries/test_compression_boundary.py +2 -2
  212. axc_agent_engine-2.1.0/tests/boundaries/test_plugin_config_schema_boundaries.py +73 -0
  213. axc_agent_engine-2.1.0/tests/boundaries/test_source_text_policy.py +170 -0
  214. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/cli/test_cli.py +1 -1
  215. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/test_constants.py +3 -3
  216. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/test_core.py +1 -1
  217. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/test_execution_services.py +1 -1
  218. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/test_message_store_snapshot.py +2 -2
  219. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/test_message_store_tooloutput.py +4 -4
  220. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/engine/test_integration_flow.py +1 -1
  221. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/planning/test_planning.py +4 -4
  222. axc_agent_engine-2.1.0/tests/plugins/test_config_schema.py +84 -0
  223. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_knowledge_core.py +1 -1
  224. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_knowledge_vector.py +8 -8
  225. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_memory_support.py +2 -4
  226. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_plugin_registry.py +31 -4
  227. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_plugins.py +13 -33
  228. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_tracing_plugin.py +1 -1
  229. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/sidecar/test_simulation_adapters.py +1 -1
  230. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/tools/test_tool_output.py +4 -4
  231. axc_agent_engine-2.0/axc_agent_engine/core/constants.py +0 -27
  232. axc_agent_engine-2.0/axc_agent_engine/observability/__init__.py +0 -1
  233. axc_agent_engine-2.0/axc_agent_engine/plugins/builtin/compress/context/__init__.py +0 -2
  234. axc_agent_engine-2.0/axc_agent_engine/plugins/registry.py +0 -87
  235. axc_agent_engine-2.0/axc_agent_engine/runtime/__init__.py +0 -1
  236. axc_agent_engine-2.0/axc_agent_engine/sidecar/multi_agent/scheduler/__init__.py +0 -19
  237. axc_agent_engine-2.0/axc_agent_engine/tools/__init__.py +0 -1
  238. axc_agent_engine-2.0/axc_agent_engine/utils/__init__.py +0 -1
  239. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/.gitignore +0 -0
  240. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/AXC_ENGINE_CORE_REFACTOR_PLAN.md +0 -0
  241. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/CHANGELOG.md +0 -0
  242. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/CODE_OF_CONDUCT.md +0 -0
  243. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/CONTRIBUTING.md +0 -0
  244. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/ENGINE_BOUNDARY_DESIGN.md +0 -0
  245. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/LICENSE +0 -0
  246. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/Makefile +0 -0
  247. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/NOTICE +0 -0
  248. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/RAVEN_EXECUTION_KERNEL_REPLACEMENT.md +0 -0
  249. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/SECURITY.md +0 -0
  250. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/api/__init__.py +0 -0
  251. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/api/routes/__init__.py +0 -0
  252. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/llm/__init__.py +0 -0
  253. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/llm/config.py +0 -0
  254. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/planning/runtime.py +0 -0
  255. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/builtin_tools/__init__.py +0 -0
  256. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/collaboration/__init__.py +0 -0
  257. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/compress/__init__.py +0 -0
  258. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/compress/prompts.py +0 -0
  259. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/cost_statistics/__init__.py +0 -0
  260. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/graph/__init__.py +0 -0
  261. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/hooks/__init__.py +0 -0
  262. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/human_in_the_loop/__init__.py +0 -0
  263. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/knowledge/__init__.py +0 -0
  264. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/mcp/__init__.py +0 -0
  265. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/memory/__init__.py +0 -0
  266. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/memory/prompts.py +0 -0
  267. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/output_format/__init__.py +0 -0
  268. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/post_process/__init__.py +0 -0
  269. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/reflexion/__init__.py +0 -0
  270. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/reflexion/prompts.py +0 -0
  271. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/repetition_guard/__init__.py +0 -0
  272. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/risk_guard/__init__.py +0 -0
  273. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/safety/__init__.py +0 -0
  274. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/skill/__init__.py +0 -0
  275. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/swarm/__init__.py +0 -0
  276. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/plugins/builtin/tracing/__init__.py +0 -0
  277. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/py.typed +0 -0
  278. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/README.md +0 -0
  279. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/__init__.py +0 -0
  280. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/causal_chain.py +0 -0
  281. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/consensus.py +0 -0
  282. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/goal_reached.py +0 -0
  283. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/docs/API.md +0 -0
  284. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/docs/ARCHITECTURE.md +0 -0
  285. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/docs/OPEN_SOURCE_REPORT.md +0 -0
  286. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/docs/RAVEN_EXECUTION_KERNEL_REPLACEMENT.md +0 -0
  287. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/docs/RELEASE_CHECKLIST.md +0 -0
  288. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/docs/SECURITY_MODEL.md +0 -0
  289. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/01_basic_chat/README.md +0 -0
  290. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/01_basic_chat/agent.yaml +0 -0
  291. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/01_basic_chat/run.py +0 -0
  292. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/02_tool_agent/agent.yaml +0 -0
  293. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/02_tool_agent/run.py +0 -0
  294. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/03_rag_agent/agent.yaml +0 -0
  295. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/03_rag_agent/docs/faq.md +0 -0
  296. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/03_rag_agent/run.py +0 -0
  297. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/04_streaming/agent.yaml +0 -0
  298. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/04_streaming/run.py +0 -0
  299. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/05_custom_plugin/agent.yaml +0 -0
  300. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/05_custom_plugin/my_plugin.py +0 -0
  301. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/05_custom_plugin/run.py +0 -0
  302. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/06_multi_agent/agent_dev.yaml +0 -0
  303. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/06_multi_agent/agent_pm.yaml +0 -0
  304. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/06_multi_agent/agent_supervisor.yaml +0 -0
  305. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/06_multi_agent/run_group_chat.py +0 -0
  306. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/06_multi_agent/run_supervisor.py +0 -0
  307. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/07_simulation/agent_blue.yaml +0 -0
  308. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/07_simulation/agent_con.yaml +0 -0
  309. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/07_simulation/agent_pro.yaml +0 -0
  310. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/07_simulation/agent_red.yaml +0 -0
  311. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/07_simulation/run_debate.py +0 -0
  312. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/07_simulation/run_redblue.py +0 -0
  313. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/examples/README.md +0 -0
  314. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/llms.txt +0 -0
  315. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/__init__.py +0 -0
  316. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/api/__init__.py +0 -0
  317. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/api/test_api_chat.py +0 -0
  318. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/boundaries/__init__.py +0 -0
  319. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/boundaries/test_core_dependency_boundaries.py +0 -0
  320. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/boundaries/test_engine_boundaries.py +0 -0
  321. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/boundaries/test_engine_boundary_matrix.py +0 -0
  322. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/boundaries/test_engine_plugin_boundaries.py +0 -0
  323. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/boundaries/test_init_exports.py +0 -0
  324. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/boundaries/test_pyproject_deps.py +0 -0
  325. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/conftest.py +0 -0
  326. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/__init__.py +0 -0
  327. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/test_context.py +0 -0
  328. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/test_context_layers.py +0 -0
  329. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/test_dispatcher_architecture.py +0 -0
  330. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/test_errors.py +0 -0
  331. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/test_event_categories.py +0 -0
  332. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/test_events.py +0 -0
  333. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/test_execution_config_workspace.py +0 -0
  334. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/test_executor_checkpoint.py +0 -0
  335. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/test_realtime_stream.py +0 -0
  336. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/test_schema.py +0 -0
  337. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/core/test_stream_aggregator.py +0 -0
  338. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/engine/__init__.py +0 -0
  339. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/engine/test_engine.py +0 -0
  340. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/engine/test_engine_dispatcher_lifecycle.py +0 -0
  341. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/llm/__init__.py +0 -0
  342. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/llm/test_llm_caller_retry.py +0 -0
  343. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/llm/test_provider.py +0 -0
  344. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/observability/__init__.py +0 -0
  345. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/observability/test_audit.py +0 -0
  346. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/observability/test_logging.py +0 -0
  347. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/planning/__init__.py +0 -0
  348. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/planning/test_plan_runtime.py +0 -0
  349. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/planning/test_por_checkpointing.py +0 -0
  350. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/planning/test_por_graph_runtime.py +0 -0
  351. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/__init__.py +0 -0
  352. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_builtin_tools_tooloutput.py +0 -0
  353. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_collaboration_plugin.py +0 -0
  354. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_compress_tooloutput.py +0 -0
  355. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_graph_store.py +0 -0
  356. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_hooks_and_hitl.py +0 -0
  357. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_knowledge_plugin.py +0 -0
  358. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_lightweight_guards.py +0 -0
  359. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_mcp_plugin.py +0 -0
  360. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_mcp_transports.py +0 -0
  361. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_memory_core.py +0 -0
  362. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_memory_plugin.py +0 -0
  363. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_output_format_service.py +0 -0
  364. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_plugin_context_workspace.py +0 -0
  365. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_plugin_dependencies.py +0 -0
  366. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_plugin_isolation.py +0 -0
  367. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_plugin_post_tool_call.py +0 -0
  368. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_skill_plugin.py +0 -0
  369. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_swarm_plugin.py +0 -0
  370. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/plugins/test_vector_store_capacity.py +0 -0
  371. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/runtime/__init__.py +0 -0
  372. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/runtime/test_capability_gate.py +0 -0
  373. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/runtime/test_checkpoint.py +0 -0
  374. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/runtime/test_concurrency.py +0 -0
  375. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/runtime/test_policy.py +0 -0
  376. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/runtime/test_sandbox.py +0 -0
  377. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/runtime/test_security_risk.py +0 -0
  378. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/sidecar/__init__.py +0 -0
  379. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/sidecar/test_eval_framework.py +0 -0
  380. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/sidecar/test_multi_agent_modes.py +0 -0
  381. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/sidecar/test_orchestration_service.py +0 -0
  382. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/sidecar/test_sidecar_agent_ops.py +0 -0
  383. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/sidecar/test_simulation_kernel.py +0 -0
  384. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/storage/__init__.py +0 -0
  385. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/storage/test_storage.py +0 -0
  386. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/tools/__init__.py +0 -0
  387. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/tools/test_decorator_tooloutput.py +0 -0
  388. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/tools/test_orchestrator_tool_context.py +0 -0
  389. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/tools/test_tool_context.py +0 -0
  390. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/tools/test_tool_orchestrator_timeout.py +0 -0
  391. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/tools/test_tool_output_integration.py +0 -0
  392. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/tools/test_tool_validation.py +0 -0
  393. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/tools/test_tooloutput_protocol.py +0 -0
  394. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/tools/test_tools.py +0 -0
  395. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/utils/__init__.py +0 -0
  396. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/utils/test_math_utils.py +0 -0
  397. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/workflow/__init__.py +0 -0
  398. {axc_agent_engine-2.0 → axc_agent_engine-2.1.0}/tests/workflow/test_workflow_runtime.py +0 -0
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: axc-agent-engine
3
- Version: 2.0
3
+ Version: 2.1.0
4
4
  Summary: Agent execution engine with Plan-Observe-Replan (POR) and plugin architecture
5
- Project-URL: Homepage, https://github.com/axcteam/axc-agent-engine
6
- Project-URL: Documentation, https://github.com/axcteam/axc-agent-engine#readme
7
- Project-URL: Repository, https://github.com/axcteam/axc-agent-engine
8
- Project-URL: Issues, https://github.com/axcteam/axc-agent-engine/issues
5
+ Project-URL: Homepage, https://github.com/axclogo/AxcAgentEngine
6
+ Project-URL: Documentation, https://github.com/axclogo/AxcAgentEngine#readme
7
+ Project-URL: Repository, https://github.com/axclogo/AxcAgentEngine
8
+ Project-URL: Issues, https://github.com/axclogo/AxcAgentEngine/issues
9
9
  Author: AxcTeam
10
10
  License-Expression: Apache-2.0
11
11
  License-File: LICENSE
@@ -55,7 +55,8 @@ Description-Content-Type: text/markdown
55
55
  </p>
56
56
 
57
57
  <p align="center">
58
- <img src="https://img.shields.io/badge/python-3.10%2B-blue" alt="python"/>
58
+ <img src="https://img.shields.io/badge/python-3.11%2B-blue" alt="python"/>
59
+ <img src="https://img.shields.io/pypi/v/axc-agent-engine" alt="pypi"/>
59
60
  <img src="https://img.shields.io/badge/license-Apache--2.0-green" alt="license"/>
60
61
  <img src="https://img.shields.io/badge/API-OpenAI%20compatible-orange" alt="api"/>
61
62
  </p>
@@ -82,9 +83,17 @@ AxcAgentEngine adds **POR (Plan-Observe-Replan)** on top of ReAct: the agent pro
82
83
 
83
84
  ```bash
84
85
  pip install axc-agent-engine
85
- ```
86
86
 
87
+ # Pin the current 2.0 release
88
+ pip install axc-agent-engine==2.0
89
+
90
+ # Optional extras
91
+ pip install "axc-agent-engine[api]"
92
+ pip install "axc-agent-engine[workflow]"
93
+ pip install "axc-agent-engine[api,knowledge,workflow]"
94
+ ```
87
95
 
96
+ Requires Python 3.11 or newer.
88
97
 
89
98
  ```python
90
99
  from axc_agent_engine import Engine, LLMConfig, PluginRegistry
@@ -123,7 +132,7 @@ async for event in agent.stream("Build a REST API for user management"):
123
132
  - **ReAct executor** - standard think / call / observe loop
124
133
  - **Plugin system** - built-in spec registry, YAML-driven loading; optional capabilities live in plugins
125
134
  - **Tool protocol** - every tool returns `ToolOutput`; read-only runs concurrent, write serial; safe function-name mapping
126
- - **Durable workflow** - `WorkflowRuntime` + `CheckpointStore` + Agent resume API
135
+ - **Durable workflow** - `WorkflowRuntime` + `CheckpointStore` + Agent resume API; Burr is optional via `axc-agent-engine[workflow]`
127
136
  - **OpenAI compatible** - provider protocol + OpenAI-compatible HTTP client and API subset
128
137
  - **Memory & knowledge** - four-layer memory (KV, dedup, decay, graph hooks) + semantic chunking + vector/BM25 hybrid retrieval
129
138
  - **MCP** - stdio, JSON-RPC HTTP, official SDK transports
@@ -137,7 +146,7 @@ async for event in agent.stream("Build a REST API for user management"):
137
146
  | --- | --- |
138
147
  | ReAct loop | `Executor` |
139
148
  | POR planning | `auto` / `react_only` / `por_first` |
140
- | Durable workflow | `WorkflowRuntime` + `CheckpointStore` + Agent resume |
149
+ | Durable workflow | `MemoryWorkflowRuntime` by default; optional `BurrWorkflowRuntime` via `axc-agent-engine[workflow]` |
141
150
  | Plugin system | spec registry + YAML-driven loading |
142
151
  | LLM provider | provider protocol + OpenAI-compatible HTTP |
143
152
  | Parallel tools | read concurrent, write serial |
@@ -364,27 +373,48 @@ flowchart TD
364
373
  A["User message"] --> B["Agent.chat() / Agent.stream()"]
365
374
  B --> C["ExecutionContext"]
366
375
  C --> D["Executor"]
367
- D --> E["MessageStore"]
368
- E --> F["Plugin hooks"]
369
- F --> G["LLM call"]
370
- G --> H["TransactionRouter"]
371
- H -->|final answer| I["done event"]
372
- H -->|tool calls| J["Tool pipeline"]
373
- J --> E
374
- H -->|plan| K["PORRunner"]
375
- K --> I
376
+ D --> E["ExecutionRunLifecycle + checkpoints"]
377
+ D --> F["ReActKernel"]
378
+ F --> G["MessageStore"]
379
+ F --> H["Plugin hooks"]
380
+ F --> I["LLMCaller"]
381
+ I --> J["TransactionRouter"]
382
+ J -->|final answer| K["done event"]
383
+ J -->|tool calls| L["Tool pipeline"]
384
+ L --> G
385
+ J -->|plan or por_first| M["PORRunner"]
386
+ M --> N["PORGraphRuntime (pydantic_graph)"]
387
+ N --> K
376
388
  ```
377
389
 
378
390
  ## Plugin Development
379
391
 
380
392
  ```python
381
393
  from axc_agent_engine import BasePlugin, ToolDefinition, ToolOutput
394
+ from axc_agent_engine.plugins.config_schema import config_field, config_schema
382
395
 
383
396
  class MyPlugin(BasePlugin):
384
397
  name = "my_plugin"
385
398
  display_name = "My Plugin"
386
399
  priority = 30
387
400
  phase = "core"
401
+ config_schema = config_schema(
402
+ "my_plugin",
403
+ "My Plugin",
404
+ "Configuration for MyPlugin.",
405
+ [
406
+ config_field(
407
+ "api_url",
408
+ "接口地址",
409
+ "string",
410
+ "插件调用的后端接口地址。",
411
+ label_en="API URL",
412
+ default="http://localhost:5000",
413
+ required=True,
414
+ ),
415
+ ],
416
+ display_name_en="My Plugin",
417
+ )
388
418
 
389
419
  def initialize(self, config: dict, ctx) -> None:
390
420
  super().initialize(config, ctx)
@@ -405,7 +435,9 @@ class MyPlugin(BasePlugin):
405
435
  return ToolOutput.text(f"Result for {args['query']}")
406
436
  ```
407
437
 
408
- Plugins must inherit `BasePlugin`, and tools must be returned as `ToolDefinition` instances. `ToolRegistry` does not accept dicts.
438
+ Plugins must inherit `BasePlugin`, declare `config_schema`, and return tools as `ToolDefinition` instances. `ToolRegistry` does not accept dicts.
439
+
440
+ Hosts can inspect registered plugin schemas through `registry.list_plugin_config_schemas()` or `registry.get_plugin_config_schema("my_plugin")`. The schema is for UI, templates, default display, and optional validation; YAML extra keys are still passed to `initialize(config, ctx)`.
409
441
 
410
442
  ```yaml
411
443
  plugins:
@@ -430,11 +462,14 @@ CLI logging flags are global and must be placed before the subcommand.
430
462
 
431
463
  ## Design Decisions
432
464
 
433
- - **Engine core = Executor + LLMCaller.** Reads Agent YAML, calls LLM providers, runs the loop, emits events/results.
465
+ - **Engine core = Executor + ReActKernel + LLMCaller.** Reads Agent YAML, calls LLM providers, runs the ReAct loop, emits events/results.
466
+ - **POR state transitions live in pydantic-graph.** `PORGraphRuntime` owns the plan/step/observe/replan loop; services execute work and persist checkpoints.
467
+ - **Workflow resume is a runtime boundary.** `MemoryWorkflowRuntime` is the default; `BurrWorkflowRuntime` is selected when the optional workflow dependency is installed.
434
468
  - **Plugins are the runtime extension boundary.** Knowledge, memory, graph, MCP, output repair, skills belong in plugins.
435
469
  - **Orchestration is sidecar.** Multi-agent sessions, simulation, mode adapters are host-driven.
436
470
  - **Evaluation is sidecar.** EvalRunner, stores, matchers, reports are host-driven test framework pieces.
437
471
  - **Registration is not loading.** The spec registry is the full plugin table; agents load only YAML-enabled plugins.
472
+ - **Plugin schema is mandatory.** A plugin without `config_schema` cannot be registered.
438
473
  - **Tools come from plugins.** The engine core embeds no business tools.
439
474
  - **Tools must return `ToolOutput`.** Non-`ToolOutput` returns are rejected.
440
475
  - **Tool definitions must be `ToolDefinition`.** No dicts.
@@ -446,4 +481,7 @@ CLI logging flags are global and must be placed before the subcommand.
446
481
 
447
482
  ```bash
448
483
  python3 -m pytest -q
484
+ python3 -m pytest --cov --cov-report=term-missing:skip-covered -q
449
485
  ```
486
+
487
+ The release gate requires at least 90% total coverage.
@@ -5,7 +5,8 @@
5
5
  </p>
6
6
 
7
7
  <p align="center">
8
- <img src="https://img.shields.io/badge/python-3.10%2B-blue" alt="python"/>
8
+ <img src="https://img.shields.io/badge/python-3.11%2B-blue" alt="python"/>
9
+ <img src="https://img.shields.io/pypi/v/axc-agent-engine" alt="pypi"/>
9
10
  <img src="https://img.shields.io/badge/license-Apache--2.0-green" alt="license"/>
10
11
  <img src="https://img.shields.io/badge/API-OpenAI%20compatible-orange" alt="api"/>
11
12
  </p>
@@ -32,9 +33,17 @@ AxcAgentEngine adds **POR (Plan-Observe-Replan)** on top of ReAct: the agent pro
32
33
 
33
34
  ```bash
34
35
  pip install axc-agent-engine
35
- ```
36
36
 
37
+ # Pin the current 2.0 release
38
+ pip install axc-agent-engine==2.0
39
+
40
+ # Optional extras
41
+ pip install "axc-agent-engine[api]"
42
+ pip install "axc-agent-engine[workflow]"
43
+ pip install "axc-agent-engine[api,knowledge,workflow]"
44
+ ```
37
45
 
46
+ Requires Python 3.11 or newer.
38
47
 
39
48
  ```python
40
49
  from axc_agent_engine import Engine, LLMConfig, PluginRegistry
@@ -73,7 +82,7 @@ async for event in agent.stream("Build a REST API for user management"):
73
82
  - **ReAct executor** - standard think / call / observe loop
74
83
  - **Plugin system** - built-in spec registry, YAML-driven loading; optional capabilities live in plugins
75
84
  - **Tool protocol** - every tool returns `ToolOutput`; read-only runs concurrent, write serial; safe function-name mapping
76
- - **Durable workflow** - `WorkflowRuntime` + `CheckpointStore` + Agent resume API
85
+ - **Durable workflow** - `WorkflowRuntime` + `CheckpointStore` + Agent resume API; Burr is optional via `axc-agent-engine[workflow]`
77
86
  - **OpenAI compatible** - provider protocol + OpenAI-compatible HTTP client and API subset
78
87
  - **Memory & knowledge** - four-layer memory (KV, dedup, decay, graph hooks) + semantic chunking + vector/BM25 hybrid retrieval
79
88
  - **MCP** - stdio, JSON-RPC HTTP, official SDK transports
@@ -87,7 +96,7 @@ async for event in agent.stream("Build a REST API for user management"):
87
96
  | --- | --- |
88
97
  | ReAct loop | `Executor` |
89
98
  | POR planning | `auto` / `react_only` / `por_first` |
90
- | Durable workflow | `WorkflowRuntime` + `CheckpointStore` + Agent resume |
99
+ | Durable workflow | `MemoryWorkflowRuntime` by default; optional `BurrWorkflowRuntime` via `axc-agent-engine[workflow]` |
91
100
  | Plugin system | spec registry + YAML-driven loading |
92
101
  | LLM provider | provider protocol + OpenAI-compatible HTTP |
93
102
  | Parallel tools | read concurrent, write serial |
@@ -314,27 +323,48 @@ flowchart TD
314
323
  A["User message"] --> B["Agent.chat() / Agent.stream()"]
315
324
  B --> C["ExecutionContext"]
316
325
  C --> D["Executor"]
317
- D --> E["MessageStore"]
318
- E --> F["Plugin hooks"]
319
- F --> G["LLM call"]
320
- G --> H["TransactionRouter"]
321
- H -->|final answer| I["done event"]
322
- H -->|tool calls| J["Tool pipeline"]
323
- J --> E
324
- H -->|plan| K["PORRunner"]
325
- K --> I
326
+ D --> E["ExecutionRunLifecycle + checkpoints"]
327
+ D --> F["ReActKernel"]
328
+ F --> G["MessageStore"]
329
+ F --> H["Plugin hooks"]
330
+ F --> I["LLMCaller"]
331
+ I --> J["TransactionRouter"]
332
+ J -->|final answer| K["done event"]
333
+ J -->|tool calls| L["Tool pipeline"]
334
+ L --> G
335
+ J -->|plan or por_first| M["PORRunner"]
336
+ M --> N["PORGraphRuntime (pydantic_graph)"]
337
+ N --> K
326
338
  ```
327
339
 
328
340
  ## Plugin Development
329
341
 
330
342
  ```python
331
343
  from axc_agent_engine import BasePlugin, ToolDefinition, ToolOutput
344
+ from axc_agent_engine.plugins.config_schema import config_field, config_schema
332
345
 
333
346
  class MyPlugin(BasePlugin):
334
347
  name = "my_plugin"
335
348
  display_name = "My Plugin"
336
349
  priority = 30
337
350
  phase = "core"
351
+ config_schema = config_schema(
352
+ "my_plugin",
353
+ "My Plugin",
354
+ "Configuration for MyPlugin.",
355
+ [
356
+ config_field(
357
+ "api_url",
358
+ "接口地址",
359
+ "string",
360
+ "插件调用的后端接口地址。",
361
+ label_en="API URL",
362
+ default="http://localhost:5000",
363
+ required=True,
364
+ ),
365
+ ],
366
+ display_name_en="My Plugin",
367
+ )
338
368
 
339
369
  def initialize(self, config: dict, ctx) -> None:
340
370
  super().initialize(config, ctx)
@@ -355,7 +385,9 @@ class MyPlugin(BasePlugin):
355
385
  return ToolOutput.text(f"Result for {args['query']}")
356
386
  ```
357
387
 
358
- Plugins must inherit `BasePlugin`, and tools must be returned as `ToolDefinition` instances. `ToolRegistry` does not accept dicts.
388
+ Plugins must inherit `BasePlugin`, declare `config_schema`, and return tools as `ToolDefinition` instances. `ToolRegistry` does not accept dicts.
389
+
390
+ Hosts can inspect registered plugin schemas through `registry.list_plugin_config_schemas()` or `registry.get_plugin_config_schema("my_plugin")`. The schema is for UI, templates, default display, and optional validation; YAML extra keys are still passed to `initialize(config, ctx)`.
359
391
 
360
392
  ```yaml
361
393
  plugins:
@@ -380,11 +412,14 @@ CLI logging flags are global and must be placed before the subcommand.
380
412
 
381
413
  ## Design Decisions
382
414
 
383
- - **Engine core = Executor + LLMCaller.** Reads Agent YAML, calls LLM providers, runs the loop, emits events/results.
415
+ - **Engine core = Executor + ReActKernel + LLMCaller.** Reads Agent YAML, calls LLM providers, runs the ReAct loop, emits events/results.
416
+ - **POR state transitions live in pydantic-graph.** `PORGraphRuntime` owns the plan/step/observe/replan loop; services execute work and persist checkpoints.
417
+ - **Workflow resume is a runtime boundary.** `MemoryWorkflowRuntime` is the default; `BurrWorkflowRuntime` is selected when the optional workflow dependency is installed.
384
418
  - **Plugins are the runtime extension boundary.** Knowledge, memory, graph, MCP, output repair, skills belong in plugins.
385
419
  - **Orchestration is sidecar.** Multi-agent sessions, simulation, mode adapters are host-driven.
386
420
  - **Evaluation is sidecar.** EvalRunner, stores, matchers, reports are host-driven test framework pieces.
387
421
  - **Registration is not loading.** The spec registry is the full plugin table; agents load only YAML-enabled plugins.
422
+ - **Plugin schema is mandatory.** A plugin without `config_schema` cannot be registered.
388
423
  - **Tools come from plugins.** The engine core embeds no business tools.
389
424
  - **Tools must return `ToolOutput`.** Non-`ToolOutput` returns are rejected.
390
425
  - **Tool definitions must be `ToolDefinition`.** No dicts.
@@ -396,4 +431,7 @@ CLI logging flags are global and must be placed before the subcommand.
396
431
 
397
432
  ```bash
398
433
  python3 -m pytest -q
434
+ python3 -m pytest --cov --cov-report=term-missing:skip-covered -q
399
435
  ```
436
+
437
+ The release gate requires at least 90% total coverage.
@@ -5,7 +5,8 @@
5
5
  </p>
6
6
 
7
7
  <p align="center">
8
- <img src="https://img.shields.io/badge/python-3.10%2B-blue" alt="python"/>
8
+ <img src="https://img.shields.io/badge/python-3.11%2B-blue" alt="python"/>
9
+ <img src="https://img.shields.io/pypi/v/axc-agent-engine" alt="pypi"/>
9
10
  <img src="https://img.shields.io/badge/license-Apache--2.0-green" alt="license"/>
10
11
  <img src="https://img.shields.io/badge/API-OpenAI%20compatible-orange" alt="api"/>
11
12
  </p>
@@ -32,9 +33,17 @@ AxcAgentEngine 在 ReAct 之外加了 **POR(Plan-Observe-Replan)**:先生
32
33
 
33
34
  ```bash
34
35
  pip install axc-agent-engine
35
- ```
36
36
 
37
+ # 固定安装当前 2.0 版本
38
+ pip install axc-agent-engine==2.0
39
+
40
+ # 可选能力
41
+ pip install "axc-agent-engine[api]"
42
+ pip install "axc-agent-engine[workflow]"
43
+ pip install "axc-agent-engine[api,knowledge,workflow]"
44
+ ```
37
45
 
46
+ 需要 Python 3.11 或更高版本。
38
47
 
39
48
  ```python
40
49
  from axc_agent_engine import Engine, LLMConfig, PluginRegistry
@@ -74,7 +83,7 @@ async for event in agent.stream("Build a REST API for user management"):
74
83
  - **ReAct 执行器** —— 思考、工具调用、观察的标准循环
75
84
  - **插件体系** —— 内置 spec 注册表,YAML 按需加载;可选能力都在插件里
76
85
  - **工具协议** —— 所有工具返回 `ToolOutput`;只读并发,写串行;模型函数名安全映射
77
- - **中断恢复** —— `WorkflowRuntime` + `CheckpointStore` + Agent resume API
86
+ - **中断恢复** —— `WorkflowRuntime` + `CheckpointStore` + Agent resume API;Burr 通过 `axc-agent-engine[workflow]` 可选启用
78
87
  - **OpenAI API 子集** —— Provider 协议 + OpenAI-compatible HTTP 客户端 / API 子集
79
88
  - **记忆与知识** —— 四层记忆(KV、去重、衰减、图 hook)+ 语义分块 + 向量/BM25 混合检索
80
89
  - **MCP** —— stdio、JSON-RPC HTTP、官方 SDK transport
@@ -88,7 +97,7 @@ async for event in agent.stream("Build a REST API for user management"):
88
97
  | --- | --- |
89
98
  | ReAct 循环 | `Executor` |
90
99
  | POR 规划 | `auto` / `react_only` / `por_first` |
91
- | 中断恢复 | `WorkflowRuntime` + `CheckpointStore` + Agent resume |
100
+ | 中断恢复 | 默认 `MemoryWorkflowRuntime`;安装 `axc-agent-engine[workflow]` 后可使用 `BurrWorkflowRuntime` |
92
101
  | 插件系统 | spec 注册表 + YAML 按需加载 |
93
102
  | LLM Provider | Provider 协议 + OpenAI-compatible HTTP |
94
103
  | 并行工具 | 只读并发,写串行 |
@@ -293,27 +302,48 @@ flowchart TD
293
302
  A["用户消息"] --> B["Agent.chat() / Agent.stream()"]
294
303
  B --> C["ExecutionContext"]
295
304
  C --> D["Executor"]
296
- D --> E["MessageStore"]
297
- E --> F["Plugin hooks"]
298
- F --> G["LLM 调用"]
299
- G --> H["TransactionRouter"]
300
- H -->|最终回答| I["done event"]
301
- H -->|工具调用| J["工具流水线"]
302
- J --> E
303
- H -->|计划| K["PORRunner"]
304
- K --> I
305
+ D --> E["ExecutionRunLifecycle + checkpoints"]
306
+ D --> F["ReActKernel"]
307
+ F --> G["MessageStore"]
308
+ F --> H["Plugin hooks"]
309
+ F --> I["LLMCaller"]
310
+ I --> J["TransactionRouter"]
311
+ J -->|最终回答| K["done event"]
312
+ J -->|工具调用| L["工具流水线"]
313
+ L --> G
314
+ J -->|plan 或 por_first| M["PORRunner"]
315
+ M --> N["PORGraphRuntime (pydantic_graph)"]
316
+ N --> K
305
317
  ```
306
318
 
307
319
  ## 插件开发
308
320
 
309
321
  ```python
310
322
  from axc_agent_engine import BasePlugin, ToolDefinition, ToolOutput
323
+ from axc_agent_engine.plugins.config_schema import config_field, config_schema
311
324
 
312
325
  class MyPlugin(BasePlugin):
313
326
  name = "my_plugin"
314
327
  display_name = "My Plugin"
315
328
  priority = 30
316
329
  phase = "core"
330
+ config_schema = config_schema(
331
+ "my_plugin",
332
+ "我的插件",
333
+ "配置示例。",
334
+ [
335
+ config_field(
336
+ "api_url",
337
+ "接口地址",
338
+ "string",
339
+ "插件调用的后端接口地址。",
340
+ label_en="API URL",
341
+ default="http://localhost:5000",
342
+ required=True,
343
+ ),
344
+ ],
345
+ display_name_en="My Plugin",
346
+ )
317
347
 
318
348
  def initialize(self, config: dict, ctx) -> None:
319
349
  super().initialize(config, ctx)
@@ -334,7 +364,9 @@ class MyPlugin(BasePlugin):
334
364
  return ToolOutput.text(f"Result for {args['query']}")
335
365
  ```
336
366
 
337
- 插件必须继承 `BasePlugin`,工具必须返回 `ToolDefinition` 实例,`ToolRegistry` 不接受 dict。
367
+ 插件必须继承 `BasePlugin`,必须声明 `config_schema`,工具必须返回 `ToolDefinition` 实例,`ToolRegistry` 不接受 dict。
368
+
369
+ 宿主可以通过 `registry.list_plugin_config_schemas()` 或 `registry.get_plugin_config_schema("my_plugin")` 读取已注册插件 schema。schema 用于前端展示、模板生成、默认值展示和可选校验;YAML 中的额外 key 仍会传给 `initialize(config, ctx)`。
338
370
 
339
371
  ```yaml
340
372
  plugins:
@@ -359,7 +391,9 @@ CLI 日志参数是全局参数,需要放在子命令前。
359
391
 
360
392
  ## 设计决策
361
393
 
362
- - **Engine core = Executor + LLMCaller。** 读取 Agent YAML,调用 LLM Provider,运行循环,输出事件和结果。
394
+ - **Engine core = Executor + ReActKernel + LLMCaller。** 读取 Agent YAML,调用 LLM Provider,运行 ReAct 循环,输出事件和结果。
395
+ - **POR 状态转移交给 pydantic-graph。** `PORGraphRuntime` 负责 plan/step/observe/replan 循环;service 负责执行和 checkpoint。
396
+ - **Workflow resume 是运行时边界。** 默认使用 `MemoryWorkflowRuntime`;安装 workflow 可选依赖后可选择 `BurrWorkflowRuntime`。
363
397
  - **插件是运行时扩展边界。** 知识库、记忆、图谱、MCP、输出修复、Skill 都属于插件。
364
398
  - **推演是旁路。** 多 Agent session、simulation kernel、mode adapter 是宿主驱动 SDK 能力。
365
399
  - **评测是旁路。** EvalRunner、EvalStore、AnnotationStore、AnnotationMatcher 和 report 是宿主驱动测试框架。
@@ -375,4 +409,7 @@ CLI 日志参数是全局参数,需要放在子命令前。
375
409
 
376
410
  ```bash
377
411
  python3 -m pytest -q
412
+ python3 -m pytest --cov --cov-report=term-missing:skip-covered -q
378
413
  ```
414
+
415
+ 发布门禁要求总覆盖率不低于 90%。
@@ -23,26 +23,26 @@ from axc_agent_engine.runtime.resources import (
23
23
  )
24
24
 
25
25
  __all__ = [
26
- # 核心公开 API
26
+ #English: Bilingual note. 中文:核心公开 API
27
27
  "Engine", "LLMConfig", "Agent", "Event", "EventType",
28
28
  "ConcurrencyConfig", "ExecutionLimiter", "RateLimiter", "SessionExecutionGate",
29
- # 审计与错误
29
+ #English: Source note. 中文:审计与错误
30
30
  "AuditEvent", "AuditEventType", "InMemoryAuditSink", "ErrorEnvelope", "ErrorCategory",
31
- # durable execution
31
+ #English: durable execution 中文:源码说明。
32
32
  "Checkpoint", "CheckpointStatus", "CheckpointStore", "InMemoryCheckpointStore",
33
- # policy
33
+ #English: policy 中文:源码说明。
34
34
  "CapabilityPolicyEvaluator", "PolicyDecision", "PolicyEvaluator", "PolicyRequest",
35
35
  # LLM 响应模型
36
36
  "LLMMessage", "LLMUsage", "LLMResponse", "LLMStreamChunk",
37
- # 能力模型
37
+ #English: Source note. 中文:能力模型
38
38
  "Capability",
39
- # 工具输出
39
+ #English: Source note. 中文:工具输出
40
40
  "ToolOutput", "ArtifactRef", "ResultStore",
41
- # 输入和共享资源边界
41
+ #English: Source note. 中文:输入和共享资源边界
42
42
  "InputProviderResult", "InputProvider", "PassthroughInputProvider",
43
43
  "ResourceRegistry", "ResourceError", "ResourceNotFoundError",
44
44
  "ResourceTypeError", "DuplicateResourceError",
45
- # 插件开发
45
+ #English: Source note. 中文:插件开发
46
46
  "BasePlugin", "PluginRegistry", "ToolDefinition", "tool",
47
47
  ]
48
48
 
@@ -50,4 +50,4 @@ try:
50
50
  from importlib.metadata import version as _get_version
51
51
  __version__ = _get_version("axc-agent-engine")
52
52
  except Exception:
53
- __version__ = "2.0"
53
+ __version__ = "2.1.0"
@@ -189,7 +189,9 @@ class Agent:
189
189
  run_options: dict | None = None,
190
190
  metadata: dict | None = None,
191
191
  ) -> str:
192
- """非流式对话。
192
+ """English: Bilingual documentation follows.
193
+ 中文:以下为双语文档说明。
194
+ 非流式对话。
193
195
 
194
196
  English: Run a non-streaming chat turn and return the final assistant text.
195
197
  """
@@ -209,7 +211,9 @@ class Agent:
209
211
  llm_options: dict | None = None,
210
212
  run_options: dict | None = None,
211
213
  ) -> str:
212
- """接受结构化消息列表的非流式对话。
214
+ """English: Bilingual documentation follows.
215
+ 中文:以下为双语文档说明。
216
+ 接受结构化消息列表的非流式对话。
213
217
 
214
218
  English: Run a non-streaming chat turn from a structured message list.
215
219
  """
@@ -230,7 +234,9 @@ class Agent:
230
234
  llm_options: dict | None = None,
231
235
  run_options: dict | None = None,
232
236
  ) -> AsyncIterator[Event]:
233
- """流式对话。
237
+ """English: Bilingual documentation follows.
238
+ 中文:以下为双语文档说明。
239
+ 流式对话。
234
240
 
235
241
  English: Stream execution events for one chat turn.
236
242
  """
@@ -249,7 +255,9 @@ class Agent:
249
255
  llm_options: dict | None = None,
250
256
  run_options: dict | None = None,
251
257
  ) -> AsyncIterator[Event]:
252
- """接受结构化消息列表的流式对话。
258
+ """English: Bilingual documentation follows.
259
+ 中文:以下为双语文档说明。
260
+ 接受结构化消息列表的流式对话。
253
261
 
254
262
  English: Stream execution events from a structured message list.
255
263
  """
@@ -270,7 +278,9 @@ class Agent:
270
278
  llm_options: dict | None = None,
271
279
  run_options: dict | None = None,
272
280
  ) -> str:
273
- """非流式恢复执行级 checkpoint。"""
281
+ """English: Bilingual documentation follows.
282
+ 中文:以下为双语文档说明。
283
+ 非流式恢复执行级 checkpoint。"""
274
284
  from axc_agent_engine.core.errors import ProviderError
275
285
  result = ""
276
286
  async for event in self.resume_stream(run_id, message=message, llm_options=llm_options, run_options=run_options):
@@ -287,7 +297,9 @@ class Agent:
287
297
  llm_options: dict | None = None,
288
298
  run_options: dict | None = None,
289
299
  ) -> AsyncIterator[Event]:
290
- """通过 WorkflowRuntime 恢复 execution/round 或 POR checkpoint。"""
300
+ """English: Bilingual documentation follows.
301
+ 中文:以下为双语文档说明。
302
+ 通过 WorkflowRuntime 恢复 execution/round 或 POR checkpoint。"""
291
303
  request = WorkflowResumeRequest(
292
304
  run_id=run_id,
293
305
  message=message,
@@ -304,7 +316,8 @@ class Agent:
304
316
  llm_options: dict | None = None,
305
317
  run_options: dict | None = None,
306
318
  ) -> AsyncIterator[Event]:
307
- """Resume from a WorkflowRuntime-owned plan."""
319
+ """Resume from a WorkflowRuntime-owned plan.
320
+ 中文:此文档说明相关引擎组件的行为。"""
308
321
  if plan.kind == "missing":
309
322
  yield Event.error("CheckpointStore is required for resume")
310
323
  return
@@ -332,14 +345,16 @@ class Agent:
332
345
  return await self._session_manager.get(session_id)
333
346
 
334
347
  async def reset_session(self, session_id: str = "") -> None:
335
- """重置指定会话,空字符串清除所有"""
348
+ """English: This documentation describes the related engine component behavior.
349
+ 中文:重置指定会话,空字符串清除所有"""
336
350
  if session_id:
337
351
  await self._session_manager.remove(session_id)
338
352
  else:
339
353
  await self._session_manager.clear()
340
354
 
341
355
  async def close(self) -> None:
342
- """并行释放所有插件资源,带超时。"""
356
+ """English: This documentation describes the related engine component behavior.
357
+ 中文:并行释放所有插件资源,带超时。"""
343
358
  async def _close_plugin(plugin: BasePlugin) -> None:
344
359
  try:
345
360
  await asyncio.wait_for(plugin.close(), timeout=5.0)
@@ -356,7 +371,8 @@ class Agent:
356
371
  run_options: dict | None = None,
357
372
  metadata: dict | None = None,
358
373
  ) -> str:
359
- """统一非流式执行"""
374
+ """English: This documentation describes the related engine component behavior.
375
+ 中文:统一非流式执行"""
360
376
  from axc_agent_engine.core.errors import ProviderError
361
377
  result = ""
362
378
  async for event in self._execute_stream(
@@ -382,7 +398,8 @@ class Agent:
382
398
  run_options: dict | None = None,
383
399
  metadata: dict | None = None,
384
400
  ) -> AsyncIterator[Event]:
385
- """统一流式执行。"""
401
+ """English: This documentation describes the related engine component behavior.
402
+ 中文:统一流式执行。"""
386
403
  request = RunRequest.create(
387
404
  user_message=user_message,
388
405
  session_id=session_id,
@@ -401,18 +418,18 @@ class Agent:
401
418
  executor._ctx.state.metadata["input_artifacts"] = processed.artifacts
402
419
  if processed.metadata:
403
420
  executor._ctx.state.metadata["input_metadata"] = processed.metadata
404
- # 恢复会话上下文
421
+ #English: Source note. 中文:恢复会话上下文
405
422
  if request.session_id:
406
423
  session = await self._session_manager.get_or_create(request.session_id)
407
424
  self._session_manager.restore_context(session, executor.message_store)
408
- # 所有入口都走 InputProvider,因此统一注入标准 messages。
425
+ #English: Bilingual note. 中文:所有入口都走 InputProvider,因此统一注入标准 messages。
409
426
  if processed.messages:
410
427
  executor.message_store.extend(processed.messages)
411
428
  executor.skip_user_init = True
412
429
  executor._ctx.add_image_tokens(processed.messages)
413
430
  async for event in executor.run_stream(effective_user_message):
414
431
  yield event
415
- # 写回会话并持久化
432
+ #English: Source note. 中文:写回会话并持久化
416
433
  if request.session_id:
417
434
  session = await self._session_manager.get_or_create(request.session_id)
418
435
  session.messages = executor.message_store.get_all()
@@ -454,7 +471,8 @@ class Agent:
454
471
 
455
472
 
456
473
  def _content_to_text(content: Any) -> str:
457
- """Extract a textual goal from string or OpenAI-compatible multimodal content."""
474
+ """Extract a textual goal from string or OpenAI-compatible multimodal content.
475
+ 中文:此文档说明相关引擎组件的行为。"""
458
476
  if isinstance(content, str):
459
477
  return content
460
478
  if isinstance(content, list):
@@ -12,7 +12,9 @@ logger = logging.getLogger(__name__)
12
12
 
13
13
 
14
14
  def create_app(engine: Engine, agents_dir: str = "") -> FastAPI:
15
- """创建 FastAPI 应用"""
15
+ """English: Bilingual documentation follows.
16
+ 中文:以下为双语文档说明。
17
+ 创建 FastAPI 应用"""
16
18
  from fastapi import FastAPI
17
19
  from fastapi.responses import JSONResponse
18
20
  from starlette.requests import Request
@@ -24,7 +26,7 @@ def create_app(engine: Engine, agents_dir: str = "") -> FastAPI:
24
26
  CancelledError, SchemaError, ToolError,
25
27
  )
26
28
 
27
- app = FastAPI(title="AxcAgentEngine", version="2.0")
29
+ app = FastAPI(title="AxcAgentEngine", version="2.1.0")
28
30
  state = EngineState(engine=engine, agents_dir=agents_dir)
29
31
  app.state.engine_state = state
30
32
 
@@ -15,7 +15,9 @@ class EngineState:
15
15
  _agents: dict[str, Any] = field(default_factory=dict) # name -> Agent 缓存
16
16
 
17
17
  def get_agent(self, agent_name: str) -> Any:
18
- """获取或加载 Agent(按名称缓存)"""
18
+ """English: Bilingual documentation follows.
19
+ 中文:以下为双语文档说明。
20
+ 获取或加载 Agent(按名称缓存)"""
19
21
  if agent_name in self._agents:
20
22
  return self._agents[agent_name]
21
23
  yaml_path = self._resolve_yaml(agent_name)
@@ -26,7 +28,9 @@ class EngineState:
26
28
  return agent
27
29
 
28
30
  def list_agents(self) -> list[dict[str, str]]:
29
- """列出可用 Agent"""
31
+ """English: Bilingual documentation follows.
32
+ 中文:以下为双语文档说明。
33
+ 列出可用 Agent"""
30
34
  result = []
31
35
  for name, agent in self._agents.items():
32
36
  result.append({"name": name, "description": getattr(agent, "description", "")})
@@ -39,7 +43,9 @@ class EngineState:
39
43
  return result
40
44
 
41
45
  def _resolve_yaml(self, agent_name: str) -> str | None:
42
- """解析 Agent 名称为 YAML 路径"""
46
+ """English: Bilingual documentation follows.
47
+ 中文:以下为双语文档说明。
48
+ 解析 Agent 名称为 YAML 路径"""
43
49
  if os.path.exists(agent_name):
44
50
  return agent_name
45
51
  if self.agents_dir: