Catalog PyPI
PACKAGE EXPLORERView in registry

agent-nebula-sdk

PyPI

Standards-oriented security SDK for Agent Nebula and Agent Genesis

Versions collected1
Direct dependencies4From release 5.0.2
Last observed20 Oct, 22:44 UTC

README

Version 5.0.2 documentation

Agent Nebula SDK

Agent Nebula SDK is a Python security library that provides reusable OAuth, JOSE, token-validation, and sender-constrained authentication components for agent applications. It supplies security primitives and integration contracts; it does not operate the hosted Agent Nebula Registry, OAuth server, or policy service.

The SDK is used by Agent Nebula Platform, which integrates these capabilities with the official A2A Python SDK. Developers building agents can use SecureAgent as the higher-level interface.

Why use the SDK?

  • Standards-based security: reusable OAuth and JOSE implementations instead of application-specific token and proof validation.
  • Separation of responsibilities: client, authorization-server, and resource-server facades with application-supplied persistence and policy decisions.
  • Sender-constrained requests: DPoP proof validation, token binding, replay checks, and resource targeting.
  • Protocol integration: HTTP security components for A2A and MCP authorization profiles; the SDK does not implement A2A or MCP message transport.
  • Composable infrastructure: ports and adapters for storage, key management, and HTTP interactions.

Security capabilities

CapabilityStandard or interface
JWK, JWKS, key thumbprintsRFC 7517, RFC 7638
JWT client authenticationRFC 7523
Dynamic client registration and managementRFC 7591, RFC 7592
Authorization-server and protected-resource metadataRFC 8414, RFC 9728
Resource indicatorsRFC 8707
JWT access tokensRFC 9068
Demonstrating proof of possessionRFC 9449 (DPoP)
A2A and MCP securityHTTP authentication/authorization integration

For implementation details, constraints, and conformance references, see standards mapping, security model, and documentation index. Additional protocol modules in the source tree should not be assumed to constitute a complete hosted service.

Install

Requires Python 3.12.

pip install agent-nebula-sdk

To develop from source:

uv sync --group dev
make verify

Architecture and integrations

The SDK implements security primitives and exposes contracts for application-owned persistence, credential storage, and authorization decisions. Architecture · Public API · Ports and adapters · Agent Nebula integration.

Documentation

Start with the documentation index. It links to architecture, API facades, OAuth standards, authentication flows, configuration, testing, and integration guidance.

License

Apache License 2.0. See LICENSE.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
5.0.219 Oct 20264

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:44 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:c12af2155f603d210d64c868e16c8520f6905e300daa827d163ba5d5504c0957