gongyou-agent-market
Buyer-side Python client for the GongYou Agent Market. Python 3.9 and newer is supported.
pip install gongyou-agent-market
The client never accepts a private key. Keep the buyer wallet and signing library in the buyer process, then pass a callback that receives the quote and returns the already-signed payment payload:
from agent_market_client import AgentMarketClient
def buyer_owned_signer(quote: dict) -> dict:
# Inspect the quote and sign it with the buyer's wallet here.
# Return only the x402 payload; never return or log the private key.
return sign_with_buyer_wallet(quote)
client = AgentMarketClient("https://www.gongyou.kr")
quote = client.quote("product-id-or-slug")
settled = client.settle_with_signer(quote, buyer_owned_signer)
settle_with_signer calls the callback locally and sends only its returned
payload to the marketplace. The SDK does not create, store, transmit, or log
wallet private keys. Challenge registration still uses the buyer wallet's
signature through client.challenge and client.register.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gongyou_agent_market-0.1.0.tar.gz.
File metadata
- Download URL: gongyou_agent_market-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
585700bcb2caf35dec1f0ee5fceab127efaced35c53ba1ba210df0e01b81da42
|
|
| MD5 |
336b99db886bae73d21503c77aa7eac3
|
|
| BLAKE2b-256 |
91cfe84caa3da0499d99b8b6ae3ab29fc5eecd1261df1f1d0891ab0e1268e793
|
File details
Details for the file gongyou_agent_market-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gongyou_agent_market-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3555098656e2893c85b49b5a0338a4cea20be06a2308f24e9b6fe924e96634ca
|
|
| MD5 |
286eb3df4817843da373647e5f36feb3
|
|
| BLAKE2b-256 |
0833595716ff82095f69a89eb5713009a99483aa7f131f193c8cd7018b4e7943
|