agentkit-sdk-python 0.7.11__tar.gz → 0.7.13__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.
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/PKG-INFO +2 -1
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/__init__.py +11 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/agent_server_app/agent_server_app.py +81 -17
- agentkit_sdk_python-0.7.13/agentkit/apps/langgraph_server_app/__init__.py +5 -0
- agentkit_sdk_python-0.7.13/agentkit/apps/langgraph_server_app/langgraph_server_app.py +741 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/admin.py +4 -1
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/frameworks/langgraph.py +91 -11
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/frameworks/migration.py +3 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/frameworks/strands.py +2 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/cli_exec.py +89 -35
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/version.py +1 -1
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit_sdk_python.egg-info/PKG-INFO +2 -1
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit_sdk_python.egg-info/SOURCES.txt +2 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit_sdk_python.egg-info/requires.txt +3 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/pyproject.toml +2 -1
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/LICENSE +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/MANIFEST.in +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/README.md +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/a2a_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/a2a_app/a2a_app.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/a2a_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/agent_server_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/agent_server_app/middleware.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/agent_server_app/origin.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/agent_server_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/base_app.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/mcp_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/mcp_app/mcp_app.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/mcp_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/simple_app/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/simple_app/simple_app.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/simple_app/simple_app_handlers.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/simple_app/telemetry.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/apps/utils.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/_openapi.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/_redact.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/_sigv4.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/credential_hosting.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/errors.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/model_login.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/oauth.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/profile.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/providers.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/resolve.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/session.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/ssl_trust.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/sso.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/store.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/auth/sts.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/client/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/client/base_agentkit_client.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/client/base_iam_client.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/client/base_service_client.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/errors.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/frameworks/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/frameworks/_common.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/frameworks/agentcore.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/frameworks/langchain.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/frameworks/model_replacement.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/frameworks/serving/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/frameworks/serving/fastapi_mount.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/frameworks/serving/langserve.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/platform/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/platform/configuration.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/platform/console_urls.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/platform/constants.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/platform/context.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/platform/provider.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/account/client.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/account/types.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/identity/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/identity/auth.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/identity/client.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/identity/types.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/knowledge/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/knowledge/client.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/knowledge/types.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/mcp/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/mcp/client.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/mcp/types.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/memory/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/memory/client.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/memory/types.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/runtime/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/runtime/client.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/runtime/types.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/skills/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/skills/client.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/skills/types.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/tools/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/tools/client.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/sdk/tools/types.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/builders/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/builders/base.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/builders/local_docker.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/builders/ve_pipeline.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/builders/ve_sandbox_pipeline.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/__main__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_add.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_auth.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_build.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_config.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_delete.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_deploy.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_destroy.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_init.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_invoke.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_knowledge.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_launch.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_list.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_logs.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_memory.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_runtime.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_skill.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_skills.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_skills_workflow.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_status.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_tools.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/cli_version.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/console_reporter.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/interactive_config.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/a2a_client.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/agentkit_client.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/cli.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/cli_build.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/cli_create.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/cli_file.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/cli_get.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/cli_init_dockerfile.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/cli_invoke.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/cli_model_login.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/cli_mount.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/cli_run.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/cli_shell.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/cli_web.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/env_config.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/git_config.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/model_config.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/sandbox_client.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/session_create.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/session_sync.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/tool_resolve.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/sandbox/tos_config.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/cli/utils.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/config/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/config/choice_resolvers.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/config/cloud_provider.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/config/config.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/config/config_handler.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/config/config_validator.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/config/constants.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/config/dataclass_utils.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/config/docker_build_config.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/config/global_config.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/config/region_defaults.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/config/region_resolver.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/config/strategy_configs.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/config/utils.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/context.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/docker/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/docker/base_images.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/docker/container.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/docker/dockerfile/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/docker/dockerfile/manager.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/docker/dockerfile/metadata.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/docker/utils.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/errors.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/executors/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/executors/base_executor.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/executors/build_executor.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/executors/deploy_executor.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/executors/init_executor.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/executors/invoke_executor.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/executors/lifecycle_executor.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/executors/status_executor.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/harness/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/harness/config_builder.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/harness/deploy.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/harness/env_mapping.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/models.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/reporter.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/a2a.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/agent_server.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/basic.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/basic_stream.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/customer_support_assistant.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/eino_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/eino_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/eino_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/eino_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/eino_a2a/main.go +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/financial_analyst.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/langchain_basic_stream.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/simple_app_veadk.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/simple_mcp_veadk.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/veadk_go_a2a/agent.go +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/veadk_go_a2a/build.sh +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.mod +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/veadk_go_a2a/go.sum +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/veadk_go_a2a/main.go +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/veadk_go_basic/agent.go +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/veadk_go_basic/build.sh +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/veadk_go_basic/go.mod +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/veadk_go_basic/go.sum +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/samples/veadk_go_basic/main.go +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/templates/code-pipeline-sandbox-tos-cr-step.j2 +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/templates/code-pipeline-tos-cr-step.j2 +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/templates/golang/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/templates/python/Dockerfile.j2 +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/templates/sandbox/Dockerfile.install-package +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/templates/sandbox/Dockerfile.install-skills +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/templates/sandbox/Dockerfile.web-server +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/wrappers/wrapper_basic.py.jinja2 +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/resources/wrappers/wrapper_stream.py.jinja2 +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/runners/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/runners/base.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/runners/local_docker.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/runners/ve_agentkit.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/sdk/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/sdk/bindings/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/sdk/bindings/memory.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/sdk/builder.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/sdk/client.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/sdk/config.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/sdk/deployer.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/sdk/initializer.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/sdk/invoker.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/sdk/lifecycle.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/sdk/status.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/strategies/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/strategies/base_strategy.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/strategies/cloud_strategy.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/strategies/hybrid_strategy.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/strategies/local_strategy.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/utils/agent_parser.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/volcengine/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/volcengine/apmplus_logs.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/volcengine/code_pipeline.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/volcengine/cr.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/volcengine/iam.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/volcengine/services/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/volcengine/services/cr_service.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/volcengine/services/tos_service.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/volcengine/sts.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/volcengine/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/toolkit/volcengine/utils/project_archiver.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/utils/__init__.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/utils/global_config_io.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/utils/http_defaults.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/utils/logging_config.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/utils/misc.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/utils/redact.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/utils/request.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/utils/template_utils.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit/utils/ve_sign.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit_sdk_python.egg-info/dependency_links.txt +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit_sdk_python.egg-info/entry_points.txt +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/agentkit_sdk_python.egg-info/top_level.txt +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/setup.cfg +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/tests/test_client_uses_platform_context.py +0 -0
- {agentkit_sdk_python-0.7.11 → agentkit_sdk_python-0.7.13}/tests/test_error_hierarchy.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentkit-sdk-python
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.13
|
|
4
4
|
Summary: Python SDK for transforming any AI agent into a production-ready application. Framework-agnostic primitives for runtime, memory, authentication, and tools with volcengine-managed infrastructure.
|
|
5
5
|
Author-email: Xiangrui Cheng <innsdcc@gmail.com>, Yumeng Bao <baoyumeng.123@gmail.com>, Yaozheng Fang <fangyozheng@gmail.com>, Guodong Li <cu.eric.lee@gmail.com>
|
|
6
6
|
License: Apache License
|
|
@@ -229,6 +229,7 @@ Requires-Dist: requests>=2.32.5
|
|
|
229
229
|
Requires-Dist: PyJWT>=2.10.1
|
|
230
230
|
Requires-Dist: uvicorn>=0.37.0
|
|
231
231
|
Requires-Dist: pyyaml
|
|
232
|
+
Requires-Dist: tomli>=2.0.1; python_version < "3.11"
|
|
232
233
|
Requires-Dist: python-dotenv>=1.1.0
|
|
233
234
|
Requires-Dist: prompt_toolkit
|
|
234
235
|
Requires-Dist: typer
|
|
@@ -17,6 +17,9 @@ from typing import TYPE_CHECKING
|
|
|
17
17
|
if TYPE_CHECKING:
|
|
18
18
|
from agentkit.apps.a2a_app.a2a_app import AgentkitA2aApp
|
|
19
19
|
from agentkit.apps.agent_server_app.agent_server_app import AgentkitAgentServerApp
|
|
20
|
+
from agentkit.apps.langgraph_server_app.langgraph_server_app import (
|
|
21
|
+
AgentkitLangGraphServerApp,
|
|
22
|
+
)
|
|
20
23
|
from agentkit.apps.mcp_app.mcp_app import AgentkitMCPApp
|
|
21
24
|
from agentkit.apps.simple_app.simple_app import AgentkitSimpleApp
|
|
22
25
|
|
|
@@ -28,6 +31,7 @@ def __getattr__(
|
|
|
28
31
|
| type["AgentkitMCPApp"]
|
|
29
32
|
| type["AgentkitSimpleApp"]
|
|
30
33
|
| type["AgentkitAgentServerApp"]
|
|
34
|
+
| type["AgentkitLangGraphServerApp"]
|
|
31
35
|
):
|
|
32
36
|
if name == "AgentkitA2aApp":
|
|
33
37
|
from agentkit.apps.a2a_app.a2a_app import AgentkitA2aApp
|
|
@@ -47,6 +51,12 @@ def __getattr__(
|
|
|
47
51
|
)
|
|
48
52
|
|
|
49
53
|
return AgentkitAgentServerApp
|
|
54
|
+
if name == "AgentkitLangGraphServerApp":
|
|
55
|
+
from agentkit.apps.langgraph_server_app.langgraph_server_app import (
|
|
56
|
+
AgentkitLangGraphServerApp,
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
return AgentkitLangGraphServerApp
|
|
50
60
|
raise AttributeError(f"module 'agentkit.apps' has no attribute '{name}'")
|
|
51
61
|
|
|
52
62
|
|
|
@@ -55,4 +65,5 @@ __all__ = [
|
|
|
55
65
|
"AgentkitMCPApp",
|
|
56
66
|
"AgentkitSimpleApp",
|
|
57
67
|
"AgentkitAgentServerApp",
|
|
68
|
+
"AgentkitLangGraphServerApp",
|
|
58
69
|
]
|
|
@@ -39,14 +39,22 @@ from google.adk.evaluation.local_eval_set_results_manager import (
|
|
|
39
39
|
)
|
|
40
40
|
from google.adk.evaluation.local_eval_sets_manager import LocalEvalSetsManager
|
|
41
41
|
from google.adk.memory.in_memory_memory_service import InMemoryMemoryService
|
|
42
|
+
from google.adk.runners import Runner
|
|
42
43
|
from google.adk.sessions.base_session_service import BaseSessionService
|
|
44
|
+
from google.adk.sessions.in_memory_session_service import InMemorySessionService
|
|
43
45
|
from google.adk.utils.context_utils import Aclosing
|
|
44
46
|
from google.genai import types
|
|
45
47
|
from opentelemetry import trace
|
|
46
48
|
from typing_extensions import override
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
from veadk
|
|
49
|
+
|
|
50
|
+
try: # pragma: no cover - exercised when users install veadk explicitly.
|
|
51
|
+
from veadk import Agent as VeadkAgent
|
|
52
|
+
from veadk.memory.short_term_memory import ShortTermMemory
|
|
53
|
+
from veadk.runner import Runner as VeadkRunner
|
|
54
|
+
except ImportError: # pragma: no cover - default migration path avoids veadk.
|
|
55
|
+
VeadkAgent = None # type: ignore[assignment]
|
|
56
|
+
ShortTermMemory = None # type: ignore[assignment,misc]
|
|
57
|
+
VeadkRunner = None # type: ignore[assignment]
|
|
50
58
|
|
|
51
59
|
from agentkit.apps.agent_server_app.middleware import (
|
|
52
60
|
AgentkitTelemetryHTTPMiddleware,
|
|
@@ -64,6 +72,65 @@ from agentkit.apps.base_app import BaseAgentkitApp
|
|
|
64
72
|
logger = logging.getLogger(__name__)
|
|
65
73
|
|
|
66
74
|
|
|
75
|
+
def _is_veadk_short_term_memory(value: Any) -> bool:
|
|
76
|
+
return ShortTermMemory is not None and isinstance(value, ShortTermMemory)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
def _is_veadk_agent(value: Any) -> bool:
|
|
80
|
+
return VeadkAgent is not None and isinstance(value, VeadkAgent)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
def _resolve_session_service(
|
|
84
|
+
short_term_memory: BaseSessionService | Any | None,
|
|
85
|
+
) -> BaseSessionService:
|
|
86
|
+
if short_term_memory is None:
|
|
87
|
+
return InMemorySessionService()
|
|
88
|
+
if isinstance(short_term_memory, BaseSessionService):
|
|
89
|
+
return short_term_memory
|
|
90
|
+
if _is_veadk_short_term_memory(short_term_memory):
|
|
91
|
+
return short_term_memory.session_service
|
|
92
|
+
raise TypeError(
|
|
93
|
+
"short_term_memory must be a google.adk BaseSessionService, "
|
|
94
|
+
"a veadk ShortTermMemory, or None."
|
|
95
|
+
)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
def _resolve_memory_service(root_agent: BaseAgent) -> Any:
|
|
99
|
+
if _is_veadk_agent(root_agent):
|
|
100
|
+
long_term_memory = getattr(root_agent, "long_term_memory", None)
|
|
101
|
+
if long_term_memory:
|
|
102
|
+
return long_term_memory
|
|
103
|
+
return InMemoryMemoryService()
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
def _create_a2a_runner(
|
|
107
|
+
*,
|
|
108
|
+
root_agent: BaseAgent,
|
|
109
|
+
short_term_memory: BaseSessionService | Any | None,
|
|
110
|
+
session_service: BaseSessionService,
|
|
111
|
+
memory_service: Any,
|
|
112
|
+
artifact_service: InMemoryArtifactService,
|
|
113
|
+
credential_service: InMemoryCredentialService,
|
|
114
|
+
) -> Any:
|
|
115
|
+
if VeadkRunner is not None and (
|
|
116
|
+
_is_veadk_agent(root_agent) or _is_veadk_short_term_memory(short_term_memory)
|
|
117
|
+
):
|
|
118
|
+
return VeadkRunner(
|
|
119
|
+
agent=root_agent,
|
|
120
|
+
short_term_memory=short_term_memory
|
|
121
|
+
if _is_veadk_short_term_memory(short_term_memory)
|
|
122
|
+
else None,
|
|
123
|
+
)
|
|
124
|
+
return Runner(
|
|
125
|
+
agent=root_agent,
|
|
126
|
+
app_name=root_agent.name,
|
|
127
|
+
session_service=session_service,
|
|
128
|
+
memory_service=memory_service,
|
|
129
|
+
artifact_service=artifact_service,
|
|
130
|
+
credential_service=credential_service,
|
|
131
|
+
)
|
|
132
|
+
|
|
133
|
+
|
|
67
134
|
async def _call_lifecycle_handler(handler: Any) -> None:
|
|
68
135
|
result = handler()
|
|
69
136
|
if inspect.isawaitable(result):
|
|
@@ -143,9 +210,6 @@ class AgentkitAgentServerApp(BaseAgentkitApp):
|
|
|
143
210
|
) -> None:
|
|
144
211
|
super().__init__()
|
|
145
212
|
|
|
146
|
-
if short_term_memory is None:
|
|
147
|
-
raise TypeError("short_term_memory is required.")
|
|
148
|
-
|
|
149
213
|
if app is not None and agent is not None:
|
|
150
214
|
raise TypeError("Only one of 'agent' or 'app' can be provided.")
|
|
151
215
|
|
|
@@ -154,6 +218,8 @@ class AgentkitAgentServerApp(BaseAgentkitApp):
|
|
|
154
218
|
raise TypeError("Either 'agent' or 'app' must be provided.")
|
|
155
219
|
|
|
156
220
|
root_agent = entry.root_agent if isinstance(entry, App) else entry
|
|
221
|
+
session_service = _resolve_session_service(short_term_memory)
|
|
222
|
+
memory_service = _resolve_memory_service(root_agent)
|
|
157
223
|
|
|
158
224
|
_artifact_service = InMemoryArtifactService()
|
|
159
225
|
_credential_service = InMemoryCredentialService()
|
|
@@ -163,12 +229,8 @@ class AgentkitAgentServerApp(BaseAgentkitApp):
|
|
|
163
229
|
|
|
164
230
|
self.server = AdkWebServer(
|
|
165
231
|
agent_loader=AgentKitAgentLoader(entry),
|
|
166
|
-
session_service=
|
|
167
|
-
|
|
168
|
-
else short_term_memory.session_service,
|
|
169
|
-
memory_service=root_agent.long_term_memory
|
|
170
|
-
if isinstance(root_agent, Agent) and root_agent.long_term_memory
|
|
171
|
-
else InMemoryMemoryService(),
|
|
232
|
+
session_service=session_service,
|
|
233
|
+
memory_service=memory_service,
|
|
172
234
|
artifact_service=_artifact_service,
|
|
173
235
|
credential_service=_credential_service,
|
|
174
236
|
eval_sets_manager=_eval_sets_manager,
|
|
@@ -176,11 +238,13 @@ class AgentkitAgentServerApp(BaseAgentkitApp):
|
|
|
176
238
|
agents_dir=".",
|
|
177
239
|
)
|
|
178
240
|
|
|
179
|
-
runner =
|
|
180
|
-
|
|
181
|
-
short_term_memory=short_term_memory
|
|
182
|
-
|
|
183
|
-
|
|
241
|
+
runner = _create_a2a_runner(
|
|
242
|
+
root_agent=root_agent,
|
|
243
|
+
short_term_memory=short_term_memory,
|
|
244
|
+
session_service=session_service,
|
|
245
|
+
memory_service=memory_service,
|
|
246
|
+
artifact_service=_artifact_service,
|
|
247
|
+
credential_service=_credential_service,
|
|
184
248
|
)
|
|
185
249
|
_a2a_server_app = to_a2a(agent=root_agent, runner=runner)
|
|
186
250
|
|