← Back to News
aifinpay-agent 2.1.0

aifinpay-agent 2.1.0

aifinpay-agent · PyPI Skip to main content Switch to mobile version Warning Some features may not work without

JavaScript. Please try enabling it if you encounter problems. Search PyPI Search Help Docs Log in Register Help Docs Log

in Register Deutsch English español Esperanto français português (Brasil) Ελληνικά русский

українська עברית 中文 (简体) 中文 (繁體) 日本語 한국어 Search PyPI Search aifinpay-agent

2.1.0 Unified agent-economy SDK for autonomous AI agents — chain-opaque AiFinPayAgent surface (call/balance/verify)

over Polygon and Solana execution environments. Non-custodial, x402-native. pip install aifinpay-agent==2.1.0 Copy PIP

instructions Description Download files Release history aifinpay-agent (Python) Stable 2.0.0 release. Native auth now

requires a request-bound v2 challenge from the coordinated backend update. auth_headers() refuses the retired unbound

proof, and legacy paid call() settlement is disabled; free provider responses still pass through. Python does not yet

expose Node's verified v1.3 fetchPaid executor. Non-custodial multi-facilitator x402 payment client for autonomous AI

agents on AiFinPay — canonical domain aifinpay.io (the legacy aifinpay.company host is retired). SDK wallet derivation

supports EVM and Solana identities; a wallet address alone does not mean a payment route is enabled. agent.pay(url)

works against: AiFinPay native flow (Solana Seat PDA + Ed25519) Coinbase x402 spec — detection + parsing today;

on-chain settlement coming in 0.3.x The Ed25519 keypair is generated locally and never leaves your process. The SDK

auto-detects the facilitator flavor on a 402 response and builds the right auth payload (three-headers for AiFinPay,

base64 PAYMENT-SIGNATURE for Coinbase x402). Install # install stable pip install aifinpay-agent Development setup

python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt -e . Quick start from aifinpay import

Agent, PayOptions # Generate a fresh keypair locally — never transmitted agent = Agent.new() print("Fund this

address:", agent.address) print("Save this secret:", agent.secret_b58) # store securely! # Wait until the wallet has at

least $0.01 worth on-chain agent.wait_for_funding(min_usd_cents=1) # Request an invoice for a Seat (USDC on Solana)

invoice = agent.reserve_seat_invoice(amount_usd=1.00, asset="USDC") print("Invoice:", invoice.raw) # Build + sign +

submit the Solana transaction with @solana/web3.js, anchorpy, # or solana-py — the invoice contains program_id,

treasury_vault, mints, etc. # Generic x402 — auto-detects facilitator, signs, retries resp =

agent.pay("https://aifinpay.io/api/stats") print(resp.json()) # Pay any third-party x402 endpoint (e.g. Coinbase

x402-protected API) resp = agent.pay( "https://api.example.com/v1/data", method="POST", json={"q": "hello"},

options=PayOptions(max_amount_usd=0.10), # refuse if cost > $0.10 ) Loading an existing keypair # from solana-keygen

JSON file agent = Agent.from_keypair_file("~/agent-wallet.json") # from base58 secret string agent =

Agent.from_secret_b58("3RvZm7Gw...") How x402 auth works under the hood agent.pay(url): Sends the request

unauthenticated. On 402, inspects the response and picks a facilitator adapter: AiFinPay — protocol: "AiFinPay vX"

field in JSON body, or agreement_hash + treasury_vault fingerprint Coinbase x402 — PAYMENT-REQUIRED HTTP header Builds

the right auth payload: AiFinPay → reads x-nonce from the 402 body (no extra round-trip), computes

SHA-256("AiFinPay-x402:{nonce}:{pubkey}"), signs with Ed25519, sets x-agent-pubkey, x-nonce, x-signature headers

Coinbase x402 → builds a PaymentPayload, base64-encodes, sets PAYMENT-SIGNATURE (settlement coming in 0.3) Retries the

original request with the auth attached. The server verifies the signature, checks the agent's on-chain payment proof

(Seat PDA for AiFinPay, settled tx for Coinbase x402), and serves the resource. Privacy The server never sees your

private key. Period. Nonces are consumed on use; replay-resistant. All transactions are public and on-chain — Solana +

Polygon mainnet. License MIT. Project links Documentation Homepage Issues Repository Key dates PyPI data Data sourced

directly from PyPI's database. Released: Sep 18, 2026 Latest release 1 maintainer PyPI data Data sourced directly from

PyPI's database. admaifinpay Credits Author: CoinSecurities (SECCO) License expression MIT View SPDX License List

Requires Python >=3.9 Provides Extra legacy dev Tags ai-agent ai-agents agentic-ai autonomous-agents agent-payments

agent-commerce x402 mcp model-context-protocol payments crypto-payments polygon solana stablecoin usdc non-custodial

ed25519 stripe-for-ai-agents Classifiers Development Status 3 - Alpha Intended Audience Developers Programming Language

Python :: 3 Python :: 3.9 Python :: 3.10 Python :: 3.11 Python :: 3.12 Topic Software Development :: Libraries :: Python

Modules Report project as malware Download files Download the file for your platform. If you're not sure which to

choose, learn more about installing packages. Source Distribution aifinpay_agent-2.1.0.tar.gz (49.0 kB view details)

Uploaded Sep 18, 2026 Source 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. The dropdown lists show the available interpreters, ABIs,

and platforms. Enable javascript to be able to filter the list of wheel files. Copy a direct link to the current filters

Copy File name Interpreter Interpreter py3 ABI ABI none Platform Platform any aifinpay_agent-2.1.0-py3-none-any.whl

(37.5 kB view details) Uploaded Sep 18, 2026 Python 3 File details Details for the file aifinpay_agent-2.1.0.tar.gz.

File metadata Download URL: aifinpay_agent-2.1.0.tar.gz Upload date: Sep 18, 2026 Size: 49.0 kB Tags: Source Uploaded

using Trusted Publishing? No Uploaded via: twine/7.0.0 CPython/3.13.7 File hashes Hashes for aifinpay_agent-2.1.0.tar.gz

Algorithm Hash digest SHA256 64d802f60976e3f88d2b79c3f7245d1b0f991395a8882abb90c85396b069e5d5 Copy MD5

d70161f3074b6c9b3d5a5fcebabc0fab Copy BLAKE2b-256 77684e2a702b66ee4c4193dcfc25c6b0d7a8474f8a1ee54ea5431b607e0c63f8 Copy

See more details on using hashes here. File details Details for the file aifinpay_agent-2.1.0-py3-none-any.whl. File

metadata Download URL: aifinpay_agent-2.1.0-py3-none-any.whl Upload date: Sep 18, 2026 Size: 37.5 kB Tags: Python 3

Uploaded using Trusted Publishing? No Uploaded via: twine/7.0.0 CPython/3.13.7 File hashes Hashes for

aifinpay_agent-2.1.0-py3-none-any.whl Algorithm Hash digest SHA256

9811adcb8f08f1d5dfd2ec66b7793cf0c52d4dbdd80eda3cb5067657d85bd086 Copy MD5 5a28a225ba8c2593e4d9d4b3e7dcb50a Copy

BLAKE2b-256 27c311ffede8a76b68c1aab20a0396a09596058f5215b4fd0b297bff76788a5f Copy See more details on using hashes here.

Release history Release notifications | RSS feed This release 2.1.0 This release Sep 18, 2026 2 files 1.5.0 Aug 27, 2026

2 files 1.4.2 Aug 14, 2026 2 files 1.4.0 Aug 9, 2026 2 files 1.3.0 Aug 3, 2026 2 files 1.2.0 Aug 1, 2026 2 files 1.1.3

Jul 30, 2026 2 files 1.1.2 Jul 30, 2026 2 files 1.1.1 Jul 16, 2026 2 files 1.1.0 Jul 10, 2026 2 files 1.0.1 Jun 27, 2026

2 files 1.0.0 Jun 16, 2026 2 files Pre-release 0.3.0a0 May 23, 2026 2 files Pre-release 0.2.0a2 May 9, 2026 2 files

Pre-release 0.1.0a1 May 7, 2026 2 files PyPI Developed and maintained by the Python Software Foundation and Python

community, for the Python community. Status: all systems operational Donate today! Help Installing packages Uploading

packages User guide Project name retention FAQs About PyPI PyPI Blog Infrastructure dashboard Statistics Logos &

trademarks Our sponsors Contributing to PyPI Bugs and feedback Contribute on GitHub Translate PyPI Sponsor PyPI

Development credits Using PyPI Terms of Service Report security issue Code of conduct Privacy Notice Acceptable Use

Policy Switch to desktop version Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading

Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous

Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry

Error logging StatusPage Status page "PyPI", "Python Package Index", and the blocks logos are registered trademarks of

the Python Software Foundation. © 2026 Python Software Foundation Site map Deployed from 490a846

Source: pypi.org