axc-agent-engine 2.1.0__tar.gz → 2.3.1__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-2.3.1/ENGINE_DEVELOPMENT_RULES.md +79 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/PKG-INFO +208 -69
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/README.md +207 -68
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/README.zh-CN.md +202 -64
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/__init__.py +3 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/agent.py +104 -27
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/api/app.py +3 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/api/deps.py +3 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/cli.py +24 -6
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/context.py +11 -4
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/dispatcher.py +216 -20
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/events.py +55 -5
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/execution_run.py +6 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/executor.py +32 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/llm_caller.py +11 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/message_store.py +4 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/plugin_manager.py +87 -48
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/react_kernel.py +1 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/react_loop.py +80 -8
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/run_request.py +9 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/schema.py +1 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/engine.py +161 -104
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/planning/por_runner.py +2 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/__init__.py +10 -10
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/base.py +0 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/collaboration/plugin.py +15 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/common.py +30 -5
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/compress/context/boundary.py +3 -0
- axc_agent_engine-2.3.1/axc_agent_engine/plugins/builtin/compress/context/packer.py +103 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/compress/context/recent_window.py +10 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/compress/context/summarizer.py +4 -4
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/compress/context/tool_result.py +8 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/compress/context/tool_summary.py +5 -5
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/compress/plugin.py +54 -17
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/config_schemas.py +16 -30
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/graph/config.py +19 -9
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/graph/plugin.py +5 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/graph/service.py +25 -25
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/graph/source_loader.py +24 -33
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/graph/tool_handlers.py +4 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/hooks/plugin.py +38 -10
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/human_in_the_loop/plugin.py +12 -3
- axc_agent_engine-2.3.1/axc_agent_engine/plugins/builtin/knowledge/plugin.py +594 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/knowledge/support/__init__.py +2 -4
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/knowledge/support/retrieval.py +15 -108
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/mcp/plugin.py +9 -6
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/mcp/support/connection.py +1 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/memory/plugin.py +5 -139
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/memory/support/__init__.py +0 -6
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/output_format/plugin.py +1 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/output_format/support/service.py +9 -9
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/reflexion/plugin.py +1 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/repetition_guard/plugin.py +36 -10
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/risk_guard/plugin.py +5 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/safety/plugin.py +0 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/skill/plugin.py +136 -57
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/swarm/plugin.py +44 -9
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/tracing/plugin.py +93 -38
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/config_schema.py +57 -9
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/loader.py +10 -12
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/runtime/risk.py +34 -22
- axc_agent_engine-2.3.1/axc_agent_engine/runtime/run_control.py +73 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/eval/runner.py +135 -8
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/modes.py +13 -13
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/session.py +110 -17
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/orchestration/__init__.py +6 -6
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/simulation/adapters.py +8 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/simulation/defaults.py +8 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/simulation/interfaces.py +8 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/simulation/modes.py +1 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/simulation/report.py +4 -4
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/simulation/runner.py +87 -5
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/tools/executor.py +19 -12
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/tools/orchestrator.py +48 -11
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/tools/tool_output.py +44 -5
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/docs/ARCHITECTURE.md +32 -8
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/docs/PLUGIN_DEVELOPMENT.md +17 -19
- axc_agent_engine-2.3.1/examples/01_basic_chat/run.py +30 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/02_tool_agent/run.py +12 -10
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/03_rag_agent/run.py +12 -10
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/04_streaming/run.py +12 -10
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/05_custom_plugin/run.py +12 -10
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/06_multi_agent/run_group_chat.py +14 -11
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/06_multi_agent/run_supervisor.py +15 -12
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/07_simulation/run_debate.py +14 -11
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/07_simulation/run_redblue.py +14 -11
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/pyproject.toml +2 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/api/test_api_chat.py +8 -4
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/boundaries/test_compression_boundary.py +63 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/boundaries/test_engine_boundaries.py +13 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/boundaries/test_init_exports.py +1 -1
- axc_agent_engine-2.3.1/tests/cli/test_cli.py +195 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/conftest.py +2 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/test_context_layers.py +94 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/test_core.py +56 -5
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/test_dispatcher_architecture.py +134 -26
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/test_event_categories.py +23 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/test_events.py +6 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/test_execution_services.py +7 -7
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/test_executor_checkpoint.py +158 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/test_message_store_tooloutput.py +11 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/test_schema.py +0 -1
- axc_agent_engine-2.3.1/tests/engine/test_engine.py +371 -0
- axc_agent_engine-2.3.1/tests/engine/test_engine_dispatcher_lifecycle.py +306 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/engine/test_integration_flow.py +63 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/llm/test_llm_caller_retry.py +19 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/llm/test_provider.py +1 -23
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/planning/test_planning.py +24 -0
- axc_agent_engine-2.3.1/tests/planning/test_por_runner_edges.py +213 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_builtin_tools_tooloutput.py +259 -0
- axc_agent_engine-2.3.1/tests/plugins/test_collaboration_plugin.py +434 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_compress_tooloutput.py +79 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_config_schema.py +63 -9
- axc_agent_engine-2.3.1/tests/plugins/test_graph_plugin.py +123 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_graph_store.py +135 -23
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_hooks_and_hitl.py +78 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_knowledge_core.py +11 -40
- axc_agent_engine-2.3.1/tests/plugins/test_knowledge_plugin.py +271 -0
- axc_agent_engine-2.3.1/tests/plugins/test_knowledge_vector.py +154 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_lightweight_guards.py +48 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_mcp_plugin.py +5 -5
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_mcp_transports.py +111 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_memory_plugin.py +5 -36
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_memory_support.py +102 -91
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_output_format_service.py +172 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_plugin_context_workspace.py +5 -5
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_plugin_dependencies.py +4 -6
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_plugin_post_tool_call.py +8 -9
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_plugin_registry.py +4 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_plugins.py +14 -12
- axc_agent_engine-2.3.1/tests/plugins/test_skill_plugin.py +356 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_swarm_plugin.py +95 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_tracing_plugin.py +261 -12
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/runtime/test_checkpoint.py +13 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/runtime/test_concurrency.py +4 -4
- axc_agent_engine-2.3.1/tests/runtime/test_run_control.py +51 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/runtime/test_sandbox.py +39 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/sidecar/test_eval_framework.py +75 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/sidecar/test_multi_agent_modes.py +71 -0
- axc_agent_engine-2.3.1/tests/sidecar/test_multi_agent_session.py +233 -0
- axc_agent_engine-2.3.1/tests/sidecar/test_orchestration_service.py +194 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/sidecar/test_sidecar_agent_ops.py +26 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/sidecar/test_simulation_adapters.py +82 -4
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/sidecar/test_simulation_kernel.py +64 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/storage/test_storage.py +75 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/tools/test_orchestrator_tool_context.py +27 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/tools/test_tool_orchestrator_timeout.py +20 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/tools/test_tool_output.py +27 -17
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/tools/test_tool_output_integration.py +5 -5
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/tools/test_tool_validation.py +1 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/tools/test_tooloutput_protocol.py +34 -12
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/tools/test_tools.py +25 -3
- axc_agent_engine-2.3.1/tests/utils/test_json_utils.py +17 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/workflow/test_workflow_runtime.py +2 -2
- axc_agent_engine-2.1.0/AXC_ENGINE_CORE_REFACTOR_PLAN.md +0 -377
- axc_agent_engine-2.1.0/CHANGELOG.md +0 -29
- axc_agent_engine-2.1.0/ENGINE_BOUNDARY_DESIGN.md +0 -678
- axc_agent_engine-2.1.0/RAVEN_EXECUTION_KERNEL_REPLACEMENT.md +0 -1657
- axc_agent_engine-2.1.0/axc_agent_engine/llm/registry.py +0 -72
- axc_agent_engine-2.1.0/axc_agent_engine/plugins/builtin/compress/context/packer.py +0 -55
- axc_agent_engine-2.1.0/axc_agent_engine/plugins/builtin/knowledge/plugin.py +0 -738
- axc_agent_engine-2.1.0/axc_agent_engine/plugins/builtin/memory/support/embedding.py +0 -54
- axc_agent_engine-2.1.0/docs/RAVEN_EXECUTION_KERNEL_REPLACEMENT.md +0 -1657
- axc_agent_engine-2.1.0/examples/01_basic_chat/run.py +0 -28
- axc_agent_engine-2.1.0/tests/cli/test_cli.py +0 -75
- axc_agent_engine-2.1.0/tests/engine/test_engine.py +0 -158
- axc_agent_engine-2.1.0/tests/engine/test_engine_dispatcher_lifecycle.py +0 -171
- axc_agent_engine-2.1.0/tests/plugins/test_collaboration_plugin.py +0 -234
- axc_agent_engine-2.1.0/tests/plugins/test_knowledge_plugin.py +0 -33
- axc_agent_engine-2.1.0/tests/plugins/test_knowledge_vector.py +0 -375
- axc_agent_engine-2.1.0/tests/plugins/test_skill_plugin.py +0 -181
- axc_agent_engine-2.1.0/tests/sidecar/test_orchestration_service.py +0 -86
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/.gitignore +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/CODE_OF_CONDUCT.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/CONTRIBUTING.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/LICENSE +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/Makefile +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/NOTICE +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/SECURITY.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/api/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/api/routes/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/api/routes/chat.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/api/routes/health.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/constants.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/errors.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/session.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/session_manager.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/stream_aggregator.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/core/stream_sink.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/llm/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/llm/client.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/llm/config.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/llm/provider.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/llm/rate_limited.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/observability/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/observability/audit.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/observability/logging.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/planning/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/planning/checkpointing.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/planning/graph_nodes.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/planning/graph_runtime.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/planning/graph_state.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/planning/observer.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/planning/planner.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/planning/planning_service.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/planning/prompts.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/planning/replanner.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/planning/router.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/planning/runtime.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/planning/scheduler.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/planning/step_executor.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/builtin_tools/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/builtin_tools/command_tools.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/builtin_tools/file_tools.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/builtin_tools/http_tools.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/builtin_tools/path_policy.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/builtin_tools/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/builtin_tools/presenter.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/builtin_tools/registry.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/builtin_tools/result_store.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/builtin_tools/result_tools.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/builtin_tools/support.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/builtin_tools/tool_definitions.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/collaboration/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/compress/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/compress/context/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/compress/context/file_cache.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/compress/context/models.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/compress/context/normalizer.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/compress/context/recall.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/compress/context/scoring.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/compress/prompts.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/cost_statistics/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/cost_statistics/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/graph/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/graph/audit.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/graph/policy.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/graph/presenter.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/graph/support.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/graph/tool_factory.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/graph/utils.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/hooks/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/human_in_the_loop/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/knowledge/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/knowledge/support/chunker.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/knowledge/support/ingestion.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/mcp/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/mcp/support/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/mcp/support/client.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/mcp/support/models.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/mcp/support/normalization.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/mcp/support/transports/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/mcp/support/transports/base.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/mcp/support/transports/http.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/mcp/support/transports/sdk.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/mcp/support/transports/stdio.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/memory/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/memory/prompts.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/memory/support/graph.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/memory/support/retrieval.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/memory/support/service.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/output_format/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/output_format/support/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/post_process/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/post_process/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/reflexion/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/reflexion/prompts.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/repetition_guard/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/risk_guard/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/safety/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/skill/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/swarm/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/builtin/tracing/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/plugins/registry.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/py.typed +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/runtime/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/runtime/checkpoint.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/runtime/concurrency.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/runtime/input.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/runtime/policy.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/runtime/resources.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/runtime/sandbox_code.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/runtime/sandbox_local.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/runtime/sandbox_models.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/runtime/sandbox_policy.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/runtime/sandbox_provider.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/runtime/sandbox_utils.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/runtime/sandbox_workspace.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/README.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/agent_selector/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/cost_optimizer/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/distiller/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/eval/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/eval/judge.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/eval/matcher.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/eval/report.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/eval/store.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/failure_miner/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/events.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/persona.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/scheduler/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/scheduler/all_parallel.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/scheduler/debate.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/scheduler/redblue.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/scheduler/round_robin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/scheduler/supervisor.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/shared_context.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/simulation_session.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/stop_condition/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/stop_condition/causal_chain.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/stop_condition/consensus.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/stop_condition/goal_reached.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/stop_condition/llm_based.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/stop_condition/max_rounds.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/multi_agent/types.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/simulation/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/simulation/action_parser.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/sidecar/simulation/models.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/storage/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/storage/in_memory.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/storage/protocols.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/storage/result_store.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/tools/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/tools/audit.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/tools/batches.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/tools/context.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/tools/decorator.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/tools/name_mapping.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/tools/policy.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/tools/registry.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/tools/runtime.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/tools/utils.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/utils/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/utils/json_utils.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/utils/math_utils.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/workflow/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/workflow/burr_runtime.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/workflow/factory.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/workflow/memory_runtime.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/workflow/protocols.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/axc_agent_engine/workflow/state.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/docs/API.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/docs/OPEN_SOURCE_REPORT.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/docs/RELEASE_CHECKLIST.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/docs/SECURITY_MODEL.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/01_basic_chat/README.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/01_basic_chat/agent.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/02_tool_agent/agent.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/03_rag_agent/agent.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/03_rag_agent/docs/faq.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/04_streaming/agent.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/05_custom_plugin/agent.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/05_custom_plugin/my_plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/06_multi_agent/agent_dev.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/06_multi_agent/agent_pm.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/06_multi_agent/agent_supervisor.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/07_simulation/agent_blue.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/07_simulation/agent_con.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/07_simulation/agent_pro.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/07_simulation/agent_red.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/examples/README.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/llms.txt +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/api/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/boundaries/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/boundaries/test_core_dependency_boundaries.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/boundaries/test_engine_boundary_matrix.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/boundaries/test_engine_plugin_boundaries.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/boundaries/test_plugin_config_schema_boundaries.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/boundaries/test_pyproject_deps.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/boundaries/test_source_text_policy.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/test_constants.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/test_context.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/test_errors.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/test_execution_config_workspace.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/test_message_store_snapshot.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/test_realtime_stream.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/core/test_stream_aggregator.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/engine/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/llm/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/observability/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/observability/test_audit.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/observability/test_logging.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/planning/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/planning/test_plan_runtime.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/planning/test_por_checkpointing.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/planning/test_por_graph_runtime.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_memory_core.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_plugin_isolation.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/plugins/test_vector_store_capacity.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/runtime/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/runtime/test_capability_gate.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/runtime/test_policy.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/runtime/test_security_risk.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/sidecar/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/storage/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/tools/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/tools/test_decorator_tooloutput.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/tools/test_tool_context.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/utils/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/utils/test_math_utils.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.3.1}/tests/workflow/__init__.py +0 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Engine Development Rules
|
|
2
|
+
|
|
3
|
+
## 1. Code Quality
|
|
4
|
+
|
|
5
|
+
谨记:代码是负债,功能才是价值。禁止垃圾、临时、遗留、废弃、重复的代码进入项目。
|
|
6
|
+
|
|
7
|
+
Remember: code is liability, functionality is value. Do not introduce junk, temporary, legacy, dead, or duplicated code.
|
|
8
|
+
|
|
9
|
+
代码应在不牺牲阅读性、扩展性、健壮性的前提下尽可能精简。不要为了少写几行代码牺牲结构清晰度,也不要为了抽象而引入没有实际价值的复杂层。
|
|
10
|
+
|
|
11
|
+
Code should stay as concise as possible without sacrificing readability, extensibility, or robustness. Do not trade clear structure for fewer lines, and do not add abstractions that do not remove real complexity.
|
|
12
|
+
|
|
13
|
+
代码注释必须使用英中双语。注释只解释必要的设计意图、边界、复杂逻辑或非显而易见的行为,禁止写重复代码字面含义的空注释。
|
|
14
|
+
|
|
15
|
+
Code comments must be bilingual in English and Chinese. Comments should explain design intent, boundaries, complex logic, or non-obvious behavior only. Do not add empty comments that merely restate the code.
|
|
16
|
+
|
|
17
|
+
### Python Coding Standard
|
|
18
|
+
|
|
19
|
+
- 代码紧凑;方法之间保留 1 个空行,类之间保留 1 个空行;每行不超过 120 字符;使用 Tab 缩进。
|
|
20
|
+
- Keep code compact. Use one blank line between methods and one blank line between classes. Keep lines at or below 120 characters. Use Tab indentation.
|
|
21
|
+
|
|
22
|
+
- 注释保持简洁单行,格式为 `"""简洁描述"""`;行内注释放在代码末尾。
|
|
23
|
+
- Keep comments short and single-line, using `"""Concise description"""`. Put inline comments at the end of the code line.
|
|
24
|
+
|
|
25
|
+
- 命名规则:变量和函数使用小写下划线,类名使用驼峰,常量使用全大写,私有成员使用单下划线前缀。
|
|
26
|
+
- Naming: variables and functions use lower_snake_case, classes use PascalCase, constants use UPPER_CASE, and private members use a single leading underscore.
|
|
27
|
+
|
|
28
|
+
- 导入顺序:标准库、第三方库、本地模块;各组之间用一个空行分隔。
|
|
29
|
+
- Import order: standard library, third-party libraries, local modules. Separate groups with one blank line.
|
|
30
|
+
|
|
31
|
+
- 函数不超过 50 行,参数不超过 5 个,异常捕获必须使用具体异常类型。
|
|
32
|
+
- Functions must stay within 50 lines, accept no more than 5 parameters, and catch specific exception types.
|
|
33
|
+
|
|
34
|
+
- 优先使用 f-string;布尔判断直接写 `if items:`,不要写冗余比较。
|
|
35
|
+
- Prefer f-strings. Use direct boolean checks such as `if items:` instead of redundant comparisons.
|
|
36
|
+
|
|
37
|
+
## 2. Failure Policy
|
|
38
|
+
|
|
39
|
+
禁止为配置错误、运行错误、流程错误等致命错误做任何形式的兜底、降级、静默跳过或继续运行。
|
|
40
|
+
|
|
41
|
+
Do not add any fallback, degradation, silent skip, or forced continuation for fatal configuration errors, runtime errors, or workflow errors.
|
|
42
|
+
|
|
43
|
+
配置错就直接报错;资源缺失就直接报错;插件加载失败就直接报错;插件依赖缺失就直接报错;插件 hook 出错就直接报错。
|
|
44
|
+
|
|
45
|
+
Invalid configuration must fail directly. Missing resources must fail directly. Plugin load failures must fail directly. Missing plugin dependencies must fail directly. Plugin hook failures must fail directly.
|
|
46
|
+
|
|
47
|
+
引擎不为任何宿主的错误使用买单,不通过兜底、兼容错误写法、自动修正错误输入来掩盖问题;宿主用错就直接崩溃或报错。
|
|
48
|
+
|
|
49
|
+
The engine must not pay for any host misuse. Do not hide host errors through fallbacks, compatibility with invalid patterns, or automatic correction of invalid input. If the host uses the engine incorrectly, fail or raise directly.
|
|
50
|
+
|
|
51
|
+
允许存在显式、用户可见、语义清晰的策略,例如用户主动配置的 fallback model、工具 retry policy、检索链内部明确的排序/召回策略。它们不能掩盖配置错误或致命运行错误。
|
|
52
|
+
|
|
53
|
+
Explicit, user-visible, semantically clear strategies are allowed, such as a user-configured fallback model, a tool retry policy, or a deliberate retrieval ranking/recall strategy. They must not hide configuration errors or fatal runtime failures.
|
|
54
|
+
|
|
55
|
+
上报错误后,必须先核实是否确实为 bug;确认是 bug 后,修复必须补齐对应测试用例,覆盖复现路径和修复后的正确行为。
|
|
56
|
+
|
|
57
|
+
After an error is reported, first verify whether it is a real bug. Once confirmed, the fix must include matching tests that cover the reproduction path and the corrected behavior.
|
|
58
|
+
|
|
59
|
+
## 3. Module Boundaries
|
|
60
|
+
|
|
61
|
+
引擎每个模块的职责边界必须绝对清晰,禁止把宿主、引擎、插件、Agent YAML 的职责混在一起。
|
|
62
|
+
|
|
63
|
+
Every engine module must have a clear responsibility boundary. Do not mix host, engine, plugin, and Agent YAML responsibilities.
|
|
64
|
+
|
|
65
|
+
引擎负责向宿主要运行所需资源,并把资源以明确入口注入运行实例。引擎不应该伪造外部资源,也不应该在资源缺失时偷偷替换成别的实现。
|
|
66
|
+
|
|
67
|
+
The engine is responsible for requesting required runtime resources from the host and injecting them through explicit instance-level entry points. The engine must not fake external resources or secretly replace missing resources with other implementations.
|
|
68
|
+
|
|
69
|
+
插件用于增强 Agent 能力。插件可以组织工具、上下文、策略、检索流程或运行时增强,但不能把宿主资源管理、模型配置、持久化基础设施等职责混进插件边界。
|
|
70
|
+
|
|
71
|
+
Plugins are for enhancing Agent capability. A plugin may organize tools, context, policies, retrieval flow, or runtime enhancement, but it must not absorb host resource management, model configuration, or persistence infrastructure responsibilities.
|
|
72
|
+
|
|
73
|
+
Agent YAML 只负责声明配置参数。YAML 不承载运行期对象,不表达宿主资源实例,不通过 overrides 或字符串路径伪装资源注入。
|
|
74
|
+
|
|
75
|
+
Agent YAML is only for declaring configuration parameters. YAML must not carry runtime objects, host resource instances, or fake resource injection through overrides or string paths.
|
|
76
|
+
|
|
77
|
+
官方预设插件必须保持轻量、边界清晰,禁止植入网络请求、模型 key 管理、外部服务客户端等臃肿模块。第三方宿主插件可以自行决定是否接入这些能力,但不能反向污染官方插件边界。
|
|
78
|
+
|
|
79
|
+
Official built-in plugins must stay lightweight with clear boundaries. They must not embed bulky modules such as network requests, model key management, or external service clients. Third-party host plugins may choose to integrate those capabilities, but must not push that boundary back into official plugins.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: axc-agent-engine
|
|
3
|
-
Version: 2.1
|
|
3
|
+
Version: 2.3.1
|
|
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
|
|
@@ -84,8 +84,8 @@ AxcAgentEngine adds **POR (Plan-Observe-Replan)** on top of ReAct: the agent pro
|
|
|
84
84
|
```bash
|
|
85
85
|
pip install axc-agent-engine
|
|
86
86
|
|
|
87
|
-
# Pin the current 2.
|
|
88
|
-
pip install axc-agent-engine==2.
|
|
87
|
+
# Pin the current 2.3 release
|
|
88
|
+
pip install axc-agent-engine==2.3.1
|
|
89
89
|
|
|
90
90
|
# Optional extras
|
|
91
91
|
pip install "axc-agent-engine[api]"
|
|
@@ -96,22 +96,20 @@ pip install "axc-agent-engine[api,knowledge,workflow]"
|
|
|
96
96
|
Requires Python 3.11 or newer.
|
|
97
97
|
|
|
98
98
|
```python
|
|
99
|
-
from axc_agent_engine import Engine, LLMConfig, PluginRegistry
|
|
99
|
+
from axc_agent_engine import AgentModels, Engine, LLMConfig, PluginRegistry
|
|
100
|
+
from axc_agent_engine.llm.client import OpenAIClient
|
|
100
101
|
from axc_agent_engine.plugins.builtin import BuiltinToolsPlugin
|
|
101
102
|
|
|
102
103
|
registry = PluginRegistry()
|
|
103
104
|
registry.register(BuiltinToolsPlugin)
|
|
104
105
|
|
|
105
|
-
engine = Engine(
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
)
|
|
113
|
-
|
|
114
|
-
agent = engine.load_agent("./agents/my_agent.yaml")
|
|
106
|
+
engine = Engine(plugin_registry=registry)
|
|
107
|
+
models = AgentModels(default=OpenAIClient(LLMConfig(
|
|
108
|
+
base_url="https://api.openai.com/v1",
|
|
109
|
+
api_key="sk-xxx",
|
|
110
|
+
model="gpt-4o",
|
|
111
|
+
)))
|
|
112
|
+
agent = engine.load_agent_template("./agents/my_agent.yaml").instantiate(models=models)
|
|
115
113
|
|
|
116
114
|
# Non-streaming
|
|
117
115
|
result = await agent.chat("Analyze last month's sales data")
|
|
@@ -134,7 +132,8 @@ async for event in agent.stream("Build a REST API for user management"):
|
|
|
134
132
|
- **Tool protocol** - every tool returns `ToolOutput`; read-only runs concurrent, write serial; safe function-name mapping
|
|
135
133
|
- **Durable workflow** - `WorkflowRuntime` + `CheckpointStore` + Agent resume API; Burr is optional via `axc-agent-engine[workflow]`
|
|
136
134
|
- **OpenAI compatible** - provider protocol + OpenAI-compatible HTTP client and API subset
|
|
137
|
-
- **Memory & knowledge** - four-layer memory (KV, dedup, decay, graph hooks) +
|
|
135
|
+
- **Memory & knowledge** - four-layer memory (KV, dedup, decay, graph hooks) + plugin-owned hybrid retrieval
|
|
136
|
+
- **Runtime binding** - models, mounted resources, request metadata, and YAML overrides stay in separate channels
|
|
138
137
|
- **MCP** - stdio, JSON-RPC HTTP, official SDK transports
|
|
139
138
|
- **Human-in-the-loop** - approval queue and `ask_human` tool
|
|
140
139
|
- **Sidecar suite** - multi-agent, simulation, eval, cost, failure mining, trace distillation
|
|
@@ -153,8 +152,8 @@ async for event in agent.stream("Build a REST API for user management"):
|
|
|
153
152
|
| Tool output | enforced `ToolOutput` |
|
|
154
153
|
| Tool name mapping | provider-side model-safe mapping |
|
|
155
154
|
| Context compression | built-in `compress` plugin |
|
|
156
|
-
| Memory | four layers + KV
|
|
157
|
-
| Knowledge |
|
|
155
|
+
| Memory | four layers + KV persistence + dedup + decay |
|
|
156
|
+
| Knowledge | plugin-owned retrieval over local sources or mounted indexes/resources |
|
|
158
157
|
| MCP | stdio / JSON-RPC HTTP / official SDK |
|
|
159
158
|
| Human approval | approval queue + `ask_human` |
|
|
160
159
|
| Sidecar | multi-agent / simulation / eval / cost / failure mining / distillation |
|
|
@@ -171,7 +170,7 @@ async for event in agent.stream("Build a REST API for user management"):
|
|
|
171
170
|
| [Plugin development](docs/PLUGIN_DEVELOPMENT.md) | Build your own plugin |
|
|
172
171
|
| [Security model](docs/SECURITY_MODEL.md) | Capabilities, risk, workspace |
|
|
173
172
|
| [Examples](examples/README.md) | 7 end-to-end demos |
|
|
174
|
-
| [Contributing](CONTRIBUTING.md) / [Security](SECURITY.md) / [
|
|
173
|
+
| [Contributing](CONTRIBUTING.md) / [Security](SECURITY.md) / [LICENSE](LICENSE) | Apache-2.0 |
|
|
175
174
|
|
|
176
175
|
## Agent YAML
|
|
177
176
|
|
|
@@ -201,10 +200,6 @@ plugins:
|
|
|
201
200
|
enabled: true
|
|
202
201
|
sources: ["./docs"]
|
|
203
202
|
namespace: "default"
|
|
204
|
-
embedding:
|
|
205
|
-
base_url: "https://api.openai.com/v1"
|
|
206
|
-
api_key: "sk-xxx"
|
|
207
|
-
model: "text-embedding-3-small"
|
|
208
203
|
|
|
209
204
|
memory:
|
|
210
205
|
enabled: true
|
|
@@ -214,7 +209,11 @@ plugins:
|
|
|
214
209
|
|
|
215
210
|
compress:
|
|
216
211
|
enabled: true
|
|
217
|
-
|
|
212
|
+
summary:
|
|
213
|
+
after_rounds: 8
|
|
214
|
+
durable_tools:
|
|
215
|
+
names: ["agent_call", "knowledge_search"]
|
|
216
|
+
keep: 12
|
|
218
217
|
|
|
219
218
|
risk_guard:
|
|
220
219
|
enabled: true
|
|
@@ -227,16 +226,18 @@ Notes:
|
|
|
227
226
|
- Tools with a non-empty capability are denied by default; list them in `runtime.allowed_capabilities`.
|
|
228
227
|
- File and command tools require `runtime.workspace` by default.
|
|
229
228
|
- LLM configuration is provided in code, not in Agent YAML.
|
|
229
|
+
- Official builtin plugin YAML is for behavior parameters only. External endpoints, API keys, client objects, indexes, stores, and catalogs are mounted in code.
|
|
230
230
|
|
|
231
231
|
## Provider Configuration
|
|
232
232
|
|
|
233
|
-
`
|
|
233
|
+
`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
234
|
|
|
235
235
|
```python
|
|
236
|
-
from axc_agent_engine import ConcurrencyConfig, Engine, LLMConfig
|
|
236
|
+
from axc_agent_engine import AgentModels, ConcurrencyConfig, Engine, LLMConfig
|
|
237
|
+
from axc_agent_engine.llm.client import OpenAIClient
|
|
237
238
|
from axc_agent_engine.tools.name_mapping import ToolNameMappingConfig
|
|
238
239
|
|
|
239
|
-
|
|
240
|
+
main_model_config = LLMConfig(
|
|
240
241
|
base_url="https://api.openai.com/v1",
|
|
241
242
|
api_key="sk-xxx",
|
|
242
243
|
model="gpt-4o",
|
|
@@ -248,22 +249,131 @@ default_llm = LLMConfig(
|
|
|
248
249
|
)
|
|
249
250
|
|
|
250
251
|
engine = Engine(
|
|
251
|
-
default_llm=default_llm,
|
|
252
252
|
concurrency=ConcurrencyConfig(
|
|
253
253
|
max_engine_concurrent_runs=128,
|
|
254
254
|
queue_timeout=30,
|
|
255
255
|
),
|
|
256
256
|
)
|
|
257
|
+
agent = engine.load_agent_template("./agents/my_agent.yaml").instantiate(
|
|
258
|
+
models=AgentModels(default=OpenAIClient(main_model_config)),
|
|
259
|
+
)
|
|
257
260
|
```
|
|
258
261
|
|
|
259
|
-
|
|
262
|
+
Tool-name mapping is the provider's job. Internal tool names are encoded to model-safe function names before the LLM call and decoded before hooks and tool execution.
|
|
263
|
+
|
|
264
|
+
## Runtime Binding
|
|
265
|
+
|
|
266
|
+
Agent YAML describes stable behavior. Runtime objects are bound in code when the template is instantiated:
|
|
260
267
|
|
|
261
268
|
```python
|
|
262
|
-
|
|
263
|
-
|
|
269
|
+
agent = template.instantiate(
|
|
270
|
+
models=AgentModels(
|
|
271
|
+
default=gpt5_provider,
|
|
272
|
+
utility=fast_provider,
|
|
273
|
+
fallback=backup_provider,
|
|
274
|
+
),
|
|
275
|
+
mounts={
|
|
276
|
+
"knowledge.index": tenant_knowledge_index,
|
|
277
|
+
"graph.store": tenant_graph_store,
|
|
278
|
+
"skill.catalog": tenant_skill_catalog,
|
|
279
|
+
},
|
|
280
|
+
metadata={
|
|
281
|
+
"tenant_id": "t_001",
|
|
282
|
+
},
|
|
283
|
+
overrides={
|
|
284
|
+
"plugins.knowledge.namespace": "tenant:t_001",
|
|
285
|
+
"plugins.skill.timeout": 30,
|
|
286
|
+
},
|
|
287
|
+
)
|
|
264
288
|
```
|
|
265
289
|
|
|
266
|
-
|
|
290
|
+
- `models` binds provider objects for this Agent instance; the Engine does not own model configuration.
|
|
291
|
+
- `mounts` injects host-owned runtime resources for this instantiation and overrides Engine-level resources with the same name.
|
|
292
|
+
- `metadata` attaches instance metadata; request metadata can still override it inside a single chat/stream call.
|
|
293
|
+
- `overrides` patches validated Agent YAML fields before plugins are initialized. It only accepts YAML-serializable values and cannot bind runtime resources.
|
|
294
|
+
|
|
295
|
+
Preferred official resource slots are `knowledge.index`, `graph.store`, `skill.catalog`, and `tracing.exporter`. Advanced knowledge slots such as `knowledge.documents`, `knowledge.embedding`, `knowledge.vector_store`, and `knowledge.reranker` are also supported by the current plugin, but they are still runtime mounts, not YAML or `overrides` values.
|
|
296
|
+
|
|
297
|
+
## Request Metadata and Tracing
|
|
298
|
+
|
|
299
|
+
Run-level metadata is passed through the public Agent entry points and reaches `ExecutionContext.state.metadata`. The tracing plugin copies this metadata into every span, while keeping top-level `run_id`, `session_id`, `span_id`, and `parent_span_id`.
|
|
300
|
+
|
|
301
|
+
```python
|
|
302
|
+
async for event in agent.stream_with_messages(
|
|
303
|
+
messages,
|
|
304
|
+
session_id="123",
|
|
305
|
+
llm_options={"temperature": 0.2},
|
|
306
|
+
run_options={"run_id": "run_abc"},
|
|
307
|
+
metadata={
|
|
308
|
+
"external_trace_id": "trace_1001",
|
|
309
|
+
"conversation_id": 123,
|
|
310
|
+
"agent_profile_id": 9,
|
|
311
|
+
},
|
|
312
|
+
):
|
|
313
|
+
...
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
Use this for host-side trace or audit correlation. Do not encode external correlation IDs in prompts, tool arguments, or fake tool messages.
|
|
317
|
+
|
|
318
|
+
## Cancellation and Usage
|
|
319
|
+
|
|
320
|
+
Every run receives a `run_id` through `run_options.run_id`, `metadata.run_id`, or engine generation. Hosts should cancel a run through the Engine so nested `agent_call`, swarm, sidecar-owned Agent runs, and active tools share the same cancellation signal:
|
|
321
|
+
|
|
322
|
+
```python
|
|
323
|
+
engine.cancel_run("run_abc", reason="user_cancelled")
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
Streaming callers receive a terminal `cancelled` event. Non-streaming callers receive `CancelledError`. Terminal `done` and `cancelled` events include aggregated usage in `event.metadata["usage"]`:
|
|
327
|
+
|
|
328
|
+
```python
|
|
329
|
+
{
|
|
330
|
+
"input_tokens": 1200,
|
|
331
|
+
"output_tokens": 380,
|
|
332
|
+
"total_tokens": 1580,
|
|
333
|
+
}
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
Hosts should read this aggregate instead of summing scattered LLM or sub-Agent events.
|
|
337
|
+
|
|
338
|
+
## Multimodal Messages
|
|
339
|
+
|
|
340
|
+
The host owns uploads, authorization, OCR, image recognition, media URLs, and base64 generation. The engine only accepts normalized message content parts and passes them through the input/provider boundary:
|
|
341
|
+
|
|
342
|
+
```python
|
|
343
|
+
messages = [{
|
|
344
|
+
"role": "user",
|
|
345
|
+
"content": [
|
|
346
|
+
{"type": "text", "text": "Explain this screenshot."},
|
|
347
|
+
{"type": "image_url", "image_url": {"url": "https://example.com/screen.png"}},
|
|
348
|
+
{"type": "image_base64", "media_type": "image/png", "data": "..."},
|
|
349
|
+
{"type": "file_ref", "ref": "artifact:123", "metadata": {"name": "report.pdf"}},
|
|
350
|
+
],
|
|
351
|
+
}]
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
Unsupported part types fail immediately. Official plugins do not fetch host media services or perform deployment-specific multimodal preprocessing.
|
|
355
|
+
|
|
356
|
+
## Tool Output Views
|
|
357
|
+
|
|
358
|
+
`ToolOutput` separates the LLM context view from the UI display view:
|
|
359
|
+
|
|
360
|
+
- `context_view(max_chars=2000)` is written into `MessageStore` for the next LLM round. It prefers `durable_summary`, then `summary`, then compact content, and preserves artifact refs.
|
|
361
|
+
- `display_view(max_chars=0)` is used by `tool_result` events for host/UI display. It can expose full content or artifact refs without polluting LLM context.
|
|
362
|
+
- `compact_view()` is not a UI contract. New code should call `context_view()` or `display_view()` explicitly.
|
|
363
|
+
|
|
364
|
+
Hosts should not monkey patch `ToolOutput` to change LLM context behavior.
|
|
365
|
+
|
|
366
|
+
## Durable Tool Results and Sub-Agent Events
|
|
367
|
+
|
|
368
|
+
The `compress` plugin preserves assistant tool calls and their matching tool results as atomic groups. Durable tool results are also saved into the compression boundary and reinjected after context packing. By default, `agent_call` and `knowledge_search` are durable; domain tools can opt in with `compress.durable_tools.names`, `compress.durable_tools.capabilities`, or `ToolOutput.with_metadata({"durable": True, "durable_summary": "..."})`.
|
|
369
|
+
|
|
370
|
+
`collaboration.agent_call` streams child Agent activity back to the parent run as standard events:
|
|
371
|
+
|
|
372
|
+
- `sub_agent_start`
|
|
373
|
+
- `sub_agent_step`
|
|
374
|
+
- `sub_agent_complete`
|
|
375
|
+
|
|
376
|
+
Stable fields include `parent_tool_call_id`, `sub_run_id`, `agent_name`, `agent_id`, `step.type`, `tool_call_id`, `tool_name`, `content`, `artifacts`, `error`, and `duration_ms`. Frontends should render these events directly. They should not parse `agent_call` tool results to invent a child execution timeline.
|
|
267
377
|
|
|
268
378
|
## API
|
|
269
379
|
|
|
@@ -282,13 +392,14 @@ Clients should not assume full OpenAI parity; call `/v1/capabilities` first. See
|
|
|
282
392
|
Capabilities not required by a basic agent live in plugins. The default `Engine.plugin_registry` is empty; both built-in and custom plugins must be registered explicitly.
|
|
283
393
|
|
|
284
394
|
```python
|
|
285
|
-
from axc_agent_engine import
|
|
395
|
+
from axc_agent_engine import AgentModels, Engine, PluginRegistry
|
|
286
396
|
from axc_agent_engine.plugins.builtin import BuiltinToolsPlugin, MemoryPlugin
|
|
287
397
|
from my_project.plugins import MyCustomPlugin
|
|
288
398
|
|
|
289
399
|
registry = PluginRegistry()
|
|
290
400
|
registry.register_many([BuiltinToolsPlugin, MemoryPlugin, MyCustomPlugin])
|
|
291
|
-
engine = Engine(
|
|
401
|
+
engine = Engine(plugin_registry=registry)
|
|
402
|
+
agent = engine.load_agent_template("./agents/my_agent.yaml").instantiate(models=AgentModels(default=llm))
|
|
292
403
|
```
|
|
293
404
|
|
|
294
405
|
| Plugin | Purpose |
|
|
@@ -327,18 +438,20 @@ Sidecars live under `axc_agent_engine.sidecar` and are invoked explicitly by the
|
|
|
327
438
|
| `sidecar.cost_optimizer` | Cost estimation and optimization findings |
|
|
328
439
|
|
|
329
440
|
```python
|
|
441
|
+
from axc_agent_engine import AgentModels, Engine
|
|
330
442
|
from axc_agent_engine.sidecar import OrchestrationTaskService
|
|
331
443
|
from axc_agent_engine.storage.in_memory import InMemoryMessageBus
|
|
332
444
|
|
|
333
|
-
engine = Engine(
|
|
334
|
-
|
|
335
|
-
|
|
445
|
+
engine = Engine(message_bus=InMemoryMessageBus())
|
|
446
|
+
models = AgentModels(default=main_model, utility=utility_model)
|
|
447
|
+
red = engine.load_agent_template("./agents/red.yaml").instantiate(models=models)
|
|
448
|
+
blue = engine.load_agent_template("./agents/blue.yaml").instantiate(models=models)
|
|
336
449
|
|
|
337
450
|
service = OrchestrationTaskService(
|
|
338
451
|
agent_getter=engine.get_agent,
|
|
339
452
|
agent_lister=engine.list_agents,
|
|
340
453
|
dispatcher=engine._dispatcher,
|
|
341
|
-
|
|
454
|
+
utility_model=utility_model,
|
|
342
455
|
)
|
|
343
456
|
|
|
344
457
|
task = await service.run_task(
|
|
@@ -349,42 +462,65 @@ task = await service.run_task(
|
|
|
349
462
|
)
|
|
350
463
|
```
|
|
351
464
|
|
|
465
|
+
Sidecar components that create internal Agent runs accept standard run context:
|
|
466
|
+
|
|
467
|
+
- `EvalRunner.run_cases(..., run_options, metadata, case_run_options, case_metadata)`
|
|
468
|
+
- `MultiAgentSession.run/stream(..., run_options, metadata, agent_run_options, agent_metadata)`
|
|
469
|
+
- `SimulationRunner.run/stream(..., run_options, metadata, actor_run_options, actor_metadata)`
|
|
470
|
+
|
|
471
|
+
Factory metadata supplements the base metadata for each case, agent, or actor. `EvalCase.metadata` remains evaluation/scoring metadata and is not request metadata.
|
|
472
|
+
|
|
352
473
|
## Runtime Flow
|
|
353
474
|
|
|
354
475
|
### Load time
|
|
355
476
|
|
|
356
477
|
```mermaid
|
|
357
478
|
flowchart TD
|
|
358
|
-
A["Application creates Engine"] --> B["Inject
|
|
359
|
-
B --> C["Engine.
|
|
360
|
-
C --> D["
|
|
361
|
-
D --> E["
|
|
362
|
-
E --> F["
|
|
363
|
-
F --> G["
|
|
364
|
-
G --> H["
|
|
365
|
-
H --> I["
|
|
366
|
-
I --> J["
|
|
479
|
+
A["Application creates Engine"] --> B["Inject shared services and PluginRegistry"]
|
|
480
|
+
B --> C["Engine.load_agent_template(agent.yaml)"]
|
|
481
|
+
C --> D["Validate Agent YAML"]
|
|
482
|
+
D --> E["AgentTemplate.instantiate(models, mounts, metadata, overrides)"]
|
|
483
|
+
E --> F["Apply YAML overrides"]
|
|
484
|
+
F --> G["Merge Engine resources + mounts"]
|
|
485
|
+
G --> H["Build PluginContext"]
|
|
486
|
+
H --> I["Load enabled plugins from registry"]
|
|
487
|
+
I --> J["Plugin.initialize(config, ctx)"]
|
|
488
|
+
J --> K["Plugin.get_tools()"]
|
|
489
|
+
K --> L["Register ToolDefinition"]
|
|
490
|
+
L --> M["Create Agent and dispatcher consumer"]
|
|
367
491
|
```
|
|
368
492
|
|
|
369
493
|
### One agent run
|
|
370
494
|
|
|
371
495
|
```mermaid
|
|
372
496
|
flowchart TD
|
|
373
|
-
A["
|
|
374
|
-
B --> C["
|
|
375
|
-
C --> D["
|
|
376
|
-
D --> E["ExecutionRunLifecycle
|
|
377
|
-
|
|
378
|
-
F --> G
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
J
|
|
383
|
-
|
|
384
|
-
L -->
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
497
|
+
A["Agent.chat / stream / *_with_messages / resume"] --> B["RunRequest.create"]
|
|
498
|
+
B --> C["Merge run_options.run_id and request metadata"]
|
|
499
|
+
C --> D["Create ExecutionContext"]
|
|
500
|
+
D --> E["ExecutionRunLifecycle.on_execution_start"]
|
|
501
|
+
E --> F["MessageStore initializes system/user/plugin context"]
|
|
502
|
+
F --> G{"Routing mode"}
|
|
503
|
+
G -->|react_only or auto ReAct| H["ReActKernel round"]
|
|
504
|
+
G -->|por_first or POR handoff| I["PORRunner / PORGraphRuntime"]
|
|
505
|
+
H --> J["Plugin.transform_messages"]
|
|
506
|
+
J --> K["compress: recent window + durable results + atomic tool groups"]
|
|
507
|
+
K --> L["LLMCaller"]
|
|
508
|
+
L --> M["Plugin.pre_llm_call"]
|
|
509
|
+
M --> N["Strip engine-only message fields"]
|
|
510
|
+
N --> O["LLM provider chat/stream"]
|
|
511
|
+
O --> P{"LLM response"}
|
|
512
|
+
P -->|final answer| Q["on_round_end -> on_execution_complete -> done"]
|
|
513
|
+
P -->|tool_calls| R["Tool orchestrator"]
|
|
514
|
+
R --> S["pre_tool_call / execute / post_tool_call"]
|
|
515
|
+
S --> T["ToolOutput -> MessageStore role=tool"]
|
|
516
|
+
T --> U["tool_result event"]
|
|
517
|
+
U --> H
|
|
518
|
+
S -->|agent_call / swarm| V["Child Agent dispatcher"]
|
|
519
|
+
V --> W["sub_agent_start / sub_agent_step / sub_agent_complete"]
|
|
520
|
+
W --> H
|
|
521
|
+
I --> Q
|
|
522
|
+
Q --> X["done/cancelled event with usage"]
|
|
523
|
+
X --> Y["tracing spans saved with metadata and parent_span_id"]
|
|
388
524
|
```
|
|
389
525
|
|
|
390
526
|
## Plugin Development
|
|
@@ -407,12 +543,11 @@ class MyPlugin(BasePlugin):
|
|
|
407
543
|
"api_url",
|
|
408
544
|
"接口地址",
|
|
409
545
|
"string",
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
],
|
|
546
|
+
"插件调用的后端接口地址。",
|
|
547
|
+
label_en="API URL",
|
|
548
|
+
default="http://localhost:5000",
|
|
549
|
+
),
|
|
550
|
+
],
|
|
416
551
|
display_name_en="My Plugin",
|
|
417
552
|
)
|
|
418
553
|
|
|
@@ -473,8 +608,12 @@ CLI logging flags are global and must be placed before the subcommand.
|
|
|
473
608
|
- **Tools come from plugins.** The engine core embeds no business tools.
|
|
474
609
|
- **Tools must return `ToolOutput`.** Non-`ToolOutput` returns are rejected.
|
|
475
610
|
- **Tool definitions must be `ToolDefinition`.** No dicts.
|
|
476
|
-
- **
|
|
611
|
+
- **Deployment-specific protocols stay out.** External APIs, deployment databases, auth flows, and service discovery belong in host plugins.
|
|
477
612
|
- **LLM config lives in code.** Agent YAML describes runtime limits, capabilities, and plugins.
|
|
613
|
+
- **Fatal errors are not hidden by fallback logic.** Invalid configuration, invalid runtime resources, broken tool contracts, and flow errors must fail clearly.
|
|
614
|
+
- **Official plugins stay lean.** They may strengthen Agent behavior, but they do not own host network clients, deployment API keys, external services, or deployment-specific protocols.
|
|
615
|
+
- **Runtime resources use mounts.** Do not pass resources through YAML or `overrides`.
|
|
616
|
+
- **Request correlation uses metadata.** Hosts pass external trace identifiers through `metadata`; tracing spans persist them directly.
|
|
478
617
|
- **The API is a subset.** Request-level `tools`, `tool_choice`, `n > 1` are rejected.
|
|
479
618
|
|
|
480
619
|
## Tests
|
|
@@ -484,4 +623,4 @@ python3 -m pytest -q
|
|
|
484
623
|
python3 -m pytest --cov --cov-report=term-missing:skip-covered -q
|
|
485
624
|
```
|
|
486
625
|
|
|
487
|
-
The release gate requires at least
|
|
626
|
+
The release gate requires at least 95% total coverage.
|