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: examples/spraay_crypto_payments/README.md
+77-31Lines changed: 77 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,29 @@
1
1
# Spraay Crypto Payments Agent
2
2
3
-
An AI agent that executes cryptocurrency payments across 13 blockchains using the [Spraay x402 gateway](https://gateway.spraay.app). The agent can batch-send tokens, create escrow contracts, check balances, get token prices, and hire robots via the Robot Task Protocol (RTP).
3
+
An AI agent that queries cryptocurrency data across 15 blockchains using the
4
+
[Spraay x402 gateway](https://gateway.spraay.app). The agent can check gateway
5
+
health, list supported chains and routes, look up wallet balances, and get
6
+
token prices — all through natural language.
4
7
5
8
## Overview
6
9
7
-
This example demonstrates how to build a **crypto payment agent** using NeMo Agent Toolkit with custom tools that interact with the Spraay x402 protocol gateway. The agent uses a ReAct pattern to reason about payment tasks and execute them via HTTP API calls.
10
+
This example demonstrates how to build a **crypto query agent** using NeMo
11
+
Agent Toolkit with custom tools that interact with the Spraay x402 protocol
12
+
gateway. The agent uses a ReAct pattern to reason about queries and execute
13
+
them via HTTP API calls.
8
14
9
15
### What is x402?
10
16
11
-
The [x402 protocol](https://www.x402.org) enables AI agents to pay for API services using USDC micropayments over HTTP. When an agent calls a paid endpoint, the server returns HTTP 402 (Payment Required) with payment details. The agent signs a USDC transaction, resends the request with the payment proof, and the server executes the operation.
17
+
The [x402 protocol](https://www.x402.org) enables AI agents to pay for API
18
+
services using USDC micropayments over HTTP. When an agent calls a paid
19
+
endpoint, the server returns HTTP 402 (Payment Required) with payment details.
20
+
The agent signs a USDC transaction, resends the request with payment proof,
0 commit comments