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
6 changes: 6 additions & 0 deletions .changeset/silly-actors-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@polygonlabs/agent-cli": patch
"@polygonlabs/agentconnect-ui": patch
---

Point the agent discovery service (x402 services catalog) at its new domain, `agent-discovery.polygon.org`, replacing the retired `agentic-services.polygon.technology`.
4 changes: 2 additions & 2 deletions packages/agentconnect-ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { LoginPage } from './login/LoginPage.js';
const SKILL_URL = 'https://agentconnect.polygon.technology/polygon-agent-cli/SKILL.md';
// x402 services catalog skill: Services/Search prompts point the agent here so it
// knows which service routes to call (not the agentconnect/CLI skill).
const AGENTIC_SERVICES_SKILL_URL = 'https://agentic-services.polygon.technology/SKILL.md';
const AGENTIC_SERVICES_SKILL_URL = 'https://agent-discovery.polygon.org/SKILL.md';

const AGENTS: {
id: string;
Expand Down Expand Up @@ -395,7 +395,7 @@ function Dashboard({
{
title: 'Add your Service for Agents',
desc: 'List your API as an x402 service that agents can discover and pay for per call.',
href: 'https://agentic-services.polygon.technology/discover'
href: 'https://agent-discovery.polygon.org/discover'
}
].map((card) => (
<a
Expand Down
3 changes: 1 addition & 2 deletions packages/polygon-agent-cli/src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ const PUBLIC_RPC_BY_CHAIN_ID: Record<number, string> = {

/**
* Read-only RPC URL. Prefers the OMS nodes endpoint when a project access
* key is configured; otherwise falls back to a public RPC for the chain. Safe
* for both the legacy (dapp-client) and OMS (typescript-sdk) paths.
* key is configured; otherwise falls back to a public RPC for the chain.
*/
export function getReadRpcUrl(network: NetworkMetadata): string {
const accessKey = process.env.SEQUENCE_PROJECT_ACCESS_KEY;
Expand Down
16 changes: 8 additions & 8 deletions skills/polygon-discovery/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ protocol on Polygon mainnet. No API keys or subscriptions — each call costs a
USDC amount drawn from your wallet. The CLI (`x402-pay`) detects the `402` response,
signs the exact payment, and retries automatically.

- **Base URL:** `https://agentic-services.polygon.technology`
- **Live catalog (source of truth):** `GET https://agentic-services.polygon.technology/api/discover/routes`
- **Full provider docs:** `https://agentic-services.polygon.technology/SKILL.md`
- **Base URL:** `https://agent-discovery.polygon.org`
- **Live catalog (source of truth):** `GET https://agent-discovery.polygon.org/api/discover/routes`
- **Full provider docs:** `https://agent-discovery.polygon.org/SKILL.md`

> **Always read the live catalog first.** It returns every active route with its exact
> proxy path, method, price, and `payTo` address (CORS enabled, no payment required to
Expand Down Expand Up @@ -49,23 +49,23 @@ upstream provider's own API.
```bash
# POST with a JSON body (e.g. Exa web search)
agent x402-pay \
--url "https://agentic-services.polygon.technology/api/proxy/exa/search" \
--url "https://agent-discovery.polygon.org/api/proxy/exa/search" \
--wallet main --method POST \
--body '{"query": "polygon agentic payments", "numResults": 5}'

# GET with query params (e.g. SearchApi Google search)
agent x402-pay \
--url "https://agentic-services.polygon.technology/api/proxy/searchapi/google?q=<query>" \
--url "https://agent-discovery.polygon.org/api/proxy/searchapi/google?q=<query>" \
--wallet main --method GET

# Scrape a page to clean markdown (Firecrawl)
agent x402-pay \
--url "https://agentic-services.polygon.technology/api/proxy/firecrawl/scrape" \
--url "https://agent-discovery.polygon.org/api/proxy/firecrawl/scrape" \
--wallet main --method POST --body '{"url": "https://example.com"}'

# LLM inference (Llama 3.3 70B, OpenAI-compatible chat body)
agent x402-pay \
--url "https://agentic-services.polygon.technology/api/proxy/nim/llama-3.3-70b/chat" \
--url "https://agent-discovery.polygon.org/api/proxy/nim/llama-3.3-70b/chat" \
--wallet main --method POST \
--body '{"messages": [{"role": "user", "content": "Summarize Polygon in one line."}]}'
```
Expand All @@ -77,7 +77,7 @@ Chain and token are auto-detected from the `402` response — no manual config.
## Catalog

Prices are per call, in USDC, settling on Polygon (chain 137). All routes below are
relative to the base URL `https://agentic-services.polygon.technology`.
relative to the base URL `https://agent-discovery.polygon.org`.

### Search, scraping & news (proxied)

Expand Down
Loading