---
name: withsilex
description: Connect to With Silex via Dual-Lane MCP (24 direct + 2 Code Mode tools), polyglot HTTP 402 (x402 v2 + IETF MPP on feeless Nano $XNO), $0 Morning Coffee Wake Beacon, and $0 native search.
version: 1.3.1
protocol: x402/1.0+2.0+mpp
mcp_protocol: 2026-07-28
mcp_tools_direct: 24
mcp_tools_codemode: 2
settlement: nano-mainnet-xno-only
custody: non-custodial-FIN-2019-G001
license_rsl: https://withsilex.com/rsl.xml
wake_beacon: https://withsilex.com/.well-known/coffee.json
---
# AGENTS.md / SKILL.md — With Silex Universal Autonomous Agent & MCP Integration Guide (v1.3.1)

> **Origin:** `https://withsilex.com` (Companion Landing: `https://joinsilex.com`)
> **Custody Model:** 100% Non-Custodial Software Rail (`FinCEN FIN-2019-G001`) — zero preloaded balances, zero server wallet keys (`ZERO-KEY-GEN`).
> **Economics:** Creators keep **99% net** | With Silex earns **1% protocol toll** | **0% buyer surcharge** | `$0.00` Nano gas | `~350ms` finality.

---

## 1. $0.00 Morning Coffee Wake Beacon (Zero-Token Cron / OpenClaw Heartbeat)

Before burning LLM tokens on a scheduled wake cycle, poll the `$0.00` Morning Coffee Beacon (`0` D1 scans, `0` RPC calls, `<50ms`). If nothing changed since your last hash, With Silex returns **`HTTP 304 Not Modified`** (`X-Silex-Wake-Action: NO_REPLY`) in `<5ms`.

### Copy-Paste OpenClaw / Claude Code Wake Cron Snippet
```bash
# Save in your agent heartbeat / OpenClaw cron (runs every 15m; burns 0 LLM tokens on 304 NO_REPLY)
STATE_FILE="${HOME}/.silex_world_sha"
LAST_SHA=$(cat "$STATE_FILE" 2>/dev/null || echo "")
HTTP_CODE=$(curl -sS -o /tmp/silex_coffee.json -w "%{http_code}" \
  "https://withsilex.com/.well-known/coffee.json?tz=America/New_York&since=${LAST_SHA}")
if [ "$HTTP_CODE" = "304" ]; then
  echo "NO_REPLY" && exit 0
fi
jq -r '.world_state_sha256' /tmp/silex_coffee.json > "$STATE_FILE"
cat /tmp/silex_coffee.json
```

- **MCP Prompt #1:** `prompts/get` -> `name: "silex_morning_coffee"` (arguments: `{ "tz": "America/New_York" }`)
- **MCP Resource:** `resources/read` -> `uri: "silex://coffee"`

---

## 2. Stateless Dual-Lane MCP Server (`2026-07-28`, `2025-11-25`, `2024-11-05`)

Connect any MCP client (Claude Code, Cursor, Antigravity, OpenClaw, ChatGPT, Copilot Studio, Xcode 27 `mcpbridge`, n8n) with zero installation:

- **Lane 1 — Direct Tool Catalog (strictly `24` tools):** `POST https://withsilex.com/mcp`
- **Lane 2 — Dual-Lane Code Mode (`~1,000` tokens, strictly `2` tools: `search` + `execute`):** `POST https://withsilex.com/mcp?codemode=search_and_execute`
  - **Sandbox Guards:** `$0.02` default `max_script_spend_usd` ceiling, `<=25` internal API calls, `<=5,000ms` wall time, `<=20ms` CPU, `<=64 KB` JSON output, `globalOutbound: null`, consolidated `HTTP 402` rollup quotes.
- **Polyglot MCP Payment `_meta` & MPP Mode:** Paid tools advertise `_meta["org.paymentauth/price"]` in `tools/list`; `tools/call` accepts both `params._meta["x402/payment"]` and `params._meta["org.paymentauth/credential"]` and returns `_meta["org.paymentauth/receipt"]` + `_meta["x402/payment-response"]`. Append `?payment=mpp` (`/mcp?payment=mpp`) for JSON-RPC `-32042` (`Payment Required`) challenges.
- **MCP Primitives:** `tools/list` (`24` direct / `2` Code Mode), `prompts/list` (`silex_morning_coffee`, `silex_x402_paid_lookup`, `silex_zero_cost_agent_search`), `resources/list` (`silex://coffee`, `silex://changelog`, `silex://catalog`, `silex://ai-terms`, `silex://ledger/stats`), `server/discover`, `tasks/*`, `elicitation/create` (`mode: "url"`), `skills/list`.
- **In-Browser WebMCP (`webmcp: { supported: true, tools: 4, apis: ["document.modelContext", "navigator.modelContext"] }`):** Auto-registers 4 read-only tools (`silex_web_morning_coffee`, `silex_web_search_catalog`, `silex_web_inspect_402_quote`, `silex_web_mcp_connection_guide`) on Chrome 149+/160+.
- **Optional Non-Custodial Local Signer (`com.withsilex/x402-mcp` / `@withsilex/x402-mcp` `v1.8.21`):** `npx -y @withsilex/x402-mcp`
- **Workspace `.agents/mcp_config.json`:**
```json
{
  "mcpServers": {
    "withsilex-edge-mcp": { "serverUrl": "https://withsilex.com/mcp", "timeoutSeconds": 60 },
    "withsilex-codemode": { "serverUrl": "https://withsilex.com/mcp?codemode=search_and_execute", "disabled": true }
  }
}
```

---

## 3. Concrete Zero-Placeholder Runnable Endpoints & Dual-Path HTTP 402 (`x402 v1/v2` + `MPP`)

Every route below is immediately runnable with concrete inputs (no `:id` placeholders required):

- **`$0.00` Native Agent Search (`GET` & RFC 10008 `HTTP QUERY`) + NLWeb `/ask`:**
  - `GET https://withsilex.com/.well-known/search?q=computing&limit=5` (Markdown default; `Accept: application/json` for JSON)
  - `curl -X QUERY https://withsilex.com/.well-known/search -H 'Content-Type: application/json' -d '{"q":"sec filings","limit":5}'`
  - `GET https://withsilex.com/ask?q=nano` (`NLWeb` Schema.org `SearchResultsPage` JSON mapped from zero-burn search)
  - Zero-burn idempotent `HTTP QUERY` never consumes payment proofs; ciphertext & `data-stealth="true"` vaults are physically excluded.
- **`$0.0003 USD` Starter HTTP 402 Verification (`0.001 XNO` = `1000000000000000000000000000` raw):**
  - `GET https://withsilex.com/api/x402/starter/ping`
  - `POST https://withsilex.com/api/x402/starter/echo` — `exampleInput`: `{"message":"hello-x402","agent":"runner-1"}`
- **Live `$0.002` Telemetry & Wire Dossiers:**
  - `GET https://withsilex.com/api/x402/feed/ciso-intel` (live DHS CISA KEV CVEs)
  - `GET https://withsilex.com/api/x402/wire?limit=5` (free 15m breaking wire discovery)
  - `GET https://withsilex.com/api/x402/wire/dossier?topic=x402` (`$0.002` structured dossier)
- **Zero-Balance Free PoW Trial:** `GET https://withsilex.com/api/x402/first-taste` -> solve SHA-256 `dpow:<challenge>:<nonce>` prefix `00` -> `POST https://withsilex.com/api/x402/first-taste` (`exampleInput`: `{"agentId":"demo-bot","challenge":"<token>","nonce":"<n>","handle":"ciso-intel"}`).
- **Path A (Signed Unbroadcast State Block — Zero Client Nano Node):** Send base64/JSON `{ x402Version: 2, accepted, payload: { block } }` in `PAYMENT-SIGNATURE` or `Authorization: Payment <base64url>` (omit `block.work` for facilitator PoW cascade; pre-validated before broadcast so `0 XNO` is stranded).
- **Path B (Confirmed Send Block Hash & Polyglot IETF `MPP`):** Broadcast Nano send block and retry with `X-Payment: <64_HEX_HASH>` or `Authorization: Payment <base64url({ txHash })>` (comma-separated top-ups supported). Every `402` emits `PAYMENT-REQUIRED` (`x402 v2`), `WWW-Authenticate: Payment` (`MPP`), and `Content-Usage: train-ai=n, search=y`; every settled `200 OK` returns `X-Silex-Receipt` + `PAYMENT-RESPONSE` + `Payment-Receipt` (echoing sanitized `X-AP2-Mandate-Id`, `Signature-Agent`, and `AI-Purpose`).
- **Auth & Enterprise Rollups:** `GET https://withsilex.com/auth.md`, `Authorization: Bearer spass_<token>` (-> `X-Silex-Pass`), `Authorization: Bearer sxp_<token>` (-> `X-Silex-Passport`), OpenAPI `GET https://withsilex.com/openapi.json` & `GET https://withsilex.com/.well-known/openapi-enterprise.json`, Peppol/JSON-LD `GET https://withsilex.com/api/v1/enterprise/receipts/rollup?month=2026-11&format=jsonld`.
- **Non-Custodial Liquidity Bridge:** `GET https://withsilex.com/api/x402/best-swap?from=USDC&to=XNO&amount=10` & `GET https://withsilex.com/api/x402/swap-partners` (Nanswap, Swapzone, SwapSpace, StealthEX, Guardarian, FinchPay, Kraken).

---

## 4. Full Agent-Readiness Discovery Constellation, WordPress v1.2.9 & Benchmarks

- **ARD v1.0 & AI-Catalog:** `GET https://withsilex.com/.well-known/ard.json` & `GET https://withsilex.com/.well-known/ai-catalog.json` (`urn:air:withsilex.com:*`)
- **Agent Skills Discovery RFC v0.2.0:** `GET https://withsilex.com/.well-known/agent-skills/index.json` & `GET https://withsilex.com/.well-known/agent-skills/withsilex/SKILL.md`
- **Service-Only W3C `did:web` & Agents Index:** `GET https://withsilex.com/.well-known/did.json` (`0` server keys), `GET https://withsilex.com/agents.json` (`/.well-known/agents.json`), `GET https://withsilex.com/.well-known/poppy.json`
- **RSL 1.0, W3C `TDMRep` & AI Terms:** `GET https://withsilex.com/rsl.xml`, `GET https://withsilex.com/.well-known/tdmrep.json`, `GET https://withsilex.com/.well-known/ai-terms`
- **RFC 9727 API Catalog, OpenAPI & Auth:** `GET https://withsilex.com/.well-known/api-catalog`, `GET https://withsilex.com/openapi.json`, `GET https://withsilex.com/auth.md`, `GET https://withsilex.com/.well-known/oauth-protected-resource`
- **A2A v1.0, MCP Tri-Alias & x402:** `GET /.well-known/agent-card.json`, `/.well-known/mcp/server-card.json`, `/.well-known/mcp.json`, `/.well-known/mcp-server`, `/.well-known/x402`, `/.well-known/agent-changelog.json`
- **Markdown Content Negotiation & Benchmarks:** Send `Accept: text/markdown` to `/`, `/docs`, `/docs/quickstart`, `/x402`, `/start`, `/guide` — or fetch `/docs/quickstart.md`, `/http-402-benchmark.md`, `/compare.md`, and `/api/x402/ledger/stats`.
- **4-Step Agent Quickstart:** `https://withsilex.com/docs/quickstart` (ChatGPT Dots, ElizaOS, LangGraph, CrewAI, OpenClaw & `poppy.json` connectors).
- **WordPress Paywall (`With Silex Paywall` on WordPress.org):** `https://wordpress.org/plugins/with-silex-paywall/` (1-click install, server-withheld `[silex_lock]`, native `HTTP 402` + `RSL 1.0`, MCP Adapter).

---

## 5. Fulfillment Verification (`fulfillmentManifest`) & Legal Binding

- **Two-Tier `fulfillmentManifest` (`0 XNO` Pre-Charge Protection):**
  - **`silex_server_inspected`:** Server-wrapped paywalls, gated APIs, 48-feed telemetry, and Living Encyclopedia dossiers pass automated structural checks before `HTTP 402` quote issuance or settlement. Unbacked teaser claims fail closed (`HTTP 422 PAYLOAD_CLAIM_MISMATCH`) or serve uncharged (`$0.00`).
  - **`creator_e2ee_attested`:** Client-encrypted creator vaults publish a creator-signed `creatorAttestedManifest` (plaintext bytes, word count, MIME type, SHA-256). Report mismatched payloads via `POST https://withsilex.com/api/x402/vault/report-mismatch` (`47 U.S.C. § 230(c)(2)`).
- **Operator Binding (`UETA` / `E-SIGN`):** Programmatic requests over `/mcp`, `?codemode=search_and_execute`, `HTTP 402`, or `Bearer spass_*`/`sxp_*` constitute authorized electronic assent under `UETA` (`M.G.L. c. 110G`) and `E-SIGN` (`15 U.S.C. § 7001`).
- **Terms of Service:** `https://withsilex.com/terms` (`/terms.md` | DMCA: `https://withsilex.com/terms#dmca`)
- **Privacy Policy:** `https://withsilex.com/privacy` (`/privacy.md`) | **Lumen AI Safety:** `https://withsilex.com/safety/lumen`
