AgentPay Gateway (agentpay-gateway)
Autonomous Agent Payment Gateway & Reverse Proxy for API Monetization.
agentpay-gateway sits directly in front of existing REST APIs and AI microservices, monetizing requests via HTTP 402 Payment Required challenges settled gaslessly on-chain (Arbitrum Sepolia & Base).
⚡ Quickstart
Installation
pip install agentpay-gateway
Configuration (gateway.yaml)
version: "1.0"
server:
host: "0.0.0.0"
port: 8000
db_path: "./data/gateway.db"
facilitator:
url: "http://127.0.0.1:8001"
settlement:
default_network: "eip155:421614" # Arbitrum Sepolia
default_asset: "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d" # Circle USDC
default_pay_to: "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
routes:
- path: "/v1/market-data"
upstream: "https://httpbin.org/get"
price: "0.001 USDC"
Running the Gateway
python3 -m agentpay_gateway.server --config ./gateway.yaml
For complete documentation, visit AgentPay Gateway Guide.
Metadata
Release files for agentpay-gateway 0.1.0
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 | |
|---|---|---|---|---|
| agentpay_gateway-0.1.0.tar.gz | 78.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agentpay_gateway-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 180.6 kB
Release files / agentpay_gateway-0.1.0.tar.gz
| Download URL | agentpay_gateway-0.1.0.tar.gz |
|---|---|
| Size | 78.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64986dda70bc743d9fc882d643e98c7bc6998bd27f8011af28770866ac7ebc14
|
|
BLAKE2b-256 checksum How to use checksums |
9f6b84cdd351f54219967609f6583b7f0a6fc4e3c3b7beee75b9dff4506b7bb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.7
|
Release files / agentpay_gateway-0.1.0-py3-none-any.whl
| Download URL | agentpay_gateway-0.1.0-py3-none-any.whl |
|---|---|
| Size | 101.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74362346db22815aa50d75f8a31f2a31558d15cc99c7c8f380fb4bb227171856
|
|
BLAKE2b-256 checksum How to use checksums |
e1c3e11bf1fa39e1ea43536e21502a7e5d3522786ef355941c6895ead08ad04b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.7
|
Security for agentpay-gateway 0.1.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.
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.