voidly-pay-autogen
Microsoft AutoGen 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.
Targets autogen-core v0.4+ (the modern AutoGen API). Compatible with autogen-agentchat AssistantAgent.
Install
pip install voidly-pay-autogen
Use
import asyncio
from autogen_agentchat.agents import AssistantAgent
from autogen_ext.models.anthropic import AnthropicChatCompletionClient
from voidly_pay_autogen import voidly_pay_tools
async def main():
agent = AssistantAgent(
name="treasurer",
model_client=AnthropicChatCompletionClient(model="claude-sonnet-4-7"),
tools=voidly_pay_tools(), # 8 FunctionTools, ready to use
system_message="You manage agent payments via voidpay.",
)
result = await agent.run(task="Check my balance and faucet if low.")
print(result.messages[-1].content)
asyncio.run(main())
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 |
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_autogen import voidly_pay_tools
pay = VoidlyPay(api_url="https://api.voidly.ai") # or pass did=, secret=
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 - LlamaIndex (Python):
pip install voidly-pay-llamaindex - 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-autogen 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_autogen-0.1.2.tar.gz | 6.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| voidly_pay_autogen-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.2 kB
Release files / voidly_pay_autogen-0.1.2.tar.gz
| Download URL | voidly_pay_autogen-0.1.2.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
edbc86425cda137c826d9260f8432fd53d44c72c49a701e329c16906aef816fb
|
|
BLAKE2b-256 checksum How to use checksums |
9fb9b0b39712a9dc4cfed2a1d7714f37fbf41915c06dd13b628d4128a439f137
|
| 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_autogen-0.1.2-py3-none-any.whl
| Download URL | voidly_pay_autogen-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8da67be43e2be63025e106d18a88f9bb6d43acd37deb4b8108c03e92a9433002
|
|
BLAKE2b-256 checksum How to use checksums |
5899691bcef67c795f78fab154458ed19b24fc497108f26495e9393d4d80c122
|
| 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-autogen 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.