agent-nebula-platform 5.0.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.
- agent_nebula_platform-5.0.0/.github/workflows/publish-pypi.yml +99 -0
- agent_nebula_platform-5.0.0/.gitignore +218 -0
- agent_nebula_platform-5.0.0/AGENTS.md +24 -0
- agent_nebula_platform-5.0.0/CHANGELOG.md +12 -0
- agent_nebula_platform-5.0.0/LICENSE +202 -0
- agent_nebula_platform-5.0.0/Makefile +29 -0
- agent_nebula_platform-5.0.0/PKG-INFO +14 -0
- agent_nebula_platform-5.0.0/README.md +57 -0
- agent_nebula_platform-5.0.0/SECURITY.md +13 -0
- agent_nebula_platform-5.0.0/docs/A2A_SDK_INTEGRATION.md +136 -0
- agent_nebula_platform-5.0.0/docs/README.md +27 -0
- agent_nebula_platform-5.0.0/docs/a2a-schema-contract-extension.md +9 -0
- agent_nebula_platform-5.0.0/docs/a2a-skill-selection-extension.md +189 -0
- agent_nebula_platform-5.0.0/docs/a2a.md +40 -0
- agent_nebula_platform-5.0.0/docs/a2ui.md +69 -0
- agent_nebula_platform-5.0.0/docs/integrations.md +48 -0
- agent_nebula_platform-5.0.0/docs/mcp.md +46 -0
- agent_nebula_platform-5.0.0/docs/nebula-a2a-security.md +386 -0
- agent_nebula_platform-5.0.0/docs/observability.md +10 -0
- agent_nebula_platform-5.0.0/docs/platform.md +139 -0
- agent_nebula_platform-5.0.0/docs/runtime.md +12 -0
- agent_nebula_platform-5.0.0/docs/security.md +53 -0
- agent_nebula_platform-5.0.0/docs/skills.md +63 -0
- agent_nebula_platform-5.0.0/examples/a2aclient.conf.template +38 -0
- agent_nebula_platform-5.0.0/examples/a2aserver.conf.template +141 -0
- agent_nebula_platform-5.0.0/examples/a2ui.conf.template +11 -0
- agent_nebula_platform-5.0.0/examples/a2ui_agent.py +59 -0
- agent_nebula_platform-5.0.0/examples/document_builders.py +58 -0
- agent_nebula_platform-5.0.0/examples/embedded_existing_agent.py +15 -0
- agent_nebula_platform-5.0.0/examples/fastapi_agent.py +59 -0
- agent_nebula_platform-5.0.0/examples/standalone-application.conf.example +45 -0
- agent_nebula_platform-5.0.0/examples/standalone_agent.py +44 -0
- agent_nebula_platform-5.0.0/pyproject.toml +35 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/__init__.py +77 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/README.md +60 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/__init__.py +8 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/client.py +105 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/config/__init__.py +4 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/config/client.py +292 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/config/server.py +303 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/extensions/__init__.py +6 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/extensions/a2ui.py +91 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/extensions/health.py +49 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/extensions/schema_contract.py +79 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/extensions/skill_selection.py +100 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/runtime.py +248 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/security/__init__.py +5 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/security/client.py +426 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/security/request_handler.py +118 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/security/server.py +726 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2a/server.py +239 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/__init__.py +83 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/actions/__init__.py +8 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/actions/service.py +40 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/composition.py +164 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/configuration.py +110 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/data_model/__init__.py +7 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/data_model/service.py +24 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/events/__init__.py +7 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/events/models.py +19 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/models.py +162 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/persistence/__init__.py +13 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/plugin.py +74 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/service.py +68 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/session/__init__.py +25 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/session/models.py +96 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/session/plugin.py +49 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/session/service.py +249 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/session/store.py +167 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/surfaces/__init__.py +9 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/surfaces/models.py +13 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/surfaces/service.py +55 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/a2ui/validation.py +325 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/integrations/__init__.py +1 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/integrations/nebula/__init__.py +26 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/integrations/nebula/configuration.py +125 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/integrations/nebula/connector.py +146 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/integrations/nebula/discovery_service.py +45 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/integrations/nebula/onboarding/__init__.py +16 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/integrations/nebula/onboarding/models.py +27 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/integrations/nebula/onboarding/payloads.py +154 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/integrations/nebula/onboarding/plugin.py +104 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/integrations/nebula/registration.py +30 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/integrations/nebula/transport.py +69 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/observability/__init__.py +5 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/observability/logging.py +45 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/__init__.py +1 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/capabilities/__init__.py +17 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/capabilities/catalog.py +185 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/configuration/__init__.py +26 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/configuration/application.py +91 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/configuration/home.py +50 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/configuration/ini.py +66 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/configuration/layered.py +58 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/configuration/paths.py +74 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/configuration/ports.py +56 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/configuration/sources.py +139 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/context.py +21 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/discovery.py +141 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/errors.py +36 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/events.py +53 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/execution_trace.py +138 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/health/__init__.py +15 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/health/models.py +42 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/health/publication.py +96 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/health/service.py +69 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/lifecycle/__init__.py +1 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/lifecycle/agent_server_plugin.py +101 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/lifecycle/fastapi.py +50 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/lifecycle/plugin.py +63 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/llm/__init__.py +5 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/llm/observability.py +192 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/metrics/__init__.py +13 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/metrics/exporters.py +23 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/metrics/models.py +26 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/metrics/plugin.py +45 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/metrics/registry.py +91 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/plugins/__init__.py +14 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/plugins/base.py +82 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/plugins/registry.py +79 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/presets/__init__.py +45 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/presets/application.py +691 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/presets/common.py +68 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/presets/composition.py +256 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/presets/embedded/__init__.py +7 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/presets/embedded/composition.py +32 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/presets/logging.py +28 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/presets/models.py +174 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/presets/standalone/__init__.py +25 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/presets/standalone/application.py +50 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/presets/standalone/composition.py +91 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/presets/standalone/settings.py +280 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/retry/__init__.py +11 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/retry/executor.py +39 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/retry/policy.py +66 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/runtime.py +219 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/scheduler/__init__.py +11 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/scheduler/models.py +48 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/scheduler/plugin.py +58 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/scheduler/service.py +108 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/services.py +43 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/state.py +91 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/telemetry/__init__.py +14 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/telemetry/events.py +33 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/telemetry/plugin.py +47 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/telemetry/service.py +26 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/telemetry/sinks.py +53 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/tls.py +41 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/transport/__init__.py +1 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/transport/fastapi/__init__.py +12 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/transport/fastapi/app.py +211 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/transport/fastapi/lifespan.py +33 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/transport/fastapi/server.py +225 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/transport/http/__init__.py +7 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/transport/http/request_target.py +66 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/transport/http_client/__init__.py +8 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/transport/http_client/factory.py +50 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/transport/rest/__init__.py +7 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/platform/transport/rest/adapter.py +37 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/__init__.py +1 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/__init__.py +1 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/client/__init__.py +29 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/client/cache.py +35 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/client/httpx_transport.py +95 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/client/identity.py +187 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/client/models.py +36 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/client/plugin.py +37 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/client/ports.py +60 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/client/protected_http.py +164 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/client/service.py +324 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/metadata/__init__.py +24 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/metadata/authorization_server.py +121 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/metadata/builders.py +148 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/metadata/factory.py +36 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/metadata/metadata.py +52 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/protected_resource/__init__.py +19 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/protected_resource/factory.py +136 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/protected_resource/models.py +30 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/protected_resource/plugin.py +41 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/protected_resource/policy.py +26 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/protected_resource/ports.py +19 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/protected_resource/routes.py +94 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/protected_resource/service.py +79 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/registration/README.md +18 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/registration/__init__.py +7 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/registration/plugin.py +219 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/security/oauth/registration/transport.py +65 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/skills/__init__.py +14 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/skills/models.py +50 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/skills/plugin.py +89 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/skills/registry.py +53 -0
- agent_nebula_platform-5.0.0/src/agent_nebula_platform/skills/service.py +122 -0
- agent_nebula_platform-5.0.0/tests/contract/test_checkpoint11_1_a2ui_public_api.py +19 -0
- agent_nebula_platform-5.0.0/tests/contract/test_checkpoint11_4_2_stage1_runtime_contract.py +58 -0
- agent_nebula_platform-5.0.0/tests/contract/test_checkpoint4_public_api.py +16 -0
- agent_nebula_platform-5.0.0/tests/contract/test_checkpoint5_public_api.py +26 -0
- agent_nebula_platform-5.0.0/tests/contract/test_checkpoint8_public_api.py +27 -0
- agent_nebula_platform-5.0.0/tests/contract/test_checkpoint9_public_api.py +38 -0
- agent_nebula_platform-5.0.0/tests/contract/test_public_api.py +24 -0
- agent_nebula_platform-5.0.0/tests/contract/test_runtime_phase_public_api.py +16 -0
- agent_nebula_platform-5.0.0/tests/integration/test_checkpoint9_operational_routes.py +57 -0
- agent_nebula_platform-5.0.0/tests/integration/test_rest_connector.py +18 -0
- agent_nebula_platform-5.0.0/tests/unit/llm/test_observability.py +37 -0
- agent_nebula_platform-5.0.0/tests/unit/oauth/registration/test_plugin.py +250 -0
- agent_nebula_platform-5.0.0/tests/unit/test_a2ui_composition.py +100 -0
- agent_nebula_platform-5.0.0/tests/unit/test_a2ui_configuration.py +37 -0
- agent_nebula_platform-5.0.0/tests/unit/test_a2ui_session_engine.py +146 -0
- agent_nebula_platform-5.0.0/tests/unit/test_capabilities.py +26 -0
- agent_nebula_platform-5.0.0/tests/unit/test_checkpoint9_operations.py +218 -0
- agent_nebula_platform-5.0.0/tests/unit/test_configuration_checkpoint8.py +176 -0
- agent_nebula_platform-5.0.0/tests/unit/test_execution_trace.py +63 -0
- agent_nebula_platform-5.0.0/tests/unit/test_fastapi_server_shutdown.py +78 -0
- agent_nebula_platform-5.0.0/tests/unit/test_http_listener_mode.py +26 -0
- agent_nebula_platform-5.0.0/tests/unit/test_nebula_configuration.py +81 -0
- agent_nebula_platform-5.0.0/tests/unit/test_nebula_discovery_service.py +30 -0
- agent_nebula_platform-5.0.0/tests/unit/test_nebula_transport.py +65 -0
- agent_nebula_platform-5.0.0/tests/unit/test_oauth_client.py +90 -0
- agent_nebula_platform-5.0.0/tests/unit/test_oauth_plugins.py +39 -0
- agent_nebula_platform-5.0.0/tests/unit/test_onboarding.py +40 -0
- agent_nebula_platform-5.0.0/tests/unit/test_onboarding_oauth_identity.py +59 -0
- agent_nebula_platform-5.0.0/tests/unit/test_presets.py +235 -0
- agent_nebula_platform-5.0.0/tests/unit/test_protected_resource.py +58 -0
- agent_nebula_platform-5.0.0/tests/unit/test_runtime.py +141 -0
- agent_nebula_platform-5.0.0/tests/unit/test_runtime_phases.py +98 -0
- agent_nebula_platform-5.0.0/tests/unit/test_skills.py +72 -0
- agent_nebula_platform-5.0.0/tests/unit/test_state.py +17 -0
- agent_nebula_platform-5.0.0/tests/unit/test_tls.py +10 -0
- agent_nebula_platform-5.0.0/tests/unit/transport/test_request_target.py +76 -0
- agent_nebula_platform-5.0.0/uv.lock +788 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
name: Publish Platform to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*"
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- name: Check out tagged source
|
|
16
|
+
uses: actions/checkout@v4
|
|
17
|
+
|
|
18
|
+
- name: Set up Python 3.12
|
|
19
|
+
uses: actions/setup-python@v5
|
|
20
|
+
with:
|
|
21
|
+
python-version: "3.12"
|
|
22
|
+
|
|
23
|
+
- name: Prepare build tools
|
|
24
|
+
run: python -m pip install --upgrade build packaging
|
|
25
|
+
|
|
26
|
+
- name: Set release and SDK dependency versions
|
|
27
|
+
env:
|
|
28
|
+
RELEASE_TAG: ${{ github.ref_name }}
|
|
29
|
+
run: |
|
|
30
|
+
python - <<'PYTHON'
|
|
31
|
+
import json
|
|
32
|
+
import os
|
|
33
|
+
import re
|
|
34
|
+
from pathlib import Path
|
|
35
|
+
from urllib.request import urlopen
|
|
36
|
+
from packaging.version import Version, InvalidVersion
|
|
37
|
+
|
|
38
|
+
tag = os.environ["RELEASE_TAG"]
|
|
39
|
+
if not re.fullmatch(r"v[0-9]+\.[0-9]+\.[0-9]+(?:a[0-9]+|b[0-9]+|rc[0-9]+|\.post[0-9]+)?", tag):
|
|
40
|
+
raise SystemExit(f"Unsupported release tag: {tag}")
|
|
41
|
+
version = tag[1:]
|
|
42
|
+
with urlopen("https://pypi.org/pypi/agent-nebula-sdk/json", timeout=30) as response:
|
|
43
|
+
metadata = json.load(response)
|
|
44
|
+
versions = []
|
|
45
|
+
for raw, files in metadata["releases"].items():
|
|
46
|
+
try:
|
|
47
|
+
candidate = Version(raw)
|
|
48
|
+
except InvalidVersion:
|
|
49
|
+
continue
|
|
50
|
+
if candidate.is_prerelease or candidate.is_devrelease:
|
|
51
|
+
continue
|
|
52
|
+
if files and any(not item.get("yanked", False) for item in files):
|
|
53
|
+
versions.append(candidate)
|
|
54
|
+
if not versions:
|
|
55
|
+
raise SystemExit("No non-yanked stable SDK release available on PyPI")
|
|
56
|
+
sdk_version = str(max(versions))
|
|
57
|
+
path = Path("pyproject.toml")
|
|
58
|
+
content = path.read_text()
|
|
59
|
+
content, version_count = re.subn(
|
|
60
|
+
r'(?m)^version\s*=\s*"[^"]+"\s*$',
|
|
61
|
+
f'version = "{version}"', content,
|
|
62
|
+
)
|
|
63
|
+
content, dependency_count = re.subn(
|
|
64
|
+
r'"agent-nebula-sdk(?:==|>=)[^"]+"',
|
|
65
|
+
f'"agent-nebula-sdk=={sdk_version}"', content,
|
|
66
|
+
)
|
|
67
|
+
if (version_count, dependency_count) != (1, 1):
|
|
68
|
+
raise SystemExit("Expected exactly one project version and one SDK dependency")
|
|
69
|
+
path.write_text(content)
|
|
70
|
+
print(f"Platform {version}; SDK dependency {sdk_version}")
|
|
71
|
+
PYTHON
|
|
72
|
+
|
|
73
|
+
- name: Build wheel and source distribution
|
|
74
|
+
run: python -m build
|
|
75
|
+
|
|
76
|
+
- name: Upload distributions
|
|
77
|
+
uses: actions/upload-artifact@v4
|
|
78
|
+
with:
|
|
79
|
+
name: python-distributions
|
|
80
|
+
path: dist/*
|
|
81
|
+
if-no-files-found: error
|
|
82
|
+
|
|
83
|
+
publish:
|
|
84
|
+
needs: build
|
|
85
|
+
runs-on: ubuntu-latest
|
|
86
|
+
environment:
|
|
87
|
+
name: pypi
|
|
88
|
+
url: https://pypi.org/p/agent-nebula-platform
|
|
89
|
+
permissions:
|
|
90
|
+
id-token: write
|
|
91
|
+
steps:
|
|
92
|
+
- name: Download distributions
|
|
93
|
+
uses: actions/download-artifact@v4
|
|
94
|
+
with:
|
|
95
|
+
name: python-distributions
|
|
96
|
+
path: dist/
|
|
97
|
+
|
|
98
|
+
- name: Publish to PyPI
|
|
99
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[codz]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py.cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
# Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# UV
|
|
98
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
99
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
+
# commonly ignored for libraries.
|
|
101
|
+
# uv.lock
|
|
102
|
+
|
|
103
|
+
# poetry
|
|
104
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
105
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
106
|
+
# commonly ignored for libraries.
|
|
107
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
108
|
+
# poetry.lock
|
|
109
|
+
# poetry.toml
|
|
110
|
+
|
|
111
|
+
# pdm
|
|
112
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
113
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
114
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
115
|
+
# pdm.lock
|
|
116
|
+
# pdm.toml
|
|
117
|
+
.pdm-python
|
|
118
|
+
.pdm-build/
|
|
119
|
+
|
|
120
|
+
# pixi
|
|
121
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
122
|
+
# pixi.lock
|
|
123
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
124
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
125
|
+
.pixi
|
|
126
|
+
|
|
127
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
128
|
+
__pypackages__/
|
|
129
|
+
|
|
130
|
+
# Celery stuff
|
|
131
|
+
celerybeat-schedule
|
|
132
|
+
celerybeat.pid
|
|
133
|
+
|
|
134
|
+
# Redis
|
|
135
|
+
*.rdb
|
|
136
|
+
*.aof
|
|
137
|
+
*.pid
|
|
138
|
+
|
|
139
|
+
# RabbitMQ
|
|
140
|
+
mnesia/
|
|
141
|
+
rabbitmq/
|
|
142
|
+
rabbitmq-data/
|
|
143
|
+
|
|
144
|
+
# ActiveMQ
|
|
145
|
+
activemq-data/
|
|
146
|
+
|
|
147
|
+
# SageMath parsed files
|
|
148
|
+
*.sage.py
|
|
149
|
+
|
|
150
|
+
# Environments
|
|
151
|
+
.env
|
|
152
|
+
.envrc
|
|
153
|
+
.venv
|
|
154
|
+
env/
|
|
155
|
+
venv/
|
|
156
|
+
ENV/
|
|
157
|
+
env.bak/
|
|
158
|
+
venv.bak/
|
|
159
|
+
|
|
160
|
+
# Spyder project settings
|
|
161
|
+
.spyderproject
|
|
162
|
+
.spyproject
|
|
163
|
+
|
|
164
|
+
# Rope project settings
|
|
165
|
+
.ropeproject
|
|
166
|
+
|
|
167
|
+
# mkdocs documentation
|
|
168
|
+
/site
|
|
169
|
+
|
|
170
|
+
# mypy
|
|
171
|
+
.mypy_cache/
|
|
172
|
+
.dmypy.json
|
|
173
|
+
dmypy.json
|
|
174
|
+
|
|
175
|
+
# Pyre type checker
|
|
176
|
+
.pyre/
|
|
177
|
+
|
|
178
|
+
# pytype static type analyzer
|
|
179
|
+
.pytype/
|
|
180
|
+
|
|
181
|
+
# Cython debug symbols
|
|
182
|
+
cython_debug/
|
|
183
|
+
|
|
184
|
+
# PyCharm
|
|
185
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
186
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
187
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
188
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
189
|
+
# .idea/
|
|
190
|
+
|
|
191
|
+
# Abstra
|
|
192
|
+
# Abstra is an AI-powered process automation framework.
|
|
193
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
194
|
+
# Learn more at https://abstra.io/docs
|
|
195
|
+
.abstra/
|
|
196
|
+
|
|
197
|
+
# Visual Studio Code
|
|
198
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
199
|
+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
200
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
201
|
+
# you could uncomment the following to ignore the entire vscode folder
|
|
202
|
+
# .vscode/
|
|
203
|
+
# Temporary file for partial code execution
|
|
204
|
+
tempCodeRunnerFile.py
|
|
205
|
+
|
|
206
|
+
# Ruff stuff:
|
|
207
|
+
.ruff_cache/
|
|
208
|
+
|
|
209
|
+
# PyPI configuration file
|
|
210
|
+
.pypirc
|
|
211
|
+
|
|
212
|
+
# Marimo
|
|
213
|
+
marimo/_static/
|
|
214
|
+
marimo/_lsp/
|
|
215
|
+
__marimo__/
|
|
216
|
+
|
|
217
|
+
# Streamlit
|
|
218
|
+
.streamlit/secrets.toml
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Repository Engineering Guide
|
|
2
|
+
|
|
3
|
+
This repository contains `agent-nebula-platform`, the integration layer used by SecureAgent.
|
|
4
|
+
|
|
5
|
+
## Boundaries
|
|
6
|
+
|
|
7
|
+
- Use the official `a2a-sdk` for A2A protocol handling. Platform A2A integration lives in `src/agent_nebula_platform/a2a/`; do not recreate the removed `protocols/` package.
|
|
8
|
+
- Keep cryptographic primitives and protocol-security algorithms in `agent-nebula-sdk`. Platform composes security into server and client request paths.
|
|
9
|
+
- Keep application-specific business skills in consuming applications, not in Platform.
|
|
10
|
+
- Preserve public APIs and configuration compatibility unless a change is explicitly required.
|
|
11
|
+
- Do not introduce duplicate protocol adapters, authentication paths, or configuration APIs.
|
|
12
|
+
|
|
13
|
+
## Runtime and security
|
|
14
|
+
|
|
15
|
+
- Follow the current configuration and lifecycle implementations; see [runtime](docs/runtime.md), [security](docs/security.md), and [A2A security](docs/nebula-a2a-security.md).
|
|
16
|
+
- Runtime path validation is not a substitute for OS/container filesystem isolation. Do not claim that the library alone blocks access outside `/run/agent-nebula`.
|
|
17
|
+
- Never commit credentials, private keys, tokens, or deployment-specific secrets.
|
|
18
|
+
|
|
19
|
+
## Verification
|
|
20
|
+
|
|
21
|
+
- Run applicable unit tests and lint checks for changes. Validate documentation links when changing Markdown.
|
|
22
|
+
- Keep protocol, plugin, and lifecycle documentation aligned with the actual source tree.
|
|
23
|
+
|
|
24
|
+
See [documentation index](docs/README.md) for architecture and capability details.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.1.1
|
|
4
|
+
|
|
5
|
+
Initial public release of Agent Nebula Platform.
|
|
6
|
+
|
|
7
|
+
- Integration with the official A2A Python SDK for agent server and client workflows.
|
|
8
|
+
- Configurable security composition and Agent Nebula onboarding integrations.
|
|
9
|
+
- Plugin lifecycle, runtime configuration, health checks, and observability support.
|
|
10
|
+
- A2UI integration for declarative agent interfaces.
|
|
11
|
+
|
|
12
|
+
See the [README](README.md) and [documentation index](docs/README.md) for supported functionality and current limitations.
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
.PHONY: help sync lint test check build clean
|
|
2
|
+
|
|
3
|
+
help:
|
|
4
|
+
@printf '%s\n' \
|
|
5
|
+
'help - show available developer targets' \
|
|
6
|
+
'sync - synchronize development dependencies' \
|
|
7
|
+
'lint - run Ruff static validation' \
|
|
8
|
+
'test - run the automated test suite' \
|
|
9
|
+
'check - run the standard lint + test quality gate' \
|
|
10
|
+
'build - build the Python distribution artifacts' \
|
|
11
|
+
'clean - remove generated local build/test artifacts'
|
|
12
|
+
|
|
13
|
+
sync:
|
|
14
|
+
uv sync --all-extras
|
|
15
|
+
|
|
16
|
+
lint:
|
|
17
|
+
uv run ruff check src tests
|
|
18
|
+
|
|
19
|
+
test:
|
|
20
|
+
uv run pytest
|
|
21
|
+
|
|
22
|
+
check: lint test
|
|
23
|
+
|
|
24
|
+
build:
|
|
25
|
+
uv build
|
|
26
|
+
|
|
27
|
+
clean:
|
|
28
|
+
rm -rf build dist .pytest_cache .ruff_cache
|
|
29
|
+
find src tests -type d -name __pycache__ -prune -exec rm -rf {} +
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: agent-nebula-platform
|
|
3
|
+
Version: 5.0.0
|
|
4
|
+
Summary: Pluggable secure-agent platform for Agent Nebula-compatible agents.
|
|
5
|
+
License-File: LICENSE
|
|
6
|
+
Requires-Python: <3.13,>=3.12
|
|
7
|
+
Requires-Dist: a2a-sdk[grpc]<1.2.0,>=1.1.2
|
|
8
|
+
Requires-Dist: a2a-sdk[http-server]<1.2.0,>=1.1.2
|
|
9
|
+
Requires-Dist: agent-nebula-sdk==5.0.2
|
|
10
|
+
Requires-Dist: fastapi==0.143.0
|
|
11
|
+
Requires-Dist: grpcio<2.0.0,>=1.70.0
|
|
12
|
+
Requires-Dist: httpx==0.28.1
|
|
13
|
+
Requires-Dist: pydantic<3.0.0,>=2.11.3
|
|
14
|
+
Requires-Dist: uvicorn<1.0.0,>=0.30.0
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Agent Nebula Platform
|
|
2
|
+
|
|
3
|
+
`agent-nebula-platform` is the reusable middleware between developer-facing [SecureAgent](https://github.com/garutmanaya/agent-nebula-secureagent), the official A2A Python SDK, and [Agent Nebula SDK](https://github.com/garutmanaya/agent-nebula-sdk) security primitives. It provides protocol integration, configuration, security composition and runtime services so agent authors can focus on skills rather than repeatedly implementing server lifecycle, authentication and observability.
|
|
4
|
+
|
|
5
|
+
## Why use the Platform?
|
|
6
|
+
|
|
7
|
+
Applications can select capabilities through plugins rather than adopting a monolithic agent server. The Platform composes A2A client/server operations, security requirements advertised by Agent Cards, OAuth clients and protected resources, skill invocation, A2UI, optional Registry onboarding, and operational services. Protocol handling remains with the official `a2a-sdk`; cryptographic and OAuth standards primitives remain in `agent-nebula-sdk`.
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
SecureAgent / host application
|
|
11
|
+
|
|
|
12
|
+
agent-nebula-platform
|
|
13
|
+
|-- a2a/ A2A SDK integration and Agent Card security
|
|
14
|
+
|-- security/oauth/ OAuth client, registration and protected resources
|
|
15
|
+
|-- skills/ Transport-neutral skill dispatch
|
|
16
|
+
|-- a2ui/ Declarative UI and action integration
|
|
17
|
+
|-- integrations/ Optional Agent Nebula onboarding
|
|
18
|
+
`-- platform/ Lifecycle, plugins, configuration, telemetry, metrics
|
|
19
|
+
|
|
|
20
|
+
official a2a-sdk + agent-nebula-sdk
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
See [Platform architecture](https://github.com/garutmanaya/agent-nebula-platform/blob/main/docs/platform.md) and [documentation index](https://github.com/garutmanaya/agent-nebula-platform/blob/main/docs/README.md).
|
|
24
|
+
|
|
25
|
+
## Protocols
|
|
26
|
+
|
|
27
|
+
**A2A 1.0** is implemented using the official Python SDK, including client/server integration and security-scheme handling. **A2UI 1.0** provides declarative UI data and actions over A2A; it is not a separate agent transport. **MCP** is planned, not yet implemented. See [A2A](https://github.com/garutmanaya/agent-nebula-platform/blob/main/docs/a2a.md), [A2UI](https://github.com/garutmanaya/agent-nebula-platform/blob/main/docs/a2ui.md), and [MCP status](https://github.com/garutmanaya/agent-nebula-platform/blob/main/docs/mcp.md).
|
|
28
|
+
|
|
29
|
+
## Security and authorization
|
|
30
|
+
|
|
31
|
+
The Platform interprets A2A Agent Card security declarations and composes supported authentication adapters with OAuth client and protected-resource services. It supports security integration for API keys, HTTP authentication, OAuth/OIDC and TLS/mTLS as configured by the host and advertised by the agent. Reusable OAuth, JOSE/JWT, JWK and DPoP primitives are delegated to `agent-nebula-sdk`; protected-resource authorization enforces exact required skill scopes. Optional [Agent Nebula](https://agentnebula.ai) integration enables hosted registration, discovery, OAuth and policy-managed access; those hosted services are distinct from the local Platform package. See [security](https://github.com/garutmanaya/agent-nebula-platform/blob/main/docs/security.md), [A2A security integration](https://github.com/garutmanaya/agent-nebula-platform/blob/main/docs/nebula-a2a-security.md) and [Registry integration](https://github.com/garutmanaya/agent-nebula-platform/blob/main/docs/integrations.md).
|
|
32
|
+
|
|
33
|
+
## Plugins and lifecycle
|
|
34
|
+
|
|
35
|
+
Capabilities are assembled through `RuntimePlugin` and `PluginRegistry`, with pre-server and post-server initialization, required/optional failure handling, health/readiness, and reverse-order shutdown. Available plugin areas include skills, A2UI, OAuth clients, protected resources, client registration, Registry onboarding, metrics, telemetry and scheduling. See [plugins and lifecycle](https://github.com/garutmanaya/agent-nebula-platform/blob/main/docs/platform.md) for contracts and operational behavior.
|
|
36
|
+
|
|
37
|
+
## Runtime configuration and filesystem permissions
|
|
38
|
+
|
|
39
|
+
The runtime path resolver provides **configured-root containment**, not an operating-system sandbox. `runtime_path()` confines paths to its configured runtime root; `shared_path()` may also permit the configured product root. The resolver does **not** enforce a global `/run/agent-nebula`-only rule, and Python code cannot prevent arbitrary filesystem access by other process components. For a deployment requiring writable runtime state **only** under `/run/agent-nebula`, configure that directory as the writable runtime mount and enforce restrictions with OS/container permissions and read-only mounts. Other paths may still be required read-only for Python packages, certificates and configuration. See [runtime and isolation](https://github.com/garutmanaya/agent-nebula-platform/blob/main/docs/runtime.md).
|
|
40
|
+
|
|
41
|
+
## Observability and operations
|
|
42
|
+
|
|
43
|
+
The Platform provides plugin health/readiness, lifecycle events, metrics, telemetry, retry, scheduling and execution tracing. Enable and configure these capabilities in the host composition rather than assuming all are active by default. See [runtime services](https://github.com/garutmanaya/agent-nebula-platform/blob/main/docs/platform.md) and [observability](https://github.com/garutmanaya/agent-nebula-platform/blob/main/docs/observability.md).
|
|
44
|
+
|
|
45
|
+
## Install
|
|
46
|
+
|
|
47
|
+
Python 3.12 is required. The Platform supports Agent Nebula SDK 5.x. Install the latest published release:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
pip install agent-nebula-platform
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
For examples and application-level usage, see the [SecureAgent examples repository](https://github.com/garutmanaya/agent-nebula-secureagent-examples) and the [documentation index](https://github.com/garutmanaya/agent-nebula-platform/blob/main/docs/README.md).
|
|
54
|
+
|
|
55
|
+
## License
|
|
56
|
+
|
|
57
|
+
Apache License 2.0. See [LICENSE](https://github.com/garutmanaya/agent-nebula-platform/blob/main/LICENSE).
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
Agent Nebula Platform integrates authentication and authorization into A2A workflows. Technical details are documented in [Security](docs/security.md) and [A2A Security](docs/nebula-a2a-security.md).
|
|
4
|
+
|
|
5
|
+
## Reporting vulnerabilities
|
|
6
|
+
|
|
7
|
+
Please do **not** disclose suspected vulnerabilities in public GitHub issues or discussions. If the repository has GitHub private vulnerability reporting enabled, use **Security → Report a vulnerability** to contact the maintainers privately. Otherwise, contact the repository maintainers through an established private channel before disclosing details publicly.
|
|
8
|
+
|
|
9
|
+
Include the affected version, a concise impact description, and reproducible details where safe. Do not include live credentials, private keys, or personal data.
|
|
10
|
+
|
|
11
|
+
## Supported versions
|
|
12
|
+
|
|
13
|
+
Security maintenance targets the latest published release. Older versions may not receive fixes; consult release notes for any specific support commitments.
|