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

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.0
File Size Uploaded Provenance Actions
keptvow-0.2.0.tar.gz 8.1 kB With provenance Details for keptvow-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 14.6 kB

Release files / keptvow-0.2.0.tar.gz

Download URL keptvow-0.2.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3859a689403dd403aac75ecd3aeaaa1d0ed1dba846d457c93c5b42d1d1350617
BLAKE2b-256 checksum
How to use checksums
3cfbf1bcdc7b919e89a3797f0477639d018524940504db9e3c8f555a795caa3b
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 Oct 28, 2026.

Transparency log

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

Download URL keptvow-0.2.0-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b78997881f2aea8741d2bfa00f8c1770ae61c6cba927424780bd6edd3df902cd
BLAKE2b-256 checksum
How to use checksums
a7348b8febd6a15d3df833a75594bbdc8f580421e6cd87c0d23ccc8665ec75be
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 Oct 28, 2026.

Transparency log

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

Select from 2 files

Attestation for keptvow-0.2.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 Oct 28, 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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

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