axc-agent-engine 2.1.0__tar.gz → 2.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/PKG-INFO +25 -30
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/README.md +24 -29
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/README.zh-CN.md +18 -24
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/__init__.py +3 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/agent.py +16 -12
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/api/app.py +3 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/api/deps.py +3 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/cli.py +24 -6
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/context.py +2 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/llm_caller.py +3 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/engine.py +126 -104
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/planning/por_runner.py +2 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/__init__.py +10 -10
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/compress/context/summarizer.py +4 -4
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/compress/context/tool_summary.py +4 -4
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/compress/plugin.py +2 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/knowledge/plugin.py +3 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/knowledge/support/retrieval.py +8 -8
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/mcp/support/connection.py +1 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/memory/plugin.py +4 -4
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/output_format/plugin.py +1 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/output_format/support/service.py +9 -9
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/reflexion/plugin.py +1 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/modes.py +13 -13
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/session.py +5 -5
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/orchestration/__init__.py +6 -6
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/simulation/report.py +4 -4
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/docs/ARCHITECTURE.md +8 -5
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/docs/PLUGIN_DEVELOPMENT.md +7 -5
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/docs/RAVEN_EXECUTION_KERNEL_REPLACEMENT.md +7 -6
- axc_agent_engine-2.2.0/examples/01_basic_chat/run.py +30 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/02_tool_agent/run.py +12 -10
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/03_rag_agent/run.py +12 -10
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/04_streaming/run.py +12 -10
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/05_custom_plugin/run.py +12 -10
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/06_multi_agent/run_group_chat.py +14 -11
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/06_multi_agent/run_supervisor.py +15 -12
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/07_simulation/run_debate.py +14 -11
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/07_simulation/run_redblue.py +14 -11
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/pyproject.toml +1 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/api/test_api_chat.py +8 -4
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/boundaries/test_compression_boundary.py +2 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/boundaries/test_init_exports.py +1 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/cli/test_cli.py +5 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/conftest.py +2 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/test_core.py +2 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/test_executor_checkpoint.py +2 -2
- axc_agent_engine-2.2.0/tests/engine/test_engine.py +227 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/engine/test_engine_dispatcher_lifecycle.py +16 -16
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/llm/test_provider.py +1 -23
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_compress_tooloutput.py +3 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_config_schema.py +4 -4
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_lightweight_guards.py +2 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_memory_plugin.py +1 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_memory_support.py +3 -3
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_output_format_service.py +2 -2
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_plugin_context_workspace.py +5 -5
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_plugins.py +1 -1
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/runtime/test_concurrency.py +4 -4
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/workflow/test_workflow_runtime.py +2 -2
- axc_agent_engine-2.1.0/axc_agent_engine/llm/registry.py +0 -72
- axc_agent_engine-2.1.0/examples/01_basic_chat/run.py +0 -28
- axc_agent_engine-2.1.0/tests/engine/test_engine.py +0 -158
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/.gitignore +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/AXC_ENGINE_CORE_REFACTOR_PLAN.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/CHANGELOG.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/CODE_OF_CONDUCT.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/CONTRIBUTING.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/ENGINE_BOUNDARY_DESIGN.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/LICENSE +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/Makefile +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/NOTICE +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/RAVEN_EXECUTION_KERNEL_REPLACEMENT.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/SECURITY.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/api/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/api/routes/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/api/routes/chat.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/api/routes/health.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/constants.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/dispatcher.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/errors.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/events.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/execution_run.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/executor.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/message_store.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/plugin_manager.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/react_kernel.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/react_loop.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/run_request.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/schema.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/session.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/session_manager.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/stream_aggregator.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/core/stream_sink.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/llm/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/llm/client.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/llm/config.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/llm/provider.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/llm/rate_limited.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/observability/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/observability/audit.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/observability/logging.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/planning/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/planning/checkpointing.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/planning/graph_nodes.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/planning/graph_runtime.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/planning/graph_state.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/planning/observer.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/planning/planner.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/planning/planning_service.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/planning/prompts.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/planning/replanner.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/planning/router.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/planning/runtime.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/planning/scheduler.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/planning/step_executor.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/base.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/builtin_tools/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/builtin_tools/command_tools.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/builtin_tools/file_tools.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/builtin_tools/http_tools.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/builtin_tools/path_policy.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/builtin_tools/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/builtin_tools/presenter.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/builtin_tools/registry.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/builtin_tools/result_store.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/builtin_tools/result_tools.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/builtin_tools/support.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/builtin_tools/tool_definitions.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/collaboration/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/collaboration/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/common.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/compress/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/compress/context/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/compress/context/boundary.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/compress/context/file_cache.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/compress/context/models.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/compress/context/normalizer.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/compress/context/packer.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/compress/context/recall.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/compress/context/recent_window.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/compress/context/scoring.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/compress/context/tool_result.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/compress/prompts.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/config_schemas.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/cost_statistics/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/cost_statistics/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/graph/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/graph/audit.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/graph/config.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/graph/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/graph/policy.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/graph/presenter.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/graph/service.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/graph/source_loader.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/graph/support.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/graph/tool_factory.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/graph/tool_handlers.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/graph/utils.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/hooks/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/hooks/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/human_in_the_loop/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/human_in_the_loop/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/knowledge/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/knowledge/support/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/knowledge/support/chunker.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/knowledge/support/ingestion.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/mcp/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/mcp/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/mcp/support/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/mcp/support/client.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/mcp/support/models.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/mcp/support/normalization.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/mcp/support/transports/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/mcp/support/transports/base.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/mcp/support/transports/http.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/mcp/support/transports/sdk.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/mcp/support/transports/stdio.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/memory/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/memory/prompts.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/memory/support/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/memory/support/embedding.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/memory/support/graph.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/memory/support/retrieval.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/memory/support/service.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/output_format/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/output_format/support/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/post_process/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/post_process/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/reflexion/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/reflexion/prompts.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/repetition_guard/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/repetition_guard/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/risk_guard/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/risk_guard/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/safety/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/safety/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/skill/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/skill/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/swarm/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/swarm/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/tracing/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/builtin/tracing/plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/config_schema.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/loader.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/plugins/registry.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/py.typed +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/runtime/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/runtime/checkpoint.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/runtime/concurrency.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/runtime/input.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/runtime/policy.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/runtime/resources.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/runtime/risk.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/runtime/sandbox_code.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/runtime/sandbox_local.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/runtime/sandbox_models.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/runtime/sandbox_policy.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/runtime/sandbox_provider.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/runtime/sandbox_utils.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/runtime/sandbox_workspace.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/README.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/agent_selector/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/cost_optimizer/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/distiller/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/eval/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/eval/judge.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/eval/matcher.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/eval/report.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/eval/runner.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/eval/store.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/failure_miner/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/events.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/persona.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/scheduler/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/scheduler/all_parallel.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/scheduler/debate.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/scheduler/redblue.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/scheduler/round_robin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/scheduler/supervisor.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/shared_context.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/simulation_session.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/causal_chain.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/consensus.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/goal_reached.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/llm_based.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/stop_condition/max_rounds.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/multi_agent/types.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/simulation/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/simulation/action_parser.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/simulation/adapters.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/simulation/defaults.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/simulation/interfaces.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/simulation/models.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/simulation/modes.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/sidecar/simulation/runner.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/storage/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/storage/in_memory.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/storage/protocols.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/storage/result_store.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/tools/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/tools/audit.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/tools/batches.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/tools/context.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/tools/decorator.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/tools/executor.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/tools/name_mapping.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/tools/orchestrator.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/tools/policy.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/tools/registry.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/tools/runtime.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/tools/tool_output.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/tools/utils.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/utils/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/utils/json_utils.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/utils/math_utils.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/workflow/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/workflow/burr_runtime.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/workflow/factory.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/workflow/memory_runtime.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/workflow/protocols.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/axc_agent_engine/workflow/state.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/docs/API.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/docs/OPEN_SOURCE_REPORT.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/docs/RELEASE_CHECKLIST.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/docs/SECURITY_MODEL.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/01_basic_chat/README.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/01_basic_chat/agent.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/02_tool_agent/agent.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/03_rag_agent/agent.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/03_rag_agent/docs/faq.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/04_streaming/agent.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/05_custom_plugin/agent.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/05_custom_plugin/my_plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/06_multi_agent/agent_dev.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/06_multi_agent/agent_pm.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/06_multi_agent/agent_supervisor.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/07_simulation/agent_blue.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/07_simulation/agent_con.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/07_simulation/agent_pro.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/07_simulation/agent_red.yaml +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/examples/README.md +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/llms.txt +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/api/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/boundaries/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/boundaries/test_core_dependency_boundaries.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/boundaries/test_engine_boundaries.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/boundaries/test_engine_boundary_matrix.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/boundaries/test_engine_plugin_boundaries.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/boundaries/test_plugin_config_schema_boundaries.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/boundaries/test_pyproject_deps.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/boundaries/test_source_text_policy.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/test_constants.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/test_context.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/test_context_layers.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/test_dispatcher_architecture.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/test_errors.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/test_event_categories.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/test_events.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/test_execution_config_workspace.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/test_execution_services.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/test_message_store_snapshot.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/test_message_store_tooloutput.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/test_realtime_stream.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/test_schema.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/core/test_stream_aggregator.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/engine/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/engine/test_integration_flow.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/llm/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/llm/test_llm_caller_retry.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/observability/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/observability/test_audit.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/observability/test_logging.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/planning/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/planning/test_plan_runtime.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/planning/test_planning.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/planning/test_por_checkpointing.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/planning/test_por_graph_runtime.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_builtin_tools_tooloutput.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_collaboration_plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_graph_store.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_hooks_and_hitl.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_knowledge_core.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_knowledge_plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_knowledge_vector.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_mcp_plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_mcp_transports.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_memory_core.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_plugin_dependencies.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_plugin_isolation.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_plugin_post_tool_call.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_plugin_registry.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_skill_plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_swarm_plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_tracing_plugin.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/plugins/test_vector_store_capacity.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/runtime/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/runtime/test_capability_gate.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/runtime/test_checkpoint.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/runtime/test_policy.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/runtime/test_sandbox.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/runtime/test_security_risk.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/sidecar/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/sidecar/test_eval_framework.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/sidecar/test_multi_agent_modes.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/sidecar/test_orchestration_service.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/sidecar/test_sidecar_agent_ops.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/sidecar/test_simulation_adapters.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/sidecar/test_simulation_kernel.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/storage/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/storage/test_storage.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/tools/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/tools/test_decorator_tooloutput.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/tools/test_orchestrator_tool_context.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/tools/test_tool_context.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/tools/test_tool_orchestrator_timeout.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/tools/test_tool_output.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/tools/test_tool_output_integration.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/tools/test_tool_validation.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/tools/test_tooloutput_protocol.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/tools/test_tools.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/utils/__init__.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/utils/test_math_utils.py +0 -0
- {axc_agent_engine-2.1.0 → axc_agent_engine-2.2.0}/tests/workflow/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: axc-agent-engine
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
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
|
|
@@ -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")
|
|
@@ -230,13 +228,13 @@ Notes:
|
|
|
230
228
|
|
|
231
229
|
## Provider Configuration
|
|
232
230
|
|
|
233
|
-
`
|
|
231
|
+
`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
232
|
|
|
235
233
|
```python
|
|
236
234
|
from axc_agent_engine import ConcurrencyConfig, Engine, LLMConfig
|
|
237
235
|
from axc_agent_engine.tools.name_mapping import ToolNameMappingConfig
|
|
238
236
|
|
|
239
|
-
|
|
237
|
+
main_model_config = LLMConfig(
|
|
240
238
|
base_url="https://api.openai.com/v1",
|
|
241
239
|
api_key="sk-xxx",
|
|
242
240
|
model="gpt-4o",
|
|
@@ -248,19 +246,14 @@ default_llm = LLMConfig(
|
|
|
248
246
|
)
|
|
249
247
|
|
|
250
248
|
engine = Engine(
|
|
251
|
-
default_llm=default_llm,
|
|
252
249
|
concurrency=ConcurrencyConfig(
|
|
253
250
|
max_engine_concurrent_runs=128,
|
|
254
251
|
queue_timeout=30,
|
|
255
252
|
),
|
|
256
253
|
)
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
```python
|
|
262
|
-
engine.provider_registry.register("fast", fast_provider)
|
|
263
|
-
agent = engine.load_agent("./agents/my_agent.yaml", default_llm="fast")
|
|
254
|
+
agent = engine.load_agent_template("./agents/my_agent.yaml").instantiate(
|
|
255
|
+
models=AgentModels(default=OpenAIClient(main_model_config)),
|
|
256
|
+
)
|
|
264
257
|
```
|
|
265
258
|
|
|
266
259
|
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.
|
|
@@ -282,13 +275,14 @@ Clients should not assume full OpenAI parity; call `/v1/capabilities` first. See
|
|
|
282
275
|
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
276
|
|
|
284
277
|
```python
|
|
285
|
-
from axc_agent_engine import
|
|
278
|
+
from axc_agent_engine import AgentModels, Engine, PluginRegistry
|
|
286
279
|
from axc_agent_engine.plugins.builtin import BuiltinToolsPlugin, MemoryPlugin
|
|
287
280
|
from my_project.plugins import MyCustomPlugin
|
|
288
281
|
|
|
289
282
|
registry = PluginRegistry()
|
|
290
283
|
registry.register_many([BuiltinToolsPlugin, MemoryPlugin, MyCustomPlugin])
|
|
291
|
-
engine = Engine(
|
|
284
|
+
engine = Engine(plugin_registry=registry)
|
|
285
|
+
agent = engine.load_agent_template("./agents/my_agent.yaml").instantiate(models=AgentModels(default=llm))
|
|
292
286
|
```
|
|
293
287
|
|
|
294
288
|
| Plugin | Purpose |
|
|
@@ -330,15 +324,16 @@ Sidecars live under `axc_agent_engine.sidecar` and are invoked explicitly by the
|
|
|
330
324
|
from axc_agent_engine.sidecar import OrchestrationTaskService
|
|
331
325
|
from axc_agent_engine.storage.in_memory import InMemoryMessageBus
|
|
332
326
|
|
|
333
|
-
engine = Engine(
|
|
334
|
-
|
|
335
|
-
|
|
327
|
+
engine = Engine(message_bus=InMemoryMessageBus())
|
|
328
|
+
models = AgentModels(default=main_model, utility=utility_model)
|
|
329
|
+
red = engine.load_agent_template("./agents/red.yaml").instantiate(models=models)
|
|
330
|
+
blue = engine.load_agent_template("./agents/blue.yaml").instantiate(models=models)
|
|
336
331
|
|
|
337
332
|
service = OrchestrationTaskService(
|
|
338
333
|
agent_getter=engine.get_agent,
|
|
339
334
|
agent_lister=engine.list_agents,
|
|
340
335
|
dispatcher=engine._dispatcher,
|
|
341
|
-
|
|
336
|
+
utility_model=utility_model,
|
|
342
337
|
)
|
|
343
338
|
|
|
344
339
|
task = await service.run_task(
|
|
@@ -356,8 +351,8 @@ task = await service.run_task(
|
|
|
356
351
|
```mermaid
|
|
357
352
|
flowchart TD
|
|
358
353
|
A["Application creates Engine"] --> B["Inject providers and services"]
|
|
359
|
-
B --> C["Engine.
|
|
360
|
-
C --> D["
|
|
354
|
+
B --> C["Engine.load_agent_template(agent.yaml)"]
|
|
355
|
+
C --> D["AgentTemplate.instantiate(models, mounts)"]
|
|
361
356
|
D --> E["Build PluginContext"]
|
|
362
357
|
E --> F["Load enabled plugins"]
|
|
363
358
|
F --> G["Plugin.initialize()"]
|
|
@@ -46,22 +46,20 @@ pip install "axc-agent-engine[api,knowledge,workflow]"
|
|
|
46
46
|
Requires Python 3.11 or newer.
|
|
47
47
|
|
|
48
48
|
```python
|
|
49
|
-
from axc_agent_engine import Engine, LLMConfig, PluginRegistry
|
|
49
|
+
from axc_agent_engine import AgentModels, Engine, LLMConfig, PluginRegistry
|
|
50
|
+
from axc_agent_engine.llm.client import OpenAIClient
|
|
50
51
|
from axc_agent_engine.plugins.builtin import BuiltinToolsPlugin
|
|
51
52
|
|
|
52
53
|
registry = PluginRegistry()
|
|
53
54
|
registry.register(BuiltinToolsPlugin)
|
|
54
55
|
|
|
55
|
-
engine = Engine(
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
)
|
|
63
|
-
|
|
64
|
-
agent = engine.load_agent("./agents/my_agent.yaml")
|
|
56
|
+
engine = Engine(plugin_registry=registry)
|
|
57
|
+
models = AgentModels(default=OpenAIClient(LLMConfig(
|
|
58
|
+
base_url="https://api.openai.com/v1",
|
|
59
|
+
api_key="sk-xxx",
|
|
60
|
+
model="gpt-4o",
|
|
61
|
+
)))
|
|
62
|
+
agent = engine.load_agent_template("./agents/my_agent.yaml").instantiate(models=models)
|
|
65
63
|
|
|
66
64
|
# Non-streaming
|
|
67
65
|
result = await agent.chat("Analyze last month's sales data")
|
|
@@ -180,13 +178,13 @@ Notes:
|
|
|
180
178
|
|
|
181
179
|
## Provider Configuration
|
|
182
180
|
|
|
183
|
-
`
|
|
181
|
+
`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`).
|
|
184
182
|
|
|
185
183
|
```python
|
|
186
184
|
from axc_agent_engine import ConcurrencyConfig, Engine, LLMConfig
|
|
187
185
|
from axc_agent_engine.tools.name_mapping import ToolNameMappingConfig
|
|
188
186
|
|
|
189
|
-
|
|
187
|
+
main_model_config = LLMConfig(
|
|
190
188
|
base_url="https://api.openai.com/v1",
|
|
191
189
|
api_key="sk-xxx",
|
|
192
190
|
model="gpt-4o",
|
|
@@ -198,19 +196,14 @@ default_llm = LLMConfig(
|
|
|
198
196
|
)
|
|
199
197
|
|
|
200
198
|
engine = Engine(
|
|
201
|
-
default_llm=default_llm,
|
|
202
199
|
concurrency=ConcurrencyConfig(
|
|
203
200
|
max_engine_concurrent_runs=128,
|
|
204
201
|
queue_timeout=30,
|
|
205
202
|
),
|
|
206
203
|
)
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
```python
|
|
212
|
-
engine.provider_registry.register("fast", fast_provider)
|
|
213
|
-
agent = engine.load_agent("./agents/my_agent.yaml", default_llm="fast")
|
|
204
|
+
agent = engine.load_agent_template("./agents/my_agent.yaml").instantiate(
|
|
205
|
+
models=AgentModels(default=OpenAIClient(main_model_config)),
|
|
206
|
+
)
|
|
214
207
|
```
|
|
215
208
|
|
|
216
209
|
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.
|
|
@@ -232,13 +225,14 @@ Clients should not assume full OpenAI parity; call `/v1/capabilities` first. See
|
|
|
232
225
|
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.
|
|
233
226
|
|
|
234
227
|
```python
|
|
235
|
-
from axc_agent_engine import
|
|
228
|
+
from axc_agent_engine import AgentModels, Engine, PluginRegistry
|
|
236
229
|
from axc_agent_engine.plugins.builtin import BuiltinToolsPlugin, MemoryPlugin
|
|
237
230
|
from my_project.plugins import MyCustomPlugin
|
|
238
231
|
|
|
239
232
|
registry = PluginRegistry()
|
|
240
233
|
registry.register_many([BuiltinToolsPlugin, MemoryPlugin, MyCustomPlugin])
|
|
241
|
-
engine = Engine(
|
|
234
|
+
engine = Engine(plugin_registry=registry)
|
|
235
|
+
agent = engine.load_agent_template("./agents/my_agent.yaml").instantiate(models=AgentModels(default=llm))
|
|
242
236
|
```
|
|
243
237
|
|
|
244
238
|
| Plugin | Purpose |
|
|
@@ -280,15 +274,16 @@ Sidecars live under `axc_agent_engine.sidecar` and are invoked explicitly by the
|
|
|
280
274
|
from axc_agent_engine.sidecar import OrchestrationTaskService
|
|
281
275
|
from axc_agent_engine.storage.in_memory import InMemoryMessageBus
|
|
282
276
|
|
|
283
|
-
engine = Engine(
|
|
284
|
-
|
|
285
|
-
|
|
277
|
+
engine = Engine(message_bus=InMemoryMessageBus())
|
|
278
|
+
models = AgentModels(default=main_model, utility=utility_model)
|
|
279
|
+
red = engine.load_agent_template("./agents/red.yaml").instantiate(models=models)
|
|
280
|
+
blue = engine.load_agent_template("./agents/blue.yaml").instantiate(models=models)
|
|
286
281
|
|
|
287
282
|
service = OrchestrationTaskService(
|
|
288
283
|
agent_getter=engine.get_agent,
|
|
289
284
|
agent_lister=engine.list_agents,
|
|
290
285
|
dispatcher=engine._dispatcher,
|
|
291
|
-
|
|
286
|
+
utility_model=utility_model,
|
|
292
287
|
)
|
|
293
288
|
|
|
294
289
|
task = await service.run_task(
|
|
@@ -306,8 +301,8 @@ task = await service.run_task(
|
|
|
306
301
|
```mermaid
|
|
307
302
|
flowchart TD
|
|
308
303
|
A["Application creates Engine"] --> B["Inject providers and services"]
|
|
309
|
-
B --> C["Engine.
|
|
310
|
-
C --> D["
|
|
304
|
+
B --> C["Engine.load_agent_template(agent.yaml)"]
|
|
305
|
+
C --> D["AgentTemplate.instantiate(models, mounts)"]
|
|
311
306
|
D --> E["Build PluginContext"]
|
|
312
307
|
E --> F["Load enabled plugins"]
|
|
313
308
|
F --> G["Plugin.initialize()"]
|
|
@@ -46,22 +46,20 @@ pip install "axc-agent-engine[api,knowledge,workflow]"
|
|
|
46
46
|
需要 Python 3.11 或更高版本。
|
|
47
47
|
|
|
48
48
|
```python
|
|
49
|
-
from axc_agent_engine import Engine, LLMConfig, PluginRegistry
|
|
49
|
+
from axc_agent_engine import AgentModels, Engine, LLMConfig, PluginRegistry
|
|
50
|
+
from axc_agent_engine.llm.client import OpenAIClient
|
|
50
51
|
from axc_agent_engine.plugins.builtin import BuiltinToolsPlugin
|
|
51
52
|
|
|
52
53
|
registry = PluginRegistry()
|
|
53
54
|
registry.register(BuiltinToolsPlugin)
|
|
54
55
|
|
|
55
|
-
engine = Engine(
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
)
|
|
63
|
-
|
|
64
|
-
agent = engine.load_agent("./agents/my_agent.yaml")
|
|
56
|
+
engine = Engine(plugin_registry=registry)
|
|
57
|
+
models = AgentModels(default=OpenAIClient(LLMConfig(
|
|
58
|
+
base_url="https://api.openai.com/v1",
|
|
59
|
+
api_key="sk-xxx",
|
|
60
|
+
model="gpt-4o",
|
|
61
|
+
)))
|
|
62
|
+
agent = engine.load_agent_template("./agents/my_agent.yaml").instantiate(models=models)
|
|
65
63
|
|
|
66
64
|
# 非流式
|
|
67
65
|
result = await agent.chat("Analyze last month's sales data")
|
|
@@ -187,7 +185,7 @@ plugins:
|
|
|
187
185
|
from axc_agent_engine import ConcurrencyConfig, Engine, LLMConfig
|
|
188
186
|
from axc_agent_engine.tools.name_mapping import ToolNameMappingConfig
|
|
189
187
|
|
|
190
|
-
|
|
188
|
+
main_model_config = LLMConfig(
|
|
191
189
|
base_url="https://api.openai.com/v1",
|
|
192
190
|
api_key="sk-xxx",
|
|
193
191
|
model="gpt-4o",
|
|
@@ -199,19 +197,14 @@ default_llm = LLMConfig(
|
|
|
199
197
|
)
|
|
200
198
|
|
|
201
199
|
engine = Engine(
|
|
202
|
-
default_llm=default_llm,
|
|
203
200
|
concurrency=ConcurrencyConfig(
|
|
204
201
|
max_engine_concurrent_runs=128,
|
|
205
202
|
queue_timeout=30,
|
|
206
203
|
),
|
|
207
204
|
)
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
```python
|
|
213
|
-
engine.provider_registry.register("fast", fast_provider)
|
|
214
|
-
agent = engine.load_agent("./agents/my_agent.yaml", default_llm="fast")
|
|
205
|
+
agent = engine.load_agent_template("./agents/my_agent.yaml").instantiate(
|
|
206
|
+
models=AgentModels(default=OpenAIClient(main_model_config)),
|
|
207
|
+
)
|
|
215
208
|
```
|
|
216
209
|
|
|
217
210
|
工具名映射属于 provider 职责。内部工具名在 LLM 调用前编码为模型安全 function name,在 hooks/工具执行前解码回来。
|
|
@@ -234,13 +227,14 @@ HTTP API 是 OpenAI Chat Completions 明确子集。
|
|
|
234
227
|
不运行基础 Agent 也不必存在的能力都属于插件。默认 `Engine.plugin_registry` 为空,内置和自定义插件都必须由宿主显式注册。
|
|
235
228
|
|
|
236
229
|
```python
|
|
237
|
-
from axc_agent_engine import
|
|
230
|
+
from axc_agent_engine import AgentModels, Engine, PluginRegistry
|
|
238
231
|
from axc_agent_engine.plugins.builtin import BuiltinToolsPlugin, MemoryPlugin
|
|
239
232
|
from my_project.plugins import MyCustomPlugin
|
|
240
233
|
|
|
241
234
|
registry = PluginRegistry()
|
|
242
235
|
registry.register_many([BuiltinToolsPlugin, MemoryPlugin, MyCustomPlugin])
|
|
243
|
-
engine = Engine(
|
|
236
|
+
engine = Engine(plugin_registry=registry)
|
|
237
|
+
agent = engine.load_agent_template("./agents/my_agent.yaml").instantiate(models=AgentModels(default=llm))
|
|
244
238
|
```
|
|
245
239
|
|
|
246
240
|
| 插件 | 用途 |
|
|
@@ -285,8 +279,8 @@ engine = Engine(default_llm=llm, plugin_registry=registry)
|
|
|
285
279
|
```mermaid
|
|
286
280
|
flowchart TD
|
|
287
281
|
A["应用创建 Engine"] --> B["注入 Provider 和服务"]
|
|
288
|
-
B --> C["Engine.
|
|
289
|
-
C --> D["
|
|
282
|
+
B --> C["Engine.load_agent_template(agent.yaml)"]
|
|
283
|
+
C --> D["AgentTemplate.instantiate(models, mounts)"]
|
|
290
284
|
D --> E["构造 PluginContext"]
|
|
291
285
|
E --> F["加载启用插件"]
|
|
292
286
|
F --> G["Plugin.initialize()"]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""AxcAgentEngine — 纯 Agent 执行引擎框架。"""
|
|
2
2
|
from axc_agent_engine.llm.config import LLMConfig
|
|
3
3
|
from axc_agent_engine.runtime.concurrency import ConcurrencyConfig, ExecutionLimiter, RateLimiter, SessionExecutionGate
|
|
4
|
-
from axc_agent_engine.engine import Engine
|
|
4
|
+
from axc_agent_engine.engine import AgentModels, AgentTemplate, Engine
|
|
5
5
|
from axc_agent_engine.agent import Agent
|
|
6
6
|
from axc_agent_engine.core.events import Event, EventType
|
|
7
7
|
from axc_agent_engine.core.errors import ErrorEnvelope, ErrorCategory
|
|
@@ -24,7 +24,7 @@ from axc_agent_engine.runtime.resources import (
|
|
|
24
24
|
|
|
25
25
|
__all__ = [
|
|
26
26
|
#English: Bilingual note. 中文:核心公开 API
|
|
27
|
-
"Engine", "LLMConfig", "Agent", "Event", "EventType",
|
|
27
|
+
"Engine", "AgentModels", "AgentTemplate", "LLMConfig", "Agent", "Event", "EventType",
|
|
28
28
|
"ConcurrencyConfig", "ExecutionLimiter", "RateLimiter", "SessionExecutionGate",
|
|
29
29
|
#English: Source note. 中文:审计与错误
|
|
30
30
|
"AuditEvent", "AuditEventType", "InMemoryAuditSink", "ErrorEnvelope", "ErrorCategory",
|
|
@@ -50,4 +50,4 @@ try:
|
|
|
50
50
|
from importlib.metadata import version as _get_version
|
|
51
51
|
__version__ = _get_version("axc-agent-engine")
|
|
52
52
|
except Exception:
|
|
53
|
-
__version__ = "2.
|
|
53
|
+
__version__ = "2.2.0"
|
|
@@ -22,7 +22,7 @@ from axc_agent_engine.core.events import Event, EventType
|
|
|
22
22
|
from axc_agent_engine.runtime.input import InputProvider, InputProviderResult, PassthroughInputProvider
|
|
23
23
|
from axc_agent_engine.llm.provider import LLMProvider
|
|
24
24
|
from axc_agent_engine.plugins.base import BasePlugin
|
|
25
|
-
from axc_agent_engine.plugins import agent_info_from_runtime,
|
|
25
|
+
from axc_agent_engine.plugins import agent_info_from_runtime, model_info_from_models
|
|
26
26
|
from axc_agent_engine.core.schema import RuntimeConfig
|
|
27
27
|
from axc_agent_engine.tools.registry import ToolRegistry
|
|
28
28
|
from axc_agent_engine.workflow import WorkflowResumePlan, WorkflowResumeRequest, WorkflowRuntime, create_workflow_runtime
|
|
@@ -53,8 +53,8 @@ class ExecutionContextFactory:
|
|
|
53
53
|
allowed_capabilities=frozenset(agent._runtime.allowed_capabilities),
|
|
54
54
|
)
|
|
55
55
|
services = replace(agent._services)
|
|
56
|
-
ctx = ExecutionContext(config=config, services=services,
|
|
57
|
-
model_info =
|
|
56
|
+
ctx = ExecutionContext(config=config, services=services, utility_model=agent._utility_model)
|
|
57
|
+
model_info = model_info_from_models(agent._default_model, agent._fallback_model, agent._utility_model)
|
|
58
58
|
routing_mode = agent._runtime.routing.mode if agent._runtime.routing else "auto"
|
|
59
59
|
agent_info = agent_info_from_runtime(
|
|
60
60
|
name=agent.name,
|
|
@@ -67,6 +67,8 @@ class ExecutionContextFactory:
|
|
|
67
67
|
ctx.runtime.agent_info = agent_info
|
|
68
68
|
ctx.state.metadata["model"] = model_info.to_dict()
|
|
69
69
|
ctx.state.metadata["agent"] = agent_info.to_dict()
|
|
70
|
+
if agent._metadata:
|
|
71
|
+
ctx.state.metadata.update(agent._metadata)
|
|
70
72
|
if request.metadata:
|
|
71
73
|
ctx.state.metadata.update(request.metadata)
|
|
72
74
|
try:
|
|
@@ -95,7 +97,7 @@ class ExecutorFactory:
|
|
|
95
97
|
agent = self.agent
|
|
96
98
|
ctx = self.context_factory.create(request)
|
|
97
99
|
pm = PluginManager(agent._plugins)
|
|
98
|
-
llm_caller = LLMCaller(primary=agent.
|
|
100
|
+
llm_caller = LLMCaller(primary=agent._default_model, fallback=agent._fallback_model, plugin_manager=pm)
|
|
99
101
|
routing_mode = agent._runtime.routing.mode if agent._runtime.routing else "auto"
|
|
100
102
|
return Executor(
|
|
101
103
|
llm_caller=llm_caller,
|
|
@@ -119,9 +121,9 @@ class RunCoordinator:
|
|
|
119
121
|
|
|
120
122
|
|
|
121
123
|
class Agent:
|
|
122
|
-
"""Agent 实例 — 由
|
|
124
|
+
"""Agent 实例 — 由 AgentTemplate.instantiate() 创建。
|
|
123
125
|
|
|
124
|
-
English: Runtime Agent instance created by
|
|
126
|
+
English: Runtime Agent instance created by AgentTemplate.instantiate().
|
|
125
127
|
"""
|
|
126
128
|
|
|
127
129
|
def __init__(
|
|
@@ -131,9 +133,9 @@ class Agent:
|
|
|
131
133
|
system_prompt: str,
|
|
132
134
|
runtime: RuntimeConfig,
|
|
133
135
|
plugins: list[BasePlugin],
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
136
|
+
default_model: LLMProvider,
|
|
137
|
+
fallback_model: LLMProvider | None,
|
|
138
|
+
utility_model: LLMProvider | None = None,
|
|
137
139
|
session_manager: SessionManager | None = None,
|
|
138
140
|
registry: ToolRegistry | None = None,
|
|
139
141
|
result_store: "object | None" = None,
|
|
@@ -141,20 +143,22 @@ class Agent:
|
|
|
141
143
|
input_provider: InputProvider | None = None,
|
|
142
144
|
engine_limiter: ExecutionLimiter | None = None,
|
|
143
145
|
workflow_runtime: WorkflowRuntime | None = None,
|
|
146
|
+
metadata: dict[str, Any] | None = None,
|
|
144
147
|
) -> None:
|
|
145
148
|
self.name = name
|
|
146
149
|
self.description = description
|
|
147
150
|
self._system_prompt = system_prompt
|
|
148
151
|
self._runtime = runtime
|
|
149
152
|
self._plugins = plugins
|
|
150
|
-
self.
|
|
151
|
-
self.
|
|
152
|
-
self.
|
|
153
|
+
self._default_model = default_model
|
|
154
|
+
self._fallback_model = fallback_model
|
|
155
|
+
self._utility_model = utility_model
|
|
153
156
|
self._session_manager = session_manager or SessionManager()
|
|
154
157
|
self._registry = registry or ToolRegistry()
|
|
155
158
|
self._services = services or ExecutionServices(result_store=result_store)
|
|
156
159
|
self._input_provider = input_provider or PassthroughInputProvider()
|
|
157
160
|
self._workflow_runtime = workflow_runtime or create_workflow_runtime()
|
|
161
|
+
self._metadata = dict(metadata or {})
|
|
158
162
|
queue_timeout = self._runtime.concurrency.queue_timeout
|
|
159
163
|
self._engine_limiter = engine_limiter or ExecutionLimiter()
|
|
160
164
|
self._agent_limiter = ExecutionLimiter(
|
|
@@ -11,7 +11,7 @@ if TYPE_CHECKING:
|
|
|
11
11
|
logger = logging.getLogger(__name__)
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
def create_app(engine: Engine, agents_dir: str = "") -> FastAPI:
|
|
14
|
+
def create_app(engine: Engine, models: object, agents_dir: str = "") -> FastAPI:
|
|
15
15
|
"""English: Bilingual documentation follows.
|
|
16
16
|
中文:以下为双语文档说明。
|
|
17
17
|
创建 FastAPI 应用"""
|
|
@@ -26,8 +26,8 @@ def create_app(engine: Engine, agents_dir: str = "") -> FastAPI:
|
|
|
26
26
|
CancelledError, SchemaError, ToolError,
|
|
27
27
|
)
|
|
28
28
|
|
|
29
|
-
app = FastAPI(title="AxcAgentEngine", version="2.
|
|
30
|
-
state = EngineState(engine=engine, agents_dir=agents_dir)
|
|
29
|
+
app = FastAPI(title="AxcAgentEngine", version="2.2.0")
|
|
30
|
+
state = EngineState(engine=engine, agents_dir=agents_dir, models=models)
|
|
31
31
|
app.state.engine_state = state
|
|
32
32
|
|
|
33
33
|
_ERROR_STATUS_MAP: dict[type, int] = {
|
|
@@ -11,6 +11,7 @@ logger = logging.getLogger(__name__)
|
|
|
11
11
|
class EngineState:
|
|
12
12
|
"""API 层持有的引擎状态"""
|
|
13
13
|
engine: Any # Engine 实例
|
|
14
|
+
models: Any
|
|
14
15
|
agents_dir: str = ""
|
|
15
16
|
_agents: dict[str, Any] = field(default_factory=dict) # name -> Agent 缓存
|
|
16
17
|
|
|
@@ -23,7 +24,8 @@ class EngineState:
|
|
|
23
24
|
yaml_path = self._resolve_yaml(agent_name)
|
|
24
25
|
if not yaml_path:
|
|
25
26
|
return None
|
|
26
|
-
|
|
27
|
+
template = self.engine.load_agent_template(yaml_path)
|
|
28
|
+
agent = template.instantiate(models=self.models)
|
|
27
29
|
self._agents[agent_name] = agent
|
|
28
30
|
return agent
|
|
29
31
|
|
|
@@ -8,7 +8,9 @@ import os
|
|
|
8
8
|
import sys
|
|
9
9
|
|
|
10
10
|
from axc_agent_engine.llm.config import LLMConfig
|
|
11
|
-
from axc_agent_engine.engine import Engine
|
|
11
|
+
from axc_agent_engine.engine import AgentModels, Engine
|
|
12
|
+
from axc_agent_engine.llm.client import OpenAIClient
|
|
13
|
+
from axc_agent_engine.llm.rate_limited import RateLimitedProvider
|
|
12
14
|
from axc_agent_engine.core.events import EventType
|
|
13
15
|
from axc_agent_engine.observability.logging import setup_logging
|
|
14
16
|
from axc_agent_engine.plugins.builtin import AVAILABLE_BUILTIN_PLUGINS
|
|
@@ -54,8 +56,10 @@ async def _chat(agent_path: str) -> None:
|
|
|
54
56
|
if not llm_config.base_url or not llm_config.api_key:
|
|
55
57
|
print("错误: 请设置 AXC_LLM_BASE_URL 和 AXC_LLM_API_KEY 环境变量")
|
|
56
58
|
sys.exit(1)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
provider = _provider_from_config(llm_config)
|
|
60
|
+
engine = Engine(plugin_registry=_cli_plugin_registry())
|
|
61
|
+
template = engine.load_agent_template(agent_path)
|
|
62
|
+
agent = template.instantiate(models=AgentModels(default=provider))
|
|
59
63
|
print(f"已加载 Agent: {agent.name}")
|
|
60
64
|
print("输入 /quit 退出\n")
|
|
61
65
|
try:
|
|
@@ -108,10 +112,12 @@ def _serve(agent_path: str, port: int, agents_dir: str = "") -> None:
|
|
|
108
112
|
if not llm_config.base_url or not llm_config.api_key:
|
|
109
113
|
print("错误: 请设置 AXC_LLM_BASE_URL 和 AXC_LLM_API_KEY 环境变量")
|
|
110
114
|
sys.exit(1)
|
|
111
|
-
|
|
115
|
+
provider = _provider_from_config(llm_config)
|
|
116
|
+
engine = Engine(plugin_registry=_cli_plugin_registry())
|
|
112
117
|
#English: Bilingual note. 中文:预加载指定的 Agent
|
|
113
|
-
|
|
114
|
-
|
|
118
|
+
models = AgentModels(default=provider)
|
|
119
|
+
engine.load_agent_template(agent_path).instantiate(models=models)
|
|
120
|
+
app = create_app(engine, models=models, agents_dir=agents_dir or os.path.dirname(agent_path))
|
|
115
121
|
print(f"API 服务启动: http://0.0.0.0:{port}")
|
|
116
122
|
print(f"Agent: {agent_path}")
|
|
117
123
|
uvicorn.run(app, host="0.0.0.0", port=port, log_level="info")
|
|
@@ -126,5 +132,17 @@ def _cli_plugin_registry() -> PluginRegistry:
|
|
|
126
132
|
return registry
|
|
127
133
|
|
|
128
134
|
|
|
135
|
+
def _provider_from_config(config: LLMConfig):
|
|
136
|
+
provider = OpenAIClient(config)
|
|
137
|
+
if config.max_concurrent_requests > 0 or config.requests_per_minute > 0:
|
|
138
|
+
return RateLimitedProvider(
|
|
139
|
+
provider,
|
|
140
|
+
max_concurrent=config.max_concurrent_requests,
|
|
141
|
+
requests_per_minute=config.requests_per_minute,
|
|
142
|
+
queue_timeout=config.rate_limit_queue_timeout,
|
|
143
|
+
)
|
|
144
|
+
return provider
|
|
145
|
+
|
|
146
|
+
|
|
129
147
|
if __name__ == "__main__":
|
|
130
148
|
main()
|
|
@@ -98,7 +98,7 @@ class ExecutionContext:
|
|
|
98
98
|
state: ExecutionState = field(default_factory=ExecutionState)
|
|
99
99
|
services: ExecutionServices = field(default_factory=ExecutionServices)
|
|
100
100
|
runtime: ExecutionRuntimeState = field(default_factory=ExecutionRuntimeState)
|
|
101
|
-
|
|
101
|
+
utility_model: Any = None
|
|
102
102
|
|
|
103
103
|
#English: Source note. 中文:── 便捷方法 ──
|
|
104
104
|
|
|
@@ -176,7 +176,7 @@ class ExecutionContext:
|
|
|
176
176
|
state=ExecutionState(metadata=child_metadata),
|
|
177
177
|
services=self.services,
|
|
178
178
|
runtime=child_runtime,
|
|
179
|
-
|
|
179
|
+
utility_model=self.utility_model,
|
|
180
180
|
)
|
|
181
181
|
|
|
182
182
|
|
|
@@ -16,7 +16,7 @@ from axc_agent_engine.core.errors import (
|
|
|
16
16
|
RetryableProviderError,
|
|
17
17
|
)
|
|
18
18
|
from axc_agent_engine.core.events import Event, EventType
|
|
19
|
-
from axc_agent_engine.plugins import
|
|
19
|
+
from axc_agent_engine.plugins import model_info_from_models
|
|
20
20
|
from axc_agent_engine.core.schema import LLMResponse
|
|
21
21
|
|
|
22
22
|
if TYPE_CHECKING:
|
|
@@ -280,7 +280,7 @@ class LLMCaller:
|
|
|
280
280
|
def _mark_fallback(self, ctx: ExecutionContext, reason: str) -> None:
|
|
281
281
|
ctx.state.fallback_triggered = True
|
|
282
282
|
ctx.state.fallback_reason = reason
|
|
283
|
-
model_info =
|
|
284
|
-
self._primary, self._fallback, getattr(ctx, "
|
|
283
|
+
model_info = model_info_from_models(
|
|
284
|
+
self._primary, self._fallback, getattr(ctx, "utility_model", None), self._fallback)
|
|
285
285
|
ctx.runtime.model_info = model_info
|
|
286
286
|
ctx.state.metadata["model"] = model_info.to_dict()
|