@valiron/sdk 1.4.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/README.md +11 -148
  2. package/bin/valiron-card.mjs +211 -0
  3. package/dist/card.d.ts +565 -0
  4. package/dist/card.js +722 -0
  5. package/dist/clients.d.ts +6 -6
  6. package/dist/clients.js +33 -26
  7. package/dist/edge.d.ts +87 -0
  8. package/dist/edge.js +164 -0
  9. package/dist/edgeGate.d.ts +146 -0
  10. package/dist/edgeGate.js +230 -0
  11. package/dist/edgeGateVerify.d.ts +146 -0
  12. package/dist/edgeGateVerify.js +243 -0
  13. package/dist/identity.d.ts +6 -0
  14. package/dist/identity.js +6 -1
  15. package/dist/identityMiddleware.d.ts +8 -0
  16. package/dist/identityMiddleware.js +12 -4
  17. package/dist/index.d.ts +5 -10
  18. package/dist/index.js +4 -10
  19. package/dist/middleware.d.ts +20 -9
  20. package/dist/middleware.js +47 -19
  21. package/dist/operatorSdk.d.ts +11 -2
  22. package/dist/operatorSdk.js +13 -7
  23. package/dist/types.d.ts +14 -4
  24. package/docs/AGENT-READY-APIS.md +3 -181
  25. package/docs/API-REFERENCE.md +94 -546
  26. package/docs/CHAINS.md +3 -3
  27. package/docs/CLOUDFLARE-GATE-MIDDLEWARE.md +196 -0
  28. package/docs/CRAWLER-PROTECTION.md +545 -0
  29. package/docs/DASHBOARD.md +55 -23
  30. package/docs/E2E-MIDDLEWARE-INTEGRATION.md +19 -13
  31. package/docs/ERRORS.md +29 -19
  32. package/docs/IDENTITY.md +16 -14
  33. package/docs/PROVIDER-IDENTITY.md +15 -5
  34. package/docs/QUICKSTART.md +40 -24
  35. package/docs/README.md +21 -4
  36. package/docs/SANDBOX.md +7 -1
  37. package/docs/SDK-REFERENCE.md +115 -52
  38. package/docs/SECURITY-UPGRADE-2026-10-31.md +98 -0
  39. package/docs/TRUST-MODEL.md +14 -11
  40. package/docs/llms.txt +70 -302
  41. package/examples/cloudflare-gate-worker/README.md +198 -0
  42. package/examples/cloudflare-gate-worker/package.json +20 -0
  43. package/examples/cloudflare-gate-worker/worker.ts +309 -0
  44. package/examples/cloudflare-gate-worker/wrangler.toml +46 -0
  45. package/examples/cloudflare-worker/package.json +8 -0
  46. package/examples/cloudflare-worker/worker.ts +495 -0
  47. package/examples/cloudflare-worker/wrangler.toml +57 -0
  48. package/package.json +35 -5
  49. package/docs/MCP.md +0 -50
@@ -1,11 +1,19 @@
1
1
  # Quickstart
2
2
 
3
- > Estimated integration time: under 2 minutes.
3
+ > **Request verification:** Examples using `verifyAgentRequest` assume an application-owned verifier imported from your own module, not an SDK export. It must verify a fresh signature against the claimed identity, bind method, full URL and body, and atomically reject replayed nonces. See the [request-proof upgrade guide](https://www.valiron.co/docs/agents/SECURITY-UPGRADE-2026-10-31.md). Missing or invalid proofs return 401 before profile-cache lookup.
4
+
5
+ Configure identity verification before opening a protected endpoint. Existing integrations should follow the [request-proof upgrade guide](./SECURITY-UPGRADE-2026-10-31.md).
6
+
7
+ This quickstart documents the hardened agent identity/trust SDK contract in this source tree. Verify your installed npm version supports `verifyRequest`, `signRequest` and provider request proofs v2 before upgrading a live integration; source changes do not publish a package. For ordinary website crawlers, see [controlled crawler access](./CRAWLER-PROTECTION.md): a separate integration package with a standalone HTTP gateway for other website stacks, in-process Node/Nuxt adapters, shared budgets and a private language-neutral work API. Node.js is required for the gateway service, not for the website behind it. Query-level limits require operation integration; Python/SQLite and Node/Nuxt/MariaDB are tested. It is not installed by `npm install @valiron/sdk` and does not require crawler agent registration.
8
+
9
+ Crawler SDK 0.3.0+ requires a Free/Pro/Enterprise operator API key and account-bound activation via `activateCrawlerProtection()` before constructing its runtime. Activation uses a short-lived local lease, refreshed in the background. Each protected HTTP request requires hosted monthly quota admission; database operations are not counted again. See the crawler guide for revocation, outage and recovery behavior.
10
+
11
+ For the current crawler integration, install `@valiron/crawler-protection@^0.6.0`. It adds official Anthropic and Google agent/Notebook feeds alongside OpenAI support, and `crawlerAccessDefault` / `unverifiedAccess` configuration. These are customer-runtime controls, not hosted policy-deployment APIs. See [selected AI services and upgrade steps](./CRAWLER-PROTECTION.md#allow-selected-ai-services); source verification does not grant unlimited access or authorize account actions.
4
12
 
5
13
  ## Prerequisites
6
14
 
7
15
  1. **Create an account** with email/password, Google, or GitHub on the [Operator Dashboard](./DASHBOARD.md) at [valiron.co/dashboard](https://www.valiron.co/dashboard)
8
- 2. **Complete the guided setup** — every sign-up method enters the same resumable onboarding flow
16
+ 2. **Verify your email for password signup**, then **complete the guided setup** — every sign-up method enters the same resumable onboarding flow
9
17
  3. **Copy your API key** when it is shown; returning incomplete accounts can generate a dedicated setup key
10
18
  4. Add the SDK middleware below to the backend routes agents call. Choose registered, key-based, or ANS/provider-backed identity in the wizard.
11
19
 
@@ -25,13 +33,14 @@ npm install @valiron/sdk
25
33
  import { ValironSDK } from "@valiron/sdk";
26
34
 
27
35
  const valiron = new ValironSDK({
36
+ apiKey: process.env.VALIRON_API_KEY,
28
37
  endpoint: "https://valiron-edge-proxy.onrender.com",
29
38
  chain: "ethereum", // or: monad, arbitrum, base, polygon, solana, etc.
30
39
  timeout: 5000,
31
40
  });
32
41
  ```
33
42
 
34
- No API key is required for read operations.
43
+ Get an operator API key from https://www.valiron.co/dashboard and configure it server-side for profile reads, trust gates, and sandbox runs. Pro is required only for Social Graph (Icebreaker); other capabilities are Free within usage limits.
35
44
 
36
45
  > **Solana agents:** Use `chain: "solana"` and pass the agent's Metaplex Core asset
37
46
  > pubkey (base-58) as the agent ID instead of a numeric token ID.
@@ -78,7 +87,6 @@ For an on-chain agent:
78
87
  const profile = await valiron.getAgentProfile("INCOMING_AGENT_ID");
79
88
 
80
89
  console.log(profile.routing.finalRoute); // "prod"
81
- console.log(profile.routing.meetsThreshold); // true
82
90
  console.log(profile.onchainReputation.averageScore); // 92.5
83
91
  ```
84
92
 
@@ -99,17 +107,18 @@ The fastest way to protect your API — add Valiron as Express middleware:
99
107
  ```typescript
100
108
  import { createValironGate } from "@valiron/sdk";
101
109
 
102
- app.use("/api/paid", createValironGate({ sdk: valiron }));
110
+ app.use("/api/paid", createValironGate({ verifyRequest: verifyAgentRequest, sdk: valiron }));
103
111
  ```
104
112
 
105
- This checks `x-agent-id` first for on-chain agents, then falls back to `x-agent-address` for key-based agents. It returns 403 for untrusted agents, is safe with Express 4 (async errors are handled), and includes a 30-second client-side cache for x402 compatibility.
113
+ The gate identifies the claimed subject from `x-agent-id` or `x-agent-address`, then calls your verifier before every decision, including cache hits. Missing/invalid proofs return 401; denied or pending evaluations return 403; unavailable evaluation returns 503. The 30-second cache stores reputation decisions, never proof authorization.
106
114
 
107
- Pro operators can include wallet history in an endpoint policy:
115
+ Free and paid operators can include wallet history in an endpoint policy:
108
116
 
109
117
  ```typescript
110
118
  const valiron = new ValironSDK({ apiKey: process.env.VALIRON_API_KEY });
111
119
 
112
120
  app.use("/api/high-trust", createValironGate({
121
+ verifyRequest: verifyAgentRequest,
113
122
  sdk: valiron,
114
123
  trustSignals: ["8004", "sandbox", "wallet"],
115
124
  minScore: 80,
@@ -123,20 +132,22 @@ Or use `getAgentProfile()` directly for on-chain custom logic:
123
132
  ```typescript
124
133
  const profile = await valiron.getAgentProfile("INCOMING_AGENT_ID");
125
134
  const { finalRoute, decision } = profile.routing;
126
- if (finalRoute === "prod" || finalRoute === "prod_throttled") {
135
+ if (await verifyAgentRequest(request, "INCOMING_AGENT_ID") &&
136
+ (finalRoute === "prod" || finalRoute === "prod_throttled")) {
127
137
  // Serve the request — agent is trusted
128
138
  } else {
129
139
  // Block — agent is untrusted (tier: profile.localReputation?.tier)
130
140
  }
131
141
  ```
132
142
 
133
- > **Note**: The `gate()` method calls a protected endpoint that requires agent challenge-response auth. Use the middleware (`createValironGate`) or `getAgentProfile()` for server-side trust checks.
143
+ > **Hosted calls:** `gate()`, `proxy()`, `verifyWorldId()` and `createSelfSession()` need operator credentials plus a fresh owner-signed request. Configure `signRequest` as described in the [upgrade guide](./SECURITY-UPGRADE-2026-10-31.md). Key-registration challenges or legacy agent sessions do not replace that proof. Profile reads are authenticated evidence lookups, not caller authentication.
134
144
 
135
145
  For key-based agents, use `getKeyAgentProfile()` directly:
136
146
 
137
147
  ```typescript
138
148
  const profile = await valiron.getKeyAgentProfile("0xAgentAddress");
139
- if (profile.verified && (profile.score ?? 0) >= 65) {
149
+ if (await verifyAgentRequest(request, "0xAgentAddress") &&
150
+ profile.verified && (profile.score ?? 0) >= 65) {
140
151
  // Serve the request
141
152
  } else {
142
153
  // Block or ask the agent to complete https://www.valiron.co/auth.md
@@ -195,10 +206,10 @@ Once your integration is live, use the [Operator Dashboard](./DASHBOARD.md) to:
195
206
 
196
207
  ```bash
197
208
  # Check an agent's trust profile
198
- curl https://valiron-edge-proxy.onrender.com/operator/agent/AGENT_ID
209
+ curl -H "Authorization: Bearer $VALIRON_API_KEY" https://valiron-edge-proxy.onrender.com/operator/agent/AGENT_ID
199
210
 
200
211
  # Check a key-based agent profile
201
- curl https://valiron-edge-proxy.onrender.com/operator/key/0x1234...abcd
212
+ curl -H "Authorization: Bearer $VALIRON_API_KEY" https://valiron-edge-proxy.onrender.com/operator/key/0x1234...abcd
202
213
 
203
214
  # Get a key-based identity challenge
204
215
  curl -X POST https://valiron-edge-proxy.onrender.com/operator/key/0x1234...abcd/challenge
@@ -210,10 +221,10 @@ curl -X POST https://valiron-edge-proxy.onrender.com/operator/trigger-sandbox/AG
210
221
  curl -X POST https://valiron-edge-proxy.onrender.com/operator/trigger-sandbox-key/0x1234...abcd -H "Authorization: Bearer $VALIRON_API_KEY"
211
222
 
212
223
  # Gate decision (allow/deny)
213
- curl -X POST https://valiron-edge-proxy.onrender.com/operator/gate/AGENT_ID
224
+ curl -H "Authorization: Bearer $VALIRON_API_KEY" -X POST https://valiron-edge-proxy.onrender.com/operator/gate/AGENT_ID
214
225
 
215
226
  # Behavioral snapshot hash
216
- curl https://valiron-edge-proxy.onrender.com/operator/agent/AGENT_ID/snapshot
227
+ curl -H "Authorization: Bearer $VALIRON_API_KEY" https://valiron-edge-proxy.onrender.com/operator/agent/AGENT_ID/snapshot
217
228
 
218
229
  # Register webhook
219
230
  curl -X POST https://valiron-edge-proxy.onrender.com/operator/webhooks/register \
@@ -227,7 +238,7 @@ curl -X POST https://valiron-edge-proxy.onrender.com/operator/webhooks/register
227
238
  Valiron middleware is the primary backend integration. API Scaffolding is a separate product for exposing an existing HTTPS API through a Valiron-hosted, agent-facing URL.
228
239
 
229
240
  1. Open [valiron.co/dashboard](https://www.valiron.co/dashboard).
230
- 2. Go to **Make API Agent-Ready**.
241
+ 2. Choose **API Scaffolding → Endpoints & testing**.
231
242
  3. Enter your public path, upstream API base URL, price, payment protocol, and optional trust settings.
232
243
  4. Distribute the generated wrapper URL to agent clients:
233
244
 
@@ -255,12 +266,12 @@ process.on("SIGTERM", async () => {
255
266
  ## What's next?
256
267
 
257
268
  - **[End-to-End Middleware Integration](./E2E-MIDDLEWARE-INTEGRATION.md)** — Choose identity, trust signals, and a downstream policy for a production integration
258
- - **[Proxy Gateway](./SDK-REFERENCE.md#proxy-gateway-pro)** — Forward requests through Valiron's edge proxy (Pro)
269
+ - **[Proxy Gateway](./SDK-REFERENCE.md#proxy-gateway)** — Forward requests through Valiron's edge proxy (Free)
259
270
  - **[API Scaffolding](./AGENT-READY-APIS.md)** — Create hosted x402/MPP wrappers for existing APIs
260
271
  - **[Key-Based Agents](./SDK-REFERENCE.md#key-based-agents)** — Support Web2 agents without on-chain identity
261
272
  - **[World ID](./SDK-REFERENCE.md#world-id-methods)** — Verify agent-human linkage
262
273
  - **[Self](./SDK-REFERENCE.md#self-methods)** — Create Self Enterprise sessions and verify eligible-human linkage
263
- - **[Wallet Intelligence](./TRUST-MODEL.md#wallet-intelligence)** — Add explainable wallet-history risk to Pro endpoint policies
274
+ - **[Wallet Intelligence](./TRUST-MODEL.md#wallet-intelligence)** — Add explainable wallet-history risk to endpoint policies on Free or paid accounts
264
275
  - **[Fastify / Next.js / Hono middleware](./SDK-REFERENCE.md#middleware)** — Framework-specific middleware
265
276
  - **[Plans & Limits](./SDK-REFERENCE.md#plans--limits)** — Free vs Pro feature comparison
266
277
 
@@ -276,6 +287,7 @@ Solana agents use a different registry ([QuantuLabs 8004-solana](https://8004.qn
276
287
  import { ValironSDK } from "@valiron/sdk";
277
288
 
278
289
  const valiron = new ValironSDK({
290
+ apiKey: process.env.VALIRON_API_KEY,
279
291
  endpoint: "https://valiron-edge-proxy.onrender.com",
280
292
  chain: "solana",
281
293
  });
@@ -301,7 +313,7 @@ console.log(profile.onchainReputation.solana?.trustTier); // "trusted"
301
313
  Solana agents support a liveness probe that pings their declared service endpoints:
302
314
 
303
315
  ```bash
304
- curl "https://valiron-edge-proxy.onrender.com/operator/agent/1226/liveness?chain=solana"
316
+ curl -H "Authorization: Bearer $VALIRON_API_KEY" "https://valiron-edge-proxy.onrender.com/operator/agent/1226/liveness?chain=solana"
305
317
  ```
306
318
 
307
319
  ### Step 4 — Gate decision (same as EVM)
@@ -317,20 +329,24 @@ if (gate.allow) {
317
329
 
318
330
  ```bash
319
331
  # Get agent profile (sequential ID)
320
- curl "https://valiron-edge-proxy.onrender.com/operator/agent/1226?chain=solana"
332
+ curl -H "Authorization: Bearer $VALIRON_API_KEY" "https://valiron-edge-proxy.onrender.com/operator/agent/1226?chain=solana"
321
333
 
322
334
  # Get agent profile (asset pubkey)
323
- curl "https://valiron-edge-proxy.onrender.com/operator/agent/DFkntsJ9aTCHkK88m6...?chain=solana"
335
+ curl -H "Authorization: Bearer $VALIRON_API_KEY" "https://valiron-edge-proxy.onrender.com/operator/agent/DFkntsJ9aTCHkK88m6...?chain=solana"
324
336
 
325
337
  # Resolve wallet to agent
326
- curl "https://valiron-edge-proxy.onrender.com/operator/resolve-wallet/VSAnVX4MQjEXreHc92iHxWuXPQZ1tjwiKccpFLCgLM9?chain=solana"
338
+ curl -H "Authorization: Bearer $VALIRON_API_KEY" "https://valiron-edge-proxy.onrender.com/operator/resolve-wallet/VSAnVX4MQjEXreHc92iHxWuXPQZ1tjwiKccpFLCgLM9?chain=solana"
327
339
 
328
340
  # Trigger sandbox
329
- curl -X POST "https://valiron-edge-proxy.onrender.com/operator/trigger-sandbox/1226?chain=solana"
341
+ curl -H "Authorization: Bearer $VALIRON_API_KEY" -X POST "https://valiron-edge-proxy.onrender.com/operator/trigger-sandbox/1226?chain=solana"
330
342
 
331
343
  # Trust gate
332
- curl -X POST "https://valiron-edge-proxy.onrender.com/operator/gate/1226?chain=solana"
344
+ curl -H "Authorization: Bearer $VALIRON_API_KEY" -X POST "https://valiron-edge-proxy.onrender.com/operator/gate/1226?chain=solana"
333
345
 
334
346
  # Liveness check
335
- curl "https://valiron-edge-proxy.onrender.com/operator/agent/1226/liveness?chain=solana"
347
+ curl -H "Authorization: Bearer $VALIRON_API_KEY" "https://valiron-edge-proxy.onrender.com/operator/agent/1226/liveness?chain=solana"
336
348
  ```
349
+
350
+ Usage billing: website signup and a server-side operator API key are required. Free includes 10,000 requests per product per UTC month; Pro includes 100,000 per product. An active paid Pro subscriber can separately enable additional crawler or middleware calls at 0.001 each in the subscription billing currency, displayed before acceptance. Each product has its own allowance, meter and opt-in. Without opt-in, that product stops at 100,000; Free must upgrade after 10,000. Billing uses durable hosted admission counters, not optional telemetry or every local SDK function call. SDK 0.5.0 also requires account activation for returning-browser recognition.
351
+
352
+ Track both products in [Dashboard → Usage](https://www.valiron.co/dashboard/usage): monthly admitted requests, remaining allowance, additional calls and estimated request-overage charges. Counts refresh every 15 seconds while visible; usage billing and traffic analytics use separate data sources.
package/docs/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Valiron — Documentation
2
2
 
3
+ Social Graph (Icebreaker) is a Pro feature. Bot protection is included with Free. All other capabilities are included with Free: 10,000 agent requests/month and 10,000 bot protection requests/month, 3 registered endpoints, and 5 sandbox runs/day. Pro includes 100,000 requests per product/month. Enterprise: email founders@valiron.co. Operator authentication and tenant isolation apply on every plan.
4
+
5
+ Choose a product in the [documentation home](https://www.valiron.co/docs): [Crawler Protection](https://www.valiron.co/docs/crawler-protection), [Agent Access](https://www.valiron.co/docs/agent-access), or [API Scaffolding](https://www.valiron.co/docs/api-scaffolding). Each product has its own setup guide and navigation; accounts and billing are shared. The Markdown references below retain their existing URLs.
6
+
7
+
3
8
  > **Protect your API endpoints from bad or malicious AI agents.** This documentation covers how to integrate Valiron into your API to gate, score, and sandbox agents before they reach your infrastructure.
4
9
 
5
10
  ## What is Valiron?
@@ -14,7 +19,7 @@ Valiron also provides **API Scaffolding** as a separate product for organization
14
19
 
15
20
  | File | Purpose |
16
21
  |------|---------|
17
- | [QUICKSTART.md](./QUICKSTART.md) | Get started in under 2 minutes — install the SDK, gate your first endpoint |
22
+ | [QUICKSTART.md](./QUICKSTART.md) | Install the SDK, configure caller verification and gate an endpoint |
18
23
  | [E2E-MIDDLEWARE-INTEGRATION.md](./E2E-MIDDLEWARE-INTEGRATION.md) | End-to-end middleware integration — identity, trust signals, downstream policy, and testing |
19
24
  | [AGENT-READY-APIS.md](./AGENT-READY-APIS.md) | API Scaffolding — hosted x402/MPP wrappers for existing APIs |
20
25
  | [DASHBOARD.md](./DASHBOARD.md) | Operator Dashboard — manage endpoints, keys, analytics, and playground |
@@ -23,6 +28,7 @@ Valiron also provides **API Scaffolding** as a separate product for organization
23
28
  | [TRUST-MODEL.md](./TRUST-MODEL.md) | How agents are scored, what behaviors are penalized, tier assignments |
24
29
  | [IDENTITY.md](./IDENTITY.md) | Agent identity — ERC-8004/Solana agents and key-based Web2 agents |
25
30
  | [PROVIDER-IDENTITY.md](./PROVIDER-IDENTITY.md) | Provider-backed identity — SDK signing helpers and gates, normalized proofs, replay protection, policies, and ANS |
31
+ | [CRAWLER-PROTECTION.md](./CRAWLER-PROTECTION.md) | Valiron Crawler Protection 0.6.0 — official AI source verification, explicit allow/block defaults, shared quotas, HTTP gateway and language-neutral work admission |
26
32
  | [SANDBOX.md](./SANDBOX.md) | How the sandbox evaluates agents and determines production readiness |
27
33
  | [CHAINS.md](./CHAINS.md) | Supported blockchain networks and contract addresses |
28
34
  | [ERRORS.md](./ERRORS.md) | Error codes, troubleshooting, and retry guidance |
@@ -31,7 +37,7 @@ Valiron also provides **API Scaffolding** as a separate product for organization
31
37
 
32
38
  - **Agent ID**: An agent's ERC-8004 token ID (EVM) or Metaplex Core asset pubkey (Solana) — their on-chain identity. Use this with `x-agent-id` and `/operator/agent/:agentId`.
33
39
  - **Key-Based Agent Address**: A persistent Ethereum-style address for a local, Web2, or non-ERC-8004 agent. Use this with `x-agent-address` and `/operator/key/:agentAddress`.
34
- - **Provider-Backed Identity**: An ANS or future provider identity verified through `ValironSDK.verifyAgentIdentity()`. SDK 1.3 includes signing helpers and dedicated Express, Fastify, Next.js, and generic identity gates. Valiron hosts the ANS credentials and CA configuration.
40
+ - **Provider-Backed Identity**: An ANS or future provider identity verified through `ValironSDK.verifyAgentIdentity()`. The SDK includes signing helpers and dedicated Express, Fastify, Next.js, and generic identity gates. Valiron hosts the ANS credentials and CA configuration.
35
41
  - **Sequential ID** (Solana only): A convenience integer (1, 2, 42…) assigned by the QuantuLabs indexer. Maps to an asset pubkey.
36
42
  - **Trust Tier**: AAA (highest trust) → C (lowest trust). Assigned based on behavioral evaluation.
37
43
  - **Risk Level**: GREEN, YELLOW, or RED.
@@ -39,11 +45,13 @@ Valiron also provides **API Scaffolding** as a separate product for organization
39
45
  - **API Scaffolding**: A separate hosted Valiron wrapper product at `/wrap/{operatorId}/{path}` that can collect x402/MPP payments, optionally gate by trust, and forward to an upstream API.
40
46
  - **Payment Protocol**: `x402` for Base/USDC HTTP payments or `mpp` for Machine Payment Protocol payments through Tempo.
41
47
  - **Sandbox**: An isolated test environment where Valiron evaluates agent behavior before granting production access.
42
- - **Wallet Intelligence**: A Pro trust signal that converts bounded Alchemy or Helius wallet history into an explainable score, risk level, confidence, and reasons.
48
+ - **Wallet Intelligence**: A Free trust signal that converts bounded Alchemy or Helius wallet history into an explainable score, risk level, confidence, and reasons.
43
49
  - **Liveness** (Solana only): Endpoint health probe via `isItAlive()`. See [API-REFERENCE.md](./API-REFERENCE.md#solana-support).
44
50
 
45
51
  ## Which Identity Path Should I Use?
46
52
 
53
+ Ordinary website crawlers need not enroll as key-based or on-chain agents. Their supported source-check path is the separate [Valiron Crawler Protection](./CRAWLER-PROTECTION.md). Network provenance is not signed agent identity, human identity or unlimited permission to crawl.
54
+
47
55
  | Agent type | Use this identifier | Request header | Lookup path |
48
56
  |------------|---------------------|----------------|-------------|
49
57
  | ERC-8004 / on-chain EVM agent | ERC-8004 token ID | `x-agent-id` | `/operator/agent/:agentId` |
@@ -74,5 +82,14 @@ https://valiron-edge-proxy.onrender.com
74
82
  ## Developer interfaces
75
83
 
76
84
  - [Valiron OpenAPI](https://www.valiron.co/openapi.json)
77
- - [Valiron MCP server setup](./MCP.md)
78
85
  - [Valiron developer portal](https://www.valiron.co/developers)
86
+
87
+ ## Upgrading an existing integration
88
+
89
+ Follow [Request-bound identity upgrade](./SECURITY-UPGRADE-2026-10-31.md) before deploying the hardened source contract. Configure local verifiers and hosted signers, migrate provider proofs to v2, re-verify legacy World ID/Self links and re-register tenant-scoped webhooks. Check package availability separately from source changes.
90
+
91
+ Both products include 100,000 requests on Pro, then 0.001 per additional call in the accepted subscription currency with separate opt-ins. See [monthly request billing](./API-REFERENCE.md#monthly-request-allowance).
92
+
93
+ Track both products in [Dashboard → Usage](https://www.valiron.co/dashboard/usage): monthly admitted requests, remaining allowance, additional calls and estimated request-overage charges. Counts refresh every 15 seconds while visible; usage billing and traffic analytics use separate data sources.
94
+
95
+ For selected ChatGPT, Claude and Google agent access, use [SDK 0.6.0 configuration and upgrade instructions](./CRAWLER-PROTECTION.md#allow-selected-ai-services). Search/user-fetch and training classes are separate; supporting a named provider does not identify every browser agent or authorize account actions.
package/docs/SANDBOX.md CHANGED
@@ -33,7 +33,7 @@ You can proactively evaluate agents before they hit your production endpoints, o
33
33
  ```typescript
34
34
  import { ValironSDK } from "@valiron/sdk";
35
35
 
36
- const valiron = new ValironSDK();
36
+ const valiron = new ValironSDK({ apiKey: process.env.VALIRON_API_KEY });
37
37
 
38
38
  // On-chain agent
39
39
  const result = await valiron.triggerSandboxTest("YOUR_AGENT_ID");
@@ -138,3 +138,9 @@ Solana reputation includes ATOM engine metrics that EVM agents don't have:
138
138
  | `uniqueCallers` | Number of distinct feedback submitters |
139
139
 
140
140
  These appear in the sandbox/gate response under `onchainReputation.solana` and are factored into the final Valiron risk score alongside the standard behavioral penalties.
141
+
142
+ ## Authorization and pending evaluations
143
+
144
+ Trigger evaluations through the authenticated Valiron operator API. Sandbox work resources require a short-lived capability scoped to the evaluated agent; a resource ID alone is not authorization. Agents never receive observer-control credentials. Provisional or synthetic gate results do not authorize production traffic. New agents remain denied while their real evaluation is pending; retry with the same identity and a fresh request proof after the indicated delay.
145
+
146
+ Agent metadata and probe targets must resolve to permitted public HTTPS destinations. Private/link-local addresses, redirects and overlarge or timed-out responses are rejected; response bodies do not expose internal transport errors.