Catalog PyPI
PACKAGE EXPLORERView in registry

agentworth

PyPI

Python client for the AgentWorth governance gate (REST over the HTTP ingress)

agentic-paymentsagentworthgovernance
Versions collected1
Direct dependencies0From release 0.1.8
Last observed21 Oct, 08:58 UTC

README

Version 0.1.8 documentation

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.

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
0.1.827 Jun 20260

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 21 Oct, 08:58 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:695517c80f8d14cdf6408c62481e0bcfa1edc0e35d079f7e137ec6354a4789b1