Skip to content

Commit ec324b7

Browse files
committed
docs: explain what example agents do and provide sample query
- Clarify that examples connect to The Graph subgraph services - Explain services provide blockchain data (ENS, Uniswap, etc) - Add example query: 'What were the last 2 ENS registrations?' - Help users understand what to ask the agents
1 parent 951e149 commit ec324b7

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

python/examples/README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,15 @@ export EXAMPLES_A2A_BUYER__AMPERSEND_API_URL=https://api.staging.ampersend.ai
4040
### 4. Run an Example
4141

4242
```bash
43-
# Try the A2A buyer example (connects to staging service)
43+
# Try the A2A buyer example (connects to staging subgraph service)
4444
uv --directory=python/examples run -- adk run src/examples/a2a/buyer/adk
4545
```
4646

47-
You just made your first x402 payment on testnet! The agent automatically handled the payment flow.
47+
The agent connects to The Graph's subgraph service, which provides blockchain data with x402 payment.
48+
49+
**Try asking**: "What were the last 2 ENS registrations?"
50+
51+
The agent automatically handles the payment flow to query the data. You just made your first x402 payment on testnet!
4852

4953
### Ready for Production?
5054

@@ -61,11 +65,13 @@ You just made your first x402 payment on testnet! The agent automatically handle
6165

6266
## Examples Overview
6367

68+
All buyer examples connect to The Graph's subgraph services, which provide blockchain data from various networks using x402 for payments. The services support queries for ENS, Uniswap, and other protocols.
69+
6470
### 1. A2A Direct Connection
6571

6672
**Path**: `src/examples/a2a/buyer/adk/` **Demonstrates**: Direct connection to remote A2A agent with x402 payments
6773

68-
Connect directly to a remote agent and let the SDK handle payments automatically.
74+
Connect directly to The Graph's subgraph A2A service and let the SDK handle payments automatically.
6975

7076
**Run**:
7177

0 commit comments

Comments
 (0)