⚡ Real use cases

run.pay for every
AI agent stack

From LangChain safety monitoring to CrewAI compliance to high-frequency IoT micro-payments — here's how developers use run.pay to give their agents superpowers.

🔁 Emerging pattern

Machine-to-machine, at very high frequency and very low value

Most of run.pay today is "an LLM agent calls an AI service on demand" — but x402 was built for something broader: a device or process paying another device or process, autonomously, thousands of times a day, for fractions of a cent. Think a logistics sensor paying per reading, an IoT gateway paying per data packet relayed, a background job paying per row processed. The protocol already supports this — x402 settles inline, per HTTP request, with no subscription or invoice in the loop — so the ceiling isn't technical, it's which services sit on the other end. As that catalog grows past LLM-facing APIs into sensors, data feeds and logistics endpoints, the same rails apply unchanged.

$0.001–$0.01
Typical per-call price range today — already well inside micro-transaction territory
1 req
= 1 settlement. No batching, no monthly invoice, no manual reconciliation
x402
Same protocol Mastercard's Agent Pay and others are standardizing around for this exact pattern
🦜 LangChain
LLM Output Safety
Intercept every LLM response with a hallucination check before it reaches your users. One tool definition, zero setup.
Hallucination Detector PII Scanner Bias Detector
# All your services as LangChain tools, in one line from runpay.langchain import get_tools tools = get_tools(agent_id="agt_your_agent", category="AI") # includes Hallucination Detector, PII Scanner, Bias Detector, ready to use
})
🚀 CrewAI
Compliance Automation
Add a compliance agent to your crew that automatically checks every output for GDPR violations and PII before storing or sending.
GDPR Checker PII Scanner AI Act Compliance
# All your services as CrewAI tools, in one line from runpay.crewai import get_tools tools = get_tools(agent_id="agt_your_agent") # includes GDPR Checker, PII Scanner, AI Act Compliance, ready to use
🤖 AutoGen
Multi-agent Reasoning
Give your AutoGen agents access to moral reasoning, logical fallacy detection, and argument extraction for complex decision-making.
Moral Reasoning Fallacy Detector Goal Decomposer
import autogen import runpay runpay.configure(agent_id="agt_your_agent") def moral_check(scenario: str) -> dict: """Evaluate ethical dimensions of a decision.""" return runpay.call("moralreason", { "scenario": scenario }) autogen.register_function(moral_check, caller=assistant)
📊 Data pipelines
Autonomous Data Processing
Your agent generates synthetic training data, validates datasets, runs statistical analysis — paying only for what it uses.
Synthetic Data Gen CSV Validator Statistics Calculator
import runpay runpay.configure(agent_id="agt_your_agent") # Generate 50 fake users for testing data = runpay.call("synthdata", { "count": 50, "schema": { "name": "name", "email": "email", "age": "integer(18,65)" } }) # $0.01 charged · 50 records returned
📡 IoT & logistics
High-frequency, low-value M2M
A fleet of sensors, gateways or background workers, each paying per call at fractions of a cent — no batching, no monthly invoice, settled inline on every request via x402.
Per-reading data feeds Relay / gateway calls High-volume batch jobs
import runpay runpay.configure(agent_id="agt_sensor_fleet_01") # Called thousands of times a day, each one its own settlement — # no invoice, no subscription, no manual reconciliation for reading in sensor_stream: result = runpay.call("data-validator", { "payload": reading }) # $0.001–$0.01 charged per call · x402 inline settlement
Ready to give your agents superpowers?
First 3 calls free. No credit card.
Open playground →

Real code. Runs in 3 lines.

Copy-paste any example below and it works immediately with your agent ID.

Hallucination Detection
import runpay

runpay.configure(agent_id="agt_your_id")  # getrunpay.com/playground

result = runpay.call("halludetect", {
    "response": "According to Harvard, 73.2% of AI models hallucinate daily."
})

print(result["hallucination_score"])  # 87
print(result["risk_level"])            # "HIGH"
print(result["signals"])               # ["suspicious_precision", "no_source"]
print(result["_meta"]["cost"])        # 0.01
PII Scanner
result = runpay.call("piiscan", {
    "text": "Contact John at john.doe@example.com or call +1-555-0123"
})

print(result["pii_found"])    # true
print(result["findings"])     # ["email", "phone"]
print(result["risk_level"])   # "MEDIUM"
GDPR Compliance Check
result = runpay.call("gdprcheck", {
    "text": "We collect emails and sell data to third-party advertisers without consent."
})

print(result["gdpr_compliant"])  # False
print(result["risk_level"])      # "HIGH_RISK"
print(result["issues"])          # [{"severity": "HIGH", "article": "Art. 6", "message": "..."}, ...]
Try it live → Read the docs →