Skip to main content

Swarmauri Logo

swarmauri_delegation_attenuating

Downloads Hits Python License Version

Interchangeable delegations component for the composable execution framework.

Features

  • Export AttenuatingDelegationService with SDK interface/base-class inheritance and entry-point discovery.
  • Keep user authority, workload identity, lifecycle and delivery dependencies explicit.
  • Reuse existing service registries, transports, checkpoints and token providers.
  • Support Python 3.10, 3.11 and 3.12.

Installation

These packages introduce unreleased core/base APIs. Install the matching workspace revision together; do not combine with older published core/base releases. Release validation must publish compatible dependency versions first.

uv pip install ./pkgs/standards/swarmauri_delegation_attenuating
pip install ./pkgs/standards/swarmauri_delegation_attenuating

Usage

The following is composition code. Injected dependency names are host configuration, not bundled mock providers. Async statements run inside an async function.

from swarmauri_delegation_attenuating import AttenuatingDelegationService

service = AttenuatingDelegationService(
    grants=grant_store, tasks=task_store, policy=permission_policy,
    tokens=token_service, kid=signing_key_id, issuer=issuer,
    edges=frozenset({("agent:A", "agent:B")}),
)
# Trusted broker operations: authenticate callers before passing identities.
root = service.root(task_id, "agent:A", permissions, remaining_depth=1)
child = service.delegate(root.grant_id, "agent:A", "agent:B", permissions)
credential = await service.credential(
    child.grant_id, "agent:A", "agent:B", permissions[0]
)
service.revoke(root.grant_id)
# Later admission rejects the child even if its JWT has not expired.

See the complete architecture and deployment guide for concrete local commands, live OIDC integration, HTTP hosting, lifecycle semantics and failure recovery.

Verification

From pkgs/, with the workspace dependencies installed:

uv run --package swarmauri_delegation_attenuating --directory standards/swarmauri_delegation_attenuating pytest
uv run --package swarmauri_delegation_attenuating --directory standards/swarmauri_delegation_attenuating ruff check .

Tests use real signing and stores where applicable; scripted models are explicitly identified fixtures. No live provider interoperability is claimed by offline tests.

Contributing

Follow the repository contribution guide.

Metadata

Release files for swarmauri_delegation_attenuating 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swarmauri_delegation_attenuating 0.1.0
File Size Uploaded Provenance Actions
swarmauri_delegation_attenuating-0.1.0.tar.gz 8.2 kB Without provenance Details for swarmauri_delegation_attenuating-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for swarmauri_delegation_attenuating 0.1.0
File Interpreter ABI Platform Actions
swarmauri_delegation_attenuating-0.1.0-py3-none-any.whl Python 3 none any Details for swarmauri_delegation_attenuating-0.1.0-py3-none-any.whl

Total release size: 18.1 kB

Release files / swarmauri_delegation_attenuating-0.1.0.tar.gz

Download URL swarmauri_delegation_attenuating-0.1.0.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
04fab15e6749d43ba5d22801d59bc6ac131df8fefa47ce5b96fc8e8f01c6a7d1
BLAKE2b-256 checksum
How to use checksums
2518f5924dd54391cf8479900da1b0d5ca01b4e7096b9b783eab3047a79f1cca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / swarmauri_delegation_attenuating-0.1.0-py3-none-any.whl

Download URL swarmauri_delegation_attenuating-0.1.0-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64c097c43d995af5e632c912989a5babeb71c773c266ac3513c1e0dfc125c019
BLAKE2b-256 checksum
How to use checksums
3706fea74c9834baa628ec9c896d6ec96a148acc7469b150cf00603f68205a1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for swarmauri_delegation_attenuating 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page