voidpay Tool
voidpay is an x402 payment rail for AI agents — let your LlamaIndex agent autonomously pay for HTTP 402 endpoints, no API keys, no Stripe customer object. Identity is an Ed25519 keypair on disk.
Settlement happens off-chain in voidpay credits (Stage 1) or on-chain USDC on Base mainnet
(Stage 2). The vault is Sourcify-verified at
0xd25d...4DF5 with
the vault record at voidly.ai/pay/proof. Credits are not backed and not redeemable; Stage 2 is being retired.
Installation
pip install llama-index-tools-voidly-pay
Provision a wallet (10 free credits, no install)
Visit voidly.ai/pay/claim — generates an Ed25519 keypair in your
browser and grants 10 credits via the public faucet. Save the keypair to
~/.voidly-pay-keypair.json and you're ready to call paid endpoints.
Usage
from llama_index.tools.voidly_pay import VoidlyPayToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
voidly_tool = VoidlyPayToolSpec() # uses ~/.voidly-pay-keypair.json by default
agent = FunctionAgent(
tools=voidly_tool.to_tool_list(),
llm=OpenAI(model="gpt-4o"),
)
await agent.run(
"Browse the voidpay marketplace, find a Wikipedia summary endpoint, "
"and pay 1¢ to fetch the summary for 'Alan Turing'."
)
Available Functions
pay_for_url(url, method, params, body)— call any URL; auto-pays a402 Payment Requiredresponse by signing a transfer envelope, retries withX-Payment, and returns the body plus the signed receipt.discover_paid_endpoints()— list all paid endpoints currently advertised on the facilitator.marketplace_browse(category)— browse the open voidpay marketplace (api.voidly.ai/v1/pay/marketplace).health_check()— run the 6-check trust report (facilitator reachability, vault verification, wallet balance, keypair validity, settlement health). Useful before a long-running paid task.list_listing(name, endpoint_url, price_usdc, description, category)— list your own paid endpoint on the marketplace.
How x402 works
- Agent calls a tool that hits a
402 Payment Requiredendpoint - Endpoint returns a signed quote (price, recipient, expiry)
- SDK signs a transfer envelope with the agent's Ed25519 keypair
- Endpoint verifies and returns the actual response
One round-trip after the first 402. Sub-200ms typical settlement on the live facilitator.
List your own paid endpoint
Visit voidly.ai/pay/list-your-service — browser-only Ed25519 keypair, no install. Once listed, every Voidly-aware agent (LlamaIndex, LangChain, Vercel AI, MCP) can find and call your URL. Voidly takes zero platform cut on Stage 1.
Resources
- voidpay docs
- Live marketplace JSON
- Sourcify-verified vault
- Public vault record — not a reserve; Stage 2 is being retired
- voidly-pay PyPI SDK (this tool wraps it)
This loader is designed to be used as a way to load voidpay primitives as Tools in an Agent.
Metadata
Release files for llama-index-tools-voidly-pay 0.1.3
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 | |
|---|---|---|---|---|
| llama_index_tools_voidly_pay-0.1.3.tar.gz | 6.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llama_index_tools_voidly_pay-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 kB
Release files / llama_index_tools_voidly_pay-0.1.3.tar.gz
| Download URL | llama_index_tools_voidly_pay-0.1.3.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6dca2bf382ee9e86c64ba6562d510c74b5aed84851aafd53fbe997cd9f947555
|
|
BLAKE2b-256 checksum How to use checksums |
492f507b48cb6f2ebbf4d389a7222886e558ebfa792cc4ed4463ba522a6af7aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.1
|
Release files / llama_index_tools_voidly_pay-0.1.3-py3-none-any.whl
| Download URL | llama_index_tools_voidly_pay-0.1.3-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4da43c1c23c0723e4c29f22fdbdb6cbea28967347e1f0a5bfd66634a5ff7a78e
|
|
BLAKE2b-256 checksum How to use checksums |
9f4301816cb6cb1422e259e86ecddb99d4cdcfb6f072f3b9d69d6691e13de259
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.1
|
Security for llama-index-tools-voidly-pay 0.1.3
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.