Arch Tools Python SDK
Official Python client for Arch Tools — 58 production API tools for AI agents with x402 USDC payments.
Install
pip install arch-tools
Quick Start
from arch_tools import ArchTools
client = ArchTools(api_key="arch_your_key_here")
# AI generation
result = client.ai_generate(prompt="Write a haiku about x402 payments")
print(result["text"])
# Web scraping
page = client.web_scrape(url="https://example.com")
print(page["text"])
# Crypto price
price = client.crypto_price(symbol="bitcoin")
print(price["usd"])
# Any tool
result = client.call("ocr-extract", image_url="https://example.com/image.png")
All 58 Tools
Use client.call("tool-name", **params) for any tool. See archtools.dev/docs for the full list.
x402 Payments
Agents without an API key can pay per-call with USDC. See the BYOK guide.
Error Handling
from arch_tools import ArchTools, PaymentRequiredError, RateLimitError
client = ArchTools(api_key="arch_...")
try:
result = client.web_scrape(url="https://example.com")
except RateLimitError as e:
print(f"Rate limited. Retry after: {e.retry_after}s")
except PaymentRequiredError:
print("No credits. Top up at archtools.dev or pay with USDC via x402.")
Metadata
Release files for arch-tools 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arch_tools-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / arch_tools-0.1.0-py3-none-any.whl
| Download URL | arch_tools-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95a663271e4fd4252d1018a70c5715af3fe627400992bccf98ad6989e5be3270
|
|
BLAKE2b-256 checksum How to use checksums |
b42e4c2197f33af6b75cdcd0c0be61e240aafcb2aa03ddae6962ffdae07cbb9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for arch-tools 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.