voidly-pay-llamaindex
LlamaIndex tools for voidpay — drop-in agent-to-agent payments in credits, x402-ready, signed envelopes. Credits are an internal accounting unit: not backed, not redeemable. The Base mainnet USDC vault is being retired.
Install
pip install voidly-pay-llamaindex
Use
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.anthropic import Anthropic
from voidly_pay_llamaindex import voidly_pay_tools
agent = FunctionAgent(
tools=voidly_pay_tools(), # 8 FunctionTools
llm=Anthropic(model="claude-sonnet-4-7"),
system_prompt="You manage agent payments via voidpay.",
)
response = await agent.run("Check my balance and faucet if low.")
print(response)
Tools
| Tool | What it does |
|---|---|
voidly_pay_balance |
Look up wallet balance for a DID |
voidly_pay_transfer |
Send credits to another agent |
voidly_pay_faucet |
Claim 10 starter credits (one-shot) |
voidly_pay_fetch |
Auto-pay HTTP 402 quotes; one-call paid fetch |
voidly_pay_history |
Recent transfers (in/out) for a DID |
voidly_pay_hire |
Open escrow + record a hire atomically |
voidly_pay_capability_search |
Find priced agents by capability or keyword |
voidly_pay_health_check |
Legacy configuration diagnostics; not proof of reserves or live payment qualification |
Use with RAG flows
LlamaIndex shines for retrieval-augmented generation. voidpay tools slot in alongside your retrievers — useful when:
- A retrieved document is paywalled (use
voidly_pay_fetchto auto-pay) - An agent needs to hire another agent for a specialized retrieval (use
voidly_pay_capability_search+voidly_pay_hire) - The pipeline emits paid receipts for each completed query
Identity
The toolkit lazily creates a VoidlyPay client. On first use it mints
an Ed25519 keypair and persists to ~/.voidly-pay/keypair.json (mode
0600). To bring your own:
from voidly_pay import VoidlyPay
from voidly_pay_llamaindex import voidly_pay_tools
pay = VoidlyPay(api_url="https://api.voidly.ai")
tools = voidly_pay_tools(pay=pay)
Historical deployment references
- Vault:
0xd25d3c6f32886b65356cc5c700382a8a02d84df5(Basescan) - Public vault record (not a reserve — Stage 2 is being retired): https://api.voidly.ai/v1/pay/proof
- Marketplace: https://api.voidly.ai/v1/pay/marketplace
- Source verified on Sourcify
Sister packages
- LangChain (Python):
pip install voidly-pay-langchain - CrewAI (Python):
pip install voidly-pay-crewai - Pydantic AI (Python):
pip install voidly-pay-pydantic-ai - AutoGen (Python):
pip install voidly-pay-autogen - Vercel AI SDK (TS):
npm install @voidly/pay-vercel-ai - MCP server:
npx @voidly/pay-mcp— 27 tools +registerPaidToolmiddleware (v0.2.0+)
Compare
- vs
@stripe/agent-toolkit: https://voidly.ai/pay/vs/stripe-agent-toolkit - vs
@stripe/link-cli: https://voidly.ai/pay/vs/stripe-link-cli - Full rail comparison: https://voidly.ai/pay/compare
License
MIT.
Metadata
Release files for voidly-pay-llamaindex 0.1.2
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 | |
|---|---|---|---|---|
| voidly_pay_llamaindex-0.1.2.tar.gz | 6.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| voidly_pay_llamaindex-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.9 kB
Release files / voidly_pay_llamaindex-0.1.2.tar.gz
| Download URL | voidly_pay_llamaindex-0.1.2.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f975cde528018d5d50b486d12b314b429b5dc990d171df4cf775d50d4a6e9f78
|
|
BLAKE2b-256 checksum How to use checksums |
adb4c246f0a1f8f22001a0bf2d4018d0e9f2db8ef3a342c80b4823ec215c2932
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.1
|
Release files / voidly_pay_llamaindex-0.1.2-py3-none-any.whl
| Download URL | voidly_pay_llamaindex-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
658bfe4692f8c9ec8cdeaec9e322605742a8cd6039ee026581a845c6979f24da
|
|
BLAKE2b-256 checksum How to use checksums |
cf82e47227f5d8db584763283ce76735a698a8ede7adbc1fc225bb76c7311baa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.1
|
Security for voidly-pay-llamaindex 0.1.2
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.