Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 1.5 KB

File metadata and controls

58 lines (44 loc) · 1.5 KB

Agent Web Tools (Python)

16 AI agent micro-services — pay-per-use via USDC on Base L2.

No API keys. No accounts. No subscriptions.

pip install agent-web-tools

Quick Start

from agent_web_tools import AgentWebTools

tools = AgentWebTools()
health = tools.health()
print(health["services"])

Paid Usage

tools.set_payment("0x...")  # your USDC tx hash
result = tools.url_to_markdown("https://example.com")
print(result["data"]["markdown"])

LangChain Integration

from langchain.agents import create_react_agent
from agent_web_tools import AgentWebTools
from agent_web_tools.langchain_tools import create_x402_tools

client = AgentWebTools()
tools = create_x402_tools(client)  # returns LangChain-compatible tools

All Methods

Method Endpoint Price
url_to_markdown(url) URL to Markdown $0.01
pdf_to_text(pdf_url) PDF to Text $0.01
extract_json(text, schema) JSON Extraction $0.03
dns_lookup(domain) DNS Lookup $0.005
deep_research(urls) Deep Research $0.50
competitive_intel(domain) Competitive Intel $1.00
full_site_audit(url) Site Audit $2.00
screenshot(url) Screenshot $0.25
serp_search(query) SERP Search $0.10
email_verify(email) Email Verify $0.05
token_price(token) Token Price $0.01
gas_price() Gas Price $0.005
bulk_extract(urls) Bulk Extract $1.00

Gateway: https://x402-api.xyz