尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證cortx is an end-to-end reliability monitor for x402 services. It continuously verifies payment, delivery, JSON and schema using controlled synthetic checks, helping builders detect issues before their users do. Built for the agent economy, starting with Bankr on Base.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Reliability infrastructure for x402 — verify paid services actually deliver.
An x402 service can be online and still be broken: its payment terms are malformed, it takes the payment and returns nothing, or it returns something the caller can't use. CORTX makes controlled paid test calls against x402 services and records what happened at every stage — payment terms, price, payment, settlement, delivery and response schema — so builders catch failures before agents and users do.
Live at usecortx.dev. Built on Base, starting with Bankr builders.
CORTX runs the open x402 Reliability Spec pipeline:
| # | Stage | What CORTX verifies | Pays? |
|---|---|---|---|
| 1 | Availability | The endpoint answers | No |
| 2 | 402 response | It asks for payment instead of answering for free | No |
| 3 | Payment terms | Terms parse, in x402 V1 (402 body) or V2 (PAYMENT-REQUIRED header), with a Base USDC option | No |
| 4 | Price | The price is valid and within the service's bounds | No |
| 5 | Payment | CORTX signs an EIP-3009 authorization, retries with X-PAYMENT (V1) or PAYMENT-SIGNATURE (V2), and reads the settlement receipt (PAYMENT-RESPONSE) — the transaction hash comes only from that receipt | Yes |
| 6 | Delivery | The paid response is a 2xx with a body | Yes |
| 7 | Schema | The body is JSON and matches the service's JSON Schema, if one is set | Yes |
Check tiers, from cheapest to most complete:
/verify a signed authorization without settling it. Only possible when the service publishes its facilitator and that facilitator accepts CORTX's requests; otherwise it is "unavailable", never a failure.CORTX's own problems are never blamed on a service. An empty test wallet, a spent budget or an internal error is recorded as a CORTX-side error: it opens no incident, sends no alert to the builder and doesn't count in uptime.
Two failed checks in a row open an incident; a passing check of the same tier or higher closes it.
/status/[userId] and /status/service/[serviceId]/api/badge/[serviceId]GET /api/v1/reliability/[serviceId]: 30-day uptime, paid delivery, schema validity, latency, the open incident, and the latest paid check as an x402 Reliability Spec evidence record. Docs: usecortx.dev/docs/partner-integrationOpen tools, paid network. The checker is open; the accumulated evidence — months of checks, incidents and recoveries across services — is what CORTX builds.
lib/check-runner/spec-conformance.test.ts runs every spec test vector through the real check runner, and all pass.Cori is CORTX's autonomous reliability agent. Today (Scout v0) it discovers paid x402 services from the Coinbase CDP Bazaar, checks them for free, and queues good candidates for human review in the admin. Cori holds no wallet key and never pays; all spending stays in CORTX's deterministic payment path. See agent/cori/ and docs/CORI_SCOUT_V0_SPEC.md.
| Layer | Technology |
|---|---|
| App | Next.js 16 (App Router, React Server Components) on Vercel |
| Database | Supabase — Postgres, Auth, Row Level Security |
| Payments | viem (EIP-3009, x402 V2) and x402/client (V1), Base mainnet USDC |
| Scheduling | cron-job.org calls /api/cron every 15 minutes; each run checks several services at once and carries over what doesn't fit |
| Alerts | Telegram Bot API, Discord webhooks; email reports via Resend |
| Cori | Node process on its own server, Postgres as a least-privilege role |
git clone https://github.com/danbuildss/cortx.git
cd cortx
npm install
cp .env.example .env.local # fill in values below
npm run dev
npm test # unit, end-to-end and spec-conformance tests
| Variable | Required | Description |
|---|---|---|
NEXT_PUBLIC_SUPABASE_URL | yes | Supabase project URL |
NEXT_PUBLIC_SUPABASE_ANON_KEY | yes | Supabase anon key (client-side auth) |
SUPABASE_SERVICE_ROLE_KEY | yes | Supabase service role key (server only) |
CRON_SECRET | yes | Bearer token cron-job.org sends to /api/cron |
CORTX_TEST_WALLET_KEY | for paid checks | 0x-prefixed private key of the dedicated test wallet. Set it only in your host's secret store — never in code or on any other server |
CORTX_DAILY_SPEND_CAP_USDC | no (1.00) | Platform-wide daily spend cap for paid checks |
CORTX_MONTHLY_SPEND_CAP_USDC | no (10.00) | Platform-wide monthly spend cap |
CORTX_WALLET_LOW_BALANCE_THRESHOLD_USDC | no (0.05) | Admin alert when the test wallet drops below this |
BETA_MAX_ENDPOINT_PRICE_USDC | no (1.00) | Highest per-call price CORTX will pay |
REPORT_DAILY_BUDGET_USDC | no (0.25) | Daily budget for the paid part of the free /report (also counts toward the caps above) |
REPORT_MAX_PRICE_USDC | no (0.01) | Highest per-call price the free /report will pay |
TELEGRAM_BOT_TOKEN | for alerts | Telegram bot token |
TELEGRAM_BOT_USERNAME | for alerts | Bot username without @, for deep links |
TELEGRAM_WEBHOOK_SECRET | for alerts | Verifies Telegram webhook calls |
CORTX_ADMIN_USER_ID | for admin | Supabase user id of the owner (enables /admin) |
CORTX_ADMIN_TELEGRAM_CHAT_ID | for admin | Owner's Telegram chat for wallet and Cori alerts |
Cori has its own settings — see agent/cori/README.md.
| Path | What's there |
|---|---|
app/ | Next.js app: dashboard, admin (/admin, /admin/cori), public pages, API routes |
lib/check-runner/ | The check pipeline: x402 parsing (x402.ts), payment (payment.ts), readiness, scheduling, persistence, spec records |
lib/cori/, lib/net/ | Cori's pure rules; SSRF-safe networking |
agent/cori/ | The Cori process |
supabase/migrations/ | SQL migrations, applied in order in the Supabase SQL editor |
test/ | Test hooks, stubs and the vendored spec test vectors |
docs/ | Specs: check runner, Cori Scout |
Postgres on Supabase with Row Level Security on every table. The main groups:
services, checks (insert-only, per-stage evidence as JSONB), incidents, alert_configs, telegram_connections, discord_connections, profilesspend_reservations plus the reserve_spend() and get_spend_totals() functions (atomic budget reservation)registry_seeds, endpoint_submissionsdiscovered_services, discovery_events, cori_runs, cori_sources, cori_denylist, and the cori_agent rolesystem_settingsFEEDBACK_TELEGRAM_CHAT_ID| no |
| Receives feedback-widget submissions |
RESEND_API_KEY | for reports | Sends reliability report emails |
CORTX_TEST_PAYEE_ADDRESS / CORTX_TEST_WALLET_ADDRESS | no | Payee for the built-in test service (/api/test-service) |
CORTX_SKIP_PAYMENT_VERIFY | no | true lets the test service skip on-chain verification in local development |
BASE_RPC_URL | no | Base RPC for token lookups (defaults to https://mainnet.base.org) |