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.
- axc_agent_engine-3.3.2/.pre-commit-config.yaml +21 -0
- axc_agent_engine-3.3.2/CHANGELOG.md +114 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/CONTRIBUTING.md +6 -5
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/Makefile +6 -3
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/PKG-INFO +89 -41
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/README.md +83 -36
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/README.zh-CN.md +82 -35
- axc_agent_engine-3.3.2/axc_agent_engine/__init__.py +90 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/_version.py +1 -1
- axc_agent_engine-3.3.2/axc_agent_engine/agent.py +687 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/api/app.py +16 -8
- axc_agent_engine-3.3.2/axc_agent_engine/api/deps.py +43 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/api/routes/chat.py +142 -100
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/api/routes/health.py +2 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/cli.py +41 -36
- axc_agent_engine-3.3.2/axc_agent_engine/core/__init__.py +6 -0
- axc_agent_engine-3.3.2/axc_agent_engine/core/constants.py +28 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/context.py +83 -64
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/dispatcher.py +59 -69
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/errors.py +24 -30
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/events.py +41 -44
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/execution_run.py +48 -38
- axc_agent_engine-3.3.2/axc_agent_engine/core/executor.py +390 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/input_messages.py +3 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/llm_caller.py +88 -58
- axc_agent_engine-3.3.2/axc_agent_engine/core/message_store.py +142 -0
- axc_agent_engine-3.3.2/axc_agent_engine/core/plugin_manager.py +200 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/react_loop.py +40 -38
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/run_context.py +36 -8
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/run_request.py +12 -20
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/schema.py +43 -31
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/session.py +17 -4
- axc_agent_engine-3.3.2/axc_agent_engine/core/session_manager.py +170 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/stream_aggregator.py +19 -14
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/core/stream_sink.py +3 -3
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/engine.py +89 -72
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/llm/__init__.py +1 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/llm/client.py +17 -21
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/llm/config.py +2 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/llm/provider.py +10 -9
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/llm/rate_limited.py +7 -7
- axc_agent_engine-3.3.2/axc_agent_engine/observability/__init__.py +1 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/observability/audit.py +9 -10
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/observability/logging.py +9 -13
- axc_agent_engine-3.3.2/axc_agent_engine/planning/__init__.py +28 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/checkpointing.py +28 -40
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/graph_nodes.py +8 -7
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/graph_runtime.py +42 -22
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/graph_state.py +5 -5
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/observer.py +36 -21
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/planner.py +31 -43
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/planning_service.py +12 -15
- axc_agent_engine-3.3.2/axc_agent_engine/planning/por_runner.py +568 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/prompts.py +1 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/replanner.py +26 -20
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/router.py +13 -17
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/runtime.py +17 -5
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/scheduler.py +8 -19
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/planning/step_executor.py +9 -6
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/__init__.py +1 -0
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/base.py +169 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/__init__.py +10 -4
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/bm25.py +78 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/artifact_store.py +2 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/artifact_tools.py +2 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/command_tools.py +76 -35
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/file_tools.py +103 -51
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/http_tools.py +18 -16
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/path_policy.py +5 -6
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/plugin.py +35 -34
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/builtin_tools/presenter.py +40 -0
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/builtin_tools/tool_definitions.py +381 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/collaboration/plugin.py +117 -93
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/common.py +101 -0
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/context/__init__.py +1 -0
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/compress/context/boundary.py +120 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/file_cache.py +6 -8
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/models.py +5 -8
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/normalizer.py +4 -7
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/packer.py +27 -15
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/recall.py +9 -24
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/recent_window.py +3 -4
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/scoring.py +2 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/summarizer.py +5 -5
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/tool_result.py +10 -9
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/context/tool_summary.py +11 -11
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/plugin.py +180 -162
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/config_schemas.py +1173 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/cost_statistics/plugin.py +36 -31
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/graph/audit.py +48 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/config.py +15 -15
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/plugin.py +3 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/policy.py +1 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/presenter.py +4 -3
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/service.py +37 -16
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/source_loader.py +34 -16
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/support.py +39 -18
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/graph/tool_factory.py +161 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/tool_handlers.py +225 -34
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/utils.py +3 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/hooks/plugin.py +36 -36
- {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
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/knowledge/plugin.py +72 -226
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/knowledge/support/__init__.py +5 -5
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/knowledge/support/chunker.py +14 -13
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/knowledge/support/ingestion.py +21 -23
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/knowledge/support/retrieval.py +162 -185
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/mcp/plugin.py +45 -23
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/mcp/support/__init__.py +6 -0
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/mcp/support/connection.py +140 -0
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/mcp/support/models.py +20 -0
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/mcp/support/normalization.py +14 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/memory/plugin.py +454 -419
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/memory/support/__init__.py +19 -19
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/memory/support/graph.py +30 -22
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/memory/support/retrieval.py +74 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/memory/support/service.py +83 -61
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/output_format/plugin.py +48 -38
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/output_format/support/__init__.py +2 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/output_format/support/service.py +48 -44
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/post_process/plugin.py +12 -13
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/reflexion/plugin.py +71 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/registry.py +9 -0
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/repetition_guard/plugin.py +157 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/risk_guard/plugin.py +23 -18
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/safety/plugin.py +29 -22
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/sessions/__init__.py +29 -0
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/sessions/notices.py +66 -0
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/sessions/plugin.py +614 -0
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/builtin/sessions/protocol.py +96 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/skill/plugin.py +218 -215
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/swarm/plugin.py +122 -91
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/tracing/plugin.py +180 -193
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/config_schema.py +39 -31
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/context.py +44 -46
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/loader.py +118 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/registry.py +21 -47
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategies/por.py +121 -0
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategies/react.py +73 -0
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategies/react_kernel.py +68 -0
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategy.py +199 -0
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategy_selection.py +24 -0
- axc_agent_engine-3.3.2/axc_agent_engine/plugins/testing.py +88 -0
- axc_agent_engine-3.3.2/axc_agent_engine/runtime/__init__.py +1 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/checkpoint.py +77 -17
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/concurrency.py +32 -39
- axc_agent_engine-3.3.2/axc_agent_engine/runtime/inbox.py +102 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/input.py +5 -8
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/policy.py +13 -13
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/resources.py +8 -14
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/risk.py +86 -25
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/run_control.py +23 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/sandbox_code.py +18 -16
- axc_agent_engine-3.3.2/axc_agent_engine/runtime/sandbox_local.py +125 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/sandbox_models.py +14 -12
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/sandbox_policy.py +4 -6
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/sandbox_provider.py +3 -4
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/sandbox_utils.py +2 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/runtime/sandbox_workspace.py +15 -14
- axc_agent_engine-3.3.2/axc_agent_engine/runtime/tasks.py +58 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/__init__.py +20 -10
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/agent_selector/__init__.py +1 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/agent_selector/core.py +18 -27
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/cost_optimizer/__init__.py +1 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/cost_optimizer/core.py +74 -67
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/distiller/__init__.py +1 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/distiller/core.py +35 -43
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/eval/__init__.py +5 -6
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/eval/judge.py +10 -9
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/eval/matcher.py +18 -30
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/eval/report.py +17 -19
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/eval/runner.py +38 -54
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/eval/store.py +39 -46
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/failure_miner/__init__.py +1 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/failure_miner/core.py +30 -34
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/__init__.py +3 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/events.py +4 -3
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/modes.py +41 -33
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/persona.py +10 -11
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/scheduler/__init__.py +1 -0
- axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/scheduler/all_parallel.py +23 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/scheduler/debate.py +7 -14
- axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/scheduler/protocols.py +23 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/scheduler/redblue.py +10 -20
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/scheduler/round_robin.py +6 -9
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/scheduler/supervisor.py +14 -28
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/session.py +30 -45
- axc_agent_engine-3.3.2/axc_agent_engine/sidecar/multi_agent/shared_context.py +69 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/simulation_session.py +35 -33
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/stop_condition/__init__.py +1 -0
- {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
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/stop_condition/consensus.py +1 -0
- {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
- {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
- {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
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/stop_condition/protocols.py +7 -11
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/multi_agent/types.py +9 -14
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/orchestration/__init__.py +1 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/orchestration/service.py +25 -32
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/simulation/__init__.py +11 -12
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/simulation/action_parser.py +13 -20
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/simulation/adapters.py +11 -18
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/simulation/defaults.py +28 -45
- axc_agent_engine-3.3.2/axc_agent_engine/sidecar/simulation/interfaces.py +80 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/simulation/models.py +44 -68
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/simulation/modes.py +8 -10
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/simulation/report.py +26 -36
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/simulation/runner.py +29 -38
- axc_agent_engine-3.3.2/axc_agent_engine/storage/__init__.py +27 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/storage/artifact_store.py +9 -8
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/storage/in_memory.py +74 -63
- axc_agent_engine-3.3.2/axc_agent_engine/storage/protocols.py +77 -0
- axc_agent_engine-3.3.2/axc_agent_engine/tools/__init__.py +1 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/audit.py +18 -16
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/batches.py +5 -6
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/context.py +15 -15
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/decorator.py +15 -18
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/executor.py +91 -56
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/name_mapping.py +6 -10
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/orchestrator.py +88 -36
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/policy.py +13 -11
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/registry.py +27 -35
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/runtime.py +7 -7
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/tools/tool_output.py +22 -26
- axc_agent_engine-3.3.2/axc_agent_engine/tools/utils.py +43 -0
- axc_agent_engine-3.3.2/axc_agent_engine/utils/__init__.py +1 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/utils/json_utils.py +8 -10
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/utils/math_utils.py +3 -4
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/workflow/__init__.py +5 -5
- axc_agent_engine-3.3.2/axc_agent_engine/workflow/burr_runtime.py +60 -0
- axc_agent_engine-3.3.2/axc_agent_engine/workflow/factory.py +15 -0
- axc_agent_engine-3.3.2/axc_agent_engine/workflow/memory_runtime.py +88 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/workflow/protocols.py +4 -3
- axc_agent_engine-3.3.2/axc_agent_engine/workflow/state.py +104 -0
- axc_agent_engine-3.3.2/docs/API.md +138 -0
- axc_agent_engine-3.3.2/docs/ARCHITECTURE.md +231 -0
- axc_agent_engine-3.3.2/docs/PLUGIN_DEVELOPMENT.md +348 -0
- axc_agent_engine-3.3.2/docs/RELEASE_CHECKLIST.md +77 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/docs/SECURITY_MODEL.md +5 -0
- axc_agent_engine-3.3.2/docs/SESSIONS.md +288 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/01_basic_chat/agent.yaml +2 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/01_basic_chat/run.py +15 -8
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/02_tool_agent/agent.yaml +4 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/02_tool_agent/run.py +18 -10
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/03_rag_agent/agent.yaml +2 -0
- axc_agent_engine-3.3.2/examples/03_rag_agent/docs/faq.md +19 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/03_rag_agent/run.py +16 -9
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/04_streaming/agent.yaml +2 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/04_streaming/run.py +16 -9
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/05_custom_plugin/agent.yaml +2 -0
- axc_agent_engine-3.3.2/examples/05_custom_plugin/my_plugin.py +51 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/05_custom_plugin/run.py +18 -10
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/06_multi_agent/agent_dev.yaml +4 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/06_multi_agent/agent_pm.yaml +4 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/06_multi_agent/agent_supervisor.yaml +4 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/06_multi_agent/run_group_chat.py +15 -7
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/06_multi_agent/run_supervisor.py +15 -7
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/07_simulation/agent_blue.yaml +4 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/07_simulation/agent_con.yaml +4 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/07_simulation/agent_pro.yaml +4 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/07_simulation/agent_red.yaml +4 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/07_simulation/run_debate.py +15 -7
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/07_simulation/run_redblue.py +15 -7
- axc_agent_engine-3.3.2/examples/08_custom_loop/agent.yaml +7 -0
- axc_agent_engine-3.3.2/examples/08_custom_loop/run.py +38 -0
- axc_agent_engine-3.3.2/examples/08_custom_loop/single_reply.py +35 -0
- axc_agent_engine-3.3.2/examples/09_live_input/agent.yaml +5 -0
- axc_agent_engine-3.3.2/examples/09_live_input/run.py +94 -0
- axc_agent_engine-3.3.2/examples/README.md +36 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/llms.txt +19 -14
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/pyproject.toml +8 -3
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/api/test_api_chat.py +186 -63
- axc_agent_engine-3.3.2/tests/api/test_api_engine_integration.py +160 -0
- axc_agent_engine-3.3.2/tests/boundaries/test_compression_boundary.py +331 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/boundaries/test_core_dependency_boundaries.py +3 -5
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/boundaries/test_engine_boundaries.py +10 -5
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/boundaries/test_engine_boundary_matrix.py +10 -7
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/boundaries/test_engine_plugin_boundaries.py +5 -3
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/boundaries/test_init_exports.py +64 -22
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/boundaries/test_plugin_config_schema_boundaries.py +3 -3
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/boundaries/test_pyproject_deps.py +3 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/boundaries/test_source_text_policy.py +12 -4
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/cli/test_cli.py +58 -7
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/conftest.py +37 -19
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_constants.py +3 -1
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_context.py +8 -3
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_context_layers.py +94 -48
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_core.py +82 -42
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_dispatcher_architecture.py +25 -10
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_engine_body_edges.py +91 -30
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_errors.py +15 -3
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_event_categories.py +17 -6
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_events.py +11 -3
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_execution_config_workspace.py +6 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_execution_services.py +24 -12
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_executor_checkpoint.py +47 -66
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_llm_caller_edges.py +43 -27
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_message_store_snapshot.py +2 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_message_store_tooloutput.py +13 -4
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_react_edges.py +106 -89
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_realtime_stream.py +18 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_run_context.py +9 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_schema.py +22 -6
- axc_agent_engine-3.3.2/tests/core/test_session_helpers.py +70 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_stream_aggregator.py +20 -6
- axc_agent_engine-3.3.2/tests/core/test_stream_bridge.py +27 -0
- axc_agent_engine-3.3.2/tests/engine/test_builtin_plugin_catalog.py +93 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/engine/test_engine.py +197 -54
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/engine/test_engine_dispatcher_lifecycle.py +115 -49
- axc_agent_engine-3.3.2/tests/engine/test_example_strategies.py +68 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/engine/test_integration_flow.py +79 -34
- axc_agent_engine-3.3.2/tests/engine/test_live_input.py +574 -0
- axc_agent_engine-3.3.2/tests/engine/test_resume_control.py +417 -0
- axc_agent_engine-3.3.2/tests/engine/test_session_fork.py +403 -0
- axc_agent_engine-3.3.2/tests/engine/test_session_rewind.py +464 -0
- axc_agent_engine-3.3.2/tests/engine/test_strategy_plugins.py +510 -0
- axc_agent_engine-3.3.2/tests/engine/test_strategy_state_versions.py +158 -0
- axc_agent_engine-3.3.2/tests/engine/test_write_tool_settlement.py +61 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/llm/test_llm_caller_retry.py +36 -17
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/llm/test_provider.py +78 -27
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/observability/test_audit.py +2 -1
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/observability/test_logging.py +3 -1
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/planning/test_plan_runtime.py +4 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/planning/test_planning.py +152 -67
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/planning/test_por_checkpointing.py +22 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/planning/test_por_graph_runtime.py +5 -5
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/planning/test_por_runner_edges.py +118 -23
- axc_agent_engine-3.3.2/tests/planning/test_routing_integration.py +172 -0
- axc_agent_engine-3.3.2/tests/plugins/sessions_fake.py +76 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_builtin_tools_tooloutput.py +147 -30
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_collaboration_plugin.py +35 -26
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_compress_tooloutput.py +57 -27
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_config_schema.py +63 -24
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_graph_plugin.py +24 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_graph_store.py +73 -29
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_hooks_and_hitl.py +77 -32
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_knowledge_core.py +169 -60
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_knowledge_plugin.py +99 -45
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_knowledge_vector.py +45 -30
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_lightweight_guards.py +96 -36
- axc_agent_engine-3.3.2/tests/plugins/test_mcp_plugin.py +276 -0
- axc_agent_engine-3.3.2/tests/plugins/test_mcp_transports.py +60 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_memory_core.py +2 -2
- axc_agent_engine-3.3.2/tests/plugins/test_memory_plugin.py +589 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_memory_support.py +45 -22
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_output_format_service.py +164 -96
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_plugin_context_workspace.py +12 -8
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_plugin_dependencies.py +20 -8
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_plugin_isolation.py +2 -0
- axc_agent_engine-3.3.2/tests/plugins/test_plugin_lifecycle.py +114 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_plugin_post_tool_call.py +38 -35
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_plugin_registry.py +15 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_plugins.py +104 -40
- axc_agent_engine-3.3.2/tests/plugins/test_sessions_integration.py +161 -0
- axc_agent_engine-3.3.2/tests/plugins/test_sessions_notices.py +84 -0
- axc_agent_engine-3.3.2/tests/plugins/test_sessions_plugin.py +527 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_skill_plugin.py +102 -30
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_swarm_plugin.py +63 -22
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_tracing_plugin.py +97 -93
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/plugins/test_vector_store_capacity.py +2 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/runtime/test_capability_gate.py +21 -11
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/runtime/test_checkpoint.py +12 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/runtime/test_concurrency.py +62 -16
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/runtime/test_policy.py +19 -14
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/runtime/test_sandbox.py +127 -59
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/runtime/test_security_risk.py +10 -8
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/sidecar/test_eval_framework.py +28 -17
- axc_agent_engine-3.3.2/tests/sidecar/test_multi_agent_modes.py +173 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/sidecar/test_multi_agent_session.py +24 -11
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/sidecar/test_orchestration_service.py +3 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/sidecar/test_sidecar_agent_ops.py +33 -12
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/sidecar/test_simulation_adapters.py +7 -3
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/sidecar/test_simulation_kernel.py +15 -5
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/storage/test_artifact_store.py +1 -1
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/storage/test_storage.py +59 -13
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_decorator_tooloutput.py +18 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_orchestrator_tool_context.py +123 -16
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_tool_context.py +21 -6
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_tool_orchestrator_timeout.py +23 -2
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_tool_output.py +12 -6
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_tool_output_integration.py +50 -31
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_tool_validation.py +126 -82
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_tooloutput_protocol.py +46 -10
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/tools/test_tools.py +34 -11
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/utils/test_json_utils.py +6 -4
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/utils/test_math_utils.py +1 -0
- axc_agent_engine-3.3.2/tests/workflow/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/workflow/test_workflow_runtime.py +66 -22
- axc_agent_engine-2.3.2/axc_agent_engine/__init__.py +0 -50
- axc_agent_engine-2.3.2/axc_agent_engine/agent.py +0 -507
- axc_agent_engine-2.3.2/axc_agent_engine/api/deps.py +0 -58
- axc_agent_engine-2.3.2/axc_agent_engine/core/__init__.py +0 -6
- axc_agent_engine-2.3.2/axc_agent_engine/core/constants.py +0 -28
- axc_agent_engine-2.3.2/axc_agent_engine/core/executor.py +0 -237
- axc_agent_engine-2.3.2/axc_agent_engine/core/message_store.py +0 -126
- axc_agent_engine-2.3.2/axc_agent_engine/core/plugin_manager.py +0 -285
- axc_agent_engine-2.3.2/axc_agent_engine/core/react_kernel.py +0 -152
- axc_agent_engine-2.3.2/axc_agent_engine/core/session_manager.py +0 -124
- axc_agent_engine-2.3.2/axc_agent_engine/observability/__init__.py +0 -2
- axc_agent_engine-2.3.2/axc_agent_engine/planning/__init__.py +0 -19
- axc_agent_engine-2.3.2/axc_agent_engine/planning/por_runner.py +0 -433
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/base.py +0 -168
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/builtin_tools/presenter.py +0 -42
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/builtin_tools/support.py +0 -11
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/builtin_tools/tool_definitions.py +0 -359
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/common.py +0 -98
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/compress/context/__init__.py +0 -3
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/compress/context/boundary.py +0 -110
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/config_schemas.py +0 -380
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/graph/audit.py +0 -36
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/graph/tool_factory.py +0 -55
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/__init__.py +0 -5
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/client.py +0 -18
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/connection.py +0 -88
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/models.py +0 -31
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/normalization.py +0 -48
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/transports/__init__.py +0 -16
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/transports/base.py +0 -43
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/transports/factory.py +0 -30
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/transports/http.py +0 -43
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/transports/sdk.py +0 -115
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/mcp/support/transports/stdio.py +0 -102
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/memory/support/retrieval.py +0 -129
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/reflexion/plugin.py +0 -63
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/builtin/repetition_guard/plugin.py +0 -178
- axc_agent_engine-2.3.2/axc_agent_engine/plugins/loader.py +0 -114
- axc_agent_engine-2.3.2/axc_agent_engine/runtime/__init__.py +0 -2
- axc_agent_engine-2.3.2/axc_agent_engine/runtime/sandbox_local.py +0 -64
- axc_agent_engine-2.3.2/axc_agent_engine/runtime/tasks.py +0 -19
- axc_agent_engine-2.3.2/axc_agent_engine/sidecar/multi_agent/scheduler/all_parallel.py +0 -28
- axc_agent_engine-2.3.2/axc_agent_engine/sidecar/multi_agent/scheduler/protocols.py +0 -25
- axc_agent_engine-2.3.2/axc_agent_engine/sidecar/multi_agent/shared_context.py +0 -81
- axc_agent_engine-2.3.2/axc_agent_engine/sidecar/simulation/interfaces.py +0 -89
- axc_agent_engine-2.3.2/axc_agent_engine/storage/__init__.py +0 -15
- axc_agent_engine-2.3.2/axc_agent_engine/storage/protocols.py +0 -101
- axc_agent_engine-2.3.2/axc_agent_engine/tools/__init__.py +0 -2
- axc_agent_engine-2.3.2/axc_agent_engine/tools/utils.py +0 -45
- axc_agent_engine-2.3.2/axc_agent_engine/utils/__init__.py +0 -2
- axc_agent_engine-2.3.2/axc_agent_engine/workflow/burr_runtime.py +0 -108
- axc_agent_engine-2.3.2/axc_agent_engine/workflow/factory.py +0 -18
- axc_agent_engine-2.3.2/axc_agent_engine/workflow/memory_runtime.py +0 -60
- axc_agent_engine-2.3.2/axc_agent_engine/workflow/state.py +0 -47
- axc_agent_engine-2.3.2/docs/API.md +0 -98
- axc_agent_engine-2.3.2/docs/ARCHITECTURE.md +0 -174
- axc_agent_engine-2.3.2/docs/PLUGIN_DEVELOPMENT.md +0 -134
- axc_agent_engine-2.3.2/docs/RELEASE_CHECKLIST.md +0 -39
- axc_agent_engine-2.3.2/examples/03_rag_agent/docs/faq.md +0 -19
- axc_agent_engine-2.3.2/examples/05_custom_plugin/my_plugin.py +0 -45
- axc_agent_engine-2.3.2/examples/README.md +0 -22
- axc_agent_engine-2.3.2/tests/boundaries/test_compression_boundary.py +0 -165
- axc_agent_engine-2.3.2/tests/plugins/test_mcp_plugin.py +0 -221
- axc_agent_engine-2.3.2/tests/plugins/test_mcp_transports.py +0 -324
- axc_agent_engine-2.3.2/tests/plugins/test_memory_plugin.py +0 -316
- axc_agent_engine-2.3.2/tests/sidecar/test_multi_agent_modes.py +0 -172
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/.gitignore +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/CODE_OF_CONDUCT.md +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/ENGINE_DEVELOPMENT_RULES.md +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/LICENSE +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/NOTICE +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/SECURITY.md +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/api/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/api/routes/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/builtin_tools/registry.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/collaboration/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/compress/prompts.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/cost_statistics/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/graph/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/hooks/__init__.py +0 -0
- {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
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/knowledge/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/mcp/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/memory/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/memory/prompts.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/output_format/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/post_process/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/reflexion/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/reflexion/prompts.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/repetition_guard/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/risk_guard/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/safety/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/skill/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/swarm/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/plugins/builtin/tracing/__init__.py +0 -0
- {axc_agent_engine-2.3.2/tests/api → axc_agent_engine-3.3.2/axc_agent_engine/plugins/strategies}/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/py.typed +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/axc_agent_engine/sidecar/README.md +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/docs/OPEN_SOURCE_REPORT.md +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/examples/01_basic_chat/README.md +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/__init__.py +0 -0
- {axc_agent_engine-2.3.2/tests/boundaries → axc_agent_engine-3.3.2/tests/api}/__init__.py +0 -0
- {axc_agent_engine-2.3.2/tests/core → axc_agent_engine-3.3.2/tests/boundaries}/__init__.py +0 -0
- {axc_agent_engine-2.3.2/tests/engine → axc_agent_engine-3.3.2/tests/core}/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/core/test_input_messages.py +0 -0
- {axc_agent_engine-2.3.2/tests/llm → axc_agent_engine-3.3.2/tests/engine}/__init__.py +0 -0
- {axc_agent_engine-2.3.2/tests/observability → axc_agent_engine-3.3.2/tests/llm}/__init__.py +0 -0
- {axc_agent_engine-2.3.2/tests/planning → axc_agent_engine-3.3.2/tests/observability}/__init__.py +0 -0
- {axc_agent_engine-2.3.2/tests/plugins → axc_agent_engine-3.3.2/tests/planning}/__init__.py +0 -0
- {axc_agent_engine-2.3.2/tests/runtime → axc_agent_engine-3.3.2/tests/plugins}/__init__.py +0 -0
- {axc_agent_engine-2.3.2/tests/sidecar → axc_agent_engine-3.3.2/tests/runtime}/__init__.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/runtime/test_run_control.py +0 -0
- {axc_agent_engine-2.3.2 → axc_agent_engine-3.3.2}/tests/runtime/test_tasks.py +0 -0
- {axc_agent_engine-2.3.2/tests/storage → axc_agent_engine-3.3.2/tests/sidecar}/__init__.py +0 -0
- {axc_agent_engine-2.3.2/tests/tools → axc_agent_engine-3.3.2/tests/storage}/__init__.py +0 -0
- {axc_agent_engine-2.3.2/tests/utils → axc_agent_engine-3.3.2/tests/tools}/__init__.py +0 -0
- {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
|
-
|
|
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.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: axc-agent-engine
|
|
3
|
-
Version:
|
|
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:
|
|
46
|
-
Requires-Dist:
|
|
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>
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
91
|
-
pip install "
|
|
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.
|
|
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("./
|
|
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
|
|
130
|
-
- **ReAct
|
|
131
|
-
- **Plugin system** -
|
|
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 | `
|
|
147
|
-
| POR planning | `
|
|
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 |
|
|
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
|
-
|
|
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("./
|
|
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` |
|
|
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["
|
|
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["
|
|
520
|
-
E --> F["
|
|
521
|
-
F --> G{"
|
|
522
|
-
G -->|
|
|
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
|
|
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
|
-
- **
|
|
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
|
|
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
|
-
- **
|
|
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)
|