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
Wire custodial Copy Trading page into routing + nav; close out mirror task
nirholas13c8e9139054
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 64938671d..11cd823a2 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -23,6 +23,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Improvement: Animation Studio recovers your unsaved animation after a refresh or closed tab** — Posing a figure and keyframing a timeline in the Animation Studio is real work — and until now none of it touched your account until you pressed Save, so an accidental tab close or browser refresh could wipe it. The Studio now quietly keeps a local backup of your in-progress animation as you work, and warns you before you leave with unsaved keyframes. Come back later and it offers the recovered timeline right where you left off — 'Recovered your unsaved animation — 6 keyframes.' Saving to your account or opening a saved clip clears the backup, and an explicit shared link still wins. No work lost between sessions. (`/pose`) `[improvement, feature]`- **Improvement: Base USDC payments confirm even when an RPC provider is flaky** — When you pay for a skill or asset in USDC on Base, the platform double-checks your payment landed on-chain before unlocking it. That check used to read from a single blockchain provider — so if that one provider was briefly slow or rate-limited, a payment that had genuinely gone through could look stuck as 'pending' until you retried. It now reads through the same multi-provider failover the rest of the platform already uses: if one provider is down it automatically tries the next, and a momentary outage degrades to a safe, retryable state instead of stranding a confirmed payment. Your funds were never at risk either way; this makes the confirmation itself resilient. `[improvement, infra]`- **Improvement: every server error now hands you a support reference code** — When something fails on our side, the response no longer just says 'something went wrong' — it now carries a short reference code (e.g. 'quote ref a1b2c3d4 to support'). That same code is attached to the exact server log line, our error tracker, and the ops alert that pages the team, so one code maps to one incident. This was already true for most API responses; we extended it to the remaining surfaces that previously failed silently — the RSS announcements feed, sitemaps, the MCP payment flow, on-chain permission checks, and the Solana RPC proxy — so any failure you hit is traceable. Nothing changes when things work; this only makes the rare error far faster to diagnose. `[improvement, infra]`+- **Mirror a proven agent and yours trades alongside it — Copy Trading, fully custodial** — Follow a high-performing agent and your own agent now mirrors its real on-chain trades automatically — proportionally, and strictly inside the spend policy you already set. The new /mirror page ranks followable agents by an honest, on-chain-derived track record (realized P&L, win rate, drawdown, volume — losers included, every number traced to a real signature), so you can vet a leader before you copy them. Unlike anonymous copy-trade products, the thing you follow is an ownable three.ws agent with a face, a voice, and its own real funds at stake. Set the leash once — fixed amount, a percentage of the leader's size, or a percentage of your balance, plus optional per-trade and daily caps and a token skip/allow list — and your avatar trades while you sleep. Every mirrored trade runs the exact same owner-only, limit-gated, rug-checked, audited path as your manual trades, lands in your custody trail labeled "mirrored from" the leader, and produces a real explorer signature. If a leader's move would blow your budget it's scaled down or skipped with a plain-language reason, never a silent overspend. Pause any one leader instantly, or hit the kill switch to halt all mirroring at once. Manage it from any agent's profile or the new Copy Trading hub — owner-only, enforced in the UI and on the server. (`/mirror`) `[feature]`- **More uploaded avatars animate out of the box — no more accidental T-poses** — Avatars exported from Reallusion Character Creator 3/4 and 3ds Max (Biped) used to import frozen in a stiff T-pose because the platform didn't recognize their skeleton naming. Both are now mapped to the universal rig, so a CC or Biped avatar walks, idles, and emotes like any other — legs included — the moment you bring it in. A batch of generic side-labelled rigs from auto-riggers now animate too. No setup, no allowlist; it just moves. `[fix, improvement]`- **New: a server error now lands you on a real page — with your support code ready to copy** — On the rare occasion something breaks on our side, you used to get the host's blank error screen — a dead end. Now you land on a proper three.ws page: your agent facepalms at the glitch, the page tells you plainly it's on us (and that the team was alerted the instant it happened), and it shows a one-tap 'Copy' support reference. 'Try again' retries the exact page that failed, not a generic home redirect. Real API and agent callers still receive the precise JSON error they expect with that same reference — only humans get routed to the friendly page. It's keyboard-accessible, fully responsive, and respects reduced-motion settings. `[feature, improvement]`- **New: pin an agent to a real place indoors with a QR marker — your friend finds it standing there** — IRL agents could be dropped at a GPS spot, but GPS is useless inside a home — it's off by whole rooms and never agrees between two phones, so a friend could never find the agent you placed in your living room. Marker mode fixes that. Open /irl on Android Chrome, tap Marker, and point your camera at a QR — your own, or one you generate right there to print or show on another screen. Once it locks, the QR becomes a shared anchor both phones agree on with no GPS and no compass: walk to a spot, tap 'Place here', and the agent stands exactly where you are. Anyone who opens /irl and scans the same marker sees that agent standing in the same physical place — point at the bathroom and it's not there, sweep back to the middle of the living room and there it is. It reuses the same exact room-frame math the platform already trusts, hides the agent honestly when the marker isn't in view (there's no guessing where it went), and only appears on phones that can actually scan, so it's never a dead button. (`/irl`) `[feature]`diff --git a/data/changelog.json b/data/changelog.jsonindex c9681a0d0..5dba69249 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,15 @@{"$comment": "Curated changelog entries for three.ws — the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-06-23",+ "title": "Mirror a proven agent and yours trades alongside it — Copy Trading, fully custodial",+ "summary": "Follow a high-performing agent and your own agent now mirrors its real on-chain trades automatically — proportionally, and strictly inside the spend policy you already set. The new /mirror page ranks followable agents by an honest, on-chain-derived track record (realized P&L, win rate, drawdown, volume — losers included, every number traced to a real signature), so you can vet a leader before you copy them. Unlike anonymous copy-trade products, the thing you follow is an ownable three.ws agent with a face, a voice, and its own real funds at stake. Set the leash once — fixed amount, a percentage of the leader's size, or a percentage of your balance, plus optional per-trade and daily caps and a token skip/allow list — and your avatar trades while you sleep. Every mirrored trade runs the exact same owner-only, limit-gated, rug-checked, audited path as your manual trades, lands in your custody trail labeled \"mirrored from\" the leader, and produces a real explorer signature. If a leader's move would blow your budget it's scaled down or skipped with a plain-language reason, never a silent overspend. Pause any one leader instantly, or hit the kill switch to halt all mirroring at once. Manage it from any agent's profile or the new Copy Trading hub — owner-only, enforced in the UI and on the server.",+ "tags": [+ "feature"+ ],+ "link": "/mirror"+ },{"date": "2026-06-23","title": "Steadier 3D generation and token stats when free providers get busy",diff --git a/prompts/agent-wallets/09-mirror-copy-trade.md b/prompts/agent-wallets/09-mirror-copy-trade.mddeleted file mode 100644index dff1ce354..000000000--- a/prompts/agent-wallets/09-mirror-copy-trade.md+++ /dev/null@@ -1,89 +0,0 @@-# Task 09 — Mirror / Copy-Trade Social Graph (follow a wallet, your agent mirrors it)--> **Read [00-README-orchestration.md](./00-README-orchestration.md) first** — the-> invention bar, ownership model, tokens, real APIs, hard rules, and the "improve-> then delete this file" close-out. Depends on the trade execution engine-> (**task 05**) and the wallet identity layer (**task 01**). Anything autonomous here-> is owner-only, spend-gated, and audited — read "safe by construction" twice.--## Mission--Turn the network of agent wallets into a **live copy-trading social graph**. Follow a-high-performing agent; when *its* wallet makes a real on-chain move, *your* agent-mirrors it — proportionally, and strictly within *your* spend policy. The leaderboard-of agents stops being vanity and becomes an investable signal, and your avatar becomes-an autonomous-but-leashed fund manager.--Why only three.ws: every "trader" you'd copy is itself a real, ownable, transparent-agent wallet with a public, real track record — not an anonymous address. You copy a-*character* with a verifiable history, and your character executes, under your limits.--## What exists (read it before building)--- Execution engine: task-05 `POST /api/agents/:id/solana/trade` — the only way your- agent trades. Mirroring calls it; it never bypasses the spend guard or audit.-- Real activity to mirror: `GET /api/agents/:id/solana/activity` and Solana RPC /- parsed transactions in [api/_lib/agent-wallet.js](../../api/_lib/agent-wallet.js) —- the real source of a followed agent's swaps. Holdings/prices for proportional- sizing: `.../solana/holdings`, `.../solana`.-- Spend policy: `.../solana/limits` — your daily/per-tx caps bound every mirrored- trade. Real track records (P&L, win rate) come from task 05's persisted fills.--## How it must work--1. **Follow graph (real, persisted).** Build the follow relationship server-side- (a real table: follower agent, leader agent, sizing rule, enabled). Owner-only to- create/edit for your own agents. Expose follower/following counts on the wallet- identity layer.-2. **Detect real leader trades.** Watch the leader's real on-chain activity (poll the- activity endpoint / RPC efficiently, or a real webhook if available). Detect a real- swap — mint, direction, size — from confirmed chain data only.-3. **Size within your limits.** Translate the leader's trade into yours by a real- rule (fixed amount, % of the leader's size, or % of your balance), then run it- through your spend policy. If it would exceed your budget, scale down or skip and- tell the owner honestly — never silently overspend.-4. **Execute via the real engine, fully audited.** Mirrored trades go through the- task-05 path (reason: `mirror`), produce real signatures, and are clearly labeled- in your custody trail and activity as "mirrored from @leader." Owner can pause or- stop following instantly; a kill-switch halts all mirroring at once.-5. **Verifiable track records.** A leader's stats (real P&L, win rate, drawdown,- volume) come from real fills — never inflated, never fake. Show the honest numbers,- including losers.--## Innovation mandate--- **Copy a character, not an address.** The thing you follow has a face, a voice, a- history, and skin in the game (its own real funds). That trust surface doesn't exist- on any copy-trade product today.-- **Leashed autonomy as a selling point.** The spend policy is what makes "my agent- trades while I sleep" sane. Surface the leash prominently: "mirroring @leader, max- 0.5 SOL/trade, 2 SOL/day, you can stop anytime." Safety is the feature.-- **Performance-weighted discovery.** Rank followable agents by real, verified- performance from real fills, with honest risk stats. Make finding a good leader- delightful — and make over-performance claims impossible because every number is- on-chain-derived.-- Invent beyond this where it raises the bar — but no simulated leader, no fake fill,- no backfilled track record. Every mirrored trade is a real tx within real limits.--## States & edge cases (all designed)--Leader makes a trade you can't afford (scale down or skip + notify); leader trades a-token you've allowlisted out (skip, explain); rapid-fire leader trades (debounce /-queue within limits, never blow the daily cap); leader wallet goes dormant; you stop-following mid-trade (in-flight tx completes, no new ones start); circular follows;-following your own agent; leader's track record with 0 trades (honest "no history");-network failure during detection or execution (reconcile against real chain state,-never double-execute); visitor cannot configure mirroring on agents they don't own.--## Definition of done--Per the orchestration README. Plus: a real follow relationship persists; a real-leader swap is detected and produces a **real** mirrored trade in the follower's-wallet (devnet acceptable), correctly sized within the follower's spend policy and-labeled in the custody trail; the kill-switch instantly halts mirroring; leader-track records show real, on-chain-derived stats; owner-only enforced in UI and-server; no console errors; responsive.--When done: self-review + improvement pass, changelog entry, commit (explicit paths-only, push to **both** remotes if asked), then **delete this file**-(`prompts/agent-wallets/09-mirror-copy-trade.md`).diff --git a/public/changelog.json b/public/changelog.jsonindex 2b90118ad..f23807489 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-23T04:37:30.760Z",+ "generated_at": "2026-06-23T04:56:30.794Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -180,6 +180,16 @@"infra"]},+ {+ "date": "2026-06-23",+ "type": "update",+ "title": "Mirror a proven agent and yours trades alongside it — Copy Trading, fully custodial",+ "summary": "Follow a high-performing agent and your own agent now mirrors its real on-chain trades automatically — proportionally, and strictly inside the spend policy you already set. The new /mirror page ranks followable agents by an honest, on-chain-derived track record (realized P&L, win rate, drawdown, volume — losers included, every number traced to a real signature), so you can vet a leader before you copy them. Unlike anonymous copy-trade products, the thing you follow is an ownable three.ws agent with a face, a voice, and its own real funds at stake. Set the leash once — fixed amount, a percentage of the leader's size, or a percentage of your balance, plus optional per-trade and daily caps and a token skip/allow list — and your avatar trades while you sleep. Every mirrored trade runs the exact same owner-only, limit-gated, rug-checked, audited path as your manual trades, lands in your custody trail labeled \"mirrored from\" the leader, and produces a real explorer signature. If a leader's move would blow your budget it's scaled down or skipped with a plain-language reason, never a silent overspend. Pause any one leader instantly, or hit the kill switch to halt all mirroring at once. Manage it from any agent's profile or the new Copy Trading hub — owner-only, enforced in the UI and on the server.",+ "link": "/mirror",+ "tags": [+ "feature"+ ]+ },{"date": "2026-06-23","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex 3230f36bf..6eeee440d 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -142,6 +142,14 @@<category>improvement</category><description>When something fails on our side, the response no longer just says 'something went wrong' — it now carries a short reference code (e.g. 'quote ref a1b2c3d4 to support'). That same code is attached to the exact server log line, our error tracker, and the ops alert that pages the team, so one code maps to one incident. This was already true for most API responses; we extended it to the remaining surfaces that previously failed silently — the RSS announcements feed, sitemaps, the MCP payment flow, on-chain permission checks, and the Solana RPC proxy — so any failure you hit is traceable. Nothing changes when things work; this only makes the rare error far faster to diagnose.</description></item>+ <item>+ <title>Mirror a proven agent and yours trades alongside it — Copy Trading, fully custodial</title>+ <link>https://three.ws/mirror</link>+ <guid isPermaLink="false">2026-06-23:Mirror a proven agent and yours trades alongside it — Copy Trading, fully custodial</guid>+ <pubDate>Tue, 23 Jun 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>Follow a high-performing agent and your own agent now mirrors its real on-chain trades automatically — proportionally, and strictly inside the spend policy you already set. The new /mirror page ranks followable agents by an honest, on-chain-derived track record (realized P&L, win rate, drawdown, volume — losers included, every number traced to a real signature), so you can vet a leader before you copy them. Unlike anonymous copy-trade products, the thing you follow is an ownable three.ws agent with a face, a voice, and its own real funds at stake. Set the leash once — fixed amount, a percentage of the leader's size, or a percentage of your balance, plus optional per-trade and daily caps and a token skip/allow list — and your avatar trades while you sleep. Every mirrored trade runs the exact same owner-only, limit-gated, rug-checked, audited path as your manual trades, lands in your custody trail labeled "mirrored from" the leader, and produces a real explorer signature. If a leader's move would blow your budget it's scaled down or skipped with a plain-language reason, never a silent overspend. Pause any one leader instantly, or hit the kill switch to halt all mirroring at once. Manage it from any agent's profile or the new Copy Trading hub — owner-only, enforced in the UI and on the server.</description>+ </item><item><title>More uploaded avatars animate out of the box — no more accidental T-poses</title><link>https://three.ws/changelog</link>diff --git a/public/features.json b/public/features.jsonindex cff622782..338fb3295 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-23T04:37:30.742Z",+ "generated_at": "2026-06-23T04:56:30.710Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/public/nav-data.js b/public/nav-data.jsindex c9973d7d6..2db42428a 100644--- a/public/nav-data.js+++ b/public/nav-data.js@@ -99,6 +99,12 @@ export const NAV_GROUPS = [badge: 'New',desc: 'Live, platform-wide feed of real agent wallet activity — tips, launches, trades & payments',},+ {+ title: 'Copy Trading',+ href: '/mirror',+ badge: 'New',+ desc: 'Follow a proven agent by its honest on-chain track record — your agent mirrors its trades within your spend policy',+ },{ title: 'Agents Index', href: '/agents', desc: 'Browse every registered agent' },{ title: 'Marketplace', href: '/marketplace', desc: 'Buy, sell & remix agents' },{ title: 'Avatar Gallery', href: '/gallery', desc: 'Every public 3D avatar' },diff --git a/vercel.json b/vercel.jsonindex 0a8421679..1afd9f65f 100644--- a/vercel.json+++ b/vercel.json@@ -676,6 +676,10 @@"src": "/leaderboard/?","dest": "/leaderboard.html"},+ {+ "src": "/mirror/?",+ "dest": "/mirror.html"+ },{"src": "/mint-success/?","dest": "/mint-success.html"