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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
Add road-to-1b prompts 18-24 (surface completeness)
miniaturization2dc2b7439419
diff --git a/prompts/road-to-1b/18-studio-suite-completeness.md b/prompts/road-to-1b/18-studio-suite-completeness.mdnew file mode 100644index 000000000..41593e50f--- /dev/null+++ b/prompts/road-to-1b/18-studio-suite-completeness.md@@ -0,0 +1,39 @@+# 18 — Studio suite completeness (Forge, Avatar, Animation, Scene)++> Part of **Road to $1B** (`prompts/road-to-1b/`). Read `00-README.md` and `/CLAUDE.md` first.++**Phase:** 4 — Surface completeness+**Owns:** `pages/forge.html`+`src/forge.js`+`api/forge.js`, `pages/avatar-studio.html`+`character-studio/`, the Animation Studio surface + `src/animation-retarget.js`/`src/glb-canonicalize.js`, `src/scene-studio/`.+**Depends on:** Phase 0–1. · **Parallel-safe with:** 19–24.++## Why this matters for $1B+The creation tools are the product's beating heart — "give your AI a body." If Forge,+Avatar Studio, Animation Studio, or Scene Studio feel half-finished, nothing downstream+matters. These are the screenshot-and-share surfaces.++## Mission+Take every Studio to a demo-to-senior-engineers bar: real generation, every state+designed, exports that work, and a clean path in and out.++## Do this+1. **Forge** (`src/forge.js`, `api/forge.js`): verify the full engine matrix and the+ NVIDIA → Hugging Face → Replicate fallback; designed unconfigured/busy/error states;+ real progress (no fake timers); GLB export, AR, download, and "Remix" all work.+2. **Avatar Studio** (`character-studio/`, `pages/avatar-studio.html`): sculpt → export+ GLB end to end; selfie-to-avatar and prompt-to-avatar paths produce rigged output.+3. **Animation Studio**: IK posing + timeline keyframing → animated GLB; confirm the+ universal retarget (`src/glb-canonicalize.js`, `src/animation-retarget.js`) drives+ any humanoid rig, with the default-rig fallback gate, never a bind-pose T-pose.+4. **Scene Studio** (`src/scene-studio/` → `/scene`): import GLBs, edit materials/lights,+ export; verify save/load.+5. For all four: empty/loading/error states, mobile/touch usability (links to 14), and+ that every output is saved to the user's creations and reachable later.++## Must-not+- No fake progress, no stub exports, no engine button that silently does nothing.+- Do not narrow the animation rig support to an allowlist — fix the bone mapping instead.++## Acceptance+- [ ] Each Studio completes its core flow with real output, exercised in a browser.+- [ ] All states designed; exports (GLB/AR/download) verified; outputs persist.+- [ ] `npm test` (incl. `tests/glb-canonicalize.test.js`) green; changelog entry per Studio improved.diff --git a/prompts/road-to-1b/19-agent-creation-and-studio.md b/prompts/road-to-1b/19-agent-creation-and-studio.mdnew file mode 100644index 000000000..05d232fb6--- /dev/null+++ b/prompts/road-to-1b/19-agent-creation-and-studio.md@@ -0,0 +1,37 @@+# 19 — Agent creation & Agent Studio++> Part of **Road to $1B** (`prompts/road-to-1b/`). Read `00-README.md` and `/CLAUDE.md` first.++**Phase:** 4 — Surface completeness+**Owns:** the agent-creation wizard + Agent Studio pages, `src/brain.js`, `api/avatars/`, `api/_mcp3d/tools/studio.js`, auto-rig path in `api/forge.js`.+**Depends on:** Phase 0–1, 18. · **Parallel-safe with:** 20–24.++## Why this matters for $1B+"Create an agent" is the platform's core conversion event — a user turns an idea into a+living, embodied, money-capable agent. If the wizard or Studio drops a step, the whole+value proposition leaks. Related feature specs live in `prompts/agent-studio/`.++## Mission+Make the end-to-end "name → 3D body → brain/persona → memory → money → skills → ship"+flow complete, real, and reachable, with the live avatar reflecting every choice.++## Do this+1. Walk the guided creation wizard step by step; confirm each step persists and the+ resulting agent is registered and viewable (no orphaned drafts).+2. **Body:** auto-rig on create (the rerig path in `api/forge.js`) produces a rigged,+ animated avatar; failures fall back to the default rig, never a T-pose.+3. **Brain/persona:** `src/brain.js` persona + multi-LLM wiring is real (via worker+ proxies), with designed states when a provider is degraded (see prompt 10).+4. **Memory:** persistent memory reads/writes work and surface in the UI.+5. **Money:** the agent's wallet is created and linked (hand off detail to prompt 24).+6. **Skills:** attaching skills from the marketplace works (hand off to prompt 20).+7. Every state designed; the live 3D avatar updates as the user authors; mobile usable.++## Must-not+- No stubbed wizard steps, no "coming soon" tab inside the core flow.+- Do not fabricate memory/brain responses — wire real backends.++## Acceptance+- [ ] A new user creates, ships, and reopens a fully-embodied agent end to end.+- [ ] Body/brain/memory/money/skills steps all persist and reflect in the avatar.+- [ ] `npm test` green; changelog `feature`/`improvement` entry.diff --git a/prompts/road-to-1b/20-marketplace-skills-purchase.md b/prompts/road-to-1b/20-marketplace-skills-purchase.mdnew file mode 100644index 000000000..5ddb7c5dd--- /dev/null+++ b/prompts/road-to-1b/20-marketplace-skills-purchase.md@@ -0,0 +1,38 @@+# 20 — Marketplace, skills & purchase flow++> Part of **Road to $1B** (`prompts/road-to-1b/`). Read `00-README.md` and `/CLAUDE.md` first.++**Phase:** 4 — Surface completeness+**Owns:** `marketplace/`, `pages/marketplace.html`, skill purchase/license paths, `api/_lib/skill-license-onchain.js`, `contracts/skill-license/`, "My Collection".+**Depends on:** Phase 0–1. · **Parallel-safe with:** 18, 19, 21–24.++## Why this matters for $1B+The marketplace is where value changes hands — buy, sell, remix agents and skills. A+trustworthy, complete purchase flow with real on-chain licensing is a direct revenue+engine and a core fundability story. Related specs: `prompts/monetization/`.++## Mission+Make discovery, purchase, ownership, and remixing of agents and skills fully real,+linked, and trustworthy — including the on-chain skill-license path.++## Do this+1. **Discovery:** marketplace listing with real data, sorting/filtering, designed+ empty/loading/error states; every card links to a real agent/skill profile.+2. **Purchase:** the skill purchase flow completes with real payment and grants access;+ verify the on-chain license (`api/_lib/skill-license-onchain.js`, the Anchor program+ in `contracts/skill-license/` minting a 1/1 SPL NFT + `SkillLicense` PDA).+3. **Ownership:** "My Collection" reflects purchases; access checks are enforced+ server-side (ties to prompt 07).+4. **Remix/sell:** remixing an agent and listing one for sale work end to end with+ correct attribution/royalties where applicable.+5. Cross-link: marketplace ↔ agent profiles ↔ launch history so the platform feels+ wired together, not siloed.+6. Edge cases: 0 listings, sold-out, payment failure mid-flow, duplicate purchase.++## Must-not+- No fake "buy" buttons; no client-trusted access grants; no orphan listings.++## Acceptance+- [ ] Buy → license → access → appears in My Collection verified with real payment.+- [ ] On-chain license mints and gates access; remix/sell flows work; states designed.+- [ ] `npm test` green; changelog `feature`/`improvement` entry.diff --git a/prompts/road-to-1b/21-trading-intelligence-suite.md b/prompts/road-to-1b/21-trading-intelligence-suite.mdnew file mode 100644index 000000000..16b8bf037--- /dev/null+++ b/prompts/road-to-1b/21-trading-intelligence-suite.md@@ -0,0 +1,40 @@+# 21 — Trading & intelligence suite++> Part of **Road to $1B** (`prompts/road-to-1b/`). Read `00-README.md` and `/CLAUDE.md` first.++**Phase:** 4 — Surface completeness+**Owns:** Oracle (`workers/oracle/`, `api/oracle/`), Coin Radar, Smart Money Radar, Trader Leaderboard, Sniper Arena (`workers/agent-sniper/`), Strategy Lab, Watchlist, Live Trade Feed, Agent Activity; `api/pump/`.+**Depends on:** Phase 0–1, 10 (external resilience). · **Parallel-safe with:** 18–20, 22–24.++## Why this matters for $1B+The intelligence suite is the platform's daily-active-use magnet — provable trader+track records, conviction scoring, live feeds. Accuracy and uptime here build the+reputation a $1B platform runs on. Errors must never invent data.++## Mission+Make every trading/intelligence surface accurate, live, resilient, and honest about+its data — with designed states when upstreams degrade.++## Do this+1. **Oracle** (`workers/oracle/`, `api/oracle/`): one fused conviction score per launch+ is computed from real signals; the worker is reliable and its output is timestamped+ and explainable. Verify "Arm your agent" simulate-then-go-live path is real.+2. **Live feeds** (Live Trade Feed, Coin Radar, Live Stream, Agent Activity): real+ pump.fun data, reconnect/backoff on socket drop, no duplicated or stale rows.+3. **Leaderboards & track records** (Trader Leaderboard, Claim Your Wallet): rankings+ are provable and reproducible; a claimed wallet shows a verifiable record.+4. **Classification** (Coin Intelligence, bundle-vs-organic, scoring): document the+ method; never present a guess as a fact.+5. **Strategy Lab / Watchlist:** backtests run on real history; watchlist market caps+ and graduation status are live.+6. All surfaces: designed loading/empty/error states; rate-aware (prompt 08); resilient+ to RPC/feed failure (prompt 10) — degrade with a clear notice, never a blank or a lie.++## Must-not+- No fabricated scores, ranks, PnL, or hold times; no silent stale data.+- Do not reference any coin other than $THREE in copy/fixtures (prompt 04).++## Acceptance+- [ ] Oracle, feeds, leaderboards, classification, and backtests run on real data, live.+- [ ] Degraded-upstream states are designed and honest; reconnect logic verified.+- [ ] `npm test` green; changelog `feature`/`improvement` entry.diff --git a/prompts/road-to-1b/22-launch-suite.md b/prompts/road-to-1b/22-launch-suite.mdnew file mode 100644index 000000000..cd0823e02--- /dev/null+++ b/prompts/road-to-1b/22-launch-suite.md@@ -0,0 +1,39 @@+# 22 — Launch suite++> Part of **Road to $1B** (`prompts/road-to-1b/`). Read `00-README.md` and `/CLAUDE.md` first.++**Phase:** 4 — Surface completeness+**Owns:** Launch a Coin (pump.fun launcher), Launchpad Studio, Coin Intelligence, Claim Your Wallet; `api/pump/[action].js` (`launch-prep`, `launch-agent`, `launches`), `pump_agent_mints`.+**Depends on:** Phase 0–1, 07 (security), 24 (wallets). · **Parallel-safe with:** 18–21, 23.++## Why this matters for $1B+Launching is a money-moving, irreversible action. It must be airtight, transparent, and+honest. This is also where the two CLAUDE.md $THREE exceptions live (the generic+launcher + platform launch directories) — they must be preserved exactly and not turned+into endorsements of any non-$THREE coin.++## Mission+Make the full launch lifecycle — prep, launch, track, claim — real, safe, and clearly+presented, with correct handling of the runtime-data coin exceptions.++## Do this+1. **Launch a Coin:** the pump.fun launcher accepts a user-supplied mint/params, with+ input validation, amount/price sanity bounds, idempotency, and a confirmation step+ (ties to prompt 07). Real on-chain result, designed error/success states.+2. **Launchpad Studio:** building a white-label hosted launchpad page works end to end+ and the published page is real and reachable.+3. **Launches feed / history** (`/api/pump/launches` over `pump_agent_mints`,+ agent-profile launch history): renders user-launched coins from platform records+ only — verify this exception stays runtime-data-only, never a hardcoded mint.+4. **Coin Intelligence:** classification + learning score presented honestly (ties 21).+5. **Claim Your Wallet:** verified pump.fun track record publishes as a Trader Card.+6. Confirm no non-$THREE coin is promoted/recommended anywhere in copy (prompt 04).++## Must-not+- No launch without validation, bounds, idempotency, and explicit confirmation.+- Do not hardcode or market any specific non-$THREE mint; keep the two exceptions intact.++## Acceptance+- [ ] Launch prep → launch → appears in feed/history verified with real on-chain action.+- [ ] Launchpad pages publish; Claim → Trader Card works; states designed.+- [ ] Money-path invariants (bounds/idempotency/confirmation) present; `npm test` green; changelog entry.diff --git a/prompts/road-to-1b/23-worlds-coinclash-multiplayer.md b/prompts/road-to-1b/23-worlds-coinclash-multiplayer.mdnew file mode 100644index 000000000..026b94736--- /dev/null+++ b/prompts/road-to-1b/23-worlds-coinclash-multiplayer.md@@ -0,0 +1,38 @@+# 23 — Worlds, Coin Clash & multiplayer++> Part of **Road to $1B** (`prompts/road-to-1b/`). Read `00-README.md` and `/CLAUDE.md` first.++**Phase:** 4 — Surface completeness+**Owns:** Worlds (every coin a 3D world), Coin Clash (token-gated warfare), `multiplayer/`, presence/realtime layers.+**Depends on:** Phase 0–1, 14 (mobile), 24 (token gating). · **Parallel-safe with:** 18–22.++## Why this matters for $1B+Worlds and Coin Clash are the retention and virality engines — social, live, "drop in+and hang out." Multiplayer that desyncs, lags, or gates incorrectly kills the magic.+Done right, these are the daily-return habit a $1B platform needs.++## Mission+Make the realtime social surfaces stable, synchronized, correctly token-gated, and+performant on mobile.++## Do this+1. **Worlds:** each coin renders as a real, navigable 3D world; entering/leaving is+ smooth; presence (who's here) is accurate. Verify the `multiplayer/` server+ (Colyseus) handles join/leave, reconnect, and state sync without drift.+2. **Coin Clash:** token-gated enlistment is enforced server-side (hold a coin → enlist+ → battle); the live battle state is synchronized across clients with no desync.+3. **Realtime resilience:** reconnect with backoff on disconnect; handle 0 players, many+ players, and a player dropping mid-action; cap room sizes.+4. **Performance:** 3D worlds run acceptably on mid-tier mobile (ties prompt 12/14);+ degrade gracefully on weak hardware.+5. Designed states for empty worlds, loading, connection-lost, and full rooms.+6. Anti-abuse on realtime endpoints (ties prompt 08): no message floods, no spoofed+ gating.++## Must-not+- No client-trusted token gating; no unbounded rooms; no silent desync.++## Acceptance+- [ ] Join/battle/leave synchronized across clients; reconnect verified; gating server-enforced.+- [ ] Mobile performance acceptable; all realtime states designed.+- [ ] `npm test` green; changelog `feature`/`improvement` entry.diff --git a/prompts/road-to-1b/24-wallets-and-payments.md b/prompts/road-to-1b/24-wallets-and-payments.mdnew file mode 100644index 000000000..16d244937--- /dev/null+++ b/prompts/road-to-1b/24-wallets-and-payments.md@@ -0,0 +1,41 @@+# 24 — Wallets & payments (x402, agent wallets, USDC, pay-by-name)++> Part of **Road to $1B** (`prompts/road-to-1b/`). Read `00-README.md` and `/CLAUDE.md` first.++**Phase:** 4 — Surface completeness+**Owns:** `api/_lib/agent-wallet.js`, `api/x402/` (incl. `api/x402/pay-by-name.js`), `agent-payments-sdk/`, SNS pay-by-name, the send/fund/trade flows.+**Depends on:** Phase 0–1, 07 (security), 08 (limits). · **Parallel-safe with:** 18–23.++## Why this matters for $1B+This is the money layer — agent wallets, x402 paid calls, USDC transfers, pay-by-name.+It custodies funds and moves value. One authz or rounding bug is an existential event.+It is also the differentiator: agents that can earn and spend autonomously.++## Mission+Make every wallet and payment path correct, owner-authorized, idempotent, and clearly+presented — across x402, USDC sends, funding, trading, and pay-by-name.++## Do this+1. **Ownership:** confirm the one-agent-one-owner model (immutable `user_id`); only the+ owner can withdraw, set limits, or rebrand. Audit every wallet-mutating endpoint+ server-side (ties prompt 07).+2. **x402:** paid-endpoint flow (`api/x402/`, `api/_lib/x402-paid-endpoint.js`) returns+ correct 402 challenges and settles real USDC; verify discovery/indexing still works+ (CDP Bazaar / x402scan). Pay-by-name (`api/x402/pay-by-name.js`, `*.threews.sol`)+ resolves and pays the right address.+3. **Transfers/funding/trading:** the send-usdc, fund, and trade flows complete with+ real balances; amount bounds + idempotency keys prevent double-spend; prices are+ recomputed server-side.+4. **SDK:** `agent-payments-sdk/` builds and its public API matches the live endpoints+ (ties prompt 25).+5. **UX:** designed states for insufficient balance, network failure mid-transfer,+ pending/confirmed; clear receipts; never a silent money failure.++## Must-not+- No client-trusted identity, amount, or price on any money path.+- No transfer/mint without idempotency; no leaking keys to logs (prompt 05).++## Acceptance+- [ ] Owner-only mutations enforced; x402 + pay-by-name + send/fund/trade verified with real funds (or testnet where appropriate).+- [ ] Idempotency + server-side price recomputation + amount bounds in place; states designed.+- [ ] `npm test` green; changelog `feature`/`security` entry.