You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/quickstart/presto.mdx
+25-25Lines changed: 25 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
import { Card, Cards } from'vocs'
2
2
3
-
# tempoctl[Make paid HTTP requests from the command line]
3
+
# presto[Make paid HTTP requests from the command line]
4
4
5
-
`tempoctl` is a command-line tool for making HTTP requests with automatic payment support. It handles `402 Payment Required` responses with built-in payment methods and spending controls. Works from scripts, cron jobs, and AI agents.
5
+
`presto` is a command-line tool for making HTTP requests with automatic payment support. It handles `402 Payment Required` responses with built-in payment methods and spending controls. Works from scripts, cron jobs, and AI agents.
We host a live demo server at `mpp.tempo.xyz` running on **Tempo testnet**. Use `/api/ping` for free requests and `/api/ping/paid` for paid requests. Get testnet funds at [faucet.tempo.xyz](https://faucet.tempo.xyz).
44
44
:::
45
45
46
-
`tempoctl` automatically:
46
+
`presto` automatically:
47
47
48
48
1. Makes the initial request
49
49
2. Detects the `402` Payment Required response
@@ -61,13 +61,13 @@ We host a live demo server at `mpp.tempo.xyz` running on **Tempo testnet**. Use
61
61
Use dry-run mode to see what would happen without actually paying:
tempoctl ships with built-in support for common AI agents. When used as a skill by AI assistants like Claude, tempoctl enables agents to interact with paid APIs autonomously.
98
+
presto ships with built-in support for common AI agents. When used as a skill by AI assistants like Claude, presto enables agents to interact with paid APIs autonomously.
99
99
100
100
### How it works
101
101
102
-
AI agents can use `tempoctl` to:
102
+
AI agents can use `presto` to:
103
103
104
104
-**Access paid APIs**—Make requests to services that charge per-call
105
105
-**Query premium data**—Fetch information from paid data providers
106
106
-**Use commercial tools**—Interact with paid developer services
107
107
108
-
The agent calls tempoctl like any other commandline tool when it detects a `402` Payment Required response. Payment is handled transparently.
108
+
The agent calls presto like any other commandline tool when it detects a `402` Payment Required response. Payment is handled transparently.
109
109
110
110
### Example: Agent making a paid request
111
111
112
112
When an AI agent needs to access a paid resource, it runs:
`presto` is a non-interactive commandline tool for making HTTP requests with automatic payment support.
4
+
5
+
When you request a resource that requires payment, `presto` automatically detects the `402` response, fulfills the payment, and retries—all in a single command.
We host a live demo server at `mpp.tempo.xyz` running on **Tempo testnet**. Use `/api/ping` for free requests and `/api/ping/paid` for paid requests. Get testnet funds at [faucet.tempo.xyz](https://faucet.tempo.xyz).
35
+
:::
36
+
37
+
## Configuration
38
+
39
+
`presto` uses encrypted keystores for secure wallet management.
0 commit comments