$npx skillfedfor your agent

traia-iatp

Inter-Agent Transfer Protocol (IATP) - Enable AI Agents to utilize other AI Agents as tools

With conditionsPyPI Application FrameworksReleased May 2026230.1K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — traia_iatp-0.1.112-py3-none-any.whl
v0.1.112 · released 2026-05-05 · Python >=3.12 · 25 runtime deps: a2a-sdk, aiohttp, anyio, crewai, crewai-tools, docker, fastapi, httpx

Yes, with conditions. Install if you need to monetize AI agent services or APIs using blockchain payments and are comfortable with the Web3 stack. The low install friction and active maintenance are positive signals. However, verify the license terms before production use, confirm that Python 3.12+ is available in your environment, and understand that the 25 runtime dependencies mean you're adopting a fairly opinionated ecosystem—use it when the D402 protocol and agent-payment model align with your architecture, not as a general payment library.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.12 or later.
  • Blockchain integration requires a valid Ethereum account key and wallet address; testnet setup (Sepolia) is documented but requires initial wallet funding.
  • Low friction install with a pure-Python wheel.

License · maintenance · safety

(unclear) — License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Before adopting this in production or proprietary code, verify the actual license terms in the repository.

last release 2026-05-05 (101 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 230,050 downloads/mo, #9,117 on PyPI

Verify before relying

# Install
pip install traia-iatp

# Add D402 to FastAPI
from fastapi import FastAPI
from traia_iatp.d402.servers.fastapi import D402FastAPIMiddleware
from traia_iatp.d402.price_builder import D402PriceBuilder

app = FastAPI()
price_builder = D402PriceBuilder(network="sepolia")
d402 = D402FastAPIMiddleware(server_address="0x...", facilitator_url="https://test-facilitator.d402.net")
price = price_builder.create_price(0.01)
d402.register_endpoint("/api/analyze", price_wei=price.amount, token_address=price.asset.address, network="sepolia")
d402.add_to_app(app)
  • Whether all 25 declared runtime dependencies are truly required for basic usage, or if they are optional for specific integrations
  • Actual license terms and any restrictions on commercial use or redistribution
  • Production readiness and stability guarantees for mainnet (Arbitrum) facilitator
  • Performance characteristics and cost implications of on-chain settlement
Same gist for agents: .md · .json

What it is and what it does

IATP-D402 is a framework that layers HTTP 402 Payment Required protocol support onto web services, MCP servers, and AI agents, allowing them to charge for API calls using blockchain payments. It provides middleware for FastAPI, Starlette, and ASGI frameworks, plus client libraries for making authenticated payments automatically. The package integrates with CrewAI, MCP (Model Context Protocol), and A2A (agent-to-agent) protocols, enabling AI agents to monetize their services and pay for other agents' services within a single framework.

The core workflow is: define a price in USD using the price builder, register endpoints or tools with that price, then clients authenticate requests with EIP-712 signatures and blockchain payments. Settlement happens on-chain via smart contracts. The package includes templates for building payment-enabled MCP servers and utility agents, and it abstracts away most of the blockchain complexity—you specify prices in USD and let the framework handle conversion and payment routing.

Use it for

  • Monetize a REST API by adding D402 middleware to FastAPI or Starlette endpoints with minimal code changes
  • Build a payment-enabled MCP server that Claude or other AI clients can call while automatically handling micropayments
  • Create a CrewAI agent that uses paid tools from other agents, with payment orchestration handled transparently
  • Set up an A2A utility agent that other agents can invoke as a service, with per-call billing
  • Integrate blockchain-based payments into existing web services without rewriting core business logic

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

Install if you need to monetize AI agent services or APIs using blockchain payments and are comfortable with the Web3 stack. The low install friction and active maintenance are positive signals. However, verify the license terms before production use, confirm that Python 3.12+ is available in your environment, and understand that the 25 runtime dependencies mean you're adopting a fairly opinionated ecosystem—use it when the D402 protocol and agent-payment model align with your architecture, not as a general payment library.

Install

traia-iatp on PyPI

Before you install

Low friction install with a pure-Python wheel. Active maintenance as of the latest release. However, the package declares 25 runtime dependencies including heavy frameworks (FastAPI, CrewAI, Docker, Web3) and async utilities—most projects will only use a subset, so actual runtime footprint depends on which integrations you enable.

Requires Python 3.12 or later. Blockchain integration requires a valid Ethereum account key and wallet address; testnet setup (Sepolia) is documented but requires initial wallet funding.

License in practice

License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Before adopting this in production or proprietary code, verify the actual license terms in the repository.

Quickstart

# Install
pip install traia-iatp

# Add D402 to FastAPI
from fastapi import FastAPI
from traia_iatp.d402.servers.fastapi import D402FastAPIMiddleware
from traia_iatp.d402.price_builder import D402PriceBuilder

app = FastAPI()
price_builder = D402PriceBuilder(network="sepolia")
d402 = D402FastAPIMiddleware(server_address="0x...", facilitator_url="https://test-facilitator.d402.net")
price = price_builder.create_price(0.01)
d402.register_endpoint("/api/analyze", price_wei=price.amount, token_address=price.asset.address, network="sepolia")
d402.add_to_app(app)

Verify before relying

  • Whether all 25 declared runtime dependencies are truly required for basic usage, or if they are optional for specific integrations
  • Actual license terms and any restrictions on commercial use or redistribution
  • Production readiness and stability guarantees for mainnet (Arbitrum) facilitator
  • Performance characteristics and cost implications of on-chain settlement

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.12
Install frictionLow. Pure-Python wheel
Runtime dependencies
25 packages
a2a-sdkaiohttpanyiocrewaicrewai-toolsdockerfastapihttpxjinja2mcpnest-asyncioopenaipydanticpymongopython-dotenvpytzrequestsrichstarlettetomlityperuvicorndnspythoneth-accountweb3
MaintenanceActively maintained 101 days since the last release
First released
Downloads230,050 / month, #9,117 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Operating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: traia_iatp-0.1.112-py3-none-any.whl

Tags

Capabilities
HTTP 402 payment protocolagent payment middlewareD402 payment requiredblockchain API monetizationpaid MCP serversagent-to-agent paymentsweb3 service charging
Topics
blockchain-paymentsagent-monetizationmcp-integration
PyPI keywords
crewaiiatpagent-to-agenta2amcpweb3cryptocurrencytools

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “agent payment middleware”

  • traia-iatpAdds HTTP 402 Payment Required protocol support to AI agents and…
  • django-permissions-policySets the Permissions-Policy HTTP header on Django responses to…
  • x402Implements the x402 payment protocol with transport-agnostic client,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Application Frameworks packages

fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
textual Worth it
PyPI · Application Frameworks · released Jun 2026

Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.

Install it if you're developing CLI tools, dashboards, or interactive terminal applications.

MITpure Python
443.6Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
mcp Worth it
PyPI · Application Frameworks · released Jul 2026

Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.

Install it if you need to build or connect to servers.

MITpure Python · 3.10+
319.3Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo

See also x402 · mcpadapt · fast-agent-mcp · bedrock-agentcore · ocpp · PraisonAI · a2a-sdk · ag_ui_adk · praisonaiagents · nvidia-nat

Further reading