Works With Agents — Python SDK
Reference implementations for all Agent OSI Model protocols: Trust Score, Deployment Manifest, SLA Framework, Identity Protocol, Compliance-as-Code, Onboarding Protocol.
Install
pip install workswithagents
Quick Start
from workswithagents import (
TrustScoreClient,
DeploymentManifest,
SLAMetrics,
AgentIdentity,
ComplianceEngine,
OnboardingClient
)
# Trust Score — check before delegating
ts = TrustScoreClient()
if ts.get("target-agent")["tier"] == "trusted":
delegate(task, to="target-agent")
# Deployment — deploy a fleet from YAML
dm = DeploymentManifest.from_file("fleet.yaml")
dm.deploy()
# SLA — track fleet performance
sla = SLAMetrics("my-fleet", tier="production")
sla.report("agent-1", "task-42", duration_seconds=187, success=True)
# Identity — sign and verify messages
ai = AgentIdentity("my-agent")
ai.register()
sig = ai.sign({"type": "heartbeat"})
# Compliance — validate before executing
ce = ComplianceEngine()
dtac = ce.load("dtac-v2.1")
if dtac.validate(action).passed:
execute(action)
# Onboarding — create new agents
ob = OnboardingClient()
result = ob.full_onboard("new-agent", "Build SPFx parts",
capabilities=["build:spfx"])
Protocols
| Protocol | Module | Layer |
|---|---|---|
| Trust Score | trust_score.py |
L3/L5 |
| Deployment Manifest | deployment.py |
Cross-layer |
| SLA Framework | sla.py |
L7 |
| Identity Protocol | identity.py |
L2/L3 |
| Compliance-as-Code | compliance.py |
L7 |
| Onboarding Protocol | onboarding.py |
L1/L3 |
All protocols CC BY 4.0. Full specs: https://workswithagents.dev/specs/
Metadata
Release files for workswithagents 0.1.3
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 |
|---|---|---|---|---|
| workswithagents-0.1.3.tar.gz | 18.2 kB | Without provenance | Details for workswithagents-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| workswithagents-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for workswithagents-0.1.3-py3-none-any.whl |
Total release size: 41.9 kB
Release files / workswithagents-0.1.3.tar.gz
| Download URL | workswithagents-0.1.3.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a32b560d8474368acf6632857a849230519a0516a968e894a7368bd051aab59
|
|
BLAKE2b-256 checksum How to use checksums |
6404ede5062e20ddc6f0b1af182e91d9d92579cc5c6f726b0f0262f6c26c17a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / workswithagents-0.1.3-py3-none-any.whl
| Download URL | workswithagents-0.1.3-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d87f405f3dd3cccacff081993fa6878a4eacfcd7de8f00fec8936a1141b2c5d5
|
|
BLAKE2b-256 checksum How to use checksums |
40c6355650aad218516a8bf2edca9aa6389318854dd04016d376044cac893cb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for workswithagents 0.1.3
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.