keptvow
Check who your AI agent is about to pay before an x402 payment goes out.
Every answer is one word — ok, careful or stop — with the reason, built from real USDC payments on Base (how many different buyers paid the seller, how many came back), reports from buyers who did or didn't get what they paid for, and daily checks that the seller's services answer. Free, no sign-up, no key, no dependencies.
pip install keptvow
Ask about one wallet
import keptvow
result = keptvow.check("0xSELLER", amount_usd=5)
result["verdict"] # "ok", "careful" or "stop"
result["advice"] # one plain sentence saying why
Guard every payment (one line)
On the official x402 client (x402Client or x402ClientSync from the x402 package):
import keptvow
from x402 import x402Client
client = keptvow.hooks(x402Client()) # then register your schemes as usual
The wallet each payment goes to is checked just before the payment is signed. A wallet with a
bad record cancels the payment before any money moves (x402 raises PaymentAbortedError, with
Keptvow's reason). The async client's check runs off the event loop. Afterwards that same line
reports in the background whether the paid request came back, so nothing else is needed. Takes
the same options as guard below.
Or wrap your session (one line)
With requests or httpx, and no x402 client in the picture:
import keptvow, requests
session = keptvow.wrap(requests.Session()) # or httpx.Client(), or httpx.AsyncClient()
Every 402 Payment Required the session gets is checked before anything is paid, and every paid
answer is reported to Keptvow in the background with the status it really got.
Check one 402 answer yourself
r = session.get(url)
if r.status_code == 402:
keptvow.guard(r) # raises keptvow.KeptvowStop for a wallet with a bad record
# ...go on and pay with your x402 client
guard(r, allow_careful=False) also blocks wallets with no track record;
fail_open=False blocks payment when Keptvow can't be reached. report_outcomes=False turns
off the delivery reports in hooks and wrap.
Report whether you got what you paid for
hooks and wrap already do this for you. Doing your own paying:
keptvow.report_outcome(paid_response) # reads the PAYMENT-RESPONSE receipt
keptvow.report_outcome("0xTX", delivered=False) # or name the payment yourself
Each payment is reported once, so mixing these is fine.
Sent in the background and never raises. Keptvow checks the payment on-chain, so only real buyers count. Every verdict your agent gets back is built from reports like these: it is how a seller that takes the money and delivers nothing turns to stop, before it costs your next task.
Set KEPTVOW_URL to use another Keptvow address.
Other ways in
No package needed: GET https://keptvow.com/v1/check?pay_to=0x…&amount_usd=5, an MCP server at
https://keptvow.com/mcp, and a guide for AI agents at https://keptvow.com/llms.txt. Everything
else: https://keptvow.com/docs.
Metadata
Release files for keptvow 0.3.0
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 |
|---|---|---|---|---|
| keptvow-0.3.0.tar.gz | 12.6 kB | With provenance | Details for keptvow-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| keptvow-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for keptvow-0.3.0-py3-none-any.whl |
Total release size: 20.7 kB
Release files / keptvow-0.3.0.tar.gz
| Download URL | keptvow-0.3.0.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e092b8cd42ff0f7517d962a3d90004fdf9254f0c31701d2173ce9cf97afa1a4d
|
|
BLAKE2b-256 checksum How to use checksums |
230f4b8e19fbf813d8b08f04718b43097fd525344ba224a686ac0f3be74e861b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 18, 2026.
Transparency logRelease files / keptvow-0.3.0-py3-none-any.whl
| Download URL | keptvow-0.3.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70cfd1262c43f7905c7d82c02c84814968fdecd70658b61ad6003bbcfc6cac4d
|
|
BLAKE2b-256 checksum How to use checksums |
67848e9440bae0bfdcf9bc86b6ebea536004bc61762b567fc349cf6a200175de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 18, 2026.
Transparency logSecurity for keptvow 0.3.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for keptvow-0.3.0.tar.gz
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 Nov 18, 2026.
Transparency logA 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.