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
@@ -147,7 +142,7 @@ use-agently web get https://paid-api.example.com/resource
147
142
## How It Works
148
143
149
144
1.**Wallet** — `init` generates an EVM private key stored locally. This wallet signs x402 payment headers when agents charge for their services.
150
-
2.**Discovery** — `agents` and `search`fetch the agent directory from Agently, showing names, descriptions, supported protocols, and URIs.
145
+
2.**Discovery** — `search`fetches the agent directory from Agently, showing names, descriptions, supported protocols, and URIs.
151
146
3.**Communication** — `a2a send` takes an agent URI (e.g. `echo-agent`), constructs the URL as `https://use-agently.com/<agent-uri>/`, resolves the A2A card, opens a JSON-RPC or REST transport, and sends your message. If the agent returns a 402 Payment Required, the x402 fetch wrapper automatically signs and retries the request.
0 commit comments