Skip to main content

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. Takes the same options as guard below.

Check a seller's 402 answer before paying

Works with requests and httpx responses:

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 whether you got what you paid for

keptvow.report_outcome(paid_response)          # reads the PAYMENT-RESPONSE receipt
keptvow.report_outcome("0xTX", delivered=False) # or name the payment yourself

Sent in the background and never raises. Keptvow checks the payment on-chain, so only real buyers count — this is what lets honest sellers earn ok and flags the ones that take the money and deliver nothing.

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.2.1

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

Source distribution (sdist)

Source distribution for keptvow 0.2.1
File Size Uploaded Provenance Actions
keptvow-0.2.1.tar.gz 8.1 kB With provenance Details for keptvow-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 14.7 kB

Release files / keptvow-0.2.1.tar.gz

Download URL keptvow-0.2.1.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1e2bf7462ac4b723ba27b68df853c9484a4c6a185b9e50cfd306d427fdf58ed4
BLAKE2b-256 checksum
How to use checksums
e138f093ab45e9d08bde485e9a30a093380d45e3d1b66ca6bcbd75e8a5de11bf
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 15, 2026.

Transparency log

Release files / keptvow-0.2.1-py3-none-any.whl

Download URL keptvow-0.2.1-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5ed866090826f3abd1ff2296bbe4f8bc180467d9e060c6823b0491dd9cdd7d0
BLAKE2b-256 checksum
How to use checksums
f9a0275a0cc37b77db2e43818c3f3e31a4539c69c78b8c3972e675c4d435e580
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 15, 2026.

Transparency log

Security for keptvow 0.2.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for keptvow-0.2.1.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 15, 2026.

Transparency log

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.

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