Catalog PyPI
PACKAGE EXPLORERView in registry

agent-nebula-secureagent

PyPI

Configuration-driven Python facade for building secure A2A agents on Agent Nebula Platform

Versions collected1
Direct dependencies1From release 5.0.0
Last observed20 Oct, 22:44 UTC

README

Version 5.0.0 documentation

Agent Nebula SecureAgent

Build standards-based A2A agents with business skills in Python and protocol, security, and presentation defined through configuration.

Getting started · Configuration · Architecture · Security · A2UI · Agent Nebula · Examples

agent-nebula-secureagent is the lightweight developer-facing facade over agent-nebula-platform. It uses the official A2A Python SDK through Platform rather than reimplementing A2A. A2UI is optional. An agent can run standalone without registering with Agent Nebula.

Why SecureAgent?

Working directly with an A2A server requires assembling protocol handlers, Agent Card metadata, transport hosting, security integration, and lifecycle behavior around application logic. SecureAgent delegates those infrastructure responsibilities to Platform. Developers concentrate on skills while configuring published capabilities and security separately. This reduces duplicated infrastructure code; it does not remove the need to design and test business logic or access policies.

CapabilityWhat developers gain
A2A 1.0Official SDK-based messaging, skills, tasks, streaming, and supported bindings via Platform
One skill APIBind Python handlers to published skill identifiers; avoid protocol-specific business implementations
Configuration-driven designChange Agent Cards, endpoints, TLS, OAuth, and Registry settings without rewriting skill handlers
A2UI v1.0Return interactive UI surfaces with declarative presentation.json and configured catalogs
Security integrationReuse Platform enforcement and SDK primitives for OAuth, scopes, TLS/mTLS, JWT, and DPoP where configured
Optional Agent NebulaRegister and discover agents; use hosted OAuth and policy services for controlled invocation

Architecture

Business skills (Python) + configuration + optional A2UI presentation
                            |
                            v
                 agent-nebula-secureagent
                 (public application facade)
                            |
                            v
                  agent-nebula-platform
            (A2A/A2UI composition, security, lifecycle)
                   /                   \
          official a2a-sdk       agent-nebula-sdk
                                (security primitives)
                            |
                optional Agent Nebula services
            (Registry, discovery, OAuth, policy)

See architecture and component boundaries. A2A is implemented through the official SDK; REST and MCP are not currently exposed as working SecureAgent server adapters (details).

Quick start

Requires Python 3.12 and Agent Nebula Platform 5.x (which supplies the Agent Nebula SDK dependency). Install the released package and its declared dependencies:

python3.12 -m venv .venv
. .venv/bin/activate
python -m pip install agent-nebula-secureagent

An A2A server defines its published skills in a2aserver.conf and binds executable handlers to those identifiers:

from agent_nebula_secureagent import SecureAgent

agent = SecureAgent(config="config/secureagent.conf")
agent.use_protocol("a2a", role="server", config="config/a2aserver.conf")

@agent.skill("inventory.lookup", description="Look up inventory")
async def inventory_lookup(payload):
    return {"sku": payload["sku"], "available": 12}

agent.run()

This snippet illustrates the API; it requires valid configuration files. Follow the complete getting-started guide and the runnable examples for complete configurations and server/client commands.

Configuration-driven development

FileResponsibility
secureagent.confApplication identity and generic runtime settings
a2aserver.confAgent Card, advertised skills, A2A bindings, listener and server security
a2aclient.confOutbound A2A connections, trust and client authentication
a2ui.confOptional A2UI capability and component catalogs
presentation.jsonOptional skill-owned UI component tree, bindings, and actions
nebula.confOptional Agent Nebula Registry onboarding and registration

The configuration formats, supported keys, and ownership boundaries are documented in the configuration reference. A2UI presentation remains separate from Python business logic (A2UI guide).

Authentication and authorization

SecureAgent does not implement a competing authentication stack. Platform interprets A2A security declarations and composes enforcement; agent-nebula-sdk supplies reusable security primitives. Configuration determines which mechanisms are enabled. A trust bundle alone does not enable mTLS, and declaring an OAuth scope does not by itself establish a hosted policy decision. See security and authorization.

Agent Nebula Enterprise Registry Hub (optional)

Agent Nebula provides hosted A2A Registry and discovery, Explorer, Playground, OAuth, policy, and account-management services. Its organizational model is Publisher → Provider → Agents. Developers can register publicly reachable agents and test OAuth-scoped, policy-controlled invocation; local standalone examples do not require these services.

Start with Agent Nebula integration, then follow the platform-integrated examples for onboarding, registration, and invocation scenarios.

Documentation

License

Licensed under the Apache License, Version 2.0. See CONTRIBUTING.md for contribution guidance.

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.019 Oct 20261

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:f7cbf2eecf95485d3664a448dc8e616e95b6beb9508a449318957ac8dd1a7b93