Backlog item 13: API keys had no tenant boundary — any valid admin key (or, in dev, no key at all) could see or mutate every key, webhook, and resource in the process, which isn't multi-tenant for real paying integrators. Adds a real org layer: the platform operator onboards a new org once (POST /v1/orgs, admin-scoped) and gets its first owner key back; from then on the org is fully self-service through its OWN key — GET /v1/orgs/me, POST /v1/orgs/keys (mint a sibling key for a teammate, capped to a subset of the caller's own scopes, no self-escalation), DELETE /v1/orgs/keys/:id (revoke, but only inside the caller's own org_id — a different org's valid key gets a 404, not the target's real state). The platform admin key is never touched again after the initial onboarding call. Also fixes a related gap this surfaced: lib/gateway/index.ts's authenticate() previously ignored any presented API key entirely when CRED402_AUTH_REQUIRED=false (dev), skipping scope checks even for a valid key. A valid presented key is now resolved onto AuthContext and still scope- checked in dev; a missing key still never blocks, so the existing zero-key console workflow is unaffected. Frontend: new Orgs.tsx (operator onboarding + self-service panels), wired into Developer.tsx; api.ts helpers for all five new routes. Verified for real against a running dev server: onboarded two orgs, had one self-mint a teammate key with no admin key involved, confirmed scope- escalation is rejected (403), confirmed cross-tenant revoke is rejected (404), and confirmed the admin-only org-detail route rejects a non-admin org's own valid key (403) — this one actually leaked before the authenticate() fix above, caught by running the flow, not by inspection. tsc --noEmit + frontend vite build clean, 450/450 existing tests unchanged.
199 lines
14 KiB
Markdown
199 lines
14 KiB
Markdown
# Cred402 — Competitive & Growth Strategy (2026-10-23)
|
||
|
||
Scope note: this file covers competitive positioning, user research (persona/journey), and
|
||
growth moves only. Page/API/feature architecture is out of scope here — see
|
||
`PLAN-2026-10-23-DEEP.md` if present (not found at time of writing; no duplication).
|
||
|
||
Grounding: read `README.md`, `ROADMAP.md`, `package.json`, `.env.example`, and live web
|
||
research on 2026-10-23. Cred402 today is an open-source (Apache-2.0) protocol, not yet a
|
||
company with paying customers — it has zero reported live users/revenue. Its real current
|
||
"customers" are five parallel hackathon tracks (Casper, KeeperHub x Flare, Algorand Global
|
||
x402 Challenge, QIE Blockchain Hackathon 3.0, NEAR Hackathon) rather than one ICP. That
|
||
fragmentation is itself a finding, used below.
|
||
|
||
---
|
||
|
||
## 1. Direct competitors
|
||
|
||
Two different competitive layers apply — the agent-credit-scoring layer (closest
|
||
competitors) and the x402 payment-rail layer (adjacent, not direct, but often confused
|
||
with cred402 because both touch x402).
|
||
|
||
**A. Agent credit-scoring / lending (closest direct competitors)**
|
||
- **Bank of Bots (BOB)** — issued the first reported loan to an AI agent; gives every agent
|
||
multi-chain wallets (BTC/ETH/SOL/Base), a W3C Verifiable-Credential identity passport, and
|
||
a proprietary "BOB Score" from on-chain payment history + x402 receipts.
|
||
- Pricing: not public (enterprise/undisclosed).
|
||
- Strongest feature: real issued loan + human-backed KYC gives it regulatory/credibility
|
||
cover that pure-protocol players lack.
|
||
- Weakest point: closed, proprietary scoring (not auditable), requires human KYC before
|
||
any loan (kills same-second autonomous underwriting), locked to 4 chains (BTC/ETH/SOL/Base).
|
||
- **Priors** — runs a tiered "Score v2" system; top tier is "income-backed," i.e. verified
|
||
that an agent is actually being paid by outside parties.
|
||
- Pricing: not public.
|
||
- Strongest feature: income-verification concept overlaps closely with cred402's thesis.
|
||
- Weakest point: no public evidence of an actual lending/credit-line product shipping on
|
||
top of the score — looks like a scoring API, not working capital.
|
||
- **Clawloan** — unsecured USDC loans to verified OpenClaw agents; live and operating.
|
||
- Traction (real numbers, mid-Oct 2026): $271,910 total loans issued, $270,180 repaid,
|
||
36,387 repayment records, 272 registered agents, 2 defaults (absorbed by guarantors).
|
||
- Strongest feature: it is live with real repayment data at meaningful volume — the only
|
||
competitor with proven repayment behavior at scale.
|
||
- Weakest point: locked to one ecosystem (OpenClaw agents only), no RWA vertical, no
|
||
multi-chain receipt ingestion, no dispute/slashing for falsified work.
|
||
|
||
**B. RWA undercollateralized lending (adjacent, same "beyond collateral" thesis)**
|
||
- **Huma Finance** — PayFi protocol, undercollateralized loans against verified real-world
|
||
income (cross-border payment flows); ~$216M TVL, ~$2.3B cumulative credit originated.
|
||
Pricing: protocol take-rate on financed volume (not flat fee).
|
||
Strongest feature: billions in real throughput and a live credit-agent structure.
|
||
Weakest point: lender and dominant borrower (Arf) are corporate affiliates — a
|
||
conflict-of-interest risk flagged by third-party risk reviews; no agent/x402 angle at all.
|
||
- **Centrifuge** — RWA tokenization + tranched (DROP/TIN) lending pools; ~$1.6B TVL.
|
||
Pricing: pool-level yield/fee split between senior and junior tranches.
|
||
Strongest feature: largest real TVL and institutional pipeline in the RWA-credit space.
|
||
Weakest point: generic RWA plumbing (invoices, real estate, royalties) with no concept of
|
||
an autonomous-agent earner or x402 micropayment receipts as credit signal.
|
||
|
||
**C. x402 payment/identity rails (adjacent — not credit scoring, but overlaps in pitch)**
|
||
- **Skyfire** — agent identity (KYA) + agentic wallet; USDC/card rails; $8.5–9.5M raised.
|
||
Pricing: usage-based micropayments (e.g. ~$0.05/call), no public plan pricing.
|
||
Strongest feature: strong identity/KYA primitive and Visa Intelligent Commerce integration.
|
||
Weakest point: no credit/lending layer — agents can pay, but can't borrow against history.
|
||
- **Nevermined** — payments infra for agents; Free / $250/mo / $500/mo + 1-2% take rate.
|
||
Strongest feature: transparent, published pricing (rare in this space) and live partners
|
||
(e.g. Exa).
|
||
Weakest point: same gap as Skyfire — settlement and billing, not underwriting/credit.
|
||
- **Coinbase x402 (via the x402 Foundation)** — the open standard cred402 itself builds on;
|
||
first 1,000 on-chain tx/month free, then $0.001 each.
|
||
Strongest feature: now a Linux-Foundation-governed open standard with AWS/Google/
|
||
Stripe/Visa/Mastercard/Amex backing — the distribution layer, not a competitor product.
|
||
Weakest point (for a competitor, not for cred402): no reputation/credit concept at all —
|
||
this is exactly the gap cred402 is built to fill, and why it should position as
|
||
"sits on top of x402," not "competes with x402."
|
||
|
||
---
|
||
|
||
## 2. Exact differentiation plan (one concrete axis per competitor)
|
||
|
||
- **vs. Bank of Bots — auditability axis.** BOB's score is a closed proprietary formula and
|
||
requires human KYC before the first loan. Cred402's scoring code
|
||
(`lib/services`, `RiskPolicyManager`, `base_limit = 0.30 × last_30d_x402_revenue × stake_multiplier
|
||
× dispute_penalty × accuracy_multiplier`) is Apache-2.0, in the repo today, with reason
|
||
codes on every decision. Ship it as: "the only agent credit score you can read the source
|
||
of" — directly relevant to the EU AI Act's August 2026 high-risk-AI explainability
|
||
requirement for credit scoring, which closed competitors cannot satisfy out of the box.
|
||
- **vs. Clawloan — chain-coverage axis.** Clawloan only scores OpenClaw agents on one rail.
|
||
Cred402 already has four live/near-live x402-priced credit-score resources across
|
||
Algorand (live), QIE (fails closed until env vars set), NEAR (fails closed until env vars
|
||
set), plus Casper-anchored receipts and an EVM satellite (Base Sepolia). Concrete move:
|
||
finish wiring the QIE and NEAR `503`s into live-paid routes this week (they're code-complete,
|
||
just missing `CRED402_QIE_*` / `CRED402_NEAR_PAY_TO` env values) so an agent earning on
|
||
*any* of 5 rails gets one portable score — Clawloan structurally cannot do this without a
|
||
rewrite.
|
||
- **vs. Priors — "score with a loan attached" axis.** Priors appears to stop at scoring.
|
||
Cred402 already has a working `AgentCreditPool` (deposit/open/draw/repay/liquidate) wired
|
||
to the same score. Concrete move: publish a single public demo wallet flow showing
|
||
"income-backed score → drawn credit → repaid" end-to-end (it already exists as
|
||
`npm run demo`) as a 90-second proof Priors cannot currently show.
|
||
- **vs. Huma Finance / Centrifuge — evidence-and-dispute axis.** Both trust off-chain income
|
||
oracles with no adversarial check on the data itself. Cred402 has a real
|
||
`RWAEvidenceRegistry` + `DisputeCourt` + `SlashingVault` loop (`npm run demo:dispute`)
|
||
that catches and punishes falsified verification reports before credit is extended.
|
||
Concrete move: position the RWA-verification wedge explicitly as "underwriting that
|
||
survives a liar," with the dispute demo as the sales artifact — neither Huma nor
|
||
Centrifuge has an equivalent falsification-catching mechanism for the income signal itself.
|
||
- **vs. Skyfire / Nevermined / Coinbase x402 — layer axis, not head-to-head.** These are
|
||
payment rails, not credit. Concrete move: ship a one-line integration doc + SDK call
|
||
("call `/v1/x402/credit-score/:agentId` before extending any x402-based credit") targeted
|
||
at developers already using Skyfire/Nevermined/x402 for payments, positioning cred402 as
|
||
the underwriting layer that sits *on top of* whichever rail they already picked — turns
|
||
three "competitors" into distribution channels instead of rivals.
|
||
- **Price axis (cuts across all of the above).** Nevermined charges $250-500/mo + 1-2%;
|
||
Bank of Bots and Priors are undisclosed/enterprise. Cred402's credit-score lookup is
|
||
already priced per-call (0.01 USDC on Algorand) with no monthly minimum. Concrete move:
|
||
publish this per-call price next to Nevermined's published tiers on the README/landing
|
||
page as a direct comparison — "$0.01/lookup, no monthly fee" is a concrete, checkable claim
|
||
none of the closed competitors can currently match in public.
|
||
|
||
---
|
||
|
||
## 3. Primary user persona / ICP
|
||
|
||
- **Who, exactly:** a backend/protocol engineer at a small DeFi lending protocol, an agent
|
||
framework (e.g. ElizaOS/Virtuals/Olas-style projects), or an RWA-verification network, who
|
||
is already integrating x402 payments for their agents and now has agents accumulating
|
||
revenue history with nowhere to turn that history into working capital.
|
||
- **Secondary persona:** an individual AI-agent operator (the same people funding
|
||
Clawloan's 272 registered agents today) whose agent's prepaid wallet runs dry mid-task and
|
||
needs a credit line rather than a manual top-up.
|
||
- **Job to be done:** "My agent earns real x402 revenue on one or more chains. I need a
|
||
trustworthy, checkable number that says how creditworthy it is, and ideally a credit line
|
||
against that number, without building a scoring/lending stack myself and without handing
|
||
my agent's financial identity to a closed black box."
|
||
- **Not the ICP (deprioritize):** retail crypto speculators, consumer-facing wallet users,
|
||
anyone without an already-paying/already-earning agent — cred402 has nothing to offer an
|
||
agent with zero revenue history, by its own formula.
|
||
- **What they are NOT today:** hackathon judges. The repo currently optimizes for 5
|
||
simultaneous hackathon submission deadlines (Casper, KeeperHub×Flare, Algorand, QIE, NEAR)
|
||
— that is grant/prize distribution, not user distribution, and should be treated as a
|
||
side effect of the build, not the growth strategy.
|
||
|
||
---
|
||
|
||
## 4. User journey map (discovery → paying/retained user)
|
||
|
||
1. **Discovery** — finds cred402 via GitHub (`caelum0x/cred402`), an x402 ecosystem
|
||
directory/Bazaar listing, or a hackathon writeup.
|
||
2. **First look** — reads README, watches the 48-second demo video, opens the live console
|
||
(`cred402.vercel.app`).
|
||
3. **First technical touch** — tries `GET /v1/health` or the Algorand paid credit-score
|
||
endpoint directly, or runs `npm run demo` locally (no keys needed, sim mode).
|
||
4. **First real call** — attempts an actual paid x402 call against the live Render API to
|
||
get a real credit score for a real agent ID.
|
||
- **BIGGEST DROP-OFF RISK (flagged):** the Render free instance cold-starts in ~50
|
||
seconds after idling (stated in README itself). A developer's first real paid call —
|
||
the single moment that proves the product works — will look hung or broken for up to
|
||
50s with zero feedback, right at the point they are also handling 402 sign/retry logic
|
||
for the first time. This is the single highest-leverage fix: either keep the instance
|
||
warm (a scheduled self-ping, zero cost) or add a visible "cold start, retry in ~50s"
|
||
message to the 402 response/console so the delay reads as expected, not broken.
|
||
5. **Evaluation** — compares the score payload (policy score, ML default probability,
|
||
eligibility, reason codes, verified revenue) against Bank of Bots/Priors/Clawloan if they
|
||
also tried those; checks that the scoring code is open and auditable.
|
||
6. **Integration decision** — either (a) calls the hosted endpoint from their own agent/
|
||
lending logic via the SDK (TS/Python/Go/Rust clients already exist), or (b) self-hosts
|
||
the protocol (Apache-2.0 permits this) to run their own instance.
|
||
7. **Retention** — becomes a recurring paid caller (metered x402 revenue to cred402) or an
|
||
integrator drawing against the `AgentCreditPool`; retained only if the score stays
|
||
consistent and explainable over time (reason codes matter here).
|
||
8. **Expansion** — adds more chains/agents under one operator identity, or becomes a lender
|
||
using cred402's score as an external underwriting signal for their own credit product.
|
||
|
||
---
|
||
|
||
## 5. Three concrete growth moves (specific to this product, not generic)
|
||
|
||
1. **List the live paid endpoints in the actual x402 discovery surfaces that already
|
||
exist**, instead of building a marketing site first: submit the Algorand route to
|
||
GoPlausible's Bazaar (the code already tags it `x402-global-challenge` and is
|
||
Bazaar-discoverable per the README) and get the QIE/NEAR routes live (just needs
|
||
`CRED402_QIE_PAY_TO`, `CRED402_QIE_ASSET_ADDRESS`, `CRED402_QIE_FACILITATOR_URL`,
|
||
`CRED402_NEAR_PAY_TO` filled in — currently `503`). This reaches the exact buyers
|
||
(x402-paying agents) who are already looking for priced resources in those directories,
|
||
today, at zero cost.
|
||
2. **Publish the MCP server to the official MCP server directory / Claude Desktop
|
||
extension listing.** The repo already ships a 78-tool `@modelcontextprotocol/sdk`
|
||
server (`npm run mcp:sdk`) — this is a finished asset sitting unlisted. Developers
|
||
building agents in Claude Desktop or any MCP-compatible IDE are precisely the ICP
|
||
(people already building paid agents) and currently have zero way to discover cred402
|
||
except by reading this GitHub repo directly.
|
||
3. **Go where Clawloan's and Bank of Bots' users already are.** Clawloan has 272 real
|
||
registered agent operators and a public repayment ledger; Bank of Bots has a public
|
||
announcement audience. Post a direct, numbers-first comparison (open-source score,
|
||
multi-chain income instead of one wallet family, per-call pricing vs. undisclosed
|
||
enterprise pricing) into the same developer channels where OpenClaw/Bank-of-Bots
|
||
builders already discuss agent financing (their Discords/X threads/dev forums) — these
|
||
are the only communities proven today to contain people paying for exactly this problem,
|
||
which is a far higher-odds channel than generic SEO/ads for an unestablished category.
|