swarmauri_delegation_attenuating
Interchangeable delegations component for the composable execution framework.
Features
- Export
AttenuatingDelegationServicewith 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, 3.12, 3.13 and 3.14.
Installation
Install the package with its declared dependencies. The composable APIs require swarmauri_core 0.11.0.dev8 or newer and swarmauri_base 0.11.0.dev13 or newer within the declared version bounds.
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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| swarmauri_delegation_attenuating-0.1.1.tar.gz | 8.2 kB | Without provenance | Details for swarmauri_delegation_attenuating-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| swarmauri_delegation_attenuating-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for swarmauri_delegation_attenuating-0.1.1-py3-none-any.whl |
Total release size: 18.0 kB
Release files / swarmauri_delegation_attenuating-0.1.1.tar.gz
| Download URL | swarmauri_delegation_attenuating-0.1.1.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b85f157e820af9e226bb252f9ae46ffec9d220c51af3be574492527bd8f1966
|
|
BLAKE2b-256 checksum How to use checksums |
e2f318fb9294948e43a36135b28c36d76a6c312b51f9590c1298a52a12564603
|
| 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.1-py3-none-any.whl
| Download URL | swarmauri_delegation_attenuating-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5518998cbfa1355c156815fd0c9986aba94f0745e9a5821940bb5401d5b1370d
|
|
BLAKE2b-256 checksum How to use checksums |
12d3faea9697a39b70ee92565c522caf30c37da7438c481494b23ce4ce902856
|
| 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.1
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.