Skip to main content

agentworth (Python client)

A thin REST client for the AgentWorth governance gate. Point it at a running agentworth serve; every payment it submits runs through the same gate (auto-execute inside a mandate, park for operator approval, or block). A blocked outcome is a normal result, not an error. Standard library only - no dependencies.

from agentworth import AgentWorthClient

os = AgentWorthClient("http://127.0.0.1:8787", token="...")
res = os.pay(payee="tesco", payee_class="groceries", amount=8000,  # minor-units
             rationale="the weekly grocery shop")
print(res["outcome"])   # settled | pending | blocked | failed
print(os.status(), os.ready())

Idempotency keys are generated per pay() (override with idempotency_key=). The full-feature surface is the TypeScript SDK (@general-liquidity/agentworth); this is for Python hosts that talk to a running ingress.

License: MIT.

Metadata

Release files for agentworth 0.1.8

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

Source distribution (sdist)

Source distribution for agentworth 0.1.8
File Size Uploaded
agentworth-0.1.8.tar.gz 2.6 kB Details

Built distribution (wheel)

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

Total release size: 5.8 kB

Release files / agentworth-0.1.8.tar.gz

Download URL agentworth-0.1.8.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a7693988b6a714d76b3ca3651bf4447c6d1eb0bcc5d58aedb3cf350b25850088
BLAKE2b-256 checksum
How to use checksums
23a641beb3b4dcd3b9ff10492cb117b5049c8a97c936c27a73dca2d2ca2ef058
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 27, 2026.

Transparency log

Release files / agentworth-0.1.8-py3-none-any.whl

Download URL agentworth-0.1.8-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
427eca530da0c3ad26c1ffed2773f51da4391304052661c98c0da4d2a3348071
BLAKE2b-256 checksum
How to use checksums
3b2537c0dfdf91c34542d39bafae7cc11e079b4c5efd680c9034071a9b57fdd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 27, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

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