Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions src/pages/guide/machine-payments/use-cases/agent-to-agent.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
title: Pay for Agent-to-Agent Services
description: Hire agents for coding, design, writing, and email with Auto.exchange and AgentMail via MPP stablecoin payments on Tempo.
---

import { Card, Cards } from 'vocs'

# Pay for agent-to-agent services

Let your agents hire other agents — for coding, design, writing, research, and email — pay per task with stablecoins on Tempo. No platform accounts, no human intermediaries.

## The problem

Agent-to-agent commerce barely exists today. When one agent needs another agent's capabilities — code review, design generation, deep research — there's no standardized way to discover, negotiate, and pay. Current approaches involve hard-coded integrations or human-mediated handoffs.

## How MPP solves it

MPP provides the payment layer for agent-to-agent commerce. Any agent can publish a service, set a price, and accept stablecoin payments from other agents. The requesting agent discovers the service, pays via a Tempo Charge, and receives the result — all in a single HTTP round-trip. No accounts, no API keys, no human involvement.

## Available services

| Provider | Capabilities | Service URL |
|---|---|---|
| [Auto.exchange](https://api.auto.exchange) | Discover and hire agents for coding, design, writing | `api.auto.exchange` |
| [AgentMail](https://mpp.api.agentmail.to) | Email inboxes for AI agents | `mpp.api.agentmail.to` |

## Try it

```bash
# Install Tempo CLI + wallet
curl -L https://tempo.xyz/install | bash && tempo add request && tempo wallet login

# Hire an agent via Auto.exchange
tempo request api.auto.exchange/v1/tasks \
-d '{"task": "Review this Python function for bugs", "code": "def add(a, b): return a - b"}'
```

## Prompt your agent

```
Use api.auto.exchange to hire another agent via Tempo.
Pay per task with stablecoins — no account needed.
```

## Next steps

<Cards>
<Card
icon="lucide:server"
title="Server quickstart"
description="Publish your own agent as an MPP service"
to="/guide/machine-payments/server"
/>
<Card
icon="lucide:credit-card"
title="Accept one-time payments"
description="Charge per task with Tempo Charge"
to="/guide/machine-payments/one-time-payments"
/>
<Card
icon="lucide:globe"
title="Browse all services"
description="85+ MPP-enabled services in the directory"
to="https://mpp.dev/services"
/>
</Cards>
74 changes: 74 additions & 0 deletions src/pages/guide/machine-payments/use-cases/ai-model-access.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
---
title: Pay for AI Models Per Request
description: Let your agents call OpenAI, Anthropic, Gemini, Mistral, and other LLMs without API keys using MPP stablecoin payments on Tempo.
---

import { Card, Cards } from 'vocs'

# Pay for AI models per request

Give your agents access to any LLM — OpenAI, Anthropic, Gemini, DeepSeek, Mistral, and more — without managing API keys, billing accounts, or usage limits. MPP lets agents pay per token with stablecoins on Tempo, and the model provider gets paid instantly.

## The problem

Every LLM provider requires a separate API key, billing account, and credit card on file. For a single developer this is manageable. For a fleet of autonomous agents, it's a bottleneck: each agent needs its own credentials, each provider has different billing cycles, and rate limits are tied to account tiers rather than willingness to pay.

## How MPP solves it

With MPP, your agent holds a stablecoin balance on Tempo and pays per request. No signup, no API keys, no invoices. The agent discovers the model's price via the `402` Challenge, pays with a stablecoin transfer or session voucher, and gets the response — all in a single HTTP round-trip.

**Tempo Sessions** are ideal for LLM access. The agent opens a payment channel once, then signs off-chain vouchers for each chunk of tokens received. The model provider verifies vouchers in microseconds — no blockchain calls during inference — and settles in batch later. This makes per-token billing practical without adding latency.

## Available services

| Provider | Models | Service URL |
|---|---|---|
| [OpenAI](https://openai.mpp.tempo.xyz) | GPT-4o, o3, DALL·E, Whisper | `openai.mpp.tempo.xyz` |
| [Anthropic](https://anthropic.mpp.tempo.xyz) | Claude Sonnet, Opus, Haiku | `anthropic.mpp.tempo.xyz` |
| [Google Gemini](https://gemini.mpp.tempo.xyz) | Gemini, Veo video, image gen | `gemini.mpp.tempo.xyz` |
| [DeepSeek](https://deepseek.mpp.paywithlocus.com) | DeepSeek-V3, R1 reasoning | `deepseek.mpp.paywithlocus.com` |
| [Mistral](https://mistral.mpp.paywithlocus.com) | Large, Codestral, Pixtral | `mistral.mpp.paywithlocus.com` |
| [OpenRouter](https://openrouter.mpp.tempo.xyz) | 100+ models, unified API | `openrouter.mpp.tempo.xyz` |
| [Grok](https://grok.mpp.tempo.xyz) | xAI chat, search, code exec | `grok.mpp.tempo.xyz` |
| [Perplexity](https://perplexity.mpp.paywithlocus.com) | Sonar search + grounding | `perplexity.mpp.paywithlocus.com` |

## Try it

```bash
# Install Tempo CLI + wallet
curl -L https://tempo.xyz/install | bash && tempo add request && tempo wallet login

# Call OpenAI with pay-per-request — no API key needed
tempo request openai.mpp.tempo.xyz/v1/chat/completions \
-d '{"model": "gpt-4o", "messages": [{"role": "user", "content": "Hello"}]}'
```

## Prompt your agent

```
Use openai.mpp.tempo.xyz to call GPT-4o via Tempo.
Pay per request with stablecoins — no API key needed.
```

## Next steps

<Cards>
<Card
icon="lucide:repeat"
title="Accept pay-as-you-go payments"
description="Build session-based billing for your own LLM API"
to="/guide/machine-payments/pay-as-you-go"
/>
<Card
icon="lucide:book-open"
title="Tempo Sessions"
description="How payment channels enable per-token billing"
to="https://mpp.dev/payment-methods/tempo/session"
/>
<Card
icon="lucide:globe"
title="Browse all services"
description="85+ MPP-enabled services in the directory"
to="https://mpp.dev/services"
/>
</Cards>
71 changes: 71 additions & 0 deletions src/pages/guide/machine-payments/use-cases/blockchain-data.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
title: Pay for Blockchain Data and Analytics
description: Query on-chain data from Alchemy, Allium, Nansen, Dune, and Codex using MPP stablecoin payments on Tempo — no API keys required.
---

import { Card, Cards } from 'vocs'

# Pay for blockchain data and analytics

Access on-chain data — token prices, wallet analytics, DEX trades, stablecoin flows, and smart contract events — from any MPP-enabled blockchain data provider. Pay per query with stablecoins on Tempo.

## The problem

Blockchain data APIs gate access behind API keys, developer accounts, and monthly subscription tiers. Agents that need to query multiple providers — one for wallet balances, another for DEX analytics, a third for historical prices — must manage separate credentials and billing for each. Free tiers run out fast, and upgrading means committing to monthly plans before knowing actual usage.

## How MPP solves it

With MPP, your agent pays per query. No accounts, no API keys, no tier commitments. The agent calls any blockchain data provider, pays with a stablecoin transfer on Tempo, and gets the data back in the same response.

**Tempo Charge** is a natural fit for data queries: each request has a known cost, settlement takes ~500ms, and the agent only pays for queries it actually makes.

## Available services

| Provider | Data | Service URL |
|---|---|---|
| [Alchemy](https://mpp.alchemy.com) | Core RPC, prices, portfolios, NFTs across 100+ chains | `mpp.alchemy.com` |
| [Allium](https://agents.allium.so) | Token prices, wallet balances, transactions, PnL, SQL | `agents.allium.so` |
| [Nansen](https://api.nansen.ai) | Smart money, wallet profiling, DEX trades, flow analysis | `api.nansen.ai` |
| [Dune](https://api.dune.com) | Raw transactions, decoded events, stablecoin flows, DeFi | `api.dune.com` |
| [Codex](https://graph.codex.io) | Token data, prediction markets, charts, wallet analytics | `graph.codex.io` |

## Try it

```bash
# Install Tempo CLI + wallet
curl -L https://tempo.xyz/install | bash && tempo add request && tempo wallet login

# Query blockchain data via Alchemy
tempo request mpp.alchemy.com/v2 \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
```

## Prompt your agent

```
Use agents.allium.so to query token prices and wallet balances via Tempo.
Pay per query with stablecoins — no API key needed.
```

## Next steps

<Cards>
<Card
icon="lucide:credit-card"
title="Accept one-time payments"
description="Build a payment-gated data API"
to="/guide/machine-payments/one-time-payments"
/>
<Card
icon="lucide:bot"
title="Agent quickstart"
description="Set up your agent to discover and pay for services"
to="/guide/machine-payments/agent"
/>
<Card
icon="lucide:globe"
title="Browse all services"
description="85+ MPP-enabled services in the directory"
to="https://mpp.dev/services"
/>
</Cards>
69 changes: 69 additions & 0 deletions src/pages/guide/machine-payments/use-cases/browser-automation.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
title: Pay for Browser Automation and Web Scraping
description: Run headless browsers, solve CAPTCHAs, and scrape web pages using Browserbase, 2Captcha, and Oxylabs via MPP on Tempo.
---

import { Card, Cards } from 'vocs'

# Pay for browser automation and web scraping

Let your agents run headless browser sessions, solve CAPTCHAs, and scrape web pages with geo-targeting — pay per task with stablecoins on Tempo. No API keys, no browser infrastructure to manage.

## The problem

Browser automation at scale requires managing headless browser infrastructure, proxy networks, and CAPTCHA-solving services — each with separate accounts, API keys, and billing. Agents that need to interact with the web face a fragmented stack of tools, each requiring its own integration.

## How MPP solves it

With MPP, your agent pays per browser session, per page scrape, or per CAPTCHA solve using stablecoins on Tempo. The agent sends a request, the service returns its price via a `402` Challenge, the agent pays, and the work is done. No infrastructure setup, no API key management.

## Available services

| Provider | Capabilities | Service URL |
|---|---|---|
| [Browserbase](https://mpp.browserbase.com) | Headless browser sessions, web search, page fetching | `mpp.browserbase.com` |
| [2Captcha](https://twocaptcha.mpp.tempo.xyz) | reCAPTCHA, Turnstile, hCaptcha, image captchas | `twocaptcha.mpp.tempo.xyz` |
| [Oxylabs](https://oxylabs.mpp.tempo.xyz) | Web scraping with geo-targeting and JS rendering | `oxylabs.mpp.tempo.xyz` |
| [Firecrawl](https://firecrawl.mpp.tempo.xyz) | Web crawling and structured data extraction | `firecrawl.mpp.tempo.xyz` |
| [Diffbot](https://diffbot.mpp.paywithlocus.com) | Article, product, and discussion extraction | `diffbot.mpp.paywithlocus.com` |

## Try it

```bash
# Install Tempo CLI + wallet
curl -L https://tempo.xyz/install | bash && tempo add request && tempo wallet login

# Scrape a page via Oxylabs
tempo request oxylabs.mpp.tempo.xyz/v1/queries \
-d '{"source": "universal", "url": "https://example.com"}'
```

## Prompt your agent

```
Use mpp.browserbase.com to run headless browser sessions via Tempo.
Pay per session with stablecoins — no account needed.
```

## Next steps

<Cards>
<Card
icon="lucide:credit-card"
title="Accept one-time payments"
description="Build a payment-gated scraping API"
to="/guide/machine-payments/one-time-payments"
/>
<Card
icon="lucide:bot"
title="Agent quickstart"
description="Set up your agent to discover and pay for services"
to="/guide/machine-payments/agent"
/>
<Card
icon="lucide:globe"
title="Browse all services"
description="85+ MPP-enabled services in the directory"
to="https://mpp.dev/services"
/>
</Cards>
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
title: Pay for Compute and Code Execution
description: Run code, deploy containers, and access GPU compute via MPP with stablecoin payments on Tempo — no cloud accounts needed.
---

import { Card, Cards } from 'vocs'

# Pay for compute and code execution

Let your agents run code in sandboxed environments, deploy containers, and access GPU compute — pay per use with stablecoins on Tempo. No cloud accounts, no billing dashboards, no credit cards.

## The problem

Cloud compute requires account creation, billing setup, and credential management before running a single line of code. For agents that need to execute code snippets, deploy temporary services, or run GPU workloads, the overhead of provisioning cloud accounts is disproportionate to the task. Sandbox environments like CodeSandbox or Replit target human developers, not programmatic access.

## How MPP solves it

With MPP, your agent pays per execution or per compute-minute with stablecoins on Tempo. Submit code, pay, get results — all in one HTTP request. No accounts, no API keys, no cloud provider onboarding.

**Tempo Charge** works well for discrete tasks like running a code snippet. For longer-running workloads or metered compute, **Tempo Sessions** let the agent pay incrementally as resources are consumed.

## Available services

| Provider | Capabilities | Service URL |
|---|---|---|
| [Modal](https://modal.mpp.tempo.xyz) | Serverless GPU compute, AI/ML workloads | `modal.mpp.tempo.xyz` |
| [Judge0](https://judge0.mpp.paywithlocus.com) | Code execution in 60+ languages, sandboxed | `judge0.mpp.paywithlocus.com` |
| [Build With Locus](https://mpp.buildwithlocus.com) | Containers, Postgres, Redis, custom domains | `mpp.buildwithlocus.com` |

## Try it

```bash
# Install Tempo CLI + wallet
curl -L https://tempo.xyz/install | bash && tempo add request && tempo wallet login

# Execute Python code via Judge0
tempo request judge0.mpp.paywithlocus.com/submissions \
-d '{"source_code": "print(42)", "language_id": 71}'
```

## Prompt your agent

```
Use judge0.mpp.paywithlocus.com to run Python code via Tempo.
Pay per execution with stablecoins — no account needed.
```

## Next steps

<Cards>
<Card
icon="lucide:repeat"
title="Accept pay-as-you-go payments"
description="Build session-based billing for metered compute"
to="/guide/machine-payments/pay-as-you-go"
/>
<Card
icon="lucide:server"
title="Server quickstart"
description="Add payment gating to your own compute API"
to="/guide/machine-payments/server"
/>
<Card
icon="lucide:globe"
title="Browse all services"
description="85+ MPP-enabled services in the directory"
to="https://mpp.dev/services"
/>
</Cards>
Loading
Loading