Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

feat: add Robinhood Chain API and CLI toolkits

fudjia65d07bc20d22
diff --git a/.gitignore b/.gitignore
index 481ed491d..db6a4c85c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -374,3 +374,7 @@ solana-mobile/build/
main.zip
.x402-directory-credentials.json
robinhood-chain-prompts.zip
+prompts/robinhood-chain/13-threews-play.md
+prompts/robinhood-chain/12-threews-markets.md
+prompts/robinhood-chain/10-tutorials.md
+prompts/robinhood-chain/11-toolkit-cli.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f4bff1680..f449db6a9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,7 +8,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Docs · The autonomous economy** (`/docs/autonomous-economy`) — How the three.ws on-chain treasury funds itself and where every dollar flows: the funding-root and engine wallets, the topup/sweepback loop, the allowlist- and destination-locks that keep money inside platform-owned wallets, and the two leak scanners that audit every signer wallet on-chain every minute — plus how to verify there's no leak yourself.
- **Agent discovery fixed: six paid endpoints were invisible to x402 scanners** — The machine-readable catalog at /openapi.json — what AI agents and x402 scanners like x402scan and AgentCash read to find and pay for three.ws APIs — had six paid endpoints (agent bouncer, verifiable vanity keys, crypto intel, cosmetic purchase, animation download, club cover) accidentally buried inside another entry, making them undiscoverable. All 61 payable routes now list correctly and the document passes the AgentCash discovery validator. The Permit2 gasless-payment demo is now only advertised when its settlement lane is actually live, so agents are never quoted a payment path that can't settle. (`/openapi.json`) `[fix, improvement]`
-- **Agent profiles, redesigned** — Agent profile pages got a ground-up redesign. Instead of one endless column of cards, everything is now organized into clear sections — Overview, Capabilities, Economy, Activity, Trust & Identity, Reviews, and Developers — with a sticky navigation bar that follows you as you scroll and hides sections that have nothing to show. The hero is a compact identity band with the live 3D avatar beside the agent's name, description, and actions, and secondary view modes now live in a tidy menu instead of a wall of buttons. Pages are roughly 40% shorter and much easier to scan. Prefer the old look? Every profile keeps a “Classic layout” link that serves the previous design unchanged. (`/agents`) `[improvement, feature]`
+- **Agent profiles, redesigned** — Agent profile pages got a ground-up redesign. Instead of one endless column of cards, everything is now organized into clear sections — Overview, Capabilities, Economy, Activity, Trust & Identity, Reviews, and Developers — with a sticky navigation bar that follows you as you scroll and hides sections that have nothing to show. The hero is a compact identity band with the live 3D avatar beside the agent's name, description, and actions, and secondary view modes now live in a tidy menu instead of a wall of buttons. Pages are roughly 40% shorter and much easier to scan. Prefer the old look? Every profile keeps a “Classic layout” link that serves the previous design unchanged. The companion panels (live presence, stages, work-for-hire, alpha co-pilot) now sit in a compact strip beside the profile instead of stacking above it — on mobile the agent's name and avatar are the first thing you see — and the live watch view (screen, avatar cam, action log) has a proper home in the Activity section. Signed-out visitors get a clear “sign in to see the action log” state instead of an endless loading spinner, and stats with nothing to report simply don't render. (`/agents`) `[improvement, feature]`
- **AI features can no longer go down when one provider does** — Every AI-powered feature on three.ws (fact checks, agent chat, persona extraction, scene composing) routes through one shared brain that tries free providers first and falls back automatically. That chain just got much deeper: Groq now has a second lane with its own separate quota, OpenRouter gets a zero-credit free lane so an empty account no longer kills it, optional Cerebras and Google AI Studio lanes activate the moment a key is added, and — the anchor — Gemini on the platform's own Google Cloud now backs the whole chain with no third-party quota to exhaust. Previously a rare bad hour where every free tier was exhausted at once could surface an error; now the request rides through. The fact-checker was also corrected to stop favoring a paid key ahead of the free lanes. (`/changelog`) `[improvement, fix, infra]`
- **Closed a path-traversal hole in the API router** — The server that routes every /api request to its handler split the URL into path segments before decoding them, so a specially encoded request could smuggle a '../' into a single segment and reach a file outside the API folder — or an internal helper meant to be unreachable — and run it without authentication. The router now rejects any decoded segment that contains a path separator and, as a second line of defense, refuses to load any handler that resolves outside the API directory. Normal routes are unaffected; a regression test locks the fix in place. `[security]`
- **Market-maker and limit-order engines are now crash-safe on Cloud Run** — The two background workers that run agents' automated market-making and limit orders are long-running loops, not web servers. On Cloud Run, a service that never answers the platform's startup health check gets killed and restarted in a loop — which would have taken these money-moving engines offline the moment they were deployed as services. Both now start a tiny health endpoint when the platform asks for one (and stay silent when run as a scheduled job, where none is needed), so they boot cleanly either way. We also added a documented, repeatable deploy for each so there's no guesswork about how they ship. `[infra]`
diff --git a/api/_lib/balances.js b/api/_lib/balances.js
index 0a1c99a0c..16ab0ab3a 100644
--- a/api/_lib/balances.js
+++ b/api/_lib/balances.js
@@ -16,6 +16,7 @@
import { cacheGet, cacheSet, cacheDel } from './cache.js';
import { getMetadataForMints } from './token-metadata.js';
+import { solPriceUsd } from './sol-price.js';
const BALANCES_TTL_S = 60;
// Last-known-good snapshot lifetime. A long horizon so a wallet that briefly
@@ -191,21 +192,12 @@ async function jupiterPrices(mints) {
const SOL_MINT = 'So11111111111111111111111111111111111111112';
+// Native SOL/USD spot. Delegates to the canonical 7-source failover in
+// api/_lib/sol-price.js (Jupiter/CoinGecko + Kraken/Coinbase/Bitfinex/DefiLlama/
+// DIA), 60s-cached. Returns 0 when every source is exhausted — same "unpriced"
+// contract the token-price path relies on.
async function solNativePrice() {
- try {
- const data = await fetchJson(`https://lite-api.jup.ag/price/v3?ids=${SOL_MINT}`);
- const usd = data?.[SOL_MINT]?.usdPrice ?? data?.[SOL_MINT]?.price ?? 0;
- return Number(usd) || 0;
- } catch {
- try {
- const cg = await fetchJson(
- 'https://api.coingecko.com/api/v3/simple/price?ids=solana&vs_currencies=usd&include_24hr_change=true',
- );
- return cg?.solana?.usd ?? 0;
- } catch {
- return 0;
- }
- }
+ return solPriceUsd();
}
/**
diff --git a/api/_lib/trust/subject-reputation.js b/api/_lib/trust/subject-reputation.js
index 6b0e4e629..9e8ddd4e1 100644
--- a/api/_lib/trust/subject-reputation.js
+++ b/api/_lib/trust/subject-reputation.js
@@ -24,9 +24,6 @@
import { isUuid, isValidSolanaAddress, isValidEvmAddress } from '../validate.js';
import { CHAIN_BY_ID } from '../erc8004-chains.js';
-// The canonical wrapped-SOL mint — used only to price a wallet's native SOL
-// balance into USD for the holdings dimension.
-const SOL_MINT = 'So11111111111111111111111111111111111111112';
const DEFAULT_EVM_CHAIN = 8453; // Base — where ERC-8004 sees the most agent activity.
export const SUBJECT_TYPES = [
@@ -712,9 +709,9 @@ async function scoreSolanaWallet(det, { knownAgentId }, ts) {
// ── shared upstream reads ────────────────────────────────────────────────────
async function solPriceUsd() {
- const { solanaMintUsdPrice } = await import('../balances.js');
- const p = await solanaMintUsdPrice(SOL_MINT);
- return Number(p) || null;
+ const { solPriceUsd: solSpotUsd } = await import('../sol-price.js');
+ const p = await solSpotUsd();
+ return p > 0 ? p : null;
}
// DexScreener token lookup → normalized market signals, or null if it's not a
diff --git a/data/changelog.json b/data/changelog.json
index 658494bcb..564bf4e16 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -13341,7 +13341,7 @@
{
"date": "2026-07-12",
"title": "Agent profiles, redesigned",
- "summary": "Agent profile pages got a ground-up redesign. Instead of one endless column of cards, everything is now organized into clear sections — Overview, Capabilities, Economy, Activity, Trust & Identity, Reviews, and Developers — with a sticky navigation bar that follows you as you scroll and hides sections that have nothing to show. The hero is a compact identity band with the live 3D avatar beside the agent's name, description, and actions, and secondary view modes now live in a tidy menu instead of a wall of buttons. Pages are roughly 40% shorter and much easier to scan. Prefer the old look? Every profile keeps a “Classic layout” link that serves the previous design unchanged.",
+ "summary": "Agent profile pages got a ground-up redesign. Instead of one endless column of cards, everything is now organized into clear sections — Overview, Capabilities, Economy, Activity, Trust & Identity, Reviews, and Developers — with a sticky navigation bar that follows you as you scroll and hides sections that have nothing to show. The hero is a compact identity band with the live 3D avatar beside the agent's name, description, and actions, and secondary view modes now live in a tidy menu instead of a wall of buttons. Pages are roughly 40% shorter and much easier to scan. Prefer the old look? Every profile keeps a “Classic layout” link that serves the previous design unchanged. The companion panels (live presence, stages, work-for-hire, alpha co-pilot) now sit in a compact strip beside the profile instead of stacking above it — on mobile the agent's name and avatar are the first thing you see — and the live watch view (screen, avatar cam, action log) has a proper home in the Activity section. Signed-out visitors get a clear “sign in to see the action log” state instead of an endless loading spinner, and stats with nothing to report simply don't render.",
"tags": [
"improvement",
"feature"
diff --git a/package-lock.json b/package-lock.json
index 5eaea79e0..6749dc6ca 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -110,7 +110,6 @@
"@pump-fun/pump-swap-sdk": "^1.17.0",
"@pythnetwork/hermes-client": "^3.1.0",
"@solana-mobile/mobile-wallet-adapter-protocol-web3js": "^2.2.9",
- "@solana-program/compute-budget": "^0.15.0",
"@solana-program/stake": "^0.6.1",
"@solana-program/token": "^0.13.0",
"@solana/kit": "^6.9.0",
@@ -18032,15 +18031,6 @@
"@solana/web3.js": "^1.98.4"
}
},
- "node_modules/@solana-program/compute-budget": {
- "version": "0.15.0",
- "resolved": "https://registry.npmjs.org/@solana-program/compute-budget/-/compute-budget-0.15.0.tgz",
- "integrity": "sha512-toejNdIkzpUTqLSIzP0Nofr/EFel8QpPWuTtIKzfCcjn+mXpkThHxPJaNesk251rSTiWaxDZ3WxG7RxYwTWTqA==",
- "license": "Apache-2.0",
- "peerDependencies": {
- "@solana/kit": "^6.3.0"
- }
- },
"node_modules/@solana-program/stake": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/@solana-program/stake/-/stake-0.6.1.tgz",
diff --git a/package.json b/package.json
index 30c88eb92..c3959acc6 100644
--- a/package.json
+++ b/package.json
@@ -285,7 +285,6 @@
"@pump-fun/pump-swap-sdk": "^1.17.0",
"@pythnetwork/hermes-client": "^3.1.0",
"@solana-mobile/mobile-wallet-adapter-protocol-web3js": "^2.2.9",
- "@solana-program/compute-budget": "^0.15.0",
"@solana-program/stake": "^0.6.1",
"@solana-program/token": "^0.13.0",
"@solana/kit": "^6.9.0",
diff --git a/public/changelog.json b/public/changelog.json
index 31b38c0c8..bbe3b8261 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-12T10:09:40.916Z",
+ "generated_at": "2026-07-12T10:18:19.253Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -31,7 +31,7 @@
"date": "2026-07-12",
"type": "update",
"title": "Agent profiles, redesigned",
- "summary": "Agent profile pages got a ground-up redesign. Instead of one endless column of cards, everything is now organized into clear sections — Overview, Capabilities, Economy, Activity, Trust & Identity, Reviews, and Developers — with a sticky navigation bar that follows you as you scroll and hides sections that have nothing to show. The hero is a compact identity band with the live 3D avatar beside the agent's name, description, and actions, and secondary view modes now live in a tidy menu instead of a wall of buttons. Pages are roughly 40% shorter and much easier to scan. Prefer the old look? Every profile keeps a “Classic layout” link that serves the previous design unchanged.",
+ "summary": "Agent profile pages got a ground-up redesign. Instead of one endless column of cards, everything is now organized into clear sections — Overview, Capabilities, Economy, Activity, Trust & Identity, Reviews, and Developers — with a sticky navigation bar that follows you as you scroll and hides sections that have nothing to show. The hero is a compact identity band with the live 3D avatar beside the agent's name, description, and actions, and secondary view modes now live in a tidy menu instead of a wall of buttons. Pages are roughly 40% shorter and much easier to scan. Prefer the old look? Every profile keeps a “Classic layout” link that serves the previous design unchanged. The companion panels (live presence, stages, work-for-hire, alpha co-pilot) now sit in a compact strip beside the profile instead of stacking above it — on mobile the agent's name and avatar are the first thing you see — and the live watch view (screen, avatar cam, action log) has a proper home in the Activity section. Signed-out visitors get a clear “sign in to see the action log” state instead of an endless loading spinner, and stats with nothing to report simply don't render.",
"link": "/agents",
"tags": [
"improvement",
diff --git a/public/changelog.xml b/public/changelog.xml
index 5f1e22bb9..dbaae541e 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -28,7 +28,7 @@
<guid isPermaLink="false">2026-07-12:Agent profiles, redesigned</guid>
<pubDate>Sun, 12 Jul 2026 12:00:00 GMT</pubDate>
<category>improvement</category>
- <description>Agent profile pages got a ground-up redesign. Instead of one endless column of cards, everything is now organized into clear sections — Overview, Capabilities, Economy, Activity, Trust &amp; Identity, Reviews, and Developers — with a sticky navigation bar that follows you as you scroll and hides sections that have nothing to show. The hero is a compact identity band with the live 3D avatar beside the agent's name, description, and actions, and secondary view modes now live in a tidy menu instead of a wall of buttons. Pages are roughly 40% shorter and much easier to scan. Prefer the old look? Every profile keeps a “Classic layout” link that serves the previous design unchanged.</description>
+ <description>Agent profile pages got a ground-up redesign. Instead of one endless column of cards, everything is now organized into clear sections — Overview, Capabilities, Economy, Activity, Trust &amp; Identity, Reviews, and Developers — with a sticky navigation bar that follows you as you scroll and hides sections that have nothing to show. The hero is a compact identity band with the live 3D avatar beside the agent's name, description, and actions, and secondary view modes now live in a tidy menu instead of a wall of buttons. Pages are roughly 40% shorter and much easier to scan. Prefer the old look? Every profile keeps a “Classic layout” link that serves the previous design unchanged. The companion panels (live presence, stages, work-for-hire, alpha co-pilot) now sit in a compact strip beside the profile instead of stacking above it — on mobile the agent's name and avatar are the first thing you see — and the live watch view (screen, avatar cam, action log) has a proper home in the Activity section. Signed-out visitors get a clear “sign in to see the action log” state instead of an endless loading spinner, and stats with nothing to report simply don't render.</description>
</item>
<item>
<title>AI features can no longer go down when one provider does</title>
diff --git a/public/features.json b/public/features.json
index 27ed81963..6d39cf003 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-12T10:09:40.899Z",
+ "generated_at": "2026-07-12T10:18:19.233Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/public/sitemap/index.html b/public/sitemap/index.html
index 2ec34e766..9c61d283c 100644
--- a/public/sitemap/index.html
+++ b/public/sitemap/index.html
@@ -56,6 +56,25 @@
.sm-brand img { width: 24px; height: 24px; border-radius: 5px; }
.sm-brand:hover { text-decoration: none; }
</style>
+
+ <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">
+ <meta property="og:type" content="website">
+ <meta property="og:site_name" content="three.ws">
+ <meta property="og:locale" content="en_US">
+ <meta property="og:title" content="Sitemap · three.ws">
+ <meta property="og:description" content="Human-readable index of every page on three.ws.">
+ <meta property="og:url" content="https://three.ws/sitemap">
+ <meta property="og:image" content="https://three.ws/api/page-og?s=main&amp;t=Sitemap&amp;d=Human-readable+index+of+every+page+on+three.ws.&amp;p=%2Fsitemap">
+ <meta property="og:image:width" content="1200">
+ <meta property="og:image:height" content="630">
+ <meta property="og:image:type" content="image/png">
+ <meta property="og:image:alt" content="Sitemap — three.ws">
+ <meta name="twitter:card" content="summary_large_image">
+ <meta name="twitter:site" content="@trythreews">
+ <meta name="twitter:title" content="Sitemap · three.ws">
+ <meta name="twitter:description" content="Human-readable index of every page on three.ws.">
+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=main&amp;t=Sitemap&amp;d=Human-readable+index+of+every+page+on+three.ws.&amp;p=%2Fsitemap">
+ <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Sitemap","description":"Human-readable index of every page on three.ws.","url":"https://three.ws/sitemap","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap"}]}</script>
</head>
<body>
<header class="sm-topbar">
diff --git a/robinhood/hood-api/.env.example b/robinhood/hood-api/.env.example
new file mode 100644
index 000000000..0311408ab
--- /dev/null
+++ b/robinhood/hood-api/.env.example
@@ -0,0 +1,36 @@
+# hood-api configuration. Copy to .env and fill in. Every var has a sane default;
+# the free tier runs with NONE of these set.
+
+# ---- Server ----
+PORT=8787
+# Public base URL the docs/OpenAPI advertise (no trailing slash).
+PUBLIC_BASE_URL=http://localhost:8787
+
+# ---- Upstreams (optional failover; public endpoints are the defaults) ----
+# Alchemy RPC key. When set, RPC reads fail over from the public RPC to Alchemy.
+ALCHEMY_KEY=
+# Fully custom mainnet RPC URL (overrides the public RPC + Alchemy).
+HOOD_RPC_URL=
+# CoinGecko Pro/Demo API key (raises rate limits for /v1/equities). Optional.
+COINGECKO_API_KEY=
+
+# ---- x402 paid endpoints ----
+# Address that receives x402 settlements. REQUIRED to enable paid endpoints;
+# when unset, paid endpoints return 503 with a clear "payments not configured" hint.
+X402_PAY_TO=
+# Settlement network for x402: "base" (mainnet USDC) or "base-sepolia" (testnet).
+X402_NETWORK=base-sepolia
+# x402 facilitator URL. Testnet default is the public x402.org facilitator.
+# For Base mainnet USDC settlement use the CDP facilitator (see README).
+X402_FACILITATOR_URL=https://x402.org/facilitator
+# CDP facilitator credentials (Base mainnet settlement only).
+CDP_API_KEY_ID=
+CDP_API_KEY_SECRET=
+# HMAC secret used to sign metered firehose session tokens. Auto-generated per
+# process if unset (fine for single-instance; set a stable value for a fleet).
+FIREHOSE_SESSION_SECRET=
+
+# ---- x402 client (E2E test only; never commit a funded key) ----
+# A base-sepolia-funded key used ONLY by test/x402.test.ts to prove the
+# 402 -> pay -> 200 flow. Leave empty in production.
+X402_TEST_PRIVATE_KEY=
diff --git a/robinhood/hood-api/.gitignore b/robinhood/hood-api/.gitignore
new file mode 100644
index 000000000..6d686e428
--- /dev/null
+++ b/robinhood/hood-api/.gitignore
@@ -0,0 +1,9 @@
+node_modules
+dist
+.env
+.env.*
+!.env.example
+*.log
+.DS_Store
+coverage
+docs/samples.generated.json
diff --git a/robinhood/hood-api/LICENSE b/robinhood/hood-api/LICENSE
new file mode 100644
index 000000000..4216cf919
--- /dev/null
+++ b/robinhood/hood-api/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 nirholas
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/robinhood/hood-api/package.json b/robinhood/hood-api/package.json
new file mode 100644
index 000000000..cb5a59689
--- /dev/null
+++ b/robinhood/hood-api/package.json
@@ -0,0 +1,58 @@
+{
+ "name": "hood-api",
+ "version": "0.1.0",
+ "description": "Hosted market-data API for Robinhood Chain (chain ID 4663): Stock Tokens with Chainlink + DEX premium/discount, memecoin launchpads, multiplier-correct portfolios, cross-venue tokenized-equity spreads, and a real-time firehose. Free tier + x402-metered paid endpoints.",
+ "keywords": [
+ "robinhood",
+ "robinhood-chain",
+ "stock-tokens",
+ "tokenized-equities",
+ "market-data",
+ "x402",
+ "usdg",
+ "hono",
+ "api"
+ ],
+ "license": "MIT",
+ "author": "nirholas (https://x.com/nichxbt)",
+ "type": "module",
+ "engines": {
+ "node": ">=20"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/nirholas/hood-api.git"
+ },
+ "homepage": "https://nirholas.github.io/hood-api/",
+ "bugs": {
+ "url": "https://github.com/nirholas/hood-api/issues"
+ },
+ "scripts": {
+ "dev": "tsx watch src/index.ts",
+ "start": "node --import tsx src/index.ts",
+ "build": "tsc -p tsconfig.json",
+ "typecheck": "tsc --noEmit",
+ "openapi": "tsx scripts/emit-openapi.ts",
+ "capture-samples": "tsx scripts/capture-samples.ts",
+ "smoke": "bash scripts/smoke.sh",
+ "test": "vitest run",
+ "test:x402": "vitest run test/x402.test.ts"
+ },
+ "dependencies": {
+ "@hono/node-server": "^2.0.8",
+ "@hono/node-ws": "^1.3.1",
+ "@hono/zod-openapi": "^1.4.0",
+ "hono": "^4.12.0",
+ "hoodchain": "^0.1.0",
+ "viem": "^2.55.0",
+ "x402-hono": "^1.2.0",
+ "zod": "^4.4.0"
+ },
+ "devDependencies": {
+ "@types/node": "^24.0.0",
+ "tsx": "^4.19.0",
+ "typescript": "^5.9.0",
+ "vitest": "^3.2.0",
+ "x402-fetch": "^1.2.0"
+ }
+}
diff --git a/robinhood/hood-api/tsconfig.json b/robinhood/hood-api/tsconfig.json
new file mode 100644
index 000000000..b1ddd6be5
--- /dev/null
+++ b/robinhood/hood-api/tsconfig.json
@@ -0,0 +1,21 @@
+{
+ "compilerOptions": {
+ "target": "ES2022",
+ "module": "NodeNext",
+ "moduleResolution": "NodeNext",
+ "lib": ["ES2022"],
+ "types": ["node"],
+ "outDir": "dist",
+ "rootDir": ".",
+ "strict": true,
+ "noUncheckedIndexedAccess": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "resolveJsonModule": true,
+ "verbatimModuleSyntax": false,
+ "declaration": false,
+ "sourceMap": true
+ },
+ "include": ["src", "scripts", "test"],
+ "exclude": ["node_modules", "dist"]
+}
diff --git a/robinhood/hood-cli/.gitignore b/robinhood/hood-cli/.gitignore
new file mode 100644
index 000000000..8839ccb03
--- /dev/null
+++ b/robinhood/hood-cli/.gitignore
@@ -0,0 +1,8 @@
+node_modules
+dist
+*.log
+.env
+.env.*
+.DS_Store
+coverage
+*.tgz
diff --git a/robinhood/hood-cli/package.json b/robinhood/hood-cli/package.json
new file mode 100644
index 000000000..a17f23798
--- /dev/null
+++ b/robinhood/hood-cli/package.json
@@ -0,0 +1,66 @@
+{
+ "name": "hood-cli",
+ "version": "0.1.0",
+ "description": "The command-line toolkit for Robinhood Chain (chain 4663): instant reads with zero config, guarded writes with a wallet. Prices, portfolios, launches, swaps, transfers — the gh/vercel of Robinhood Chain.",
+ "keywords": [
+ "robinhood",
+ "robinhood-chain",
+ "cli",
+ "stock-tokens",
+ "usdg",
+ "uniswap",
+ "chainlink",
+ "web3",
+ "viem"
+ ],
+ "license": "MIT",
+ "author": "nirholas (https://x.com/nichxbt)",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/nirholas/hood-cli.git"
+ },
+ "homepage": "https://nirholas.github.io/hood-cli/",
+ "bugs": {
+ "url": "https://github.com/nirholas/hood-cli/issues"
+ },
+ "type": "module",
+ "engines": {
+ "node": ">=20"
+ },
+ "bin": {
+ "hood": "./dist/cli.js",
+ "hoodc": "./dist/cli.js"
+ },
+ "exports": {
+ "./package.json": "./package.json"
+ },
+ "files": [
+ "dist",
+ "contracts/ERC20.sol",
+ "README.md",
+ "LICENSE"
+ ],
+ "scripts": {
+ "build": "tsup",
+ "typecheck": "tsc --noEmit",
+ "test": "vitest run tests/unit",
+ "e2e": "node scripts/e2e.mjs",
+ "capture": "node scripts/capture-session.mjs",
+ "compile-erc20": "node scripts/compile-erc20.mjs",
+ "prepublishOnly": "npm run build && npm test"
+ },
+ "dependencies": {
+ "commander": "^12.1.0",
+ "hoodchain": "file:../robinhood-chain-sdk",
+ "viem": "^2.55.0",
+ "ws": "^8.18.0"
+ },
+ "devDependencies": {
+ "@types/node": "^24.0.0",
+ "@types/ws": "^8.18.0",
+ "solc": "^0.8.28",
+ "tsup": "^8.5.0",
+ "typescript": "^5.9.0",
+ "vitest": "^3.2.0"
+ }
+}
diff --git a/robinhood/hood-cli/tsconfig.json b/robinhood/hood-cli/tsconfig.json
new file mode 100644
index 000000000..0713591a4
--- /dev/null
+++ b/robinhood/hood-cli/tsconfig.json
@@ -0,0 +1,22 @@
+{
+ "compilerOptions": {
+ "target": "ES2022",
+ "module": "NodeNext",
+ "moduleResolution": "NodeNext",
+ "lib": ["ES2023"],
+ "types": ["node"],
+ "strict": true,
+ "noUncheckedIndexedAccess": true,
+ "noImplicitOverride": true,
+ "verbatimModuleSyntax": true,
+ "declaration": false,
+ "sourceMap": true,
+ "outDir": "dist",
+ "rootDir": "src",
+ "skipLibCheck": true,
+ "esModuleInterop": true,
+ "forceConsistentCasingInFileNames": true
+ },
+ "include": ["src"],
+ "exclude": ["node_modules", "dist", "tests"]
+}
diff --git a/robinhood/hood-cli/tsup.config.ts b/robinhood/hood-cli/tsup.config.ts
new file mode 100644
index 000000000..b0142ccba
--- /dev/null
+++ b/robinhood/hood-cli/tsup.config.ts
@@ -0,0 +1,18 @@
+import { defineConfig } from 'tsup'
+
+export default defineConfig({
+ entry: { cli: 'src/cli.ts' },
+ format: ['esm'],
+ target: 'node20',
+ platform: 'node',
+ outDir: 'dist',
+ clean: true,
+ sourcemap: true,
+ dts: false,
+ // Ship a single self-contained CLI file so `npm i -g` needs no runtime
+ // resolution of the sibling SDK; viem/ws/commander stay external (installed
+ // as dependencies).
+ noExternal: ['hoodchain'],
+ external: ['viem', 'ws', 'commander'],
+ banner: { js: '#!/usr/bin/env node' },
+})
diff --git a/robinhood/hood-cli/vitest.config.ts b/robinhood/hood-cli/vitest.config.ts
new file mode 100644
index 000000000..a7389ccf5
--- /dev/null
+++ b/robinhood/hood-cli/vitest.config.ts
@@ -0,0 +1,8 @@
+import { defineConfig } from 'vitest/config'
+
+export default defineConfig({
+ test: {
+ include: ['tests/unit/**/*.test.ts'],
+ environment: 'node',
+ },
+})
diff --git a/robinhood/hood-js/.gitignore b/robinhood/hood-js/.gitignore
new file mode 100644
index 000000000..70e60b264
--- /dev/null
+++ b/robinhood/hood-js/.gitignore
@@ -0,0 +1,8 @@
+node_modules/
+dist/
+*.log
+.env
+.env.*
+.DS_Store
+coverage/
+*.tgz
diff --git a/robinhood/hood-js/LICENSE b/robinhood/hood-js/LICENSE
new file mode 100644
index 000000000..4216cf919
--- /dev/null
+++ b/robinhood/hood-js/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 nirholas
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/robinhood/hood-js/package.json b/robinhood/hood-js/package.json
new file mode 100644
index 000000000..62e96a29b
--- /dev/null
+++ b/robinhood/hood-js/package.json
@@ -0,0 +1,71 @@
+{
+ "name": "hood-js",
+ "version": "0.1.0",
+ "description": "The five-lines-to-your-first-trade wrapper for Robinhood Chain (ID 4663). One import, sensible defaults, promise-first, browser + Node: stock prices, portfolios, trending memecoins, launch streams, and swaps.",
+ "keywords": [
+ "robinhood",
+ "robinhood-chain",
+ "stock-tokens",
+ "memecoins",
+ "usdg",
+ "swap",
+ "viem",
+ "web3",
+ "easy",
+ "sdk"
+ ],
+ "license": "MIT",
+ "author": "nirholas (https://x.com/nichxbt)",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/nirholas/hood-js.git"
+ },
+ "homepage": "https://nirholas.github.io/hood-js/",
+ "bugs": {
+ "url": "https://github.com/nirholas/hood-js/issues"
+ },
+ "type": "module",
+ "engines": {
+ "node": ">=20"
+ },
+ "sideEffects": false,
+ "main": "./dist/index.cjs",
+ "module": "./dist/index.js",
+ "types": "./dist/index.d.ts",
+ "exports": {
+ ".": {
+ "types": "./dist/index.d.ts",
+ "import": "./dist/index.js",
+ "require": "./dist/index.cjs"
+ },
+ "./package.json": "./package.json"
+ },
+ "files": [
+ "dist",
+ "README.md",
+ "LICENSE"
+ ],
+ "scripts": {
+ "build": "tsup",
+ "typecheck": "tsc --noEmit",
+ "test": "vitest run tests/unit",
+ "test:live": "vitest run tests/live --testTimeout 120000",
+ "size": "node scripts/size.mjs",
+ "prepublishOnly": "npm run build && npm test && npm run size"
+ },
+ "dependencies": {
+ "hoodchain": "^0.1.0"
+ },
+ "peerDependencies": {
+ "viem": "^2.55.0"
+ },
+ "devDependencies": {
+ "@types/node": "^24.0.0",
+ "gzip-size": "^7.0.0",
+ "hoodchain": "file:../robinhood-chain-sdk",
+ "tsup": "^8.5.0",
+ "typescript": "^5.9.0",
+ "viem": "^2.55.0",
+ "vitest": "^3.2.0"
+ }
+}
diff --git a/robinhood/hood-js/tsconfig.json b/robinhood/hood-js/tsconfig.json
new file mode 100644
index 000000000..b4ad18180
--- /dev/null
+++ b/robinhood/hood-js/tsconfig.json
@@ -0,0 +1,19 @@
+{
+ "compilerOptions": {
+ "target": "ES2022",
+ "module": "NodeNext",
+ "moduleResolution": "NodeNext",
+ "lib": ["ES2022", "DOM"],
+ "declaration": true,
+ "strict": true,
+ "noUncheckedIndexedAccess": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "forceConsistentCasingInFileNames": true,
+ "verbatimModuleSyntax": true,
+ "types": ["node"],
+ "outDir": "dist"
+ },
+ "include": ["src"],
+ "exclude": ["node_modules", "dist", "tests"]
+}
diff --git a/robinhood/hood-js/tsup.config.ts b/robinhood/hood-js/tsup.config.ts
new file mode 100644
index 000000000..62f6e1a90
--- /dev/null
+++ b/robinhood/hood-js/tsup.config.ts
@@ -0,0 +1,14 @@
+import { defineConfig } from 'tsup'
+
+export default defineConfig({
+ entry: ['src/index.ts'],
+ format: ['esm', 'cjs'],
+ dts: true,
+ clean: true,
+ minify: true,
+ treeshake: true,
+ sourcemap: true,
+ // viem is a peer dependency and hoodchain is a runtime dependency; keeping
+ // both external is what holds hood-js's own bundle under the size budget.
+ external: ['viem', 'hoodchain'],
+})
diff --git a/robinhood/hood-mcp/.env.example b/robinhood/hood-mcp/.env.example
new file mode 100644
index 000000000..b47f20514
--- /dev/null
+++ b/robinhood/hood-mcp/.env.example
@@ -0,0 +1,34 @@
+# hood-mcp environment
+#
+# The DATA server (hood-mcp) needs NOTHING here — it runs zero-config against the
+# public Robinhood Chain RPC. Everything below is optional for it, and required
+# only where noted for the TRADING server (hood-mcp-trading).
+
+# ---- shared (optional) ----
+# Which network to target. 'mainnet' = chain 4663, 'testnet' = chain 46630.
+HOOD_MCP_NETWORK=mainnet
+# Optional Alchemy key for a faster/private RPC. Public RPC is used when unset.
+# ALCHEMY_KEY=your_alchemy_key
+
+# ---- data server: HTTP transport (optional) ----
+# Set to run the data server over Streamable HTTP instead of stdio.
+# HOOD_MCP_TRANSPORT=http
+# HOOD_MCP_PORT=8730
+
+# ---- trading server: REQUIRED to enable any mutating tool ----
+# Master kill switch. The trading server refuses to start unless this is exactly "1".
+HOOD_MCP_ENABLE_TRADING=0
+# Wallet private key (0x + 64 hex). NEVER commit a real value.
+# ROBINHOOD_CHAIN_PRIVATE_KEY=0x...
+# Hard spend caps, denominated in USD (USDG). Per single call and per session.
+HOOD_MCP_MAX_SPEND_USDG=25
+HOOD_MCP_MAX_SESSION_USDG=100
+# Set to "1" ONLY if you are eligible to acquire tokenized Stock Tokens
+# (NOT a US/CA/UK/CH person). Required for swaps whose OUTPUT is a Stock Token.
+HOOD_MCP_ACKNOWLEDGE_ELIGIBILITY=0
+
+# ---- x402 monetization seam (optional, off by default) ----
+# When the sibling `hood402` package is installed AND this is set, the HTTP
+# transport paywalls the tools listed in PAID_TOOLS. Free tools stay free.
+# HOOD_MCP_PAYWALL_PRICE=0.005
+# HOOD_MCP_PAY_TO=0xYourSettlementWallet
diff --git a/robinhood/hood-mcp/.gitignore b/robinhood/hood-mcp/.gitignore
new file mode 100644
index 000000000..f4ce030c2
--- /dev/null
+++ b/robinhood/hood-mcp/.gitignore
@@ -0,0 +1,8 @@
+node_modules
+dist
+*.log
+.env
+.env.*
+!.env.example
+.DS_Store
+coverage
diff --git a/robinhood/hood-mcp/LICENSE b/robinhood/hood-mcp/LICENSE
new file mode 100644
index 000000000..4216cf919
--- /dev/null
+++ b/robinhood/hood-mcp/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 nirholas
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/robinhood/hood-mcp/package.json b/robinhood/hood-mcp/package.json
new file mode 100644
index 000000000..31d21d016
--- /dev/null
+++ b/robinhood/hood-mcp/package.json
@@ -0,0 +1,82 @@
+{
+ "name": "hood-mcp",
+ "version": "0.1.0",
+ "description": "Model Context Protocol servers for Robinhood Chain (chain ID 4663): a zero-config read-only data server (Stock Token quotes, multiplier-correct portfolios, memecoin launches, chain stats) and an explicitly opt-in trading server (guarded swaps + USDG transfers with hard spend caps and a confirm gate).",
+ "keywords": [
+ "mcp",
+ "model-context-protocol",
+ "robinhood",
+ "robinhood-chain",
+ "stock-tokens",
+ "tokenized-equities",
+ "usdg",
+ "chainlink",
+ "uniswap",
+ "ai-agents",
+ "claude",
+ "cursor"
+ ],
+ "license": "MIT",
+ "author": "nirholas (https://x.com/nichxbt)",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/nirholas/hood-mcp.git"
+ },
+ "homepage": "https://nirholas.github.io/hood-mcp/",
+ "bugs": {
+ "url": "https://github.com/nirholas/hood-mcp/issues"
+ },
+ "type": "module",
+ "engines": {
+ "node": ">=20"
+ },
+ "bin": {
+ "hood-mcp": "./dist/data-server.js",
+ "hood-mcp-trading": "./dist/trading-server.js"
+ },
+ "main": "./dist/index.js",
+ "types": "./dist/index.d.ts",
+ "exports": {
+ ".": {
+ "types": "./dist/index.d.ts",
+ "import": "./dist/index.js"
+ },
+ "./data-server": "./dist/data-server.js",
+ "./trading-server": "./dist/trading-server.js",
+ "./package.json": "./package.json"
+ },
+ "files": [
+ "dist",
+ "server.json",
+ "smithery.yaml",
+ "README.md",
+ "LICENSE"
+ ],
+ "sideEffects": false,
+ "scripts": {
+ "build": "tsup",
+ "typecheck": "tsc --noEmit",
+ "dev:data": "tsx src/data-server.ts",
+ "dev:trading": "tsx src/trading-server.ts",
+ "start": "node dist/data-server.js",
+ "test": "vitest run tests/schema.test.ts tests/trading-guards.test.ts",
+ "test:live": "vitest run tests/data-client.live.test.ts --testTimeout 120000",
+ "test:swap": "vitest run tests/trading-swap.live.test.ts --testTimeout 180000",
+ "prepublishOnly": "npm run build && npm test"
+ },
+ "dependencies": {
+ "@modelcontextprotocol/sdk": "^1.29.0",
+ "hoodchain": "^0.1.0",
+ "viem": "^2.55.0",
+ "ws": "^8.18.0",
+ "zod": "^3.25.76"
+ },
+ "devDependencies": {
+ "@types/node": "^24.0.0",
+ "@types/ws": "^8.18.0",
+ "tsup": "^8.5.0",
+ "tsx": "^4.19.0",
+ "typescript": "^5.9.0",
+ "vitest": "^3.2.0"
+ }
+}
diff --git a/robinhood/hood-mcp/tsconfig.json b/robinhood/hood-mcp/tsconfig.json
new file mode 100644
index 000000000..1094ef8c2
--- /dev/null
+++ b/robinhood/hood-mcp/tsconfig.json
@@ -0,0 +1,20 @@
+{
+ "compilerOptions": {
+ "target": "ES2022",
+ "module": "NodeNext",
+ "moduleResolution": "NodeNext",
+ "lib": ["ES2022"],
+ "types": ["node"],
+ "strict": true,
+ "noUncheckedIndexedAccess": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "declaration": true,
+ "resolveJsonModule": true,
+ "verbatimModuleSyntax": true,
+ "outDir": "dist",
+ "rootDir": "src"
+ },
+ "include": ["src"],
+ "exclude": ["node_modules", "dist", "tests"]
+}
diff --git a/robinhood/hood-mcp/tsup.config.ts b/robinhood/hood-mcp/tsup.config.ts
new file mode 100644
index 000000000..00c60170d
--- /dev/null
+++ b/robinhood/hood-mcp/tsup.config.ts
@@ -0,0 +1,19 @@
+import { defineConfig } from 'tsup'
+
+export default defineConfig({
+ entry: {
+ index: 'src/index.ts',
+ 'data-server': 'src/data-server.ts',
+ 'trading-server': 'src/trading-server.ts',
+ },
+ format: ['esm'],
+ target: 'node20',
+ platform: 'node',
+ dts: { entry: { index: 'src/index.ts' } },
+ sourcemap: true,
+ clean: true,
+ splitting: false,
+ // The two server entries are executables — prepend a shebang so they run
+ // directly via `npx hood-mcp` without a wrapper.
+ banner: ({ format }) => (format === 'esm' ? { js: '#!/usr/bin/env node' } : {}),
+})
diff --git a/robinhood/hood-mcp/vitest.config.ts b/robinhood/hood-mcp/vitest.config.ts
new file mode 100644
index 000000000..adf3715f5
--- /dev/null
+++ b/robinhood/hood-mcp/vitest.config.ts
@@ -0,0 +1,11 @@
+import { defineConfig } from 'vitest/config'
+
+export default defineConfig({
+ test: {
+ environment: 'node',
+ include: ['tests/**/*.test.ts'],
+ // Live suites are opted into explicitly (test:live / test:swap) so `npm test`
+ // stays hermetic and fast.
+ exclude: ['**/node_modules/**', '**/*.live.test.ts', 'tests/trading-swap.live.test.ts'],
+ },
+})
diff --git a/robinhood/hood-traders/package.json b/robinhood/hood-traders/package.json
new file mode 100644
index 000000000..186528b0a
--- /dev/null
+++ b/robinhood/hood-traders/package.json
@@ -0,0 +1,58 @@
+{
+ "name": "hood-traders",
+ "version": "0.1.0",
+ "description": "A framework and runnable fleet of autonomous agents that trade Robinhood Chain (4663) memecoins and watch Stock Token premium/discount — real quotes, real risk caps, real signed swaps, live P&L dashboard.",
+ "keywords": [
+ "robinhood-chain",
+ "trading-agent",
+ "autonomous-agent",
+ "memecoin",
+ "stock-tokens",
+ "usdg",
+ "viem",
+ "defi"
+ ],
+ "license": "MIT",
+ "author": "nirholas (https://x.com/nichxbt)",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/nirholas/hood-traders.git"
+ },
+ "homepage": "https://nirholas.github.io/hood-traders/",
+ "bugs": {
+ "url": "https://github.com/nirholas/hood-traders/issues"
+ },
+ "type": "module",
+ "engines": {
+ "node": ">=20"
+ },
+ "bin": {
+ "hood-traders": "./dist/main.js"
+ },
+ "scripts": {
+ "build": "tsup",
+ "start": "node dist/main.js",
+ "dev": "tsx watch src/main.ts",
+ "fleet": "tsx src/main.ts",
+ "typecheck": "tsc --noEmit",
+ "test": "vitest run tests/unit",
+ "test:e2e": "vitest run tests/e2e --testTimeout 120000",
+ "snapshot": "tsx scripts/capture-snapshot.ts",
+ "testnet-trade": "tsx scripts/testnet-trade.ts"
+ },
+ "dependencies": {
+ "better-sqlite3": "^11.8.0",
+ "hoodchain": "^0.1.0",
+ "viem": "^2.55.0",
+ "ws": "^8.18.0"
+ },
+ "devDependencies": {
+ "@types/better-sqlite3": "^7.6.0",
+ "@types/node": "^24.0.0",
+ "@types/ws": "^8.18.0",
+ "tsup": "^8.5.0",
+ "tsx": "^4.19.0",
+ "typescript": "^5.9.0",
+ "vitest": "^3.2.0"
+ }
+}
diff --git a/robinhood/hood-traders/tsconfig.json b/robinhood/hood-traders/tsconfig.json
new file mode 100644
index 000000000..2b25e92ac
--- /dev/null
+++ b/robinhood/hood-traders/tsconfig.json
@@ -0,0 +1,21 @@
+{
+ "compilerOptions": {
+ "target": "ES2022",
+ "module": "NodeNext",
+ "moduleResolution": "NodeNext",
+ "lib": ["ES2022"],
+ "types": ["node"],
+ "strict": true,
+ "noUncheckedIndexedAccess": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "forceConsistentCasingInFileNames": true,
+ "declaration": true,
+ "sourceMap": true,
+ "outDir": "dist",
+ "rootDir": "src",
+ "resolveJsonModule": true
+ },
+ "include": ["src"],
+ "exclude": ["node_modules", "dist", "tests", "scripts"]
+}
diff --git a/robinhood/hoodkit/.gitignore b/robinhood/hoodkit/.gitignore
new file mode 100644
index 000000000..901b09bdc
--- /dev/null
+++ b/robinhood/hoodkit/.gitignore
@@ -0,0 +1,13 @@
+node_modules
+dist
+*.log
+.env
+.env.*
+!.env.example
+*.sqlite
+*.sqlite-journal
+*.db
+coverage
+.DS_Store
+examples/react-demo/dist
+examples/*.sqlite
diff --git a/robinhood/hoodkit/LICENSE b/robinhood/hoodkit/LICENSE
new file mode 100644
index 000000000..4216cf919
--- /dev/null
+++ b/robinhood/hoodkit/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 nirholas
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/robinhood/hoodkit/package.json b/robinhood/hoodkit/package.json
new file mode 100644
index 000000000..e737e9508
--- /dev/null
+++ b/robinhood/hoodkit/package.json
@@ -0,0 +1,96 @@
+{
+ "name": "hoodkit",
+ "version": "0.1.0",
+ "description": "Power-user toolkit for Robinhood Chain (chain ID 4663): real-time streams with reconnect gap-fill, read-through caching with request coalescing, multicall batching, a local SQLite indexer (holders/OHLCV/volume), agent strategy primitives (PnL, TWAP, triggers, spend caps, dry-run), and SSR-safe React hooks.",
+ "keywords": [
+ "robinhood",
+ "robinhood-chain",
+ "stock-tokens",
+ "streaming",
+ "indexer",
+ "ohlcv",
+ "cache",
+ "multicall",
+ "twap",
+ "react-hooks",
+ "viem",
+ "web3"
+ ],
+ "license": "MIT",
+ "author": "nirholas (https://x.com/nichxbt)",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/nirholas/hoodkit.git"
+ },
+ "homepage": "https://nirholas.github.io/hoodkit/",
+ "bugs": {
+ "url": "https://github.com/nirholas/hoodkit/issues"
+ },
+ "type": "module",
+ "engines": {
+ "node": ">=20"
+ },
+ "sideEffects": false,
+ "main": "./dist/index.cjs",
+ "module": "./dist/index.js",
+ "types": "./dist/index.d.ts",
+ "exports": {
+ ".": {
+ "types": "./dist/index.d.ts",
+ "import": "./dist/index.js",
+ "require": "./dist/index.cjs"
+ },
+ "./react": {
+ "types": "./dist/react/index.d.ts",
+ "import": "./dist/react/index.js",
+ "require": "./dist/react/index.cjs"
+ },
+ "./package.json": "./package.json"
+ },
+ "files": [
+ "dist",
+ "README.md",
+ "LICENSE"
+ ],
+ "scripts": {
+ "build": "tsup",
+ "typecheck": "tsc --noEmit",
+ "test": "vitest run tests/unit",
+ "test:live": "vitest run tests/live --testTimeout 180000",
+ "docs:api": "typedoc",
+ "prepublishOnly": "npm run build && npm test"
+ },
+ "peerDependencies": {
+ "better-sqlite3": ">=11",
+ "hoodchain": "^0.1.0",
+ "react": ">=18",
+ "viem": "^2.55.0",
+ "ws": "^8.18.0"
+ },
+ "peerDependenciesMeta": {
+ "better-sqlite3": {
+ "optional": true
+ },
+ "react": {
+ "optional": true
+ },
+ "ws": {
+ "optional": true
+ }
+ },
+ "devDependencies": {
+ "@types/better-sqlite3": "^7.6.0",
+ "@types/node": "^24.0.0",
+ "@types/react": "^19.0.0",
+ "@types/ws": "^8.18.0",
+ "better-sqlite3": "^12.0.0",
+ "hoodchain": "file:../robinhood-chain-sdk",
+ "react": "^19.0.0",
+ "tsup": "^8.5.0",
+ "typedoc": "^0.28.0",
+ "typescript": "^5.9.0",
+ "viem": "^2.55.0",
+ "vitest": "^3.2.0",
+ "ws": "^8.18.0"
+ }
+}
diff --git a/robinhood/hoodkit/tsconfig.json b/robinhood/hoodkit/tsconfig.json
new file mode 100644
index 000000000..b4d3efe5d
--- /dev/null
+++ b/robinhood/hoodkit/tsconfig.json
@@ -0,0 +1,23 @@
+{
+ "compilerOptions": {
+ "target": "ES2022",
+ "module": "ESNext",
+ "moduleResolution": "Bundler",
+ "lib": ["ES2023", "DOM", "DOM.Iterable"],
+ "types": ["node"],
+ "declaration": true,
+ "strict": true,
+ "noUncheckedIndexedAccess": true,
+ "noImplicitOverride": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "resolveJsonModule": true,
+ "verbatimModuleSyntax": true,
+ "jsx": "react-jsx",
+ "isolatedModules": true,
+ "forceConsistentCasingInFileNames": true,
+ "outDir": "dist"
+ },
+ "include": ["src"],
+ "exclude": ["node_modules", "dist", "examples", "tests"]
+}
diff --git a/robinhood/hoodkit/tsup.config.ts b/robinhood/hoodkit/tsup.config.ts
new file mode 100644
index 000000000..c81e0d052
--- /dev/null
+++ b/robinhood/hoodkit/tsup.config.ts
@@ -0,0 +1,16 @@
+import { defineConfig } from 'tsup'
+
+export default defineConfig({
+ entry: {
+ index: 'src/index.ts',
+ 'react/index': 'src/react/index.ts',
+ },
+ format: ['esm', 'cjs'],
+ dts: true,
+ clean: true,
+ sourcemap: true,
+ treeshake: true,
+ target: 'node20',
+ // Keep peers external so core installs light and optional deps stay optional.
+ external: ['viem', 'ws', 'hoodchain', 'better-sqlite3', 'react', 'react/jsx-runtime'],
+})
diff --git a/robinhood/hoodkit/typedoc.json b/robinhood/hoodkit/typedoc.json
new file mode 100644
index 000000000..86f52823a
--- /dev/null
+++ b/robinhood/hoodkit/typedoc.json
@@ -0,0 +1,10 @@
+{
+ "$schema": "https://typedoc.org/schema.json",
+ "entryPoints": ["src/index.ts", "src/react/index.ts"],
+ "out": "docs/api",
+ "readme": "none",
+ "name": "hoodkit",
+ "excludeInternal": true,
+ "excludePrivate": true,
+ "githubPages": false
+}
diff --git a/robinhood/hoodkit/vitest.config.ts b/robinhood/hoodkit/vitest.config.ts
new file mode 100644
index 000000000..dd286f979
--- /dev/null
+++ b/robinhood/hoodkit/vitest.config.ts
@@ -0,0 +1,8 @@
+import { defineConfig } from 'vitest/config'
+
+export default defineConfig({
+ test: {
+ include: ['tests/**/*.test.ts'],
+ testTimeout: 30_000,
+ },
+})
diff --git a/src/agent-detail-v2.css b/src/agent-detail-v2.css
index 98f1b0a5d..5e19520b4 100644
--- a/src/agent-detail-v2.css
+++ b/src/agent-detail-v2.css
@@ -138,6 +138,9 @@
.adv2-hero .ad-hero-desc {
margin: 10px auto;
}
+ .adv2-hero .ad-hero-title h1 {
+ font-size: 26px;
+ }
}
/* ── Cross-link panel strip (presence / stages / labor / alpha) ────────── */