axc-agent-engine 2.3.2__tar.gz → 3.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (507) hide show
  1. axc_agent_engine-3.3.2/.pre-commit-config.yaml +21 -0
  2. axc_agent_engine-3.3.2/CHANGELOG.md +114 -0
  3. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/CONTRIBUTING.md +6 -5
  4. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/Makefile +6 -3
  5. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/PKG-INFO +89 -41
  6. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/README.md +83 -36
  7. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/README.zh-CN.md +82 -35
  8. axc_agent_engine-3.3.2/axc_agent_engine/__init__.py +90 -0
  9. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/_version.py +1 -1
  10. axc_agent_engine-3.3.2/axc_agent_engine/agent.py +687 -0
  11. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/api/app.py +16 -8
  12. axc_agent_engine-3.3.2/axc_agent_engine/api/deps.py +43 -0
  13. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/api/routes/chat.py +142 -100
  14. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/api/routes/health.py +2 -2
  15. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/cli.py +41 -36
  16. axc_agent_engine-3.3.2/axc_agent_engine/core/__init__.py +6 -0
  17. axc_agent_engine-3.3.2/axc_agent_engine/core/constants.py +28 -0
  18. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/context.py +83 -64
  19. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/dispatcher.py +59 -69
  20. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/errors.py +24 -30
  21. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/events.py +41 -44
  22. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/execution_run.py +48 -38
  23. axc_agent_engine-3.3.2/axc_agent_engine/core/executor.py +390 -0
  24. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/input_messages.py +3 -2
  25. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/llm_caller.py +88 -58
  26. axc_agent_engine-3.3.2/axc_agent_engine/core/message_store.py +142 -0
  27. axc_agent_engine-3.3.2/axc_agent_engine/core/plugin_manager.py +200 -0
  28. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/react_loop.py +40 -38
  29. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/run_context.py +36 -8
  30. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/run_request.py +12 -20
  31. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/schema.py +43 -31
  32. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/session.py +17 -4
  33. axc_agent_engine-3.3.2/axc_agent_engine/core/session_manager.py +170 -0
  34. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/stream_aggregator.py +19 -14
  35. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/stream_sink.py +3 -3
  36. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/engine.py +89 -72
  37. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/llm/__init__.py +1 -0
  38. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/llm/client.py +17 -21
  39. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/llm/config.py +2 -0
  40. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/llm/provider.py +10 -9
  41. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/llm/rate_limited.py +7 -7
  42. axc_agent_engine-3.3.2/axc_agent_engine/observability/__init__.py +1 -0
  43. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/observability/audit.py +9 -10
  44. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/observability/logging.py +9 -13
  45. axc_agent_engine-3.3.2/axc_agent_engine/planning/__init__.py +28 -0
  46. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/checkpointing.py +28 -40
  47. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/graph_nodes.py +8 -7
  48. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/graph_runtime.py +42 -22
  49. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/graph_state.py +5 -5
  50. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/observer.py +36 -21
  51. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/planner.py +31 -43
  52. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/planning_service.py +12 -15
  53. axc_agent_engine-3.3.2/axc_agent_engine/planning/por_runner.py +568 -0
  54. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/prompts.py +1 -2
  55. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/replanner.py +26 -20
  56. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/router.py +13 -17
  57. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/runtime.py +17 -5
  58. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/scheduler.py +8 -19
  59. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/step_executor.py +9 -6
  60. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/__init__.py +1 -0
  61. axc_agent_engine-3.3.2/axc_agent_engine/plugins/base.py +169 -0
  62. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/__init__.py +10 -4
  63. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/bm25.py +78 -0
  64. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/artifact_store.py +2 -2
  65. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/artifact_tools.py +2 -2
  66. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/command_tools.py +76 -35
  67. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/file_tools.py +103 -51
  68. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/http_tools.py +18 -16
  69. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/path_policy.py +5 -6
  70. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/plugin.py +35 -34
  71. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/builtin_tools/presenter.py +40 -0
  72. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/builtin_tools/tool_definitions.py +381 -0
  73. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/collaboration/plugin.py +117 -93
  74. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/common.py +101 -0
  75. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/context/__init__.py +1 -0
  76. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/context/boundary.py +120 -0
  77. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/file_cache.py +6 -8
  78. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/models.py +5 -8
  79. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/normalizer.py +4 -7
  80. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/packer.py +27 -15
  81. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/recall.py +9 -24
  82. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/recent_window.py +3 -4
  83. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/scoring.py +2 -2
  84. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/summarizer.py +5 -5
  85. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/tool_result.py +10 -9
  86. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/tool_summary.py +11 -11
  87. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/plugin.py +180 -162
  88. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/config_schemas.py +1173 -0
  89. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/cost_statistics/plugin.py +36 -31
  90. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/graph/audit.py +48 -0
  91. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/config.py +15 -15
  92. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/plugin.py +3 -2
  93. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/policy.py +1 -2
  94. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/presenter.py +4 -3
  95. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/service.py +37 -16
  96. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/source_loader.py +34 -16
  97. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/support.py +39 -18
  98. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/graph/tool_factory.py +161 -0
  99. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/tool_handlers.py +225 -34
  100. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/utils.py +3 -2
  101. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/hooks/plugin.py +36 -36
  102. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/human_in_the_loop/plugin.py +58 -60
  103. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/knowledge/plugin.py +72 -226
  104. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/knowledge/support/__init__.py +5 -5
  105. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/knowledge/support/chunker.py +14 -13
  106. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/knowledge/support/ingestion.py +21 -23
  107. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/knowledge/support/retrieval.py +162 -185
  108. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/mcp/plugin.py +45 -23
  109. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/mcp/support/__init__.py +6 -0
  110. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/mcp/support/connection.py +140 -0
  111. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/mcp/support/models.py +20 -0
  112. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/mcp/support/normalization.py +14 -0
  113. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/memory/plugin.py +454 -419
  114. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/memory/support/__init__.py +19 -19
  115. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/memory/support/graph.py +30 -22
  116. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/memory/support/retrieval.py +74 -0
  117. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/memory/support/service.py +83 -61
  118. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/output_format/plugin.py +48 -38
  119. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/output_format/support/__init__.py +2 -2
  120. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/output_format/support/service.py +48 -44
  121. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/post_process/plugin.py +12 -13
  122. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/reflexion/plugin.py +71 -0
  123. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/registry.py +9 -0
  124. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/repetition_guard/plugin.py +157 -0
  125. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/risk_guard/plugin.py +23 -18
  126. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/safety/plugin.py +29 -22
  127. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/sessions/__init__.py +29 -0
  128. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/sessions/notices.py +66 -0
  129. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/sessions/plugin.py +614 -0
  130. axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/sessions/protocol.py +96 -0
  131. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/skill/plugin.py +218 -215
  132. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/swarm/plugin.py +122 -91
  133. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/tracing/plugin.py +180 -193
  134. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/config_schema.py +39 -31
  135. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/context.py +44 -46
  136. axc_agent_engine-3.3.2/axc_agent_engine/plugins/loader.py +118 -0
  137. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/registry.py +21 -47
  138. axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategies/por.py +121 -0
  139. axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategies/react.py +73 -0
  140. axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategies/react_kernel.py +68 -0
  141. axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategy.py +199 -0
  142. axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategy_selection.py +24 -0
  143. axc_agent_engine-3.3.2/axc_agent_engine/plugins/testing.py +88 -0
  144. axc_agent_engine-3.3.2/axc_agent_engine/runtime/__init__.py +1 -0
  145. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/checkpoint.py +77 -17
  146. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/concurrency.py +32 -39
  147. axc_agent_engine-3.3.2/axc_agent_engine/runtime/inbox.py +102 -0
  148. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/input.py +5 -8
  149. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/policy.py +13 -13
  150. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/resources.py +8 -14
  151. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/risk.py +86 -25
  152. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/run_control.py +23 -2
  153. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/sandbox_code.py +18 -16
  154. axc_agent_engine-3.3.2/axc_agent_engine/runtime/sandbox_local.py +125 -0
  155. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/sandbox_models.py +14 -12
  156. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/sandbox_policy.py +4 -6
  157. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/sandbox_provider.py +3 -4
  158. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/sandbox_utils.py +2 -2
  159. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/sandbox_workspace.py +15 -14
  160. axc_agent_engine-3.3.2/axc_agent_engine/runtime/tasks.py +58 -0
  161. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/__init__.py +20 -10
  162. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/agent_selector/__init__.py +1 -0
  163. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/agent_selector/core.py +18 -27
  164. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/cost_optimizer/__init__.py +1 -0
  165. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/cost_optimizer/core.py +74 -67
  166. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/distiller/__init__.py +1 -0
  167. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/distiller/core.py +35 -43
  168. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/eval/__init__.py +5 -6
  169. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/eval/judge.py +10 -9
  170. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/eval/matcher.py +18 -30
  171. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/eval/report.py +17 -19
  172. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/eval/runner.py +38 -54
  173. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/eval/store.py +39 -46
  174. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/failure_miner/__init__.py +1 -0
  175. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/failure_miner/core.py +30 -34
  176. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/__init__.py +3 -2
  177. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/events.py +4 -3
  178. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/modes.py +41 -33
  179. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/persona.py +10 -11
  180. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/scheduler/__init__.py +1 -0
  181. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/scheduler/all_parallel.py +23 -0
  182. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/scheduler/debate.py +7 -14
  183. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/scheduler/protocols.py +23 -0
  184. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/scheduler/redblue.py +10 -20
  185. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/scheduler/round_robin.py +6 -9
  186. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/scheduler/supervisor.py +14 -28
  187. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/session.py +30 -45
  188. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/shared_context.py +69 -0
  189. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/simulation_session.py +35 -33
  190. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/stop_condition/__init__.py +1 -0
  191. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/stop_condition/causal_chain.py +1 -0
  192. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/stop_condition/consensus.py +1 -0
  193. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/stop_condition/goal_reached.py +1 -0
  194. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/stop_condition/llm_based.py +13 -14
  195. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/stop_condition/max_rounds.py +4 -5
  196. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/stop_condition/protocols.py +7 -11
  197. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/types.py +9 -14
  198. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/orchestration/__init__.py +1 -0
  199. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/orchestration/service.py +25 -32
  200. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/simulation/__init__.py +11 -12
  201. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/simulation/action_parser.py +13 -20
  202. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/simulation/adapters.py +11 -18
  203. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/simulation/defaults.py +28 -45
  204. axc_agent_engine-3.3.2/axc_agent_engine/sidecar/simulation/interfaces.py +80 -0
  205. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/simulation/models.py +44 -68
  206. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/simulation/modes.py +8 -10
  207. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/simulation/report.py +26 -36
  208. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/simulation/runner.py +29 -38
  209. axc_agent_engine-3.3.2/axc_agent_engine/storage/__init__.py +27 -0
  210. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/storage/artifact_store.py +9 -8
  211. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/storage/in_memory.py +74 -63
  212. axc_agent_engine-3.3.2/axc_agent_engine/storage/protocols.py +77 -0
  213. axc_agent_engine-3.3.2/axc_agent_engine/tools/__init__.py +1 -0
  214. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/audit.py +18 -16
  215. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/batches.py +5 -6
  216. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/context.py +15 -15
  217. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/decorator.py +15 -18
  218. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/executor.py +91 -56
  219. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/name_mapping.py +6 -10
  220. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/orchestrator.py +88 -36
  221. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/policy.py +13 -11
  222. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/registry.py +27 -35
  223. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/runtime.py +7 -7
  224. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/tool_output.py +22 -26
  225. axc_agent_engine-3.3.2/axc_agent_engine/tools/utils.py +43 -0
  226. axc_agent_engine-3.3.2/axc_agent_engine/utils/__init__.py +1 -0
  227. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/utils/json_utils.py +8 -10
  228. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/utils/math_utils.py +3 -4
  229. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/workflow/__init__.py +5 -5
  230. axc_agent_engine-3.3.2/axc_agent_engine/workflow/burr_runtime.py +60 -0
  231. axc_agent_engine-3.3.2/axc_agent_engine/workflow/factory.py +15 -0
  232. axc_agent_engine-3.3.2/axc_agent_engine/workflow/memory_runtime.py +88 -0
  233. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/workflow/protocols.py +4 -3
  234. axc_agent_engine-3.3.2/axc_agent_engine/workflow/state.py +104 -0
  235. axc_agent_engine-3.3.2/docs/API.md +138 -0
  236. axc_agent_engine-3.3.2/docs/ARCHITECTURE.md +231 -0
  237. axc_agent_engine-3.3.2/docs/PLUGIN_DEVELOPMENT.md +348 -0
  238. axc_agent_engine-3.3.2/docs/RELEASE_CHECKLIST.md +77 -0
  239. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/docs/SECURITY_MODEL.md +5 -0
  240. axc_agent_engine-3.3.2/docs/SESSIONS.md +288 -0
  241. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/01_basic_chat/agent.yaml +2 -0
  242. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/01_basic_chat/run.py +15 -8
  243. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/02_tool_agent/agent.yaml +4 -2
  244. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/02_tool_agent/run.py +18 -10
  245. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/03_rag_agent/agent.yaml +2 -0
  246. axc_agent_engine-3.3.2/examples/03_rag_agent/docs/faq.md +19 -0
  247. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/03_rag_agent/run.py +16 -9
  248. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/04_streaming/agent.yaml +2 -0
  249. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/04_streaming/run.py +16 -9
  250. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/05_custom_plugin/agent.yaml +2 -0
  251. axc_agent_engine-3.3.2/examples/05_custom_plugin/my_plugin.py +51 -0
  252. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/05_custom_plugin/run.py +18 -10
  253. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/06_multi_agent/agent_dev.yaml +4 -0
  254. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/06_multi_agent/agent_pm.yaml +4 -0
  255. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/06_multi_agent/agent_supervisor.yaml +4 -0
  256. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/06_multi_agent/run_group_chat.py +15 -7
  257. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/06_multi_agent/run_supervisor.py +15 -7
  258. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/07_simulation/agent_blue.yaml +4 -0
  259. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/07_simulation/agent_con.yaml +4 -0
  260. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/07_simulation/agent_pro.yaml +4 -0
  261. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/07_simulation/agent_red.yaml +4 -0
  262. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/07_simulation/run_debate.py +15 -7
  263. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/07_simulation/run_redblue.py +15 -7
  264. axc_agent_engine-3.3.2/examples/08_custom_loop/agent.yaml +7 -0
  265. axc_agent_engine-3.3.2/examples/08_custom_loop/run.py +38 -0
  266. axc_agent_engine-3.3.2/examples/08_custom_loop/single_reply.py +35 -0
  267. axc_agent_engine-3.3.2/examples/09_live_input/agent.yaml +5 -0
  268. axc_agent_engine-3.3.2/examples/09_live_input/run.py +94 -0
  269. axc_agent_engine-3.3.2/examples/README.md +36 -0
  270. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/llms.txt +19 -14
  271. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/pyproject.toml +8 -3
  272. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/api/test_api_chat.py +186 -63
  273. axc_agent_engine-3.3.2/tests/api/test_api_engine_integration.py +160 -0
  274. axc_agent_engine-3.3.2/tests/boundaries/test_compression_boundary.py +331 -0
  275. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/boundaries/test_core_dependency_boundaries.py +3 -5
  276. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/boundaries/test_engine_boundaries.py +10 -5
  277. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/boundaries/test_engine_boundary_matrix.py +10 -7
  278. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/boundaries/test_engine_plugin_boundaries.py +5 -3
  279. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/boundaries/test_init_exports.py +64 -22
  280. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/boundaries/test_plugin_config_schema_boundaries.py +3 -3
  281. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/boundaries/test_pyproject_deps.py +3 -0
  282. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/boundaries/test_source_text_policy.py +12 -4
  283. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/cli/test_cli.py +58 -7
  284. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/conftest.py +37 -19
  285. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_constants.py +3 -1
  286. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_context.py +8 -3
  287. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_context_layers.py +94 -48
  288. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_core.py +82 -42
  289. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_dispatcher_architecture.py +25 -10
  290. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_engine_body_edges.py +91 -30
  291. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_errors.py +15 -3
  292. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_event_categories.py +17 -6
  293. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_events.py +11 -3
  294. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_execution_config_workspace.py +6 -2
  295. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_execution_services.py +24 -12
  296. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_executor_checkpoint.py +47 -66
  297. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_llm_caller_edges.py +43 -27
  298. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_message_store_snapshot.py +2 -0
  299. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_message_store_tooloutput.py +13 -4
  300. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_react_edges.py +106 -89
  301. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_realtime_stream.py +18 -2
  302. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_run_context.py +9 -2
  303. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_schema.py +22 -6
  304. axc_agent_engine-3.3.2/tests/core/test_session_helpers.py +70 -0
  305. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_stream_aggregator.py +20 -6
  306. axc_agent_engine-3.3.2/tests/core/test_stream_bridge.py +27 -0
  307. axc_agent_engine-3.3.2/tests/engine/test_builtin_plugin_catalog.py +93 -0
  308. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/engine/test_engine.py +197 -54
  309. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/engine/test_engine_dispatcher_lifecycle.py +115 -49
  310. axc_agent_engine-3.3.2/tests/engine/test_example_strategies.py +68 -0
  311. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/engine/test_integration_flow.py +79 -34
  312. axc_agent_engine-3.3.2/tests/engine/test_live_input.py +574 -0
  313. axc_agent_engine-3.3.2/tests/engine/test_resume_control.py +417 -0
  314. axc_agent_engine-3.3.2/tests/engine/test_session_fork.py +403 -0
  315. axc_agent_engine-3.3.2/tests/engine/test_session_rewind.py +464 -0
  316. axc_agent_engine-3.3.2/tests/engine/test_strategy_plugins.py +510 -0
  317. axc_agent_engine-3.3.2/tests/engine/test_strategy_state_versions.py +158 -0
  318. axc_agent_engine-3.3.2/tests/engine/test_write_tool_settlement.py +61 -0
  319. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/llm/test_llm_caller_retry.py +36 -17
  320. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/llm/test_provider.py +78 -27
  321. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/observability/test_audit.py +2 -1
  322. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/observability/test_logging.py +3 -1
  323. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/planning/test_plan_runtime.py +4 -2
  324. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/planning/test_planning.py +152 -67
  325. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/planning/test_por_checkpointing.py +22 -2
  326. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/planning/test_por_graph_runtime.py +5 -5
  327. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/planning/test_por_runner_edges.py +118 -23
  328. axc_agent_engine-3.3.2/tests/planning/test_routing_integration.py +172 -0
  329. axc_agent_engine-3.3.2/tests/plugins/sessions_fake.py +76 -0
  330. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_builtin_tools_tooloutput.py +147 -30
  331. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_collaboration_plugin.py +35 -26
  332. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_compress_tooloutput.py +57 -27
  333. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_config_schema.py +63 -24
  334. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_graph_plugin.py +24 -0
  335. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_graph_store.py +73 -29
  336. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_hooks_and_hitl.py +77 -32
  337. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_knowledge_core.py +169 -60
  338. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_knowledge_plugin.py +99 -45
  339. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_knowledge_vector.py +45 -30
  340. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_lightweight_guards.py +96 -36
  341. axc_agent_engine-3.3.2/tests/plugins/test_mcp_plugin.py +276 -0
  342. axc_agent_engine-3.3.2/tests/plugins/test_mcp_transports.py +60 -0
  343. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_memory_core.py +2 -2
  344. axc_agent_engine-3.3.2/tests/plugins/test_memory_plugin.py +589 -0
  345. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_memory_support.py +45 -22
  346. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_output_format_service.py +164 -96
  347. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_plugin_context_workspace.py +12 -8
  348. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_plugin_dependencies.py +20 -8
  349. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_plugin_isolation.py +2 -0
  350. axc_agent_engine-3.3.2/tests/plugins/test_plugin_lifecycle.py +114 -0
  351. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_plugin_post_tool_call.py +38 -35
  352. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_plugin_registry.py +15 -2
  353. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_plugins.py +104 -40
  354. axc_agent_engine-3.3.2/tests/plugins/test_sessions_integration.py +161 -0
  355. axc_agent_engine-3.3.2/tests/plugins/test_sessions_notices.py +84 -0
  356. axc_agent_engine-3.3.2/tests/plugins/test_sessions_plugin.py +527 -0
  357. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_skill_plugin.py +102 -30
  358. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_swarm_plugin.py +63 -22
  359. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_tracing_plugin.py +97 -93
  360. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_vector_store_capacity.py +2 -0
  361. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/runtime/test_capability_gate.py +21 -11
  362. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/runtime/test_checkpoint.py +12 -0
  363. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/runtime/test_concurrency.py +62 -16
  364. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/runtime/test_policy.py +19 -14
  365. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/runtime/test_sandbox.py +127 -59
  366. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/runtime/test_security_risk.py +10 -8
  367. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/sidecar/test_eval_framework.py +28 -17
  368. axc_agent_engine-3.3.2/tests/sidecar/test_multi_agent_modes.py +173 -0
  369. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/sidecar/test_multi_agent_session.py +24 -11
  370. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/sidecar/test_orchestration_service.py +3 -2
  371. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/sidecar/test_sidecar_agent_ops.py +33 -12
  372. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/sidecar/test_simulation_adapters.py +7 -3
  373. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/sidecar/test_simulation_kernel.py +15 -5
  374. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/storage/test_artifact_store.py +1 -1
  375. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/storage/test_storage.py +59 -13
  376. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_decorator_tooloutput.py +18 -0
  377. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_orchestrator_tool_context.py +123 -16
  378. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_tool_context.py +21 -6
  379. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_tool_orchestrator_timeout.py +23 -2
  380. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_tool_output.py +12 -6
  381. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_tool_output_integration.py +50 -31
  382. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_tool_validation.py +126 -82
  383. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_tooloutput_protocol.py +46 -10
  384. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_tools.py +34 -11
  385. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/utils/test_json_utils.py +6 -4
  386. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/utils/test_math_utils.py +1 -0
  387. axc_agent_engine-3.3.2/tests/workflow/__init__.py +0 -0
  388. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/workflow/test_workflow_runtime.py +66 -22
  389. axc_agent_engine-2.3.2/axc_agent_engine/__init__.py +0 -50
  390. axc_agent_engine-2.3.2/axc_agent_engine/agent.py +0 -507
  391. axc_agent_engine-2.3.2/axc_agent_engine/api/deps.py +0 -58
  392. axc_agent_engine-2.3.2/axc_agent_engine/core/__init__.py +0 -6
  393. axc_agent_engine-2.3.2/axc_agent_engine/core/constants.py +0 -28
  394. axc_agent_engine-2.3.2/axc_agent_engine/core/executor.py +0 -237
  395. axc_agent_engine-2.3.2/axc_agent_engine/core/message_store.py +0 -126
  396. axc_agent_engine-2.3.2/axc_agent_engine/core/plugin_manager.py +0 -285
  397. axc_agent_engine-2.3.2/axc_agent_engine/core/react_kernel.py +0 -152
  398. axc_agent_engine-2.3.2/axc_agent_engine/core/session_manager.py +0 -124
  399. axc_agent_engine-2.3.2/axc_agent_engine/observability/__init__.py +0 -2
  400. axc_agent_engine-2.3.2/axc_agent_engine/planning/__init__.py +0 -19
  401. axc_agent_engine-2.3.2/axc_agent_engine/planning/por_runner.py +0 -433
  402. axc_agent_engine-2.3.2/axc_agent_engine/plugins/base.py +0 -168
  403. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/builtin_tools/presenter.py +0 -42
  404. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/builtin_tools/support.py +0 -11
  405. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/builtin_tools/tool_definitions.py +0 -359
  406. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/common.py +0 -98
  407. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/compress/context/__init__.py +0 -3
  408. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/compress/context/boundary.py +0 -110
  409. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/config_schemas.py +0 -380
  410. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/graph/audit.py +0 -36
  411. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/graph/tool_factory.py +0 -55
  412. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/__init__.py +0 -5
  413. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/client.py +0 -18
  414. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/connection.py +0 -88
  415. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/models.py +0 -31
  416. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/normalization.py +0 -48
  417. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/transports/__init__.py +0 -16
  418. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/transports/base.py +0 -43
  419. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/transports/factory.py +0 -30
  420. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/transports/http.py +0 -43
  421. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/transports/sdk.py +0 -115
  422. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/transports/stdio.py +0 -102
  423. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/memory/support/retrieval.py +0 -129
  424. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/reflexion/plugin.py +0 -63
  425. axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/repetition_guard/plugin.py +0 -178
  426. axc_agent_engine-2.3.2/axc_agent_engine/plugins/loader.py +0 -114
  427. axc_agent_engine-2.3.2/axc_agent_engine/runtime/__init__.py +0 -2
  428. axc_agent_engine-2.3.2/axc_agent_engine/runtime/sandbox_local.py +0 -64
  429. axc_agent_engine-2.3.2/axc_agent_engine/runtime/tasks.py +0 -19
  430. axc_agent_engine-2.3.2/axc_agent_engine/sidecar/multi_agent/scheduler/all_parallel.py +0 -28
  431. axc_agent_engine-2.3.2/axc_agent_engine/sidecar/multi_agent/scheduler/protocols.py +0 -25
  432. axc_agent_engine-2.3.2/axc_agent_engine/sidecar/multi_agent/shared_context.py +0 -81
  433. axc_agent_engine-2.3.2/axc_agent_engine/sidecar/simulation/interfaces.py +0 -89
  434. axc_agent_engine-2.3.2/axc_agent_engine/storage/__init__.py +0 -15
  435. axc_agent_engine-2.3.2/axc_agent_engine/storage/protocols.py +0 -101
  436. axc_agent_engine-2.3.2/axc_agent_engine/tools/__init__.py +0 -2
  437. axc_agent_engine-2.3.2/axc_agent_engine/tools/utils.py +0 -45
  438. axc_agent_engine-2.3.2/axc_agent_engine/utils/__init__.py +0 -2
  439. axc_agent_engine-2.3.2/axc_agent_engine/workflow/burr_runtime.py +0 -108
  440. axc_agent_engine-2.3.2/axc_agent_engine/workflow/factory.py +0 -18
  441. axc_agent_engine-2.3.2/axc_agent_engine/workflow/memory_runtime.py +0 -60
  442. axc_agent_engine-2.3.2/axc_agent_engine/workflow/state.py +0 -47
  443. axc_agent_engine-2.3.2/docs/API.md +0 -98
  444. axc_agent_engine-2.3.2/docs/ARCHITECTURE.md +0 -174
  445. axc_agent_engine-2.3.2/docs/PLUGIN_DEVELOPMENT.md +0 -134
  446. axc_agent_engine-2.3.2/docs/RELEASE_CHECKLIST.md +0 -39
  447. axc_agent_engine-2.3.2/examples/03_rag_agent/docs/faq.md +0 -19
  448. axc_agent_engine-2.3.2/examples/05_custom_plugin/my_plugin.py +0 -45
  449. axc_agent_engine-2.3.2/examples/README.md +0 -22
  450. axc_agent_engine-2.3.2/tests/boundaries/test_compression_boundary.py +0 -165
  451. axc_agent_engine-2.3.2/tests/plugins/test_mcp_plugin.py +0 -221
  452. axc_agent_engine-2.3.2/tests/plugins/test_mcp_transports.py +0 -324
  453. axc_agent_engine-2.3.2/tests/plugins/test_memory_plugin.py +0 -316
  454. axc_agent_engine-2.3.2/tests/sidecar/test_multi_agent_modes.py +0 -172
  455. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/.gitignore +0 -0
  456. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/CODE_OF_CONDUCT.md +0 -0
  457. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/ENGINE_DEVELOPMENT_RULES.md +0 -0
  458. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/LICENSE +0 -0
  459. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/NOTICE +0 -0
  460. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/SECURITY.md +0 -0
  461. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/api/__init__.py +0 -0
  462. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/api/routes/__init__.py +0 -0
  463. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/__init__.py +0 -0
  464. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/registry.py +0 -0
  465. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/collaboration/__init__.py +0 -0
  466. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/__init__.py +0 -0
  467. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/prompts.py +0 -0
  468. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/cost_statistics/__init__.py +0 -0
  469. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/__init__.py +0 -0
  470. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/hooks/__init__.py +0 -0
  471. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/human_in_the_loop/__init__.py +0 -0
  472. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/knowledge/__init__.py +0 -0
  473. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/mcp/__init__.py +0 -0
  474. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/memory/__init__.py +0 -0
  475. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/memory/prompts.py +0 -0
  476. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/output_format/__init__.py +0 -0
  477. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/post_process/__init__.py +0 -0
  478. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/reflexion/__init__.py +0 -0
  479. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/reflexion/prompts.py +0 -0
  480. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/repetition_guard/__init__.py +0 -0
  481. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/risk_guard/__init__.py +0 -0
  482. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/safety/__init__.py +0 -0
  483. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/skill/__init__.py +0 -0
  484. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/swarm/__init__.py +0 -0
  485. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/tracing/__init__.py +0 -0
  486. {axc_agent_engine-2.3.2/tests/api → axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategies}/__init__.py +0 -0
  487. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/py.typed +0 -0
  488. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/README.md +0 -0
  489. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/docs/OPEN_SOURCE_REPORT.md +0 -0
  490. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/01_basic_chat/README.md +0 -0
  491. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/__init__.py +0 -0
  492. {axc_agent_engine-2.3.2/tests/boundaries → axc_agent_engine-3.3.2/tests/api}/__init__.py +0 -0
  493. {axc_agent_engine-2.3.2/tests/core → axc_agent_engine-3.3.2/tests/boundaries}/__init__.py +0 -0
  494. {axc_agent_engine-2.3.2/tests/engine → axc_agent_engine-3.3.2/tests/core}/__init__.py +0 -0
  495. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_input_messages.py +0 -0
  496. {axc_agent_engine-2.3.2/tests/llm → axc_agent_engine-3.3.2/tests/engine}/__init__.py +0 -0
  497. {axc_agent_engine-2.3.2/tests/observability → axc_agent_engine-3.3.2/tests/llm}/__init__.py +0 -0
  498. {axc_agent_engine-2.3.2/tests/planning → axc_agent_engine-3.3.2/tests/observability}/__init__.py +0 -0
  499. {axc_agent_engine-2.3.2/tests/plugins → axc_agent_engine-3.3.2/tests/planning}/__init__.py +0 -0
  500. {axc_agent_engine-2.3.2/tests/runtime → axc_agent_engine-3.3.2/tests/plugins}/__init__.py +0 -0
  501. {axc_agent_engine-2.3.2/tests/sidecar → axc_agent_engine-3.3.2/tests/runtime}/__init__.py +0 -0
  502. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/runtime/test_run_control.py +0 -0
  503. {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/runtime/test_tasks.py +0 -0
  504. {axc_agent_engine-2.3.2/tests/storage → axc_agent_engine-3.3.2/tests/sidecar}/__init__.py +0 -0
  505. {axc_agent_engine-2.3.2/tests/tools → axc_agent_engine-3.3.2/tests/storage}/__init__.py +0 -0
  506. {axc_agent_engine-2.3.2/tests/utils → axc_agent_engine-3.3.2/tests/tools}/__init__.py +0 -0
  507. {axc_agent_engine-2.3.2/tests/workflow → axc_agent_engine-3.3.2/tests/utils}/__init__.py +0 -0
@@ -0,0 +1,21 @@
1
+ repos:
2
+ - repo: local
3
+ hooks:
4
+ - id: ruff-check
5
+ name: Ruff lint
6
+ entry: python -m ruff check axc_agent_engine tests examples
7
+ language: system
8
+ pass_filenames: false
9
+ types: [python]
10
+ - id: ruff-format
11
+ name: Ruff formatting
12
+ entry: python -m ruff format --check axc_agent_engine tests examples
13
+ language: system
14
+ pass_filenames: false
15
+ types: [python]
16
+ - id: mypy
17
+ name: Engine type checks
18
+ entry: python -m mypy axc_agent_engine
19
+ language: system
20
+ pass_filenames: false
21
+ types: [python]
@@ -0,0 +1,114 @@
1
+ # Changelog
2
+
3
+ All notable changes to AxcAgentEngine are documented in this file.
4
+
5
+ ## 3.3.2
6
+
7
+ ### Fixed
8
+
9
+ - Settle write tools whenever they return a `ToolOutput`, including
10
+ `ToolOutput.error`, so a known failure no longer blocks later resume or fork.
11
+ Exceptions, timeouts, cancellation, and interrupted writes without a returned
12
+ outcome still require reconciliation.
13
+ - Document that write tools must return failure results for rejected arguments
14
+ or missing targets detected before writing, rather than raising exceptions.
15
+
16
+ ## 3.3.1
17
+
18
+ ### Changed
19
+
20
+ - Completion notices now count every delivered notice as one wakeup, including
21
+ `inject` into a running caller. A running caller at `max_wakeups` returns
22
+ `hold` instead of `inject`; the host writes the notice but does not deliver it
23
+ or start a turn.
24
+ - Raise long-task defaults and bounds: `runtime.max_rounds` 500 / 1–100000,
25
+ `sessions.max_wakeups` 100 / 0–100000, `sessions.max_active` 16 / 1–256,
26
+ and `sessions.max_depth` 3 / 1–20.
27
+
28
+ ## 3.3.0
29
+
30
+ ### Added
31
+
32
+ - `Agent.fork_run` writes the selected cut's messages into the new session
33
+ history, including system, `tool_calls`, and `tool` messages.
34
+ - `Agent.rewind_session` and `Agent.can_rewind` restore a session to the history
35
+ loaded before a run; start checkpoints retain that history across restarts.
36
+ Add the `on_session_rewind` plugin hook.
37
+ - Add `plugins.builtin.sessions.notices` with `notice_id`, `format_notice`,
38
+ `decide`, `NOTICE_STATUSES`, and `CALLER_STATES`.
39
+ - Add `max_wakeups` to the sessions plugin and `turn_origin` to `SessionCaller`.
40
+ - Add `SessionInfo.scope` and show it in the session list text.
41
+
42
+ ### Changed
43
+
44
+ - Session tools now reject any ancestor target for read, watch, send, and stop
45
+ before authorization, and remove self/ancestors from `session_list`.
46
+ - Fork and resume distinguish a missing checkpoint owner from an owner mismatch.
47
+ Checkpoints without an owner record require an identity-less caller; no owner
48
+ migration is provided. Branch resume reports a missing owner record separately
49
+ from a different owner.
50
+ - Harden fork rollback on cancellation and session-write failure, validate
51
+ assistant `tool_calls` and tool `tool_call_id` structure before history restore, and propagate
52
+ `ConfigValueError` from plugin configuration through Agent loading. Failed
53
+ cleanup exposes `ForkFailure` and `Agent.discard_fork` for idempotent recovery.
54
+ - Require explicit `turn_origin` values to be `user` or `notice`; only an absent
55
+ field defaults to `user`.
56
+
57
+ ## 3.2.0
58
+
59
+ ### Added
60
+
61
+ - Add the `sessions` plugin: `session_list`, `session_read`, `session_send`,
62
+ `session_stop`, `session_create`, `session_watch`, and `session_wait` over a
63
+ host-mounted `sessions.service`.
64
+ - Add `session_read` and `session_operate` capabilities.
65
+ - Add `docs/SESSIONS.md` with the host service contract, provenance, completion
66
+ notices, and authorization rules.
67
+
68
+ ## 3.1.0rc1
69
+
70
+ - Add opt-in ripgrep workspace search and content-version checks for file changes. Exact edits preserve unmatched bytes.
71
+ - Reclaim local foreground commands on timeout or cancellation. Large command output can be paged through file-backed artifacts.
72
+
73
+ - Fork a retained strategy checkpoint into an independent run and session. POR exposes a cut after every parallel result has been merged.
74
+
75
+ - Isolate compression and recall by agent and session. Anonymous runs use their own state.
76
+ - Add ordered active-run input, durable receipts, live POR progress and revision of pending steps.
77
+ - Reserve run IDs before reading checkpoints and reject stale queued resumes. A resume instruction joins the original conversation.
78
+ - Persist write-tool intent after argument validation and before dispatch. Recovery reports unresolved call IDs for host reconciliation.
79
+ - Delegate MCP transports to the optional official SDK. Remove the obsolete knowledge extra and choose Burr explicitly.
80
+ - Keep repetition and reflection state local to a run, and load scoped memory before constructing model context. Resetting a session clears its compression boundary.
81
+ - Honor the requested API listen address and resolve templates through the configured agent directory. HTTP clients receive the final POR text, token counts and cancellation outcome.
82
+ - Reject malformed model plans before replacing pending steps. The in-memory message bus releases idle listeners and pending requests on shutdown.
83
+ - Hosts can register ReAct, POR, or custom execution strategies and select them per agent.
84
+ - Examples select the bundled POR plugin in auto mode. A host-defined single-turn loop demonstrates switching implementations in YAML.
85
+ - Strategy checkpoints record the plugin name and state version. Plugins can migrate older snapshots before the loop starts.
86
+ - Plugin binding validates dependencies before initialization and rolls back partial failures in reverse order.
87
+ - Added a public strategy runtime, black-box conformance checks and `axc inspect` for resolved drivers, tools and capability policies.
88
+ - Fixed semaphore release on queue timeout and stream cleanup on early disconnect. Memory and Burr now use the same workflow lifecycle.
89
+
90
+ ## [3.0.0] - 2026-10-26
91
+
92
+ ### Fixed
93
+
94
+ - Isolated session history by an internal per-agent scope so identical session
95
+ IDs cannot leak messages between agents.
96
+ - Kept an agent's persistence scope stable when its public `name` is changed at
97
+ runtime.
98
+ - Scoped session reset and removal operations to the owning agent.
99
+
100
+ ### Changed
101
+
102
+ - `SessionManager` now requires an identity seed when constructed.
103
+ - `MessagePersistence.save`, `load`, and `delete` now receive `scope_id` before
104
+ `session_id`.
105
+ - `MessagePersistence` now includes `clear(scope_id)`.
106
+ - `Engine` now creates one session manager per agent instead of sharing a
107
+ manager across all agents.
108
+
109
+ ### Compatibility
110
+
111
+ - This release intentionally changes the `MessagePersistence` protocol and
112
+ does not read data written with the unscoped 2.x persistence contract.
113
+
114
+ [3.0.0]: https://github.com/axclogo/AxcAgentEngine/releases/tag/v3.0.0
@@ -24,8 +24,8 @@ Recommended local validation:
24
24
  ```bash
25
25
  python -m pytest
26
26
  python -m compileall -q axc_agent_engine
27
- ruff check axc_agent_engine tests
28
- ruff format --check axc_agent_engine tests
27
+ ruff check axc_agent_engine tests examples
28
+ ruff format --check axc_agent_engine tests examples
29
29
  python -m mypy axc_agent_engine
30
30
  python -m build
31
31
  twine check dist/*
@@ -36,15 +36,16 @@ twine check dist/*
36
36
  1. Fork the repo and create a branch from `main`
37
37
  2. Add tests for any new functionality
38
38
  3. Ensure all tests pass: `python -m pytest tests/ -v`
39
- 4. Ensure lint passes: `ruff check axc_agent_engine tests`
39
+ 4. Ensure lint passes: `ruff check axc_agent_engine tests examples`
40
40
  5. Update docs for public behavior changes
41
41
  6. Submit a PR with a clear description
42
42
 
43
43
  ## Plugin Development
44
44
 
45
- See `docs/PLUGIN_DEVELOPMENT.md` and `examples/05_custom_plugin/`.
45
+ See `docs/PLUGIN_DEVELOPMENT.md` and `examples/05_custom_plugin/` and `examples/08_custom_loop/`.
46
46
 
47
- All plugins implement the same `Plugin` Protocol defined in `axc_agent_engine/plugins/__init__.py`.
47
+ Plugins inherit `BasePlugin`. Execution drivers subclass `ExecutionStrategyPlugin` from
48
+ `axc_agent_engine.plugins.strategy` and implement its per-run loop factory. Exercise concurrent sessions, cancellation, early stream close, denied tools, and persisted state across plugin versions with the helpers in `axc_agent_engine.plugins.testing`. The [strategy contract](docs/PLUGIN_DEVELOPMENT.md#testing-a-host-strategy) includes fixture requirements and an offline test command.
48
49
 
49
50
  ## API Compatibility
50
51
 
@@ -18,14 +18,17 @@ test-core-cov:
18
18
  --cov=axc_agent_engine.storage \
19
19
  --cov=axc_agent_engine.workflow \
20
20
  --cov=axc_agent_engine.planning \
21
+ --cov=axc_agent_engine.plugins.strategy \
22
+ --cov=axc_agent_engine.plugins.strategy_selection \
23
+ --cov=axc_agent_engine.plugins.strategies \
21
24
  --cov-report=term-missing:skip-covered \
22
- --cov-fail-under=98 -q
25
+ --cov-fail-under=98 --cov-precision=2 -q
23
26
 
24
27
  lint:
25
- ruff check axc_agent_engine/
28
+ $(PYTHON) -m ruff check axc_agent_engine tests examples
26
29
 
27
30
  format:
28
- ruff format axc_agent_engine/
31
+ $(PYTHON) -m ruff format axc_agent_engine tests examples
29
32
 
30
33
  build:
31
34
  $(PYTHON) -m build
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: axc-agent-engine
3
- Version: 2.3.2
3
+ Version: 3.3.2
4
4
  Summary: Agent execution engine with Plan-Observe-Replan (POR) and plugin architecture
5
5
  Project-URL: Homepage, https://github.com/axclogo/AxcAgentEngine
6
6
  Project-URL: Documentation, https://github.com/axclogo/AxcAgentEngine#readme
@@ -25,8 +25,8 @@ Requires-Dist: pydantic<3.0,>=2.0
25
25
  Requires-Dist: pyyaml<7.0,>=6.0
26
26
  Provides-Extra: all
27
27
  Requires-Dist: burr<0.41,>=0.40.2; extra == 'all'
28
- Requires-Dist: faiss-cpu>=1.8.0; extra == 'all'
29
28
  Requires-Dist: fastapi>=0.115.0; extra == 'all'
29
+ Requires-Dist: mcp<2,>=1.30; extra == 'all'
30
30
  Requires-Dist: uvicorn>=0.30.0; extra == 'all'
31
31
  Provides-Extra: api
32
32
  Requires-Dist: fastapi>=0.115.0; extra == 'api'
@@ -34,6 +34,7 @@ Requires-Dist: uvicorn>=0.30.0; extra == 'api'
34
34
  Provides-Extra: dev
35
35
  Requires-Dist: build>=1.2.0; extra == 'dev'
36
36
  Requires-Dist: fastapi>=0.115.0; extra == 'dev'
37
+ Requires-Dist: mcp<2,>=1.30; extra == 'dev'
37
38
  Requires-Dist: mypy>=1.10; extra == 'dev'
38
39
  Requires-Dist: pip-audit>=2.7.0; extra == 'dev'
39
40
  Requires-Dist: pre-commit>=4.0.0; extra == 'dev'
@@ -42,8 +43,8 @@ Requires-Dist: pytest-cov>=5.0; extra == 'dev'
42
43
  Requires-Dist: pytest>=8.0; extra == 'dev'
43
44
  Requires-Dist: ruff>=0.5.0; extra == 'dev'
44
45
  Requires-Dist: twine>=5.0.0; extra == 'dev'
45
- Provides-Extra: knowledge
46
- Requires-Dist: faiss-cpu>=1.8.0; extra == 'knowledge'
46
+ Provides-Extra: mcp
47
+ Requires-Dist: mcp<2,>=1.30; extra == 'mcp'
47
48
  Provides-Extra: workflow
48
49
  Requires-Dist: burr<0.41,>=0.40.2; extra == 'workflow'
49
50
  Description-Content-Type: text/markdown
@@ -51,7 +52,7 @@ Description-Content-Type: text/markdown
51
52
  <h1 align="center">AxcAgentEngine</h1>
52
53
 
53
54
  <p align="center">
54
- <b>Agent execution engine with Plan-Observe-Replan, tool calling, and a plugin system</b>
55
+ <b>Headless agent execution engine with pluggable ReAct and POR loops</b>
55
56
  </p>
56
57
 
57
58
  <p align="center">
@@ -75,22 +76,16 @@ Description-Content-Type: text/markdown
75
76
 
76
77
  ---
77
78
 
78
- Most agent frameworks rely on a ReAct loop: think, call a tool, observe, repeat. As tasks grow more complex, plain ReAct tends to drift.
79
-
80
- AxcAgentEngine adds **POR (Plan-Observe-Replan)** on top of ReAct: the agent produces a structured plan, schedules steps by dependency, observes outcomes, and replans when needed.
79
+ AxcAgentEngine is a headless agent execution engine. Strategy plugins supply the loop. The bundled **ReAct** strategy runs model and tool rounds. **POR** plans, schedules steps by dependency, observes results, and replans. Hosts can supply their own loop. The engine manages live input, cancellation, and checkpoints.
81
80
 
82
81
  ## 🚀 Quick Start
83
82
 
84
83
  ```bash
85
- pip install axc-agent-engine
86
-
87
- # Pin the current 2.3 release
88
- pip install axc-agent-engine==2.3.2
84
+ # Run from this checkout to use the examples below
85
+ pip install .
89
86
 
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]"
87
+ # Optional dependencies for the HTTP API, MCP, and Burr workflows
88
+ pip install ".[api,mcp,workflow]"
94
89
  ```
95
90
 
96
91
  Requires Python 3.11 or newer.
@@ -98,10 +93,10 @@ Requires Python 3.11 or newer.
98
93
  ```python
99
94
  from axc_agent_engine import AgentModels, Engine, LLMConfig, PluginRegistry
100
95
  from axc_agent_engine.llm.client import OpenAIClient
101
- from axc_agent_engine.plugins.builtin import BuiltinToolsPlugin
96
+ from axc_agent_engine.plugins.builtin import BuiltinToolsPlugin, PORPlugin
102
97
 
103
98
  registry = PluginRegistry()
104
- registry.register(BuiltinToolsPlugin)
99
+ registry.register_many([PORPlugin, BuiltinToolsPlugin])
105
100
 
106
101
  engine = Engine(plugin_registry=registry)
107
102
  models = AgentModels(default=OpenAIClient(LLMConfig(
@@ -109,7 +104,7 @@ models = AgentModels(default=OpenAIClient(LLMConfig(
109
104
  api_key="sk-xxx",
110
105
  model="gpt-4o",
111
106
  )))
112
- agent = engine.load_agent_template("./agents/my_agent.yaml").instantiate(models=models)
107
+ agent = engine.load_agent_template("./examples/01_basic_chat/agent.yaml").instantiate(models=models)
113
108
 
114
109
  # Non-streaming
115
110
  result = await agent.chat("Analyze last month's sales data")
@@ -122,13 +117,17 @@ async for event in agent.stream("Build a REST API for user management"):
122
117
  print(f"\n[Tool: {event.tool_name}]")
123
118
  elif event.type == "plan_created":
124
119
  print(f"\n[Plan: {event.content}, {len(event.steps)} steps]")
120
+
121
+ await engine.close()
125
122
  ```
126
123
 
124
+ Examples 01–07 register `PORPlugin`, enable `plugins.por`, and set `runtime.strategy: por` and `plugins.por.mode: auto`. For pure ReAct, register `ReActPlugin`, enable `plugins.react.enabled: true`, and select `runtime.strategy: react`. A sole enabled strategy is selected automatically. With several enabled, name one explicitly. Custom loops follow the same contract. [Custom loop example](examples/08_custom_loop) · [Strategy contract](docs/PLUGIN_DEVELOPMENT.md#execution-strategies)
125
+
127
126
  ## ✨ Features
128
127
 
129
- - **POR planning** - structured plans, dependency scheduling, replanning; routes via `auto` / `react_only` / `por_first`
130
- - **ReAct executor** - standard think / call / observe loop
131
- - **Plugin system** - built-in spec registry, YAML-driven loading; optional capabilities live in plugins
128
+ - **POR strategy plugin** — choose `por_first` (default) to plan immediately or `auto` to start in ReAct and switch when the model produces a plan
129
+ - **ReAct strategy plugin** - standard think / call / observe loop
130
+ - **Plugin system** - explicit class registration and YAML-driven loading
132
131
  - **Tool protocol** - every tool returns `ToolOutput`; read-only runs concurrent, write serial; safe function-name mapping
133
132
  - **Durable workflow** - `WorkflowRuntime` + `CheckpointStore` + Agent resume API; Burr is optional via `axc-agent-engine[workflow]`
134
133
  - **OpenAI compatible** - provider protocol + OpenAI-compatible HTTP client and API subset
@@ -136,6 +135,7 @@ async for event in agent.stream("Build a REST API for user management"):
136
135
  - **Runtime binding** - models, mounted resources, request metadata, and YAML overrides stay in separate channels
137
136
  - **MCP** - stdio, JSON-RPC HTTP, official SDK transports
138
137
  - **Human-in-the-loop** - approval queue and `ask_human` tool
138
+ - **Session operations** - read, message, stop, and create host-owned sessions through `plugins.sessions`
139
139
  - **Sidecar suite** - multi-agent, simulation, eval, cost, failure mining, trace distillation
140
140
 
141
141
  <details>
@@ -143,10 +143,10 @@ async for event in agent.stream("Build a REST API for user management"):
143
143
 
144
144
  | Capability | Implementation |
145
145
  | --- | --- |
146
- | ReAct loop | `Executor` |
147
- | POR planning | `auto` / `react_only` / `por_first` |
146
+ | ReAct loop | `ReActPlugin` |
147
+ | POR planning | `PORPlugin` with `auto` / `por_first` |
148
148
  | Durable workflow | `MemoryWorkflowRuntime` by default; optional `BurrWorkflowRuntime` via `axc-agent-engine[workflow]` |
149
- | Plugin system | spec registry + YAML-driven loading |
149
+ | Plugin system | Host registry + YAML-driven loading |
150
150
  | LLM provider | provider protocol + OpenAI-compatible HTTP |
151
151
  | Parallel tools | read concurrent, write serial |
152
152
  | Tool output | enforced `ToolOutput` |
@@ -168,6 +168,7 @@ async for event in agent.stream("Build a REST API for user management"):
168
168
  | [Architecture](docs/ARCHITECTURE.md) | Engine and plugin boundaries |
169
169
  | [API](docs/API.md) | HTTP API subset notes |
170
170
  | [Plugin development](docs/PLUGIN_DEVELOPMENT.md) | Build your own plugin |
171
+ | [Session operations](docs/SESSIONS.md) | Host-owned session tools |
171
172
  | [Security model](docs/SECURITY_MODEL.md) | Capabilities, risk, workspace |
172
173
  | [Examples](examples/README.md) | 7 end-to-end demos |
173
174
  | [Contributing](CONTRIBUTING.md) / [Security](SECURITY.md) / [LICENSE](LICENSE) | Apache-2.0 |
@@ -179,7 +180,8 @@ name: "data-analyst"
179
180
  description: "Data analysis assistant"
180
181
 
181
182
  runtime:
182
- max_rounds: 50
183
+ strategy: por
184
+ max_rounds: 500
183
185
  thinking: "auto"
184
186
  workspace: "/tmp/agent-workspace"
185
187
  allowed_capabilities:
@@ -191,6 +193,7 @@ system_prompt: |
191
193
  You are a data analysis assistant...
192
194
 
193
195
  plugins:
196
+ por: {enabled: true, mode: auto}
194
197
  builtin_tools:
195
198
  enabled: true
196
199
  load: ["get_time", "file_read", "file_write", "http_request", "artifact_read"]
@@ -233,8 +236,9 @@ Notes:
233
236
  `AgentModels` accepts model provider objects. `OpenAIClient(LLMConfig(...))` is the built-in OpenAI-compatible provider; custom providers implement `LLMProvider` (`model`, `tool_name_mapping`, `chat`, `stream`, `ask`, `close`).
234
237
 
235
238
  ```python
236
- from axc_agent_engine import AgentModels, ConcurrencyConfig, Engine, LLMConfig
239
+ from axc_agent_engine import AgentModels, ConcurrencyConfig, Engine, LLMConfig, PluginRegistry
237
240
  from axc_agent_engine.llm.client import OpenAIClient
241
+ from axc_agent_engine.plugins.builtin import BuiltinToolsPlugin, PORPlugin
238
242
  from axc_agent_engine.tools.name_mapping import ToolNameMappingConfig
239
243
 
240
244
  main_model_config = LLMConfig(
@@ -248,13 +252,16 @@ main_model_config = LLMConfig(
248
252
  tool_name_mapping=ToolNameMappingConfig(),
249
253
  )
250
254
 
255
+ registry = PluginRegistry()
256
+ registry.register_many([PORPlugin, BuiltinToolsPlugin])
251
257
  engine = Engine(
258
+ plugin_registry=registry,
252
259
  concurrency=ConcurrencyConfig(
253
260
  max_engine_concurrent_runs=128,
254
261
  queue_timeout=30,
255
262
  ),
256
263
  )
257
- agent = engine.load_agent_template("./agents/my_agent.yaml").instantiate(
264
+ agent = engine.load_agent_template("./examples/01_basic_chat/agent.yaml").instantiate(
258
265
  models=AgentModels(default=OpenAIClient(main_model_config)),
259
266
  )
260
267
  ```
@@ -412,21 +419,24 @@ Capabilities not required by a basic agent live in plugins. The default `Engine.
412
419
 
413
420
  ```python
414
421
  from axc_agent_engine import AgentModels, Engine, PluginRegistry
415
- from axc_agent_engine.plugins.builtin import BuiltinToolsPlugin, MemoryPlugin
422
+ from axc_agent_engine.plugins.builtin import BuiltinToolsPlugin, MemoryPlugin, PORPlugin
416
423
  from my_project.plugins import MyCustomPlugin
417
424
 
418
425
  registry = PluginRegistry()
419
- registry.register_many([BuiltinToolsPlugin, MemoryPlugin, MyCustomPlugin])
426
+ registry.register_many([PORPlugin, BuiltinToolsPlugin, MemoryPlugin, MyCustomPlugin])
420
427
  engine = Engine(plugin_registry=registry)
421
428
  agent = engine.load_agent_template("./agents/my_agent.yaml").instantiate(models=AgentModels(default=llm))
422
429
  ```
423
430
 
424
431
  | Plugin | Purpose |
425
432
  | --- | --- |
433
+ | `react` | Run a model and tool loop |
434
+ | `por` | Plan, execute, observe and replan, with optional automatic handoff |
426
435
  | `builtin_tools` | Basic tools and artifact paging |
427
436
  | `knowledge` | Ingestion, semantic chunking, hybrid retrieval, citations, rerank |
428
437
  | `memory` | Memory, governance tools, sensitive-data policy, decay, TTL |
429
438
  | `output_format` | Final output contracts, validation, repair, audit |
439
+ | `post_process` | Optionally append round and token counts before final output validation |
430
440
  | `graph` | Entity/relation graph search and CRUD |
431
441
  | `skill` | Load skills, run scripts through sandbox |
432
442
  | `mcp` | MCP server tool loading and guarding |
@@ -438,10 +448,19 @@ agent = engine.load_agent_template("./agents/my_agent.yaml").instantiate(models=
438
448
  | `tracing` | Trace/span collection, audit mode, query tools |
439
449
  | `reflexion` | End-of-round and end-of-run self-reflection |
440
450
  | `repetition_guard` | Repeated tool / response / result detection |
441
- | `cost_statistics` | Token and tool-call accounting |
451
+ | `cost_statistics` | Input and output token accounting |
442
452
  | `collaboration` | Agent-to-agent calls and host orchestration entry |
453
+ | `sessions` | Read, message, stop, and create host-owned sessions |
443
454
  | `swarm` | Lightweight parallel fan-out |
444
455
 
456
+ ### Engineering tools
457
+
458
+ Enable `file_grep` in `plugins.builtin_tools.load`, grant `file_read`, and configure the workspace. Install ripgrep (`rg`) in the command execution environment. Matches include paths, line numbers, and text.
459
+
460
+ `file_edit` matches exact text, including quotes and line endings. Inline `file_read` results include the whole file’s `sha256`. Pass it as `expected_sha256` to `file_edit`, `file_write`, or `file_append` to reject stale content. Hosts own cross-process workspace isolation.
461
+
462
+ The local executor returns up to 1 MiB inline per output stream. Larger streams are saved in full under `.axc/logs/` in the command working directory. Supply an `ArtifactStore` to retrieve them through `artifact_read` or `artifact_page`. The host can remove log files once their artifact references expire.
463
+
445
464
  ## Sidecar Capabilities
446
465
 
447
466
  Sidecars live under `axc_agent_engine.sidecar` and are invoked explicitly by the host, not part of the agent's core execution path. See [axc_agent_engine/sidecar/README.md](axc_agent_engine/sidecar/README.md).
@@ -506,7 +525,8 @@ flowchart TD
506
525
  I --> J["Plugin.initialize(config, ctx)"]
507
526
  J --> K["Plugin.get_tools()"]
508
527
  K --> L["Register ToolDefinition"]
509
- L --> M["Create Agent and dispatcher consumer"]
528
+ L --> M["Agent bound to selected strategy"]
529
+ M --> N["Start configured dispatcher consumer"]
510
530
  ```
511
531
 
512
532
  ### One agent run
@@ -516,10 +536,11 @@ flowchart TD
516
536
  A["Agent.chat / stream / *_with_messages / resume"] --> B["RunRequest.create"]
517
537
  B --> C["Merge run_options.run_id and request metadata"]
518
538
  C --> D["Create ExecutionContext"]
519
- D --> E["ExecutionRunLifecycle.on_execution_start"]
520
- E --> F["MessageStore initializes system/user/plugin context"]
521
- F --> G{"Routing mode"}
522
- G -->|react_only or auto ReAct| H["ReActKernel round"]
539
+ D --> E["MessageStore initializes input history"]
540
+ E --> F["Run start hooks and inject plugin context"]
541
+ F --> G{"Selected strategy"}
542
+ G -->|host plugin| Custom["ExecutionLoop.run"]
543
+ G -->|react or por auto| H["ReActLoop round"]
523
544
  G -->|por_first or POR handoff| I["PORRunner / PORGraphRuntime"]
524
545
  H --> J["Plugin.transform_messages"]
525
546
  J --> K["compress: recent window + durable results + atomic tool groups"]
@@ -597,7 +618,7 @@ class MyPlugin(BasePlugin):
597
618
 
598
619
  Plugins must inherit `BasePlugin`, declare `config_schema`, and return tools as `ToolDefinition` instances. `ToolRegistry` does not accept dicts.
599
620
 
600
- 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)`.
621
+ Hosts can inspect registered plugin schemas through `registry.list_plugin_config_schemas()` or `registry.get_plugin_config_schema("my_plugin")`. The loader validates YAML against that schema before calling `initialize(config, ctx)` and rejects unknown fields.
601
622
 
602
623
  ```yaml
603
624
  plugins:
@@ -620,15 +641,23 @@ axc --log-level DEBUG --json-logs chat --agent ./agents/my_agent.yaml
620
641
 
621
642
  CLI logging flags are global and must be placed before the subcommand.
622
643
 
644
+ Inspect the assembled agent with the CLI's bundled plugin registry. This command initializes configured plugins and prints JSON without making a model call.
645
+
646
+ ```bash
647
+ axc inspect --agent examples/01_basic_chat/agent.yaml
648
+ ```
649
+
650
+ `strategy.reason` reports `explicit` for a named selection, `single_enabled` for one enabled strategy, or `runtime_routing` for an older routing template. The output includes plugin initialization order, registered tools, and capability permissions. Tools discovered during a run appear after discovery. A custom policy reports `null` for a tool's static permission. Hosts supplying their own plugins, mounts or policies can inspect the bound agent with `agent.inspect()`.
651
+
623
652
  ## Design Decisions
624
653
 
625
- - **Engine core = Executor + ReActKernel + LLMCaller.** Reads Agent YAML, calls LLM providers, runs the ReAct loop, emits events/results.
654
+ - **Execution strategies supply the loop.** Executor manages each run. Hosts can select an official ReAct or POR driver or register their own [execution strategy](docs/PLUGIN_DEVELOPMENT.md#execution-strategies).
626
655
  - **POR state transitions live in pydantic-graph.** `PORGraphRuntime` owns the plan/step/observe/replan loop; services execute work and persist checkpoints.
627
- - **Workflow resume is a runtime boundary.** `MemoryWorkflowRuntime` is the default; `BurrWorkflowRuntime` is selected when the optional workflow dependency is installed.
656
+ - **Workflow resume is a runtime boundary.** `MemoryWorkflowRuntime` is the default; `BurrWorkflowRuntime` is selected explicitly by the host after installing the workflow extra.
628
657
  - **Plugins are the runtime extension boundary.** Knowledge, memory, graph, MCP, output repair, skills belong in plugins.
629
658
  - **Orchestration is sidecar.** Multi-agent sessions, simulation, mode adapters are host-driven.
630
659
  - **Evaluation is sidecar.** EvalRunner, stores, matchers, reports are host-driven test framework pieces.
631
- - **Registration is not loading.** The spec registry is the full plugin table; agents load only YAML-enabled plugins.
660
+ - **Explicit plugin loading.** Hosts register the classes they need from the official catalog. Templates enable them with `enabled: true`.
632
661
  - **Plugin schema is mandatory.** A plugin without `config_schema` cannot be registered.
633
662
  - **Tools come from plugins.** The engine core embeds no business tools.
634
663
  - **Tools must return `ToolOutput`.** Non-`ToolOutput` returns are rejected.
@@ -650,3 +679,22 @@ make test-core-cov
650
679
  ```
651
680
 
652
681
  The release gate requires at least 95% total coverage. The engine-body coverage target is 98%.
682
+
683
+ ### Send input to a running agent
684
+
685
+ Give the run a unique ID before starting the stream. The host can submit more text while a model or tool is working. Use the same agent, session, run ID and message ID when retrying delivery.
686
+
687
+ ```python
688
+ async for event in agent.stream("Review both reports", session_id="review", metadata={"run_id": "review-42"}):
689
+ if event.type == EventType.STEP_START and event.step_id == 1:
690
+ receipt = await agent.send_message("review-42", "Focus on the second report",
691
+ session_id="review", message_id="change-1")
692
+ if event.type in {EventType.DONE, EventType.CANCELLED, EventType.ERROR}:
693
+ print(event.metadata.get("processed_message_ids", []), event.metadata.get("unprocessed_message_ids", []))
694
+ ```
695
+
696
+ An `accepted` receipt puts the message in FIFO order. `processed` means the text entered run history. A tool already in flight may finish first. POR publishes plan and step events during execution and revises remaining work at the next planning boundary. Cancellation uses `engine.cancel_run(run_id)`. The offline demo exercises both completion and cancellation. [Runnable example](examples/09_live_input/run.py)
697
+
698
+ Keep requests for an active run on the engine process that owns it. A durable host `CheckpointStore` can recover accepted input after process loss. Unknown write-tool outcomes block resume until the host reconciles the recorded call IDs. See the plugin guide for the full receipt and recovery contracts. [Plugin guide](docs/PLUGIN_DEVELOPMENT.md)
699
+
700
+ Fork an execution with `await agent.fork_run(run_id, checkpoint_id)`. Select a retained `cp.forkable` checkpoint and continue the new run through `resume_stream`. [Execution forks](docs/ARCHITECTURE.md#execution-forks)