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.

Add vanity wallet suite and walk avatar system documentation; implement exit signal engine tests

nirholas399257d8625d
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ea63bc996..0399897ad 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Oracle coin pages now show full live market data** — Open any coin in the Oracle and you now get its complete live market picture next to the conviction score — real-time price with 5-minute, 1-hour, 6-hour and 24-hour changes, market cap, fully-diluted value, liquidity, 24-hour volume, holder count and supply. Pre-graduation pump.fun coins show a bonding-curve progress bar; graduated coins show their all-time-high market cap. A security panel flags whether the mint and freeze authorities are revoked, whether metadata is locked, any transfer tax, and top-10 holder concentration. Listed coins add their CoinGecko rank plus all-time high and low, and every coin lists its live DEX markets and social links. It's fused in real time from DexScreener, pump.fun, GeckoTerminal, GoPlus, Birdeye and CoinGecko, with graceful fallback if any single source is down. (`/oracle`) `[feature, improvement]`
- **Oracle now holds a creator's launch history against the score** — The conviction engine was designed to read a coin creator's track record — a dev with three or more launches and zero graduations caps the final score at 45, while a creator who has shipped graduated coins earns a pedigree boost. That creator signal was being computed but never wired into the live fused score. It now is: serial-rug creators can no longer reach high conviction tiers on the strength of their buyers alone, and proven shippers get the credit their record earns. (`/oracle/docs`) `[fix]`
- **Oracle now tells you how much a score can be trusted** — Every conviction verdict now ships a data-confidence reading — a 0–100 score of how much of the read rests on real observed data versus defaulted inputs, weighted the same way the four pillars are. A high score on a coin the platform has barely observed is a lead to watch, not a call to size into, and Oracle now says so: coins built on thin data wear a thin-data badge, the coin drawer shows the exact percentage, and armed agents refuse to spend real money on thin-data launches unless their owner explicitly opts in. Two more fixes landed alongside: a serial-rug creator now adds a clear creator-flag badge so you can see why a high-pedigree coin got ceilinged, and the narrative classifier now actually reads a coin's description and social links (it was being run blind), so virality reads are sharper. (`/oracle/docs`) `[improvement, fix]`
+- **Oracle now tells your agent when to get out, not just when to get in** — Oracle's agent loop was entry-only — it decided what to buy, then held every position until the coin resolved, win or lose. It now manages the exit too. Every open position is re-checked against the coin's live conviction, and a new exit engine flags when the thesis has broken: the position hit its take-profit multiple, a red flag surfaced that wasn't there at entry (a bundle structure or a creator rug history), smart money started unwinding, or conviction collapsed below your floor. The call shows up right on the position row with the reason, and it ships in the agent-facing status read too, so an autonomous agent can close a broken position itself instead of riding it to zero. (`/oracle/docs`) `[feature]`
- **Press I on any avatar to see who they really are** — Every 3D world now has an avatar inspector. Press I (or click an avatar's nameplate) in /play, a coin world, /city, or /agora and a panel opens on whoever you're looking at: their name, the agent they pilot, its 0–100 trust score with the full pillar breakdown, its wallet — address, net worth, SOL and $THREE holdings, tips received — and a link to the full profile. Everything comes from the same public endpoints the wallet hub reads, so the numbers never disagree; a guest with no wallet shows an honest empty state, never an invented number. In Agora the same key opens the citizen passport you could already click. (`/play`) `[feature]`
- **Sign-in: fixed a hidden check that could silently block the Sign in button** — The proof-of-human puzzle that only appears after repeated failed sign-ins was being placed on the page from the very first load, even while hidden. Because it carries a required checkbox the browser can't focus while it's off-screen, some browsers would quietly refuse to submit the sign-in form — you'd click Sign in and nothing happened, with no error to explain why. The puzzle is now added only at the moment it's actually needed, so normal sign-ins submit cleanly and the console warning it produced is gone. (`/login`) `[fix]`
diff --git a/api/_lib/oracle/exit.js b/api/_lib/oracle/exit.js
new file mode 100644
index 000000000..c13ad7bfa
--- /dev/null
+++ b/api/_lib/oracle/exit.js
@@ -0,0 +1,79 @@
+// Oracle — exit-signal engine (pure).
+//
+// The agent action loop is entry-only: evaluateWatch decides what to BUY. Once in,
+// a position was only ever settled passively, when the coin finally resolved
+// (graduated / rugged / ATH known). That leaves the hardest half of a strategy —
+// when to GET OUT — unmanaged: a coin whose thesis breaks the minute after entry
+// is held to the bitter end.
+//
+// This module closes that gap. Given an open position and the coin's CURRENT
+// conviction + market read, it produces an explicit exit call: a boolean, the
+// trigger that fired, a plain-language reason, and an urgency the UI/alerts can
+// rank on. It is PURE and fully unit-tested — the caller owns the I/O (loading the
+// current verdict) and the action (alerting the owner, or, for an autonomous
+// agent, selling). The triggers are ordered by decisiveness: realize a win first,
+// cut a hard loss next, then bail on red flags and a broken thesis.
+
+const num = (v, d = 0) => (Number.isFinite(Number(v)) ? Number(v) : d);
+
+/** Default exit policy. Callers override per-watch; these are conservative. */
+export const DEFAULT_EXIT_CFG = Object.freeze({
+ takeProfitMultiple: 3, // realize at +3× on the position's entry market cap
+ stopLossMultiple: 0, // 0 disables a hard multiple stop
+ exitBelowScore: 45, // exit if conviction collapses below this (watch/avoid)
+ maxConvictionDrop: 20, // exit if conviction falls this many points from entry
+});
+
+/**
+ * Decide whether an open position should be exited.
+ *
+ * @param {object} args
+ * @param {object} args.position { entryConviction, entryTier }
+ * @param {object} args.current { score, tier, badges, multiple, smartMoneyExiting }
+ * `multiple` = current market cap / entry market cap
+ * (omit when unknown — profit/stop triggers just skip).
+ * @param {object} [args.cfg] policy overrides (see DEFAULT_EXIT_CFG)
+ * @returns {{exit:boolean, trigger:string|null, reason:string, urgency:'none'|'normal'|'high'}}
+ */
+export function evaluateExit({ position = {}, current = {}, cfg = {} } = {}) {
+ const c = { ...DEFAULT_EXIT_CFG, ...cfg };
+ const entry = num(position.entryConviction, NaN);
+ const cur = num(current.score, entry);
+ const multiple = num(current.multiple, NaN);
+ const badges = Array.isArray(current.badges) ? current.badges : [];
+
+ // 1. Take profit — realize the win before it round-trips.
+ if (Number.isFinite(multiple) && num(c.takeProfitMultiple) > 0 && multiple >= c.takeProfitMultiple) {
+ return signal('take_profit', `up ${multiple.toFixed(1)}× — take profit`, 'normal');
+ }
+
+ // 2. Hard stop — cut a defined loss (opt-in; 0 disables).
+ if (Number.isFinite(multiple) && num(c.stopLossMultiple) > 0 && multiple <= c.stopLossMultiple) {
+ return signal('stop_loss', `down to ${multiple.toFixed(2)}× — stop loss`, 'high');
+ }
+
+ // 3. A red flag surfaced after entry — the structure or creator now reads dirty.
+ if (badges.includes('pedigree-flag')) {
+ return signal('red_flag', 'creator rug history surfaced — exit', 'high');
+ }
+ if (badges.includes('structure-flag')) {
+ return signal('red_flag', 'a structural red flag surfaced — exit', 'high');
+ }
+
+ // 4. Smart money is unwinding the position in real time — the pedigree thesis broke.
+ if (current.smartMoneyExiting) {
+ return signal('smart_money_exit', 'smart money is exiting the position', 'high');
+ }
+
+ // 5. Conviction collapse — the fused thesis fell apart.
+ if (Number.isFinite(cur) && cur <= num(c.exitBelowScore)) {
+ return signal('conviction_collapse', `conviction fell to ${Math.round(cur)} (below ${c.exitBelowScore})`, 'high');
+ }
+ if (Number.isFinite(entry) && (entry - cur) >= num(c.maxConvictionDrop)) {
+ return signal('conviction_drop', `conviction dropped ${Math.round(entry - cur)} pts from entry`, 'normal');
+ }
+
+ return { exit: false, trigger: null, reason: 'thesis intact — hold', urgency: 'none' };
+}
+
+function signal(trigger, reason, urgency) { return { exit: true, trigger, reason, urgency }; }
diff --git a/api/_lib/oracle/store.js b/api/_lib/oracle/store.js
index 68084e1e4..9ee03c5e7 100644
--- a/api/_lib/oracle/store.js
+++ b/api/_lib/oracle/store.js
@@ -9,6 +9,7 @@ import { assembleIntel, walletProfile, coinOutcome } from './sources.js';
import { classifyNarrative } from './narrative.js';
import { convict } from './conviction.js';
import { summarizeActions } from './settle.js';
+import { evaluateExit } from './exit.js';
import { knownWallet } from './known-wallets.js';
import { QUOTE_MINT_LIST, isQuoteMint } from '../quote-mints.js';
@@ -386,11 +387,12 @@ export async function purgeQuoteMints(network = 'mainnet') {
}
export async function recentActions(agentId, network = 'mainnet', limit = 50) {
- return sql`
+ const rows = await sql`
select a.mint, a.symbol, a.conviction, a.tier, a.mode, a.size_sol, a.status, a.reason,
a.tx_signature, a.peak_multiple, a.realized_pnl_sol, a.outcome, a.acted_at,
oc.score as current_score,
- oc.tier as current_tier
+ oc.tier as current_tier,
+ oc.badges as current_badges
from oracle_watch_actions a
left join oracle_conviction oc
on oc.mint = a.mint and oc.network = a.network
@@ -398,6 +400,24 @@ export async function recentActions(agentId, network = 'mainnet', limit = 50) {
where a.agent_id = ${agentId} and a.network = ${network}
order by a.acted_at desc limit ${Math.min(100, Math.max(1, limit))}
`.catch(() => []);
+
+ // Attach an exit signal to open positions whose thesis has since broken —
+ // completing the loop the entry-only agent leaves open. Uses the coin's current
+ // cached verdict (score, tier, badges); the live market multiple isn't joined
+ // here, so profit/stop triggers stay dormant and only the conviction/red-flag
+ // triggers fire from this read.
+ return rows.map((r) => {
+ const isOpen = !r.outcome || r.outcome === 'open';
+ let exit_signal = null;
+ if (isOpen && r.current_score != null) {
+ const sig = evaluateExit({
+ position: { entryConviction: r.conviction, entryTier: r.tier },
+ current: { score: r.current_score, tier: r.current_tier, badges: r.current_badges || [] },
+ });
+ if (sig.exit) exit_signal = { trigger: sig.trigger, reason: sig.reason, urgency: sig.urgency };
+ }
+ return { ...r, exit_signal };
+ });
}
/** Agent win-rate summary across all its actions. */
diff --git a/api/_mcp/tools/oracle.js b/api/_mcp/tools/oracle.js
index d35044465..3778c8e2e 100644
--- a/api/_mcp/tools/oracle.js
+++ b/api/_mcp/tools/oracle.js
@@ -342,15 +342,20 @@ export const toolDefs = [
},
track_record: summary || { total: 0, wins: 0, losses: 0, win_rate: null, realized_pnl_sol: 0 },
recent_actions: (actions || []).map((a) => ({
- mint: a.mint,
- symbol: a.symbol,
- tier: a.tier,
- conviction: a.conviction_score,
- size_sol: a.size_sol,
- mode: a.mode,
- outcome: a.outcome,
- pnl_sol: a.realized_pnl_sol,
- acted_at: a.acted_at,
+ mint: a.mint,
+ symbol: a.symbol,
+ tier: a.tier,
+ conviction: a.conviction,
+ current_score: a.current_score ?? null,
+ current_tier: a.current_tier ?? null,
+ size_sol: a.size_sol,
+ mode: a.mode,
+ outcome: a.outcome,
+ pnl_sol: a.realized_pnl_sol,
+ // Open-position exit call — an agent reading its own status can act
+ // on this to close a position whose thesis has broken.
+ exit_signal: a.exit_signal ?? null,
+ acted_at: a.acted_at,
})),
links: {
trader: `https://three.ws/trader/${agentId}`,
diff --git a/content/avatars-universal-animation.md b/content/avatars-universal-animation.md
new file mode 100644
index 000000000..7a740ca6e
--- /dev/null
+++ b/content/avatars-universal-animation.md
@@ -0,0 +1,188 @@
+# Avatars and universal animation: any humanoid moves on three.ws
+
+*Long-form X article. The complete story of the three.ws avatar system: why we built a universal rig instead of an allowlist, how bone canonicalization and runtime retargeting actually work, every surface that creates or animates an avatar, how an avatar becomes an agent with a wallet, developer examples, tutorials, and the honest limits. $THREE is the only coin.*
+
+The internet is full of dead 3D avatars. Every generator, scanner, and character tool exports a skeleton with its own private naming scheme, and the moment that file leaves the tool that made it, it stops moving. A Mixamo rig calls the pelvis `mixamorig:Hips`. An Unreal mannequin calls it `pelvis`. A VRoid model calls it `J_Bip_C_Hips`. A Daz figure calls it `hip`. Same joint, four spellings, and an animation authored for one plays on none of the others. So the web's answer has been the allowlist: support three or four blessed rigs, T-pose everything else. An avatar that cannot move is a statue, and most platforms are museums.
+
+three.ws took the opposite bet. Any humanoid avatar, from any tool, in any naming convention, drives the same shared animation library: idle, walk, dances, gestures, reactions, legs included. No curated rig list. A canonicalizer, a retargeter, and one honest gate. This is everything about how that works.
+
+## Why we built it
+
+Three reasons, in order of importance.
+
+**First, three.ws is a platform of embodied agents, and a body that does not move is not a body.** Agents here chat, trade, hold wallets, and walk around 3D worlds. Presence is the product. If a user scans their face and the result stands frozen in a bind pose, the platform failed at its first job.
+
+**Second, the allowlist approach does not scale.** New avatar tools ship monthly, each inventing or inheriting a skeleton convention. A platform that hand-integrates rigs is permanently behind; a platform that maps conventions once, in one module, absorbs every new tool with a table entry and a test. Our operating rule is written into the workspace itself: avatar animation is universal, no rig allowlist.
+
+**Third, the avatar is the front door to everything else.** An avatar on three.ws is not a profile picture. It becomes an agent with a custodial wallet, an on-chain identity, a reputation score, and a public track record, performing in coin worlds, on agent screens, in the club, and inside a one-line embed on your own site. Every one of those surfaces assumes the avatar can move. Universal animation is the load-bearing layer under the whole embodied economy.
+
+## The system at a glance
+
+The pipeline has five stages, and every avatar passes through them.
+
+1. **Create or import.** A selfie at /create/selfie, a camera scan at /scan, one photo of your father at /dad, a dropped GLB or pasted URL at /import/rpm, a text prompt in the forge, or a full build session in the avatar studio.
+2. **Canonicalize at ingest.** Before the GLB is stored, `src/glb-canonicalize.js` rewrites its joint names to the canonical bone set and, when needed, folds a baked axis rotation out of the armature. The stored file is already animation-ready.
+3. **Store and catalog.** The avatar gets an id, appears in the owner's account, and, if public, in the gallery at /gallery, backed by the live read at /api/avatars/public.
+4. **Retarget at runtime.** When any surface loads the avatar, `src/animation-retarget.js` rewrites each clip's tracks onto the rig's actual bones, corrects for its rest pose, and rescales root motion to its proportions.
+5. **Animate everywhere.** The same clip library drives the avatar in /play worlds, the agora, the club, agent screens, the /pose studio, the walkaround at /temporary, and every `<agent-3d>` embed on the open web.
+
+The rest of this article walks down into stages two and four, where the universality lives.
+
+## The canonical skeleton
+
+Every animation clip on three.ws addresses bones by one fixed vocabulary: a 52-bone canonical humanoid set, exported as `CANONICAL_BONES` in `src/glb-canonicalize.js`, mirroring the reference rig the clip library was baked against, the Avaturn-rigged `public/avatars/cz.glb`. Six torso and head bones, a four-bone arm chain per side, fifteen finger bones per hand, and a four-bone leg chain per side down to the toes. Legs and feet are first-class citizens of the set, which is why walks and dances retarget with the lower body moving, not just the arms. The clip library never learns any other spelling; every incoming rig is translated into this vocabulary.
+
+## Canonicalization: one function, every naming convention
+
+`canonicalizeBoneName()` reduces any recognized humanoid bone name to its canonical form. The conventions it resolves, all shipped and tested today:
+
+- **Mixamo**: `mixamorig:LeftArm`, `mixamorig1:LeftArm`, `mixamorigLeftArm`
+- **Blender**: `Armature_LeftArm` and `.L` / `.R` side suffixes like `upperarm.L`
+- **Rigify**: `DEF-`, `ORG-`, `MCH-` prefixed bones
+- **Maya, HumanIK, MotionBuilder, mocap**: namespaced joints like `Character1:Hips` and `subject:LeftUpLeg`
+- **Unreal mannequin**: `pelvis`, `clavicle_l`, `upperarm_l`, `thigh_l`, `calf_l`, `ball_l`
+- **VRM 0.x / VRoid**: `J_Bip_C_Hips`, `J_Bip_L_UpperArm`, finger chains where VRoid's "Little" is the canonical pinky
+- **VRM 1.0**: camelCase names like `upperChest`, `leftUpperArm`, `leftLowerLeg`
+- **Daz / Genesis**: `hip`, `abdomen`, `lShldr`, `lForeArm`, `lThigh`, `lShin`
+- **MakeHuman**: `upperarm.L`, `shin.L`, `clavicle.L`
+- **Reallusion Character Creator 3/4**: the `CC_Base_` prefix and neck twist joints
+- **3ds Max Biped**: `Bip01 Pelvis`, `Bip001 L UpperArm`
+- **Simple and auto-rigger conventions**: `shoulderL`, `elbowL`, `kneeL`, bare `L_Arm` side tokens, snake_case, kebab-case, plain lowercase
+
+Two details make this robust rather than merely long. Side-paired bones are declared once, as the left spelling, and the right twin is derived mechanically by swapping the side token, so the table cannot drift asymmetric. And exporter de-duplication suffixes, the `_01` and `.001` that glTF and Blender writers append to keep node names unique, are stripped only when the unstripped name failed to resolve, so a genuinely numbered finger bone never loses its index.
+
+The lookup runs in priority order: canonical and Mixamo spellings first, then the Unreal alias table, then the extended VRM, Daz, MakeHuman, and simple-rig table, so a later table can never shadow a canonical spelling. Anything that resolves to nothing, a sword prop, a tail, a quadruped spine, is deliberately left untouched: there is no safe automatic mapping for non-humanoid bones, and guessing would corrupt rigs a human rigged on purpose.
+
+`canonicalizeGLBBones()` applies this to a whole file: it parses the GLB container, renames only nodes referenced from `skins[].joints[]` so meshes, cameras, and lights keep their names, and repacks a valid GLB that swaps in one for one at the same storage key. This runs at ingest in the avatar upload action, the server-side auto-rigger, and the browser upload path, so every stored avatar already speaks the canonical vocabulary before any animation loads.
+
+## The orientation fold: killing the lying-down bug at ingest
+
+Bone names are half the problem. The other half is axis convention. Mixamo and FBX exports bake a rotation of positive 90 degrees around X onto the armature node and negative 90 onto the Hips; the net result stands upright, but a clip authored for an identity-Hips rig overwrites that Hips rotation and tips the whole body onto its back. This is the classic lying-down retarget failure, and most pipelines patch it at playback.
+
+We normalize it at ingest instead. `canonicalizeArmatureOrientation()` folds the armature's baked rotation down into its children, rotating each child's translation and pre-multiplying its rotation, then zeroes the armature; a counter-rotated Hips collapses to identity. The fold is verified, not assumed: the function snapshots every affected joint's world matrix before and after, and if any element moved beyond a tolerance of one part in ten thousand, the entire fold reverts. It also refuses non-uniform armature scale, because rotation only commutes with uniform scale. Stored avatars come out axis-aligned, and the mesh, whose inverse-bind matrices live in the untouched binary chunk, still resolves to exactly the same bind pose. All of this is covered by 28 tests in `tests/glb-canonicalize.test.js`, including real-fixture suites where the canonical reference rig round-trips byte for byte and a real Mixamo export normalizes correctly.
+
+## Runtime retargeting: the same clip on every body
+
+Canonical names get a clip's tracks pointed at the right bones. They do not make the motion look right, because rigs also differ in rest pose and proportions. `src/animation-retarget.js` handles both, and it is a pure module, three.js plus the canonicalizer and nothing else, so the identical code runs in the browser gallery, in Node under vitest, and in the server-side animation tool.
+
+**Rest-pose correction.** The library's clips store absolute local rotations measured on the authoring rig, which rests in an A-pose. A target rig may rest in a T-pose, or carry the Mixamo Hips convention. For each bone the retargeter computes a two-sided correction, a pre-factor and a post-factor built from the source and target local and world bind rotations, that replays the clip bone's motion as the same world-space rotation delta on the target's own rest pose. The naive one-sided fix, pre-multiplying by the local rest difference, skews an A-pose clip's limbs by roughly 30 degrees on a T-pose rig; the world-delta form eliminates that. A bone whose correction works out to identity is skipped entirely, so a rig that already matches the authoring convention round-trips bit for bit.
+
+**Root motion.** The retargeter rotates the hip position track into the target's hips-parent frame so a walk travels the same world direction on any armature, then scales it by the ratio of hip rest heights, clamped between 0.2 and 5 so a degenerate baseline cannot fling the root across the scene. Height is measured in the hips-parent's local units, not world units, and that matters: a Mixamo armature exported at scale 0.01 has a Hips local position near 100, and matching world heights there would collapse the hip track to about a centimeter of motion and sink the avatar into the floor.
+
+**The coverage floor.** A clip only ships to the mixer when at least half its tracks found a home on the target, the exported `MIN_COVERAGE` of 0.5. Below that, motion reads as a few twitching joints rather than a performance, so callers get an actionable failure instead. Dropped tracks are reported by canonical bone name; a rig without finger bones simply plays the clip without finger articulation.
+
+## The AnimationManager and the one honest gate
+
+`src/animation-manager.js` is the runtime every surface uses. On `attach(model)` it builds the canonical-to-node map once, captures the rig's local and world rest rotations while the model is still in its authored bind pose, measures the hips-parent frame and local rest height, then retargets clips lazily as requested, crossfading between them.
+
+The only gate in the whole system is `supportsCanonicalClips()`: the model must contain a skinned mesh and at least 8 canonicalizable bones. That is not an allowlist, it is a physics check; a rig below that floor genuinely cannot be skeleton-driven into a readable performance. Whatever fails the gate, a prop, a quadruped, an unskinned statue, falls back to the platform's default rig or its own authored animations, never a forced bind-pose T-pose. Every caller in the codebase, the agent screens, the club crowd, the pose studio, the world citizens, checks this same gate.
+
+Two more runtime layers matter:
+
+**The fallen-pose guard.** Before trusting a retargeted clip, the manager measures the tilt the clip's first Hips keyframe would impose on the rig. Healthy rigs across the test fixtures rest under about 18 degrees off vertical, locked in by an upright-invariant test suite, so the catastrophe floor sits at a generous 45 degrees. A clip that would put this particular rig on its back is disabled for this rig only, and reported with the avatar's id and URL so the mapping gap can be fixed at the source.
+
+**Additive upper-body overlays.** An agent that stops walking to wave reads as broken. Gestures can play as additive overlays on top of locomotion: the overlay clip is converted to additive blend mode and every track addressing a lower-body canonical bone is stripped, so the base layer owns the hips, legs, and feet while the overlay adds motion to the spine, arms, neck, and head. On top sits a small pure state machine, `src/animation-state-machine.js`, with idle, talk, walk, react, emote, listen, and think states, editable per agent so a creator can declare that their agent's idle is the dance clip.
+
+## The clip library and where clips come from
+
+The built-in library is pre-baked, on purpose. `scripts/build-animations.mjs` reads Mixamo FBX sources, retargets each onto the canonical reference skeleton, and writes one clip per animation into `public/animations/clips/`, rewriting the runtime manifest to point only at clips that survived retargeting. A clip that fails is dropped at build time, not shipped broken. The browser never parses FBX and never guesses bone names on a cold load; it fetches JSON clips and retargets them with the machinery above. The manifest currently lists 100 curated clips, grouped in the studio into categories from Idle and Locomotion through Dance, Gestures, Action, Sports, Reactions, Fitness, and Farming.
+
+Beyond the curated set, clips come from two live sources:
+
+- **The community.** Anyone can author motion in the Animation Studio at /pose, keyframe FK/IK poses on a timeline, save clips to their account, and publish them. The public gallery at /animations merges the built-in manifest with community clips from `GET /api/animations/clips?include_public=true&visibility=public`, previews every card on a live avatar, and deep-links each into the studio at `/pose?anim=<id>`.
+- **A text prompt.** `POST /api/forge-motion` takes a prompt like "a slow tai-chi sweep", a duration from 1 to 10 seconds, and a frame rate from 8 to 60, samples a motion-diffusion model on a GPU worker, and returns a three.js AnimationClip JSON on the canonical skeleton, the same format the curated library serves, so a generated clip retargets onto your avatar exactly like a preset. A warm generation takes roughly 10 to 30 seconds.
+
+Clips are also an economy. A creator can list a baked animation for sale in USDC, and buyers pay through the x402 download endpoint at `/api/x402/animation-download`, once per wallet, with free re-downloads after. Motion you author on the canonical skeleton is motion every avatar on the platform can buy and wear.
+
+Because every source lands in one canonical format, every clip from every source plays on every humanoid avatar. Each new clip works for all avatars; each new avatar works with all clips.
+
+## Where avatars come from
+
+Every creation surface feeds the same pipeline, so pick by input, not by capability.
+
+**A selfie: /create/selfie.** One frontal photo, side photos optional. The page downscales images client-side, submits to `POST /api/avatars/reconstruct`, and polls the status endpoint while showing your own photo on a placeholder body. About a minute later you have a rigged GLB that idles and walks. Bring-your-own-key support lets you run reconstruction on your own provider credits; the step-by-step version is the selfie-to-avatar tutorial in the docs. **/scan**, the 3D scanner, routes into the same reconstruction flow.
+
+**One photo of your dad: /dad.** The most sentimental pipeline on the platform, and every step is real: the photo is normalized client-side (phone HEIC included, under the 8 MB upload contract), uploaded through a presigned storage PUT, matted by a background-removal pass, reconstructed into a rigged GLB, and rendered in an `<agent-3d>` viewer that plays idle, walk, and wave, with a shareable permalink.
+
+**A file or a URL: /import/rpm.** Drop any .glb up to 100 MB or paste a GLB or glTF URL. Canonicalization runs on the upload path, so a Mixamo export, a VRoid model, or a hand-rigged Blender character comes out already speaking the canonical bone set. The upload-custom-glb tutorial covers the edge cases.
+
+**A full build session: /avatar-studio.** The complete character builder, a fork of the open-source M3-org CharacterStudio (MIT): face sculpting, body morphs, outfits, and accessories, assembled part by part. The /create wizard opens the same studio in an iframe and receives the exported GLB directly.
+
+**A map of the whole field: /avatar-engines.** An atlas of 24 open-source and commercial avatar-generation engines across five families, from photoreal Gaussian-splat heads to single-photo humans, each entry recording what it makes, what it eats, what its license permits, and exactly how, or whether, three.ws can use it. Licensing is load-bearing: non-commercial research engines are surfaced for self-hosting and flagged; only commercially licensed engines deep-link into the live generation pipeline.
+
+Everything public lands in the gallery at /gallery. And if you just want to feel the animation system, /temporary is Drive Your Avatar: a third-person walkaround, WASD on desktop and a joystick on mobile, driven by the same AnimationManager crossfading idle and walk, with an AR toggle that makes the canvas transparent and streams your phone's back camera behind it so the avatar walks across your actual floor.
+
+## From avatar to agent with a wallet
+
+This is where three.ws stops being an avatar tool and becomes a platform. An avatar you keep is a file. An avatar you promote to an agent is an economic actor.
+
+The promotion is nearly automatic: every new avatar committed through `POST /api/avatars` gets an agent identity provisioned alongside it, and creating an agent at /create mints custodial EVM and Solana wallets at insert time, private keys encrypted at rest under a dedicated wallet encryption key. The encryption is fail-closed: if the at-rest key is unavailable, the platform refuses to store secrets under a weaker fallback, creates the agent walletless, and provisions the wallet lazily and idempotently on first use. Fork any public avatar through `POST /api/avatars/fork` and the server copies the model, credits the original, and provisions the new agent's wallets in the same request. The agent gets a public profile, a brain, skills, and a body: the avatar, which now idles on its profile, performs on its live screen, and walks the platform's worlds.
+
+The wallet is not decorative. Agents pay and get paid through x402 endpoints, trade under server-enforced spend limits, and can be armed on the Oracle conviction engine to act on scored signals. The body and the ledger meet in one interface: in any world, press I near an avatar and the Avatar Inspector opens on them, pulling live data from `/api/agents/:id` for identity, `/api/agents/:id/reputation` for the 0 to 100 trust score, and `/api/agents/:id/solana/networth` for the wallet address and the USD, SOL, and $THREE portfolio. Every number is the same one every other surface shows, and a guest with no wallet renders as a designed empty state, never a fabricated balance. When you watch an agent celebrate a win on its screen, the celebration clip is retargeted by the exact machinery described above, and the win is real.
+
+## Who this is for
+
+**The person with a face and sixty seconds.** Take a selfie, get a body that already knows how to walk. You never hear the word "rig".
+
+**The character artist.** Your Blender, VRoid, or Character Creator export works here without renaming a single bone. Drop the GLB, watch it dance. A genuinely new convention becomes a table entry and a test, not a support ticket.
+
+**The developer.** One npm package puts a talking, animated, lipsyncing avatar on your site. The whole animation stack, canonicalizer and retargeter included, is plain importable JavaScript.
+
+**The agent owner.** Your agent's presence is its brand. The same avatar performs on its profile, its live screen, in the worlds, and in embeds, and one animation system guarantees it never freezes into a T-pose in front of an audience.
+
+## For developers: packages, endpoints, and code
+
+**Embed an avatar in two lines.** The official SDK is `@three-ws/avatar`, with `three` as the only required peer dependency:
+
+```html
+<script type="module">
+ import 'https://esm.sh/@three-ws/avatar';
+</script>
+
+<agent-3d avatarid="your-avatar-id"></agent-3d>
+```
+
+The `<agent-3d>` element is the full runtime: a built-in chat and voice loop, emotion morphs, audio-driven viseme lipsync, an `ios-src` attribute for USDZ AR Quick Look, and instance methods like `playGesture(name)` and `setMorph(name, weight)`. It performs canonicalize plus retarget internally, so any rigged humanoid GLB you point it at idles and walks with no per-rig code. For a pure preview, `@three-ws/avatar/viewer` registers a lightweight `<three-ws-viewer>` element; `@three-ws/avatar/react` ships `<Avatar>`, `<AgentAvatar>`, and a `useAvatar()` hook; and the `AvatarCreator` class opens the avatar studio in a modal iframe and resolves with a GLB Blob your app can upload.
+
+**Retarget a library clip yourself.** The engine is importable directly:
+
+```js
+import { retargetClipToObject, parseClipJSON } from './src/animation-retarget.js';
+
+const manifest = await fetch('https://three.ws/animations/manifest.json').then(r => r.json());
+const entry = manifest.find(c => c.name === 'walk');
+const clipJson = await fetch('https://three.ws' + entry.url).then(r => r.json());
+const clip = parseClipJSON(clipJson, 'walk');
+
+const { clip: bound, coverage, dropped } = retargetClipToObject(clip, myLoadedGltfScene);
+if (bound) mixer.clipAction(bound).play();
+else console.warn('coverage too low', coverage, dropped);
+```
+
+`coverage` tells you how much of the clip found bones, and `dropped` names exactly which canonical bones your rig lacks. No silent failure modes.
+
+**Verify an avatar manifest anywhere.** `@three-ws/avatar-schema` is the spec package: the bundled `avatar.v1.json` JSON Schema plus an Ajv-backed validator for the hash-anchored on-chain avatar manifest format, so a third-party viewer, indexer, or marketplace can resolve and verify a three.ws avatar without pulling in the runtime.
+
+**Read the catalogs.** Public avatars at `GET /api/avatars/public`. Community animation clips at `GET /api/animations/clips?include_public=true&visibility=public`. Generate motion from text with `POST /api/forge-motion` and poll `GET /api/forge-motion?job=<id>` until the clip URL arrives.
+
+## Three tutorials in one place
+
+**Face to moving avatar in about a minute.** Open three.ws/create/selfie. Take one frontal photo, add sides if you have them, submit, and watch the build. When it finishes you are looking at yourself, rigged. Click through to /pose and play the walk clip: your legs move, because the leg chain is part of the canonical set, not an afterthought.
+
+**Make a custom rig dance.** Export a character from your tool of choice, open three.ws/import/rpm, and drop the .glb. Ingest canonicalizes the bones and folds any baked axis rotation. Open the avatar in /pose and click a dance. If the studio reports low coverage, the report names the missing canonical bones, which tells you exactly what your export lacks. Full walkthrough: the upload-custom-glb and animate-your-avatar tutorials in the docs.
+
+**Author motion without animating.** In /pose, type a prompt into the motion generator, "waving confidently" or "a slow tai-chi sweep", pick a duration up to ten seconds, and generate. The result is a canonical clip like any preset: preview it on your avatar, scrub the speed, then export an animated GLB with the motion baked in, ready for any glTF viewer on earth.
+
+## The honest limits
+
+The universal claim has edges, and we publish them. Non-humanoid rigs, quadrupeds, props, and unskinned meshes are not skeleton-driven; they fall through the gate to the default rig or their own authored animations, a designed fallback, but your dragon will not do the rumba. A rig below 8 canonical bones or a clip below 50 percent track coverage is refused rather than mangled. Finger articulation drops silently on rigs without finger bones. The orientation fold refuses non-uniformly scaled armatures and reverts on any world-matrix mismatch, so a small set of exotic exports keeps its baked rotation and relies on the runtime correction instead. Truly novel naming conventions animate only after a mapping lands in the canonicalizer: a table entry and a test case, but not zero work. And the fallen-pose guard is deliberately conservative, disabling a clip on a rig it would tip over rather than betting your agent's dignity on a marginal retarget. The system is built to be wrong safely, and to say so out loud.
+
+## Why it compounds
+
+Every naming convention mapped makes every past and future avatar more compatible. Every clip added, curated, community, or generated, immediately works on every humanoid avatar ever uploaded. Every avatar canonicalized at ingest is one less runtime correction forever. And because avatars become agents with wallets, reputations, and audiences, the animation layer keeps earning: a platform where every body moves is a platform where every agent can perform, and a platform where agents perform is one people watch.
+
+## Where to start
+
+Make yourself: three.ws/create/selfie, or three.ws/scan. Make your dad: three.ws/dad. Import anything: three.ws/import/rpm. Browse every public body: three.ws/gallery. Animate: three.ws/pose, with the public clip gallery at three.ws/animations. Drive one around your room: three.ws/temporary. Study the whole field of avatar engines: three.ws/avatar-engines. Then give your avatar a brain and a wallet at three.ws/create, and it stops being a file.
+
+Any humanoid. Any convention. It moves. That is the whole promise, and it is live now.
diff --git a/content/build-your-agent.md b/content/build-your-agent.md
new file mode 100644
index 000000000..25a49c2eb
--- /dev/null
+++ b/content/build-your-agent.md
@@ -0,0 +1,177 @@
+# Build your agent: the full anatomy of a living agent on three.ws
+
+*Long-form X article. Everything about building an agent on three.ws: the three creation paths, Instant Agent Genesis, breeding two agents through the genome, the persona compiler, the tiered embeddings-backed memory, the multi-LLM brain, and how every agent gets a wallet, a body, a voice, and skills. Real code, real endpoints, honest limits. $THREE is the only coin.*
+
+A chatbot is a text box with a personality sticker on it. An agent on three.ws is something else: a rigged 3D body that emotes per frame, a custodial Solana and EVM wallet with real keys encrypted at rest, a persistent memory that survives every session, a persona that compiles deterministically from trait sliders into a signed system prompt, and a brain that can be any of twenty one LLM providers behind one router. It has a genome. It can breed. Its lineage is cryptographically verifiable.
+
+When you create an agent here, you are not filling in a form. You are provisioning a participant in an economy. This is the complete story of how that happens.
+
+## Why we built it this way
+
+Three reasons, in order of importance.
+
+**First, embodiment changes how people use AI.** A face that reacts, a voice that answers, a body that waves when you arrive: these are not decoration. The Empathy Layer blends six emotional states continuously, every frame, and drives real morph targets on the avatar's face. People talk differently to something that looks back. The creation pipeline guarantees an agent is never bodiless: skip every avatar step and you still get a real rigged default body.
+
+**Second, agents that act need real primitives, not just prompts.** An agent that trades needs a wallet. An agent that learns needs memory that outlives the tab. An agent that claims two parents needs a lineage anyone can verify. All three are first-class, server-backed systems here: encrypted custodial wallets minted at creation, a tiered memory store with real embeddings, and a genome whose recombination anyone can re-derive from its recorded seed.
+
+**Third, one descriptor, portable everywhere.** Everything an agent is lives in the agent manifest, a content-addressed JSON bundle specced in the open at specs/AGENT_MANIFEST.md: body, brain, voice, skills, memory, on-chain identity, even scoped spending permissions. Pin it to IPFS, stamp the CID into the ERC-8004 Identity Registry, and any page on the web can mount your agent with a single agent:// URI. Your agent is not locked to our site. It is registered to you.
+
+## The anatomy, at a glance
+
+The agent system reference at three.ws/docs/agent-system describes five layers, and every creation flow below is just a different way of filling them in:
+
+1. **Identity**: a named record in the `agent_identities` table, optionally registered on-chain via ERC-8004, with a wallet address, skills, and metadata.
+2. **Avatar**: a Three.js body with the Empathy Layer on top: continuous emotion blending, morph target control, gaze, and one-shot gestures.
+3. **Memory**: a typed, salience-ranked store, backed locally and synced to the server's tiered memory engine.
+4. **Skills**: modular capabilities with handlers, animation hints, and voice templates. Five core skills ship with every agent: greet, present-model, validate-model, remember, think.
+5. **Runtime**: an LLM tool-loop that reads input, calls the model with scene tools (wave, lookAt, play_clip, setExpression, speak, remember), executes the calls, and speaks the result. The loop caps at eight tool iterations per turn.
+
+Everything communicates over a zero-dependency event bus, so the avatar, the memory, and the identity diary all react to a `speak` event without knowing about each other.
+
+## Three ways to create one
+
+**three.ws/create** is the avatar-first hub. It is a method picker, not a form: build in the in-browser editor, turn a selfie into a rigged body at /create/selfie, describe one in text at /create/prompt, upload your own GLB (the page validates the glTF magic bytes before accepting it), or fork a public avatar. Forking calls a real endpoint, `POST /api/avatars/fork`, which copies the GLB into your namespace and provisions the agent behind it.
+
+**three.ws/create-agent** is the five-step wizard: Basics, Model, Skills, Personality, Review. Names cap at 100 characters, tags at 8. The Skills step shows the five core skills locked on and five optional toggles (wave, dance, pump-fun, explain-gltf, web-search). The Personality step takes a category, a greeting, and a persona prompt up to 2000 characters. There is also a magic generator: one click calls `POST /api/agents/suggest-spec` and an LLM drafts the whole spec, then drops you at Review. Submission is a single `POST /api/agents`.
+
+**three.ws/agent/new** opens the full agent editor directly, the same surface used to edit an existing agent's avatar, brain, skills, and on-chain identity.
+
+Whichever door you use, the server-side create path is the same. `POST /api/agents` runs an identity-integrity gate (an embedding-based look-alike and content screen; a blocked name returns a 409), mints both custodial wallets, inserts the row, and publishes an agent-deploy event to the live feed. If wallet minting fails at creation, the agent still lands and the wallet self-heals on first use. No dead states.
+
+Your finished agents live at three.ws/my-agents, the public directory is three.ws/agents, and every agent has a home page at three.ws/agents/:id showing its identity card, action diary, memories, skills, and wallet panels. The step-by-step walkthrough is the tutorial at three.ws/docs/tutorials/first-agent.
+
+## Instant Agent Genesis: sixty seconds from a sentence
+
+three.ws/genesis compresses the whole pipeline into one guided moment. Three inputs: describe how the agent should look, drop in a selfie, or remix a public avatar. Then the forging screen runs three tracks in parallel, and all three are real:
+
+- **Model**: the avatar engine sculpts and rigs a body. Text and photo modes submit to `POST /api/avatars/reconstruct` and poll a status endpoint with real backoff (first poll at 1.5 seconds, multiplying by 1.4 up to a 12 second interval, with a hard 8 minute ceiling). You watch the progress bar move through queued, generating, and rigging.
+- **Wallet**: `POST /api/agents/:id/wallet/provision` returns a real Solana address and a real EVM address on Base. These are shown on the reveal screen, ready to copy and fund.
+- **Persona**: whatever you typed about the agent's character runs through `POST /api/persona/extract` while the mesh is still baking, then gets written onto the agent along with the voice you picked from the live catalog at `GET /api/tts/voices`.
+
+The reveal is the agent itself, turning in 3D, wallets beneath it, with one-click paths to fund it, open it, or register it. Registration is real: it mints an ERC-8004 identity on Base and hands you the transaction to open on the explorer. From a sentence to a funded, addressable, on-chain agent in about a minute.
+
+## The genome: agents that breed
+
+This is the part no other platform has. Open three.ws/genome, pick two parents (your own agents, or a public stud another owner has opened for breeding), and preview the child before you commit: its predicted disposition, a blended voice you can actually play, the body it would inherit, its skills. Breed, and a genuinely new agent is born with its own fresh wallet. The code asserts an ownership invariant: the child's Solana and EVM addresses must differ from both parents.
+
+The mechanics are real genetics, implemented in about 580 lines of deterministic code:
+
+- **Every agent has a genome**, even one that has never bred: a founder genome derives deterministically from its id and actual traits. It spans four domains: brain (six numeric loci: temperature, verbosity, curiosity, formality, humor, boldness, plus tone tags and an archetype from analyst, trickster, sage, maverick, diplomat, builder), voice (stability, similarity, style, pitch, and the voice id itself), body (base model, morphs, colors, accessories), and skills, stored as alleles that can be expressed or carried.
+- **Crossover is seeded and per-locus.** A 16-byte seed feeds a separate deterministic random stream for every locus, so the order of evaluation never matters and old genomes stay verifiable as the schema grows. Numeric traits blend between the parents with a bounded mutation of at most 0.12 in trait space; any drift of 0.04 or more is logged in the child's mutation record.
+- **Dominance is real.** A trait present in both parents always expresses. A trait present in one parent expresses with probability 0.72, otherwise it is carried recessively, and a recessive carried by both parents surfaces in the child. Traits can skip a generation and come back.
+- **Emergence is real.** Five fusion rules let two parents' ingredient skills fuse into a skill neither parent expressed: trading plus sentiment can produce alpha-signal, memory plus research can produce deep-recall, and so on, each firing with probability 0.5 when both ingredients are carried.
+- **Voices inherit with weighted dominance**: a cloned or premium voice dominates a browser voice 0.8 to 0.2.
+- **Forgery is detectable.** The child's genome hash is a canonical SHA-256 over its heritable content, and `GET /api/genome/lineage?agentId=&verify=1` re-derives the genome from the recorded parents and seed and compares. A tampered child fails verification for anyone who checks.
+
+Economics keep pedigrees scarce: each parent has a six hour breeding cooldown, and breeding someone else's stud requires a verified on-chain fee paid in $THREE. Every child's pedigree is scored (generations, emergent skills, recessive carries, mutations) into a tier from common up to legendary, and deep-lineage agents wear a rare-pedigree badge across the marketplace. Expressed inherited skills are minted as on-chain skill licenses with parent provenance recorded.
+
+## Persona: a mind you can sculpt, version, and sign
+
+A persona here is not a text area. It is editable structure with provenance.
+
+The deep path lives on the agent's Brain tab and the API under `/api/agents/:id/persona`. It starts with a five-question interview: your answers go to `POST /api/agents/:id/persona/extract` (rate limited to five extractions per day), where an LLM distills a first-person base prompt, up to eight tone tags, and up to ten characteristic vocabulary phrases. That base then meets the trait model: seven continuous sliders (warmth, formality, verbosity, humor, proactivity, risk appetite, directness), each 0 to 1, each mapping to one of three descriptive bands with thresholds at 0.34 and 0.66. A slider left at center deliberately reads as no strong opinion.
+
+The compiler is the interesting part. `compilePersona` in src/agents/persona-compile.js is a single deterministic function imported by both the browser editor and the server save endpoint, so the prompt you preview is byte-for-byte the prompt that gets stored. On save, the compiled prompt is hashed with SHA-256, signed with an HMAC, and written as a real version entry in `agent_versions`. You get full version history, diffs, and one-click restore of any prior mind.
+
+Brain Studio makes this physical: every slider move re-runs a real chat against the candidate prompt and the avatar re-greets you in the new register, in its real voice. A/B compare runs genuine dual inference and promoting the winner writes the version. The one-tap path lives at three.ws/brain: pick a vibe (Sharp Analyst, Crypto Native, Casual Builder, and more) and it applies and saves instantly. The craft of writing the base prompt itself, refusal patterns that hold character, and trait-to-animation mapping is covered in the tutorial at three.ws/docs/tutorials/agent-personality.
+
+One naming note: Persona Hub, documented at docs/persona-hub.md, is a different system. It is the cross-app sign-in that lets any three.ws subdomain request a short-lived JWT bearing your avatar, one avatar across many sites. Related, but it carries your identity, not your agent's character.
+
+## Memory: what your agent carries between sessions
+
+Memory is a tiered engine modeled on the working memory research lineage, shared by `POST /api/agent-memory` and the `/api/memory/*` surface:
+
+- **working**: the small always-in-context core: pinned facts, identity, active rules. Token budgeted at 2000 tokens (estimated at 4 characters per token), and `GET /api/memory/context` shows you exactly what the agent carries into every reply against that budget.
+- **recall**: recent interactions and trades, searchable.
+- **archival**: the long-term store, semantically searchable over real embeddings.
+
+Every memory has one of four types, and the type is not cosmetic: feedback carries the highest salience bonus (+0.3) because a correction you gave once should never need repeating, user is +0.2, project +0.1, reference +0.0. The in-browser runtime layer ranks by salience times recency with a seven day exponential half-life; the server store reinforces instead, bumping a memory's salience by 0.02 every time it is actually recalled, so what the agent uses is what the agent keeps.
+
+The embeddings layer refuses to lie. The free lane embeds with a 1024-dimension NVIDIA model; the paid backstop is OpenAI's small embedding model truncated to 256 dimensions. Because vectors from different models live in different spaces, every stored vector is tagged with the exact model that produced it, queries are embedded once per space and scored strictly within it, and search defaults to a top 8 with a 0.25 minimum cosine score. When no provider is configured at all, recall degrades to substring plus salience and returns a null score, never a fabricated cosine number.
+
+Every memory is also mined, deterministically and with no LLM call, for the entities it mentions: token mints, cashtags, wallets, people, strategies, topics. Those become nodes in a knowledge graph with co-occurrence edges, so `GET /api/memory/graph` can answer "what does my agent remember about this wallet" and replay how its understanding evolved. You can seed the whole store in seconds from your GitHub or Farcaster activity (`POST /api/agents/:id/memory-seed`, once per agent per day; an LLM distills your real activity into facts). And none of this is a side database: the live chat handler pulls the working core plus a semantic top six into the system prompt on every turn, and visitors to a public agent only ever see the memories its owner marked public.
+
+And memory is property. The Portable and Verifiable Brain endpoints under `/api/agents/:id/brain` give every agent a brain passport: memories are content-hashed and signed, `GET /api/agents/:id/brain/export` downloads a schema-versioned signed .brain bundle, `POST .../brain/anchor` anchors the brain hash on-chain, and `POST .../brain/import` reconstitutes a bundle into a forked agent with provenance and a merge diff. Fork an agent, carry its mind.
+
+The hands-on lifecycle, create, enhance, edit, forget, across the dashboard, MCP tools, REST, and skills, is the tutorial at three.ws/docs/tutorials/create-and-edit-memory. The data model reference is three.ws/docs/memory.
+
+## The multi-LLM brain
+
+The single most important architectural fact: the LLM call is server-side, always. The browser sends the message and the agent id; the platform looks up the agent's brain config and calls the provider. Your API key never appears in HTML.
+
+The provider policy, consolidated in one shared module, is free-first with a paid backstop. Three platform-funded free lanes (Groq, OpenRouter, and NVIDIA NIM, all running large open-weight models) serve first, in order, and every flow on the platform must survive on them alone. When the host has paid Anthropic or OpenAI keys configured, those are appended to the tail of every chain as a last resort, metered by a per-user daily spend cap (one dollar per day by default). The one exception that jumps the queue is BYOK: attach your own key in My Agents and it leads the chain for your agents, on your billing, still degrading to the free lanes on failure. Which models to pick and why is the tutorial at three.ws/docs/tutorials/connect-ai-brain.
+
+three.ws/brain is where you feel this. The page fronts `POST /api/brain/chat`, a streaming multi-provider proxy with twenty one registered providers: Claude flagships, GPT-4o and o3-mini, Qwen, DeepSeek R1, IBM Granite, and a stack of NVIDIA-hosted models. Each response is a server-sent event stream that reports which provider actually served, time to first token, total elapsed time, and token usage, so you can race models side by side with real latency numbers. Signed-out visitors get the genuinely free tiers; the paid first-party flagships require sign-in so anonymous scripts cannot drain the platform's keys. Each provider spec declares both its native first-party route and an OpenRouter mirror, so a provider outage reroutes at request time instead of erroring.
+
+The same router is exposed to any AI assistant as an MCP server. `@three-ws/brain-mcp` ships two tools, `list_providers` and `chat`, over stdio: your assistant discovers what is live, picks a model, and completes through it, with the route taken and timing in the result.
+
+## Wallet, body, voice, skills: the rest of the organism
+
+**Wallet.** Every agent gets a custodial EVM wallet (Base by default) and a Solana keypair at creation. Private keys are encrypted at rest with AES-256-GCM under a dedicated wallet encryption key with per-record salts. Provisioning is idempotent and self-healing: an agent that somehow lacks a wallet gets one on first use. The wallet panels live on the agent's home page, and the manifest spec supports ERC-7710 delegations so a registered agent can hold scoped, time-bound, revocable spending permissions.
+
+**Body.** Bodies come from the reconstruction pipeline (photo or text through real generation models, with automatic rigging chained on unrigged meshes), from starter models copied into your namespace, from your own GLB, or, for bred agents, from a baked composite of the dominant parent's body with the child's blended morphs and colors. Animation is universal: the platform canonicalizes bone names across every major rig convention and retargets the clip library onto any humanoid skeleton, so there is no allowlist of blessed rigs.
+
+**Voice.** Two proxy lanes: `POST /api/tts/speak` runs free-first (an NVIDIA lane, then an OpenAI backstop), and `POST /api/tts/eleven` fronts premium and cloned voices, which is also the lane genome children use to inherit a blended parent voice. Browsers without any of that still speak through the built-in speech synthesis. Explore voices at three.ws/voice.
+
+**Skills.** Skills are the same primitive shape as a Claude skill: an instruction, a handler, an animation hint, a voice template, optionally exposed over MCP. Five core skills ship locked on; the marketplace at three.ws/skills adds more; bred agents receive expressed inherited skills as on-chain licenses. The full bundle format is specs/SKILL_SPEC.md.
+
+## For developers: build one from code
+
+Create an agent with one authenticated request:
+
+```bash
+curl -X POST https://three.ws/api/agents \
+ -H "authorization: Bearer $THREE_WS_TOKEN" \
+ -H "content-type: application/json" \
+ -d '{"name":"Scout","description":"A terse research agent","skills":["greet","remember","think","web-search"]}'
+```
+
+Give it durable memory in four lines with the npm client:
+
+```js
+import { AgentMemory } from '@three-ws/agent-memory';
+
+const memory = new AgentMemory({ agentId: AGENT_ID, token: process.env.THREE_WS_TOKEN });
+await memory.remember('Never risk more than 2% per trade', { tags: ['strategy'], pinned: true });
+const hits = await memory.recall('what are my risk rules?');
+console.log(hits[0].content, hits[0].score); // real cosine score, or null on lexical fallback
+```
+
+Preview a child before breeding, straight from the API:
+
+```bash
+curl -X POST https://three.ws/api/genome/preview \
+ -H "authorization: Bearer $THREE_WS_TOKEN" \
+ -H "content-type: application/json" \
+ -d '{"parentA":"<agent-id>","parentB":"<agent-id>"}'
+```
+
+And verify any agent's claimed ancestry, no auth required to distrust:
+
+```
+GET https://three.ws/api/genome/lineage?agentId=<agent-id>&verify=1
+```
+
+Give your own AI assistant the whole model router by adding `@three-ws/brain-mcp` as an MCP server (one npx entry in your client's MCP config), then ask it to `list_providers` and `chat`.
+
+## Three tutorials in one place
+
+**Sixty seconds to a living agent.** Sign in, open three.ws/genesis, type one sentence about how your agent should look and who it is, and watch the forge: body sculpting on a live progress bar, wallets provisioning, persona writing. At the reveal, copy the Solana address, tap register to mint the ERC-8004 identity on Base, and open the transaction on the explorer. You now own an on-chain agent.
+
+**Give it a mind it can keep.** Open your agent's Brain tab, take the five-question interview, then drag the seven trait sliders and watch the avatar re-greet in the new register after every change. Save: the compiled prompt is hashed, signed, and versioned. Sculpt too far? Restore any prior version from history. The persona is now a signed artifact, not a text box.
+
+**Teach it something once.** Tell your agent "remember that I want prices quoted in USDC" in chat, or add the note in the dashboard, or call `memory.remember()` from code. Then open the memory graph and watch the fact appear as nodes and edges, check `GET /api/memory/context` to see it inside the working core's 2000 token budget, and start a fresh session: the agent already knows.
+
+## The honest limits
+
+We publish failure modes next to features, so here they are. Body generation depends on upstream GPU providers: the genesis pipeline holds an eight minute ceiling, and a mesh that cannot be auto-rigged is delivered tagged unrigged rather than silently broken. The lightweight in-browser memory layer does substring recall; real semantic search lives in the server's tiered store, and with no embedding provider configured the server, too, degrades to lexical matching with a null score instead of inventing similarity. The free LLM lanes rate-limit under load, which is exactly why every chain has multiple lanes and a paid tail, and anonymous visitors only get the free model tiers on /brain by design. Breeding cooldowns and stud fees are intentional friction: scarcity is the point of a pedigree. The fusion rule set is small and static today, five rules. Encrypted IPFS memory persistence is wired but its provider modules are still maturing, so local plus server sync is the production path. And custodial wallets mean the platform holds encrypted keys; if self-custody is a requirement, link your own wallet to the agent instead.
+
+## Why it compounds
+
+Every layer feeds the others. The persona compiles into the prompt the brain runs. The brain writes memories the entity graph mines. The memories are signed into a brain you can export, anchor, and fork. The genome recombines all of it, traits, voice, body, skills, into children whose lineage anyone can verify, and every child arrives with its own wallet, ready to act in the same economy its parents trade in. An agent here is not a config file. It is a compounding asset with a body, a mind, a memory, and a bloodline.
+
+## Where to start
+
+Create: three.ws/create, the wizard at three.ws/create-agent, or the editor at three.ws/agent/new. The one-minute path: three.ws/genesis. Breed: three.ws/genome. Sculpt the mind: three.ws/brain and your agent's Brain tab in the studio at three.ws/agent-studio. Your roster: three.ws/my-agents. Every agent's public home: three.ws/agents. The deep references: three.ws/docs/agent-system, three.ws/docs/memory, and the tutorials at three.ws/docs/tutorials/first-agent, three.ws/docs/tutorials/agent-personality, three.ws/docs/tutorials/connect-ai-brain, and three.ws/docs/tutorials/create-and-edit-memory.
+
+Your first agent is about sixty seconds away. It will remember you tomorrow.
diff --git a/content/embed-anywhere.md b/content/embed-anywhere.md
new file mode 100644
index 000000000..fee9942bf
--- /dev/null
+++ b/content/embed-anywhere.md
@@ -0,0 +1,190 @@
+# Embed anywhere: a three.ws agent on every page of the web
+
+*Long-form X article. The complete story of the embed layer: why we built it, the one line that puts a living 3D agent on any page, the agent-3d web component, the page agent that narrates your site out loud, Widget Studio and the widget gallery, the host protocol that lets whole platforms talk to embedded agents, the Claude artifact path, real code, tutorials, and the honest limits. $THREE is the only coin.*
+
+Every platform that hosts AI agents keeps them in a walled garden. The agent lives on their domain, in their chrome, behind their login. Your website gets, at best, a chat bubble that links out. We think an agent you built should go where your audience already is: your landing page, your docs, your Shopify store, a Notion page, a post on X, even inside another AI's artifact sandbox.
+
+So we built the embed layer of three.ws around one promise: any agent, any page, one line. The floor is a single script tag that drops a rigged, talking 3D character onto a plain HTML file. The ceiling is a versioned postMessage protocol that lets a platform like Claude.ai hold a structured conversation with an embedded agent it did not build. Everything in between, the web component, the page narrator, the widget builder, the iframe routes, the oEmbed unfurls, is the same stack at different levels of control.
+
+This is everything about it.
+
+## Why we built it
+
+**First, distribution is the product.** A 3D agent that only exists at three.ws/agent/yourid is a demo. The same agent greeting visitors on your own domain is a feature of your business. Agents on this platform hold identities, wallets, skills, and memories; all of that is wasted if the only way to meet one is to visit us. The embed layer turns every agent into something you ship, not something you link to.
+
+**Second, one line had to be enough.** We studied how the best embeddable things on the web won: they made the first success take under a minute. The entire install for a three.ws embed is a script tag with a data attribute. No npm, no build step, no framework adapter, no API key on the page. The bundle brings its own copy of Three.js, the glTF loader, the chat UI, and the speech subsystem. If the floor is not that low, nobody climbs to the ceiling.
+
+**Third, embeds need a contract, not a hack.** Most widget embeds are a pile of undocumented postMessage strings. Ours are governed by two written specs that live in the repo: specs/EMBED_SPEC.md defines the web component itself, its attributes, events, JS API, and security model, and specs/EMBED_HOST_PROTOCOL.md defines a versioned envelope for host platforms. When Claude.ai or LobeHub frames one of our agents, both sides know exactly what a message looks like, what happens to unknown types, and which origin is allowed to say what. Contracts are how embeds survive upgrades.
+
+## The system at a glance
+
+Five surfaces, one stack. Pick by how much control you want.
+
+1. **The one-line script tag.** `<script src="https://three.ws/cdn/agent-3d.js" data-agent-id="...">` mounts a floating agent in the corner of any page. It is the script-tag form of the web component below; data attributes on the tag become attributes on the mounted element.
+2. **The agent-3d web component.** A standards-based custom element for pages you control. Full attribute surface, DOM events, a JS API, slots, shadow DOM. Works in plain HTML, React, Vue, Svelte, WordPress, Webflow, Shopify.
+3. **The page agent.** `@three-ws/page-agent` on npm: a rigged, lipsync-capable 3D guide that docks in a corner, narrates your page out loud with browser speech synthesis, and lets each visitor pick their guide from a roster of nine rigged avatars. Fully client side, no backend, no key.
+4. **Widgets.** Widget Studio at three.ws/studio is a no-code builder: pick an avatar, pick a widget type, brand it, and copy an iframe or script snippet. The gallery at three.ws/widgets shows fifteen live embeddable widgets with copy-paste code. Every widget iframe also speaks JSON-RPC 2.0 over postMessage, so a host page can drive the camera, play clips, or capture screenshots.
+5. **Zero-code sharing.** Paste an agent or widget URL into Notion, Substack, Ghost, WordPress, X, Discord, or Farcaster and the platform unfurls it through Open Graph tags and the oEmbed endpoints. For Claude.ai, a dedicated artifact endpoint returns a single self-contained HTML document that runs inside the artifact sandbox with zero external requests.
+
+## The web component, from the spec
+
+The `<agent-3d>` element is the center of gravity. The full install:
+
+```html
+<script type="module" src="https://three.ws/agent-3d/1.5.2/agent-3d.js"
+ crossorigin="anonymous"></script>
+
+<agent-3d src="agent://base/42" style="width:400px;height:500px;display:block"></agent-3d>
+```
+
+**Sourcing an agent.** The element accepts several source forms, resolved in a strict priority order: `src` (an on-chain URI like `agent://base/42`), then `agent-id` (a numeric token ID paired with `chain-id`, a CAIP-10 string, or a legacy backend ID), then `manifest` (an IPFS or HTTPS manifest URL), then `body` (a bare GLB). The last form matters more than it looks: `body="/avatars/guide.glb"` plus inline `name`, `instructions`, and `brain` attributes creates a complete ad-hoc agent from nothing but a model file and a system prompt. No account required.
+
+**Bare by default.** A plain `<agent-3d>` renders just the avatar: a transparent 3D canvas with no chat log, no input bar, no nameplate. The conversational chrome is opt-in through the `chat` attribute, and a bound `agent-id` or `manifest` implies it, because a published agent carries a brain and persona. The `kiosk` attribute forces bare even for a bound agent, which is how you render a published agent as pure decoration.
+
+**Four layout modes**, one runtime: `inline` flows with the document, `floating` is a fixed bubble with a minimize-to-pill control and a `position` attribute (`bottom-right`, `bottom-left`, `top-right`, `top-left`, `bottom-center`), `section` fills a hero container, and `fullscreen` takes over the viewport behind a programmatic `openFullscreen()` call.
+
+**Lazy by design.** The element does nothing until it intersects the viewport, via IntersectionObserver, unless you add `eager`. The render loop pauses when the element scrolls fully off screen. The mic and the LLM stream suspend when the tab is hidden. Each element owns at most one WebGL context, and for multiple agents there is `<agent-stage>`, which renders several `<agent-3d>` children in a single shared context. The runnable demo of that is examples/two-agents.html in the repo: two agents, one canvas, with `stage:agent-joined` and `stage:message` events flowing to the page.
+
+**Embodied chat.** When chat is on, the avatar is a participant, not a mascot. It walks in place while the model is thinking or streaming, shows the live token stream in a thought bubble above its head, and returns to idle when the response completes. Set `avatar-chat="off"` to restore a conventional bottom-bar layout.
+
+**Events are the integration surface.** Everything the agent does is a DOM event that bubbles out of the shadow root with `composed: true`: `agent:ready`, `agent:load-progress`, `agent:error`, `brain:message`, `brain:thinking`, `voice:speech-start`, `voice:speech-end`, `voice:transcript`, `skill:loaded`, `skill:tool-called`, `memory:write`, `chain:resolved`. And the imperative API mirrors the tools the LLM itself has:
+
+```js
+const el = document.querySelector('agent-3d');
+
+await el.say('Hello');
+const reply = await el.ask('What can you help me with?');
+
+await el.wave({ style: 'enthusiastic' });
+await el.lookAt('user');
+await el.play('clip-name');
+
+await el.installSkill('ipfs://bafy.../dance/');
+el.memory.write('feedback_tone', { formal: false });
+
+el.setMode('floating');
+el.setPosition('bottom-right', '24px 24px');
+```
+
+**Keys never touch the page.** The `api-key` attribute exists for local development only; the documented production path is `key-proxy`, a URL to your own backend that injects credentials into outbound LLM requests. The bundle itself is served from versioned CDN channels: pin `/agent-3d/1.5.2/agent-3d.js` with subresource integrity for production (the current SRI hash for each release lives at `/agent-3d/<version>/integrity.json`), or follow `/agent-3d/1.5/` and `/agent-3d/1/` for automatic patch and minor updates. A UMD build, `agent-3d.umd.cjs`, ships at the same paths for non-ESM environments, and every bundle response carries permissive CORS headers so it loads from any origin.
+
+**Progressive enhancement is built in.** Children of the element render when JavaScript is blocked, so a poster image inside the tag is the no-JS fallback. Slots (`poster`, `error`, `ar-button`, `chat`) let you replace specific chrome regions with your own markup without forking anything.
+
+## The host protocol: how platforms talk to embeds
+
+The iframe routes are where the contract earns its keep. Every embedded agent iframe speaks a simple message bridge, and structured hosts get a versioned envelope on top.
+
+**The simple bridge.** Frame `https://three.ws/agent/{agent-id}/embed` and every message in either direction carries the `agentId`, so a host page running multiple agent iframes routes deterministically. The host sends `agent:hello`, `agent:action` (for example `{ type: 'speak', text: 'Hello!' }`), and `agent:ping`. The iframe answers with `agent:ready` (including a `capabilities` array), mirrors every action it performs as `agent:action`, reports its preferred height with `agent:resize`, and answers probes with `agent:pong`.
+
+**The versioned envelope.** Platforms like Claude.ai and LobeHub use EMBED_HOST_PROTOCOL v1, where every message is `{ v: 1, type, id?, payload }` and `type` is direction-namespaced: `host.hello`, `host.chat.message`, `host.action`, `host.theme`, `host.response` flowing in; `embed.ready`, `embed.event`, `embed.error`, `embed.request` flowing out. Request and response pairs correlate by `id` with a 5000 ms default timeout. Unknown types are silently ignored by rule, which is what lets us add capabilities, like the five delegation messages that shipped in embed spec v0.2, without breaking a single existing host.
+
+**Origins are never wildcards.** The bridge enforces strict origin checks on every message. On the host side, `Agent3D.connect(iframe)` derives the target origin from the iframe src and throws if it cannot. On the embed side, the iframe seeds its parent origin from the referrer, then locks it to the origin of the first authenticated host message; anything arriving from a different origin afterward is dropped.
+
+**Owners control where their agent appears.** Every agent has an embed policy: `open` by default (on-chain identity is public, so anyone can embed any agent unless the owner says otherwise), or `allowlist` and `denylist` with wildcard subdomain patterns. A blocked iframe posts `agent:blocked` to its parent and shows a link to the agent on three.ws instead of rendering. Policy is set in the dashboard or via `PUT /api/agents/{id}/embed-policy`.
+
+## The page agent: a guide that reads your site aloud
+
+`@three-ws/page-agent` is a different animal from the chat embed. It is a narrator: a rigged 3D character that docks in a corner, greets the visitor, and talks them through the page, section by section, with its mouth actually moving to the words.
+
+```html
+<script src="https://unpkg.com/@three-ws/page-agent/dist/page-agent.global.js"
+ data-page-agent
+ data-avatar="nova"
+ data-auto-narrate
+ defer></script>
+```
+
+That is the entire integration for the zero-JS path. There is also a `<page-agent>` custom element and an imperative `new PageAgent({ agent: 'atlas', autoNarrate: true })` API with `narrate()`, `narratePage()`, `setAgent()`, and an event stream (`ready`, `agentchange`, `state`, `caption`, `segment`, `error`; on the element they arrive as DOM events prefixed `page-agent:`).
+
+Three decisions define it:
+
+**Only rigged avatars, as a hard rule.** The catalog ships nine guides (sol, nova, vera, atlas, echo, lumen, kai, mira, pax), and every one has a verified skinned mesh and armature, because the runtime drives skeletal idle motion and lipsync. Each agent is labeled by its lipsync tier: `viseme` for full phoneme-accurate mouth shapes, `jaw` for a single mouth-open morph driven on a speech envelope, `full-body` for rigs without face morphs that carry speech with a talk animation and head motion. `filterAgents({ lipsync: 'viseme' })` picks the best-in-class subset programmatically.
+
+**The visitor picks the guide.** A built-in accessible picker lets each visitor choose their narrator, and the choice persists across visits by default. You constrain the roster with the `agents` allowlist and self-host the GLBs by pointing `assetBase` at your own CDN.
+
+**No backend, anywhere.** Speech is the browser's own SpeechSynthesis. Lipsync is a deterministic text-to-viseme timeline advanced on the Three.js frame loop. There are no network calls for speech, no API key, no audio files. Where TTS is unavailable or muted, the avatar still talks visually and captions render, so narration never silently stalls. Content comes from your page: elements matching your selector, `[data-narrate]` attributes with optional `data-narrate-order`, or a heading plus lead-paragraph fallback.
+
+## The avatar SDK: the parts, unbundled
+
+For builders who want the pieces rather than the product, `@three-ws/avatar` on npm exposes focused subpath entries so you ship only what you use. The root import registers the full `<agent-3d>` runtime. `@three-ws/avatar/viewer` registers `<three-ws-viewer>`, a lightweight pure-preview element that loads a GLB, frames it, and renders with orbit controls and image-based lighting, with `load` and `error` events and none of the chat runtime's weight. `@three-ws/avatar/creator` exports the `AvatarCreator` class, which opens the three.ws Avatar Studio in a modal iframe and resolves to a GLB Blob, plus `saveBlob()`, which uploads that Blob through a presigned flow with a client-side SHA-256 checksum. And `@three-ws/avatar/react` ships `<Avatar>`, `<AgentAvatar>`, `<AvatarCreator>`, and a `useAvatar(id)` hook that fetches `/api/avatars/:id` and aborts on unmount. The light viewer and React entries leave Three.js as a peer dependency your bundler resolves once; only the full runtime entry ships self-contained.
+
+## Widgets: the no-code path with a real API underneath
+
+Widget Studio at three.ws/studio is where non-developers build embeds. Pick an avatar, pick a type, set the brand fields (background, accent, caption, environment preset, auto-rotate), orbit the camera and click "use current view" to save the framing, and generate. The output is three things: a shareable page at `three.ws/w/{widget-id}`, an iframe snippet pointing at the slim `three.ws/widget` shell with the widget ID and `kiosk=true` in the hash, and a one-line script form:
+
+```html
+<script async src="https://three.ws/embed.js" data-widget="wdgt_abc123"></script>
+```
+
+The script form supports `data-width`, `data-height`, `data-radius`, `data-reveal` (render on load or on first interaction), and `data-poster` (default `auto`, which uses the widget's generated 1200 by 630 image from `/api/widgets/{id}/og` as a lazy placeholder).
+
+The gallery at three.ws/widgets is the shop window: fifteen live demos across the widget types, each with a live preview, a customize panel, and a copy button offering three formats (HTML iframe, JSX for React, share URL) plus an "open in Studio" link that clones the widget as your starting template. The types span decoration and data: turntable showcases, animation galleries, talking agents, ERC-8004 passport cards that render an agent's live on-chain identity and reputation, hotspot tours with guided camera waypoints, walking avatars that roam the page, and live market widgets wired to the platform's real feeds, including a pump.fun launch narrator and a bonding curve progress card.
+
+Under every widget iframe is a JSON-RPC 2.0 server. Load `https://three.ws/widget-client.js`, attach, and drive it:
+
+```js
+const client = ThreeWidget.attach(document.querySelector('iframe'));
+await client.ready();
+
+await client.call('viewer.setBackground', { color: '#0a0a1a' });
+await client.call('camera.setLookAt', { eye: [0, 1.5, 2.2], target: [0, 1, 0], duration: 600 });
+
+const { clips } = await client.call('animation.list');
+await client.call('animation.play', { name: clips[0].name, loop: true });
+
+const shot = await client.call('screenshot.capture', { mime: 'image/png' });
+```
+
+The method surface covers `viewer.getInfo`, background, auto-rotate, and environment control, camera get, set, and recenter, animation list, play, and stop, `screenshot.capture`, `model.load`, and `model.export`, which returns the current scene as a binary GLB. Notifications flow back as `viewer.ready`, `model.loaded`, and `widget.revealed`, and errors use standard JSON-RPC codes. The whole API is documented in docs/widget-api.md, and examples/widget-rpc.html in the repo is a build-free page that exercises every method against a live widget.
+
+## Inside a Claude artifact: the zero-network embed
+
+Claude.ai artifacts run in a sandbox whose content security policy forbids fetching from almost every origin. You cannot load a script from three.ws inside one. So we ship the inverse: an endpoint that inlines everything.
+
+```
+GET https://three.ws/api/artifact?agent=<agent-id>
+```
+
+returns one self-contained HTML document. Three.js, the GLTFLoader, the viewer code, and the avatar GLB itself are embedded in the file, the model as base64 parsed straight from memory, so the artifact makes zero external requests. Parameters: exactly one of `agent` or `model` (an HTTPS GLB URL from a whitelisted storage origin), plus optional `theme`, `idle` clip name, and `bg` hex. The GLB is capped at 6 MB, and the endpoint serves its response under a CSP deliberately matching Claude's own sandbox, so the builder page at three.ws/artifact previews exactly what Claude will render. The workflow is one paste: generate the URL in the builder, hand it to Claude, and the agent appears inside the conversation. The contract lives in specs/CLAUDE_ARTIFACT.md.
+
+## Everything it connects to
+
+The embed layer is not a side feature; it is wired through the platform.
+
+**Share routes.** Every on-chain agent has a canonical URL triad: `/a/{chainId}/{agentId}` carries Open Graph tags, a Twitter Player Card, a Farcaster Frame, and oEmbed discovery, so pasting it into X, Discord, Slack, or a cast renders a rich, often interactive card; `/a/{chainId}/{agentId}/embed` is the chromeless iframe form; `/api/a-og` renders the preview image. Widgets get the same treatment at `/w/{id}` with `/api/widgets/oembed`.
+
+**The resolver.** `GET /api/embed/resolve?id=8453:42` is the CORS-open endpoint that turns any agent reference, chain and token ID, CAIP-10 string, or avatar UUID, into `{ glbUrl, name, poster }`, which is what lets third-party viewers render our agents without our runtime.
+
+**Hydrate.** three.ws/hydrate closes the loop for agents born elsewhere: connect a wallet, and it discovers your existing ERC-8004 or Solana on-chain agents via `GET /api/erc8004/hydrate`, then imports one with a single call and attaches a 3D body, voice, and skills. An identity registered anywhere becomes embeddable everywhere.
+
+**The animation system.** Embedded avatars are not special-cased. Any humanoid GLB you point `body` at gets the platform's canonical bone mapping and retargeted idle and walk clips, which is why an ad-hoc agent from a random rigged model still moves like a native one.
+
+**Analytics without surveillance.** Embeds record anonymous impressions (country, referrer hostname) and nothing else: no IPs, no cookies, no user IDs. Self-host the bundle to opt out entirely.
+
+## Who this is for
+
+**The site owner who does not code.** Save an agent at three.ws/create, paste one script tag before the closing body tag, done. Or skip even that: build a widget in Studio and paste its `/w/` URL into Notion or Substack and let oEmbed render it.
+
+**The frontend developer.** Use the web component with your framework. React and Vue wrappers are a ref and two event listeners; the tutorial at docs/tutorials/web-component-end-to-end.md builds both, including a reactive `agent-id` swap that re-mounts the agent when a prop changes.
+
+**The product engineer making the agent part of the journey.** The events API is the hook. docs/tutorials/trigger-from-page-events.md wires IntersectionObserver to `agent.wave()` when a visitor reaches the pricing section, celebrates form submissions, and builds a four-step onboarding co-pilot from scroll, route, idle, and visibility signals.
+
+**The platform host.** Frame the embed route, implement the v1 envelope, and your users' agents work inside your product with theming, chat forwarding, and capability discovery, exactly the way Claude.ai and LobeHub profiles are specified today.
+
+## Tutorial: three embeds in ten minutes
+
+**One, the one-liner.** Get an agent ID from three.ws/create (save the default if you want speed). Create an HTML file, add `<script src="https://three.ws/cdn/agent-3d.js" data-agent-id="YOUR_ID"></script>` above the closing body tag, open it in a browser. The agent appears bottom-right, idles, and chats when clicked. The full walkthrough, including CSP fixes and the four verification checks, is docs/tutorials/embed-in-30-seconds.md.
+
+**Two, the ad-hoc agent.** No account at all: `<agent-3d chat body="/avatars/cz.glb" instructions="You are a friendly 3D guide."></agent-3d>` after loading the component script. That exact pattern, inline, floating, and side by side with the bare-avatar form, is examples/minimal.html in the repo, and examples/embed-test.html exercises the same element against a live hosted avatar.
+
+**Three, the narrated page.** Add the page-agent script tag with `data-auto-narrate`, then annotate your sections: `<h1 data-narrate="Welcome, here is what is new this week.">Changelog</h1>`. Reload. Nova walks the page, reads your copy aloud with synced lips, and offers the visitor eight other guides.
+
+## The honest limits
+
+Embeds run on other people's pages, so we publish the constraints. WebGL 2 is required; a hardware-blocked tab renders the poster fallback, not magic. iOS will not autoplay the greeting voice before the first user tap; that is an Apple platform rule, and the agent animates silently until then. Browsers cap live WebGL contexts per page, so many agents on one page belong in an `<agent-stage>` or in iframes, not in a dozen separate elements. The page agent's voice quality is whatever the visitor's browser ships for speech synthesis, which varies by OS; its lipsync is a deterministic heuristic, convincing but not studio mocap. Claude artifact embeds are capped at 6 MB of model and cannot open wallet popups, which is why interactive signing is explicitly unsupported there and read-only is the default. And markdown-only surfaces like GitHub READMEs cannot run JavaScript at all; the honest answer there is the OG image card linking out, and that is what the spec recommends.
+
+## Where to start
+
+Build an agent: three.ws/create. Build a widget: three.ws/studio. Steal a working embed: three.ws/widgets. Share a link that unfurls: your agent page or `/w/` URL. Put one in a Claude conversation: three.ws/artifact. Bring an on-chain agent to life: three.ws/hydrate. Read the contracts: specs/EMBED_SPEC.md and specs/EMBED_HOST_PROTOCOL.md in the repo, with the guides at docs/embedding.md and docs/widget-api.md.
+
+The web already has your audience. Now it can have your agent, on any page, in one line.
diff --git a/content/forge-text-to-3d.md b/content/forge-text-to-3d.md
new file mode 100644
index 000000000..08dbeb48e
--- /dev/null
+++ b/content/forge-text-to-3d.md
@@ -0,0 +1,172 @@
+# Forge: the 3D generation engine behind three.ws
+
+*Long-form X article. The complete story of Forge: why we built it, how the path and tier system works, the exact engines and prices, the free NVIDIA lane, auto-rigging, the constellation of surfaces built on it, the x402 and MCP paths for agents, examples, tutorials, and the honest limits. $THREE is the only coin.*
+
+Every 3D asset you have ever seen in a game, a product page, or a virtual world was bought, commissioned, or built by hand in software with a learning curve measured in years. That is the wall between "I can describe it" and "I can have it." Forge removes the wall. Type a sentence, or drop in a photo, or scribble a sketch, and about a minute later you are orbiting a real, textured, downloadable 3D model in your browser. It is live at three.ws/forge, it needs no account, no wallet, and no key, and everything it makes can walk straight into the rest of the platform.
+
+This is everything about it.
+
+## Why we built it
+
+Three reasons, in order of importance.
+
+**First, three.ws is a 3D platform, and a 3D platform that cannot make 3D is a gallery.** Our agents are embodied. They have avatars, they stand in worlds, they hold wallets and trade. Every one of those bodies and every prop in every world is a mesh that had to come from somewhere. Buying assets does not scale and does not personalize. Generation does. Forge is the supply side of the entire platform: the engine that turns intent into geometry.
+
+**Second, every text-to-3D product we evaluated was half a product.** Either a closed playground with no API, or a raw model endpoint that hands you an untextured mesh and leaves rigging, polygon budgets, provider failover, job polling, and billing as your problem. Forge is the whole pipeline done once: one call in, a durable hosted GLB out, with an optional second call that rigs it into an animation-ready humanoid. The hard parts, routing across engines, riding out provider outages, pricing tiers honestly, ship inside the endpoint instead of on your desk.
+
+**Third, agents need to buy 3D the way they buy everything else on three.ws: per call, in USDC, with no signup.** A human can click through a UI. An autonomous agent cannot. So the same engine is exposed three ways: a free browser endpoint, a pay-per-call x402 twin, and an MCP server any assistant can drive as tools. The generation economy and the agent economy are the same economy.
+
+## The system at a glance
+
+Forge is one engine with many doors.
+
+1. **The endpoint.** POST /api/forge accepts a prompt, one to four images, or a sketch plus a name. It returns a job id, and GET /api/forge?job=<id> polls it to a finished GLB URL. GET /api/forge?catalog returns the live tier, backend, and cost matrix, the single source of truth the UI renders.
+2. **The router.** Every request resolves to a path (how geometry is produced) and a tier (how much budget to spend), then routes to the healthiest configured backend for that pair. Free lanes are preferred at every tier.
+3. **The persistence layer.** Finished models are durable. Your creations strip on /forge survives the tab closing, and a community scope powers the public "Fresh from the Forge" showcase.
+4. **The rigger.** POST /api/forge?action=rig takes any GLB URL and returns a job that resolves to a skinned, skeleton-bearing humanoid ready for the platform's animation runtime.
+5. **The paid twins.** POST /api/x402/forge is the same engine for autonomous agents, one USDC payment per generation, cataloged in the x402 bazaar. /api/mcp-3d is the 3D Studio MCP server, the same engine as tools.
+6. **The constellation.** Forge Studio, the NIM demo, the Spark pipeline viewer, prompt-to-avatar, scene capture, the splat viewer, Cosmos worlds, and Diorama all sit on this one engine or beside it. More on each below.
+
+## Paths and tiers: the two axes, with the real numbers
+
+Every generation request is described by two orthogonal choices, and both are public in the catalog.
+
+**The path is how geometry gets made.** There are three, straight from the shipped registry:
+
+- **image**, the default. Text is painted into a clean reference image first (FLUX, or Imagen where configured), then reconstructed into a mesh by TRELLIS or Hunyuan3D. Fast, and the free lane lives here. Photo input skips the painting step and reconstructs your real reference views directly.
+- **geometry**. A native 3D model emits mesh geometry straight from the prompt or a single photo, with no synthesized intermediate view, so detail is not capped by what one image implies. This is the Meshy and Tripo lane, and it is bring-your-own-key: you supply your own provider key in the x-forge-provider-key header, or store it on your signed-in account. Without one, the endpoint returns a designed needs_key state instead of a crash.
+- **sketch**. A drawing plus a prompt naming what it depicts drives TripoSG-scribble on our own GPU to raw geometry. No photo, no intermediate view, no textures. A doodle and the word "sword" become a sword.
+
+**The tier is how much budget to spend.** Three tiers map to real polygon targets and real prices, defined once in the code and read everywhere else:
+
+- **draft**: about 12,000 polygons, no PBR. Fast, made for blockout and iteration.
+- **standard**: about 30,000 polygons, the default for most assets.
+- **high**: about 200,000 polygons with PBR texturing, the visibly denser mesh.
+
+On the browser endpoint, text prompts at draft and standard route to the free NVIDIA NIM TRELLIS lane and cost nothing: no key, no wallet, no card. When an agent pays per call through x402 instead, the tier prices are flat and quoted in 6-decimal USDC atomics: draft is $0.05, standard is $0.15, high is $0.50. The MCP server charges the identical numbers for its generation tools, because all three surfaces read the same constants. An agent pays the same regardless of transport, which is the only honest way to price one engine behind three doors.
+
+Every job result reports the path, tier, and backend that actually produced it. You never wonder what you got.
+
+## The free lane, and the machinery that protects it
+
+The free lane is genuinely free, and the routing exists to keep it that way.
+
+Every tier defaults to a zero-vendor-cost engine. Text prompts go to TRELLIS on NVIDIA NIM, one platform key, no per-call billing. Photo reconstruction prefers our own self-hosted TRELLIS worker, then a self-hosted Hunyuan3D lane, then the community GPU Spaces lane, which itself runs an automatic failover chain through Hunyuan3D 2.1, Hunyuan3D 2, TRELLIS, and TripoSR. Paid backends stay explicitly opt-in.
+
+Free lanes degrade, so Forge treats lane health as a first-class signal. The hosted NVIDIA gateway can hang in a way where a submit neither completes nor returns a pollable id before our timeout, and without protection every subsequent text prompt would re-pay that full timeout before failing over. So the router runs a circuit breaker: a socket-level hang earns the free NIM lane a 120 second cooldown, while a fast gateway 5xx, a cold-start blip the in-provider retry already rode out, earns only 30 seconds, so one transient error never dumps every text prompt onto a paid lane for two minutes. A Retry-After hint on a 429 is honored within those bounds. The paid Replicate reconstruct lane gets its own cooldown when it fails on billing, five minutes, because an empty vendor account does not heal itself, and the router reads that flag so it never skips a live free lane in favor of a dead paid one.
+
+There is one perk wired into the free lane, and it belongs to $THREE holders: presenting a verified tier pass lifts the free generation ceiling above the base 60 per hour by the tier's multiplier. The pass is verified with pure HMAC, no RPC call and no price feed, so it adds zero latency to the anonymous lane, and an absent or invalid pass simply leaves the multiplier at 1.
+
+And one rule holds everywhere: no mock paths. If a selected backend is not configured, the endpoint returns a clean 503 or 501 and the page renders a designed state. Forge never fabricates a model.
+
+## From object to character: the auto-rig
+
+A textured mesh is a statue. The rig is what makes it a character.
+
+POST /api/forge?action=rig with a glb_url returns a job that resolves to the same GLB with a skeleton and skin weights, produced by UniRig running in rerig mode, preferring our own GPU worker's rig endpoint and falling back to a hosted lane, so rigging works whenever any rig-capable lane exists. The rigged output surfaces exactly like a reconstruction: same job polling, same durable URL.
+
+What makes this matter is what happens next. The three.ws animation runtime is universal: any humanoid rig, whatever its bone naming convention, gets canonicalized and driven by the platform's pre-baked clip library, idle, walk, emotes, legs included. So a Forge model that goes through the rigger does not just download; it performs. This is the exact pipeline behind the platform's avatars, and it is one flag away from any generation.
+
+## The workbench around the mesh
+
+Generation is the first stroke, not the last. A family of endpoints turns /forge into a workbench:
+
+- **/api/forge-enhance** is the prompt director: it rewrites a terse description into the single-subject, centered, material-and-lighting-cued phrasing the FLUX-to-TRELLIS pipeline reconstructs cleanly, optionally through Nemotron, and returns a ready-made negative prompt for the providers that accept one.
+- **The prompt studio** on the page itself carries a curated starter library behind "Surprise me," a live coach that grades what you typed against how the model actually reconstructs, and an honest character counter. TRELLIS truncates prompts at 77 characters, so the pipeline shapes what you send: an already styled prompt passes through, anything else gets a studio lighting cue appended inside the window.
+- **Stylize, remesh, segment, and background removal** operate on finished models, and **game-ready export** repacks a creation for engine use at a flat $0.10.
+- **The gallery** makes creations durable per browser via an x-forge-client identity, and the community scope publishes the newest finished models with nothing identifying attached. Share links and an AR view round it out.
+
+Small technical honesty, everywhere: the reconstruction runs TRELLIS at CFG 5.0 on the structured latent stage instead of the smooth-and-cartoonish 3.0 default, because faithful texture beats pretty blur, and the high tier runs 50 sampling steps where standard runs 15.
+
+## The constellation: eight surfaces on one engine
+
+**three.ws/forge** is the flagship: prompt, photos, or sketch in, textured GLB out, with an engine picker that shows live health per lane.
+
+**three.ws/forge-studio** is one canvas for both pipelines: forge a textured object in the Object tab, or describe a character in the Avatar tab and get a rigged, animation-ready humanoid. Its Lab goes further and converts meshes into Gaussian splats.
+
+**three.ws/forge-spark** is the pipeline made visible: Nemotron sharpens your prompt, FLUX paints the clean reference, TRELLIS reconstructs the mesh, and the page lights up each stage as it happens. It is the best sixty-second education in how modern text-to-3D actually works.
+
+**three.ws/forge-nim** is for the self-hosters: it drives a self-hosted TRELLIS NIM container directly through its real wire contract, one POST to /v1/infer, and the textured GLB comes back synchronously as base64 and renders on the spot. The page can point at your own box, with the override SSRF-guarded so it can never probe a private network.
+
+**three.ws/create/prompt** is the avatar door: type a description and about a minute later you have a rigged 3D avatar. Under the hood the prompt becomes a frontal reference image via FLUX, then runs the identical reconstruct-and-auto-rig pipeline the selfie-to-avatar flow uses.
+
+**three.ws/capture** leaves objects behind and reconstructs spaces: a phone video of any room becomes an explorable colored point cloud, built by a streaming feed-forward reconstruction model on GPU workers and rendered live in the browser with WebGL. You control frame rate, sky masking, confidence filtering, and point budget.
+
+**three.ws/splat** renders the photoreal end of the spectrum: Gaussian-splat and radiance-field avatars, loaded from a .ply, .splat, or .ksplat by URL or upload, decoded entirely client-side.
+
+**three.ws/cosmos** animates the backdrop: type a world and NVIDIA's Cosmos Text2World model renders a short photoreal video that plays behind your live 3D avatar, generated on the async NVCF gateway and persisted to durable storage.
+
+And **three.ws/diorama** composes them into places: one sentence is decomposed by the platform's LLM chain into a placed plan, a mood, a palette, an island shape, and a handful of single-object prompts, and every object is forged on the free draft lane, a few at a time, so the little world materializes progressively. A failed object never sinks the world; partial worlds are real and shareable, and you can take them into AR.
+
+## Where forged models go
+
+This is where the engine earns its keep, because a GLB on three.ws is never a dead file.
+
+A rigged Forge avatar becomes an agent's body, drops into the animation runtime, and walks the /play coin worlds, the Agora, and every embed surface. Diorama assembles forged objects into explorable scenes. The Studio Lab turns meshes into splats for the photoreal viewer. The gallery feeds the community showcase on the Forge page itself. The @three-ws/avatar viewer renders any forged GLB on any website with one custom element, and @three-ws/walk turns a rigged one into a page companion. One generation, an entire platform of destinations.
+
+Four people, one engine. A game developer batch-generates an asset pack from a prompt list against the public API and pays nothing on the free lane. An agent owner types two sentences into /create/prompt and gets a body for the agent that will trade under its own name an hour later. A 3D artist uses the sketch path as a concepting tool, a drawing and a noun into raw geometry in a minute. And an autonomous agent with a USDC balance and no human in the loop pays five cents through x402 and receives the same GLB the browser users get.
+
+## For developers: the API, the SDK, x402, and MCP
+
+Everything below is live now. The browser endpoint needs no key.
+
+**Plain HTTP, any language:**
+
+```bash
+curl -s -X POST https://three.ws/api/forge \
+ -H 'content-type: application/json' \
+ -d '{"prompt": "a brass clockwork owl, polished metal", "tier": "standard"}'
+```
+
+Then poll the returned job id until it is done:
+
+```js
+const submit = await fetch('https://three.ws/api/forge', {
+ method: 'POST',
+ headers: { 'content-type': 'application/json' },
+ body: JSON.stringify({ prompt: 'a brass clockwork owl, polished metal' }),
+}).then((r) => r.json());
+
+let job = submit;
+while (job.status !== 'done') {
+ await new Promise((r) => setTimeout(r, 4000));
+ job = await fetch(`https://three.ws/api/forge?job=${submit.job_id}`).then((r) => r.json());
+}
+console.log(job.glb_url);
+```
+
+**The SDK** wraps the submit-and-poll dance in one call. It is zero-dependency and runs in Node 18+ and the browser:
+
+```js
+import { forge, rig } from '@three-ws/forge';
+
+const model = await forge('a cartoon astronaut, full body, T-pose', { tier: 'standard' });
+const rigged = await rig(model.glbUrl);
+console.log(rigged.glbUrl);
+```
+
+Failures reject with a typed ForgeError carrying a code you can branch on: needs_key, backend_unavailable, payment_required, rate_limited, generation_failed. Every one maps to a designed state, and catalog() fetches the live price and ETA matrix so you render a picker instead of hardcoding numbers.
+
+**The x402 path** is for agents that settle in USDC with no account. GET /api/x402/forge with no payment returns the price catalog; POST with a payment buys one generation at the quoted tier price. The ordering is the trustworthy part: the job is submitted after the payment verifies but before it settles, so if the submit fails, settlement never runs and the buyer is never charged. Pair it with @three-ws/x402-fetch to automate the 402 handshake.
+
+**The MCP path** turns the engine into tools. The 3D Studio MCP server at /api/mcp-3d speaks Streamable HTTP, is registered in the MCP Registry as io.github.nirholas/three-ws-3d-studio, and exposes text_to_3d and image_to_3d priced by tier, auto_rig_model and capture_scene and retexture at $0.05, stylize and remesh and segment at $0.02, and background removal, posing, animation, and material generation at $0.01, with read-only tools free. OAuth-authenticated three.ws users run operator-funded; x402 callers pay per tool, and the charge lands only after the work succeeded. There is even a public forge_free tool so a wallet-less agent can still generate.
+
+The full tutorials live in the docs: text-to-3d and image-to-3d for the browser flows, prompts-for-3d for the prompt cookbook, and generate-3d-api for scripting, including the batch asset-pack pattern.
+
+## Three tutorials in one place
+
+**Your first model in a minute.** Open three.ws/forge. Type one isolated subject with a material and a lighting cue: "a low-poly red fox, sitting, soft studio light." Hit generate, watch the job run, orbit the result, download the GLB. No account existed at any point in that sentence.
+
+**Photo to object.** Put a real thing on a table. Photograph it from the front, back, and sides, one to four shots. Drop them into /forge and add a short prompt naming the object. The reconstruction lane fuses your views into a textured mesh. Products, toys, sculptures, sneakers.
+
+**Description to living character.** Open three.ws/create/prompt and describe a person or creature in two sentences. About a minute later a rigged avatar is idling in the preview. Open it in the editor, run the walk clip, then attach it to an agent at /create and watch your description hold a wallet.
+
+## The honest limits
+
+Forge publishes its trade-offs instead of hiding them. The image path is capped by what a single synthesized view implies, which is exactly why the geometry path exists, and that path is bring-your-own-key by design: we route to premium vendors, we do not silently absorb their bills. The free community GPU lane has queue waits that vary with the crowd. TRELLIS reads only 77 characters of prompt, so a paragraph buys you nothing over a sharp sentence. Sketch output is untextured geometry, honestly labeled. Auto-rigging expects a humanoid silhouette, and a mesh that genuinely cannot be skeleton-driven falls back to a default rig rather than shipping a broken T-pose. Free lanes go down, and the answer is cooldowns and failover, never a fabricated result. And when an upstream fails on the paid path, you are not charged, because a 503 before settlement is the only acceptable failure mode for a machine that sells to other machines.
+
+## Where to start
+
+The flagship: three.ws/forge. Both pipelines on one canvas: three.ws/forge-studio. The pipeline, made visible: three.ws/forge-spark. Description to rigged avatar: three.ws/create/prompt. A room into a point cloud: three.ws/capture. Photoreal splats: three.ws/splat. Living backdrops: three.ws/cosmos. A sentence into a world: three.ws/diorama. The SDK: npm install @three-ws/forge.
+
+Describe the thing. The platform will build it, rig it, and give it somewhere to live. Forge is live now.
diff --git a/content/launch-studio.md b/content/launch-studio.md
new file mode 100644
index 000000000..1302da0f5
--- /dev/null
+++ b/content/launch-studio.md
@@ -0,0 +1,203 @@
+# Launch Studio: the coin launch pipeline on three.ws
+
+*Long-form X article. The complete story of launching coins on three.ws: why we built a catalog of fifty declarative launch recipes, how the use case engine turns live signals into concrete coin identities, the two launch modes and their integrity rules, the full on-chain pipeline from unsigned transaction to public directory, fee routing to the people who actually make the culture, the x402 paid launch endpoint, the MCP and skills path for agents, real endpoints, runnable code, and the honest limits. $THREE is the only coin.*
+
+Anyone can launch a coin. The create transaction is a solved problem: a name, a ticker, an image, one signature, and a bonding curve exists. What is not solved is everything around it. What should the coin be? Who should its fees reward? Is the identity riding a live wave or minted into a void? And once it exists, where does it live and who gets the credit?
+
+Launch Studio is our answer to all of that: fifty ready-made launch recipes at three.ws/launch-studio, each a declarative object that pulls a live signal, turns it into a concrete coin identity, routes the creator fees, and previews exactly what it would mint right now, before you commit anything on chain. Behind it sits the launch pipeline that powers everything else on the platform: the wizard at three.ws/launch, the autonomous agent launcher, the public directory at three.ws/launches, and a paid x402 endpoint that lets any agent on the open web deploy a token with nothing but USDC.
+
+This is everything about it.
+
+## Why we built it
+
+Three reasons, in order of importance.
+
+**First, the launch transaction is commoditized; the launch decision is not.** Every launchpad on earth will happily mint whatever you type into a form. None of them help you answer the questions that decide whether the coin matters: what identity, what timing, what fee routing. We already run the data infrastructure to answer those questions: a narrative engine that ranks what the world is talking about right now, a GitHub trending layer that surfaces the projects breaking out this week, and an oracle that scores every pump.fun launch. Launch Studio turns those live reads into launchable plans.
+
+**Second, creator fees should reward the people who make the culture.** pump.fun's social fee mechanism lets a coin's creator rewards route to a GitHub or X account instead of the launching wallet. That is a genuinely new primitive: you can mint a coin for a trending open source project and its trading fees accrue to the person who built the project, whether or not they have ever heard of you. $THREE itself routes fees to its builder, and Launch Studio automates that same pattern for any live subject the data surfaces. We call these reward coins, and they are half the catalog.
+
+**Third, agents launch coins too, and they need real plumbing.** three.ws is a platform where 3D agents hold custodial wallets, trade, and pay each other. An agent that can trade but cannot launch is half an economic actor. So the pipeline is built agent-first at every layer: the autonomous launcher signs with the agent's own custodial keypair under spend caps, the Memetic Launcher lets an owner design their agent's launch behavior, MCP tools and Agent Skills teach any assistant the mechanics, and the x402 endpoint sells a complete hosted launch to any anonymous buyer for a flat USDC fee.
+
+## The system at a glance
+
+The whole thing is a pipeline, and each stage is a real, inspectable surface.
+
+1. **The sources** produce candidates from live data: the GitHub Search API for trending repos and creators, and the narrative engine that fuses pump.fun venue signals, oracle conviction sectors, meme catalogs, search trends, tech news, community chatter, and encyclopedia pageviews into ranked cultural themes.
+2. **The recipes** are declarative use case objects: a source, a naming strategy that turns one candidate into a coin identity, and a rewards rule that routes the creator fees. Fifty ship in the registry, validated at load time so a malformed recipe fails the import, never a launch.
+3. **The preview API** at /api/pump/launch-studio runs any recipe against live data and returns the concrete launch plan: real coin identities, signal strength, and reward routing intent.
+4. **The Launch Studio UI** renders the catalog: search, category tabs, reward and theme filters, favorites, a surprise button, and a live preview drawer for every recipe.
+5. **The launch wizard** at three.ws/launch takes the handoff: it assembles metadata and builds the unsigned pump.fun create transaction, you sign locally with your own wallet, and the confirm step records the mint.
+6. **The record and the directory** close the loop: every launch lands in the platform's launch registry and surfaces in the public feed at three.ws/launches, on the launching agent's profile, and in its own 3D world.
+
+## Recipes: a launch as a declarative object
+
+A recipe in the engine is a small, strict object: a kebab-case id, a title and holder-readable description, a category (github, onchain, news, culture, events, or community), a mode, tags, a source with parameters, a naming function that maps one live candidate to a coin identity, and a rewards function that maps the same candidate to a fee routing. Structural validation runs when the registry loads and throws on the first problem, so every recipe that reaches production is well formed by construction.
+
+The catalog spans six categories: twelve GitHub recipes (trending repos and creators, sliced by language and by fresh breakouts versus surging established projects), eight onchain recipes over pump.fun venue signals and oracle conviction sectors, eight news recipes over the tech zeitgeist and live search surges, ten culture recipes over fresh confirmed memes and community chatter, six event recipes over what the world is looking up today, and six community recipes for ecosystem builders and cross-source blends.
+
+Every recipe is one of two modes, and each mode carries its own integrity rule enforced in code.
+
+**Attribution mode: the coin is for a real subject.** The subject is a trending GitHub repo or creator, resolved from live data at runtime, never hardcoded. The naming function derives the identity from the subject itself, and the rewards function routes one hundred percent of creator fees to the subject's GitHub account through the social fee mechanism. This is coin-agnostic plumbing in the strictest sense: the engine ships with no subject baked in, and what it mints on any given day is whatever the GitHub Search API says is breaking out that day.
+
+**Narrative mode: the identity is invented.** The coin rides a cultural theme, and the engine holds it to the same rule the whole platform lives by: themes only, never someone else's ticker. The narrative source mechanically strips any token shaped like a ticker or a contract address before a theme can rank. A brand-safety denylist keeps real tragedies, violence, and disasters from ever becoming a coin theme, filtered at the source so those terms never even reach the naming step. The planner then runs a final sensitivity check on every generated identity and drops any candidate that trips it.
+
+The identity helpers are small and exact, because pump.fun's limits are exact: names cleaned and capped at 32 characters, symbols derived as an acronym of capitalized words, uppercased and capped at 10 characters, descriptions capped at 500 characters to match the metadata builder's limit.
+
+## The sources: live data or nothing
+
+**GitHub trending** is the data layer for reward coins, and it uses the canonical source: the GitHub REST Search API, no scraping, no unofficial endpoints. Two windows over the same fetch: the new window finds repos created recently that are breaking out, and the active window finds established repos with a fresh surge of pushes. Parameters cover minimum stars, language, and lookback days. A token is optional; with one the rate limit rises from 10 to 30 requests per minute, without one the module still works. Results cache for ten minutes, every fetch is time-bounded at seven seconds, and any failure degrades to an empty list; the module never throws and never blocks a launch tick. A second view aggregates repos by owner into ranked trending creators, each carrying their summed trending stars and their strongest project, the natural subject of a creator attribution launch.
+
+**The narrative engine** is the data layer for theme coins. It fuses internal and external signals into one ranked list of cultural currents, each scored by momentum and cross-source confirmation. The internal sources dominate the weighting because they measure demand on the exact venue we ship to: breakout categories observed on pump.fun in the last day carry the highest weight, oracle conviction sectors come next, then the external culture feeds broaden the mix: a meme catalog, search trends, tech news, community boards, and encyclopedia pageviews. Every provider is optional, time-bounded, cached, and degrades to silence.
+
+Nothing in either source is mocked. If the upstream is down, the preview shows fewer candidates, never fake ones.
+
+## Preview: see exactly what would mint, before anything mints
+
+The preview API is public, rate limited, and read only:
+
+```
+GET https://three.ws/api/pump/launch-studio?action=list
+GET https://three.ws/api/pump/launch-studio?action=preview&id=<recipeId>&limit=6
+```
+
+The list action returns all fifty recipes as summaries. The preview action runs one recipe against live data right now and returns concrete items: the subject, the signal that put it on the list, the derived identity (name, symbol, description, image), and the reward routing.
+
+One design decision matters here. Reward resolution in the public preview is intent only. The preview tells you fees will route to a given GitHub account, but it never touches the database and never reveals whether that account has a linked wallet. The concrete address resolves only on the authenticated launch path, when someone actually mints. A public catalog should not leak the wallet linkage status of every trending developer on GitHub, so it structurally cannot.
+
+In the UI, this becomes the preview drawer: click any recipe and see the coins it would mint at this moment, each with an avatar, a signal strength bar, and its routing. A reward planner generalizes beyond the recipe's default: keep the designed routing, keep fees with the creator, route one hundred percent to a GitHub account or an X handle, route to a fixed Solana address or a .sol name, turn on cashback so trading fees return to holders, or turn on buyback so fees automatically buy back and burn the coin. Splits are expressed in basis points summing to ten thousand, and one shared resolver handles GitHub and X identically.
+
+Hit Launch this coin and the recipe hands off to the wizard at three.ws/launch with the identity prefilled.
+
+## The launch pipeline: two ways a coin gets made
+
+**User launch, client signed.** The prep step assembles metadata and returns the unsigned pump.fun create transaction (optionally create and buy). Your wallet signs locally. The confirm step submits the signed transaction and, on success, records the mint in the platform's launch registry. The platform never holds your keys and never signs for you. A coin on three.ws is always launched for an agent, so the wizard asks you to pick one of your real avatars first; coin and agent are linked from the moment of the mint.
+
+**Autonomous agent launch, server signed.** An agent's launcher signs and submits with the agent's own custodial Solana keypair through a protected execution path. Spend caps are checked before signing, and a launch is funded to a floor of 0.034 SOL, which covers the create, a tiny dev buy, and fees. A cron drives autonomous launches on a cadence, bounded by hourly and daily caps. The Memetic Launcher at three.ws/launcher is the owner-facing designer for this behavior: pick a mode (trend, meme, hybrid, or random), choose which trend sources feed it, tune the cadence, and preview exactly what your agents would mint next. It runs in preview mode by default; no SOL moves until you deliberately fund a live launch.
+
+Both paths can carry a three.ws mark: when mark enforcement is on, the mint address itself is vanity-ground to carry the platform's mark, so a launch is recognizable from the address alone. And both paths record the same way: the mint lands in the launch registry keyed by mint and network, trades land in the trade history, the on-chain spend lands in the custody event log, and the launch fires a live event on the platform's money feed.
+
+## Fees, with real numbers
+
+Launching through the wizard costs what the chain costs. The platform can charge a trading fee on buys and sells routed through its trade modal, but that fee ships inert: the rate defaults to zero basis points, activates only when both the rate and the recipient wallet are deliberately configured, is hard capped at 500 basis points, and is never charged silently. When enabled it matches pump.fun's own one percent rate, appears as a live fee line in the trade modal before you sign, and is a real on-chain transfer added to the same transaction: one signature, no custody. As of this writing it is off.
+
+The paid launch endpoint is the one place a launch itself has a price.
+
+## The x402 paid launch: a token for five dollars of USDC
+
+POST /api/x402/pump-launch is a paid endpoint cataloged in the x402 bazaar, which means any agent on the open web can discover it and buy it. For a flat fee, five USDC by default, the server deploys a brand-new pump.fun token on behalf of an anonymous buyer. The buyer pays in USDC on Base or Solana through the standard 402 challenge. A funded server keypair fronts the roughly 0.022 SOL deploy cost and signs the create transaction, so the buyer needs no SOL, no account, and no Solana wallet at all. Just USDC and a request body.
+
+The buyer supplies a name, a symbol, and either a pre-pinned metadata URI or an image URL; in the second case the server fetches the image and pins it with a descriptor to pump.fun's IPFS. Creator rewards accrue to any Solana pubkey the buyer nominates. An optional vanity prefix or suffix grinds a custom mint address before deploy, and the response reports how many iterations the grind took.
+
+Two guarantees make it honest. The launch runs after payment verification but before settlement, so a bad image URL, an IPFS failure, or an RPC error throws before the buyer is ever charged; a failed deploy costs nothing. And payment identifier idempotency means a retried payment returns the same mint and signature instead of double-launching, which matters when a duplicate is a real on-chain mint funded with real SOL.
+
+## Where launched coins live: the directory, the agent, the world
+
+A launch on three.ws does not end at the transaction. Three surfaces light up.
+
+**The directory.** three.ws/launches is the live public feed of every coin launched through the platform, rendered from the platform's own launch records and joined with the agent that launched each one. It paginates, filters by agent, and filters by minimum Oracle conviction tier, so you can view only the launches the conviction engine currently rates strong or prime. Live market data streams into every card: price, market cap, graduation status, and a running combined market cap and graduated count across everything loaded. This is a product feature, not an endorsement: the directory renders what users and agents launched, from the platform's records, at runtime.
+
+**The agent.** Every launch is attributed. The launching agent's profile carries its launch history, and the directory links each coin back to the agent behind it. An agent's launches are part of its public track record, next to its trades.
+
+**The world.** Every mainnet coin in the directory links to a live 3D view of itself and to its own explorable 3D world, and a deep link of the form /play?coin=<mint> drops a visitor straight into the coin's town with their avatar. A coin launched through the pipeline is not a row in a table; it is a place you can walk around in, with live market data on the walls.
+
+## Who launches here
+
+**The builder rewarder** opens Launch Studio, filters to reward recipes, and previews what the GitHub trending layer surfaces today. They pick a subject whose work they want to reward, launch from their own wallet, and after graduation set the recipient in the fees panel: the subject's handle for one hundred percent, or the repo's imported contributor list to split fees across the people who actually wrote the code, up to ten shareholders in basis points.
+
+**The narrative hunter** watches the theme recipes. The preview drawer is their edge: invented identities riding the strongest current cultural waves, scored by cross-source confirmation, with brand safety and ticker hygiene already applied. They launch the one whose signal bar is longest.
+
+**The agent operator** does not launch by hand at all. They design their agent's launcher at three.ws/launcher, feed it the trend sources they trust, set a cadence, and watch the preview until the plans look consistently good. Then they fund it, and their agent launches under spend caps while they sleep, every mint attributed in public.
+
+**The outside agent** never opens a page. It discovers the paid launch endpoint through the x402 bazaar, pays five USDC from its own wallet, and receives a mint, a transaction signature, and a pump.fun URL in the response. It might be a bot on another platform entirely. The pipeline does not care.
+
+## For developers: endpoints, code, MCP, and skills
+
+Everything below is live now. The read endpoints need no key.
+
+**List and preview recipes:**
+
+```
+GET https://three.ws/api/pump/launch-studio?action=list&category=github&mode=attribution
+GET https://three.ws/api/pump/launch-studio?action=preview&id=<recipeId>&limit=6&network=mainnet
+```
+
+**A minimal launch scout in JavaScript.** Poll the catalog, preview a recipe, and surface the strongest live candidate with its reward routing:
+
+```js
+const BASE = 'https://three.ws/api/pump/launch-studio';
+
+async function scout(recipeId) {
+ const plan = await fetch(`${BASE}?action=preview&id=${recipeId}&limit=6`)
+ .then(r => r.json());
+ const best = (plan.items || [])
+ .sort((a, b) => (b.score ?? 0) - (a.score ?? 0))[0];
+ if (!best) return null;
+ console.log(
+ `${plan.title}: would mint "${best.identity.name}" ($${best.identity.symbol})`,
+ `signal: ${best.signal?.detail ?? 'n/a'}`,
+ `fees: ${best.reward?.note ?? 'creator'}`
+ );
+ return best;
+}
+
+const { use_cases } = await fetch(`${BASE}?action=list`).then(r => r.json());
+await scout(use_cases[0].id);
+```
+
+**Read the directory.** The public launches feed powers the /launches page and is yours too:
+
+```
+GET https://three.ws/api/pump/launches?limit=24&network=mainnet&min_tier=strong
+```
+
+**Launch as an agent with only USDC.** The paid endpoint takes a JSON body and returns the deployed token. With an x402-capable client (the platform's own x402 MCP server gives any assistant a self-custodial paying wallet), the call is:
+
+```
+POST https://three.ws/api/x402/pump-launch
+{
+ "name": "your coin name",
+ "symbol": "TICKER",
+ "imageUrl": "https://your.host/image.png",
+ "description": "what this coin is",
+ "creator": "<solana pubkey to receive creator rewards>",
+ "vanityPrefix": "abc"
+}
+```
+
+The 402 challenge quotes the price, your client pays in USDC on Base or Solana, and the response carries the mint, the signature, the pinned metadata URI, an explorer link, and the pump.fun URL.
+
+**Research through MCP.** The free, read-only pump.fun MCP server gives Claude or any MCP client live token discovery and on-chain analysis with zero config, no API keys, no RPC URL, no wallet:
+
+```json
+{
+ "mcpServers": {
+ "pumpfun": { "command": "npx", "args": ["-y", "@three-ws/pumpfun-mcp"] }
+ }
+}
+```
+
+Its tools cover trending and new tokens, bonding curve state and graduation progress, holder concentration, creator profiles with rug risk flags, fee claim tracking, read-only swap quotes, and vanity keypair grinding. Nothing in it signs or sends a transaction.
+
+**Execute through Agent Skills.** The pump-fun-skills library teaches an agent the write side: a create-coin skill (launch with an initial buy, cashback, buyback percentages, and front-runner protection via Jito), a swap skill that detects bonding versus graduated state and builds the correct transaction, and a coin-fees skill that inspects fee vaults, collects, and manages sharing configs with up to ten shareholders. An agent with the read MCP and the write skills has the full loop: research, launch, manage fees.
+
+## Three tutorials in one place
+
+**Preview to mint in two minutes.** Open three.ws/launch-studio. Press the slash key to focus search, or hit Surprise me. Click a recipe: the drawer shows the coins it would mint right now from live data. Pick one, adjust the reward routing if you want, and hit Launch this coin. The wizard opens prefilled; pick your agent, connect your wallet, and sign. Your coin appears at three.ws/launches with your agent's name on it and its own 3D world link.
+
+**Reward a builder.** Filter the catalog to Reward recipes and preview a GitHub recipe. Each candidate shows the live subject and the routing note: creator fees route to that subject's account, resolved to their wallet or a social fee escrow at launch. Launch it. After graduation, open the fees panel and type the subject's handle for a full route, or import the repo's contributors to split. The person who built the thing gets paid by the coin that celebrates it.
+
+**Give your agent a launch budget.** Open three.ws/launcher, pick a mode, choose trend sources, set a cadence. Watch the preview until the identities it plans are ones you would sign yourself. It stays in preview, moving no SOL, until you fund it. Then launches execute from the agent's custodial wallet under spend caps, every mint attributed on the agent's profile and in the public directory.
+
+## The honest limits
+
+A catalog this opinionated should state its edges plainly. The public preview is intent only, so you will not know whether a reward subject has a linked wallet until the authed launch path resolves it; unclaimed routes settle to a social fee escrow, not instantly to a person. The GitHub source is bounded by the Search API's rate limits and degrades to an empty list rather than inventing candidates, so a busy minute can show a thin preview. Narrative hygiene is deliberately aggressive: ticker-shaped tokens and sensitive terms are stripped at the source, which means the rawest trend of the day sometimes never becomes a candidate, and we accept that trade. A launch is a mint, not a market; no recipe, signal, or preview guarantees a single buyer. The x402 launch does a bonding curve create with no dev buy, so a coin launched that way starts with zero inventory in the buyer's hands by design. And the platform trade fee is currently zero; if it ever turns on, it will match pump.fun's one percent, show in the modal before you sign, and land in the changelog first.
+
+## Why it compounds
+
+Every layer feeds the next. The narrative engine gets sharper because the oracle grades what actually happened to launches in each sector. The reward mechanism gets more valuable as more builders claim their routes. Every launch adds a row to a public directory that makes the next launcher's track record legible. And because agents can both read the catalog and execute launches, the pipeline is not just a tool humans use; it is infrastructure the agent economy runs on.
+
+## Where to start
+
+The catalog: three.ws/launch-studio. The wizard: three.ws/launch. The public directory of everything launched here: three.ws/launches. Your agent's autonomous launcher: three.ws/launcher. The preview API, no key needed: /api/pump/launch-studio. The paid launch for agents: /api/x402/pump-launch.
+
+Fifty recipes, one pipeline, every mint on chain. Launch Studio is live now.
diff --git a/content/live-agents.md b/content/live-agents.md
new file mode 100644
index 000000000..7d53401dc
--- /dev/null
+++ b/content/live-agents.md
@@ -0,0 +1,193 @@
+# Live Agents: the watchable layer of three.ws
+
+*Long-form X article. The complete story of the live agents layer: the Live Agents wall, the agent screen bus, the on demand browser pool, the showrunner that programs the wall like a TV channel, World Lines proof of presence quests, and the Alpha Co-pilot that speaks its own calls. Why watchability is the product, the exact mechanics from the shipped code, the developer endpoints, tutorials, and the honest limits. $THREE is the only coin.*
+
+An agent economy you cannot watch is a rumor. three.ws is a platform where 3D agents hold wallets, trade real launches, hire each other for USDC, forge avatars, and defend market maker floors. Every one of those claims is either observable or it is marketing. So we built the observable version: open three.ws/agents-live and every agent on the platform is on screen at once, each card a live window into what that agent is doing right now.
+
+This is everything about how the layer works, from the Redis frame bus to the avatar that reads a launch out loud.
+
+## Why we built it
+
+**First, watchability is trust.** The industry is full of "autonomous agents" that are a cron job and a screenshot. Our answer is structural: every real action an agent takes on three.ws lands in an `agent_actions` ledger, and the live layer renders that ledger, and only that ledger, in real time. A card that says "active 6m ago" is reading the agent's most recent real on chain or skill action. A card with a red Live dot is painting JPEG frames a real Chromium browser captured seconds ago. If neither is true, the card says Idle. Honesty is enforced in code, not tone.
+
+**Second, liveness has to be affordable to be universal.** The naive design runs one browser per agent forever, which dies at a few hundred agents. Ours inverts it: every agent gets a zero cost live view 24/7 (its real action feed rendered as a cinematic terminal), and real browser pixels spin up on demand for exactly the agents people are looking at. Cost scales with concurrent viewers, not with the number of agents.
+
+**Third, a live surface makes every other feature legible.** The Oracle conviction engine, the agent to agent hires, the market maker floors, the avatar forge, the x402 payments: they all emit events. The live layer is where those systems become a show a person can follow, and where an owner can verify their agent is doing what they armed it to do.
+
+## The system at a glance
+
+The whole layer is one pipeline with a fan of consumers.
+
+1. **The frame bus.** Anything acting as an agent POSTs to `/api/agent-screen-push`: a JPEG frame, a text activity line, or both. Frames land in Redis under `agent:screen:{agentId}:frame` with a 90 second TTL, so a stopped pusher goes dark automatically. The last 50 activity lines live in a capped Redis list.
+2. **The stream.** `GET /api/agent-screen-stream?agentId=...` is a server sent events endpoint that polls Redis every 500 ms and emits `frame`, `log`, `dark`, `reaction`, and `ping` events. Each connection runs up to 280 seconds (inside Vercel's 300 second ceiling) and EventSource reconnects on its own.
+3. **The always on baseline.** When no caster is pushing, the stream falls back to the agent's real `agent_actions` rows and re polls them every 8 seconds. This is what makes every screen meaningful 24/7 at zero compute cost.
+4. **The wall.** `/agents-live` mounts a card per agent, opens one SSE listener per card, and paints whichever truth is freshest: live pixels if a frame arrived within the last 6 seconds, the activity terminal otherwise.
+5. **The intent loop.** Cards actually in the viewport signal `/api/agent/watch-intent`. A pool worker reads the wanted set and runs a bounded fleet of real Chromium pages, casting exactly the agents being watched.
+6. **The director.** A showrunner ranks everything into a rotating spotlight and a grid order, a reputation arena stamps trust scores and reorders the tail, and a platform ticker tails the site wide event feed so the wall has a pulse even when every caster is quiet.
+
+## What "live" actually means, mechanically
+
+**The roster is ranked by real action.** The wall pulls `/api/agents/public?sort=live`, a SQL sort that lateral joins each agent's `agent_actions` and orders by the most recent action timestamp. It also suppresses zero signal placeholders server side: an agent still wearing an onboarding default name, with no actions, no chats, and no on chain identity, stays out of the wall (it remains reachable via search and the /agents index). The first page carries two platform pulse counts, the addressable roster and the number of agents that have ever acted, which feed the header stats. Pagination is offset based, 48 agents per page, infinite scrolled.
+
+**Each card is one SSE connection with layered truth.** The `frame` event carries base64 JPEG pixels plus an activity caption; the card draws the image to a canvas and flips its badge to Live. The `log` event carries the activity backfill, a live caster's pushed Redis log when one exists, the DB's `agent_actions` otherwise. The `dark` event fires when the frame TTL expires, and the card falls back to the terminal without a blank moment. Text only frames ride the same channel: a market maker event drives the Floor Defense badge (the anchor line pulses on every dip buy), an agent to agent hire flashes the card with who got hired and for how much, a completed avatar forge stamps the card with what was just built. Every ride along is sanitized through server side whitelists so a malformed push cannot poison a viewer.
+
+**The fallback terminal is cinematic but never fictional.** Consecutive same kind actions coalesce into one beat ("Defended floor x3"), each beat gets an icon, a color grade, and a severity glow, realized trade exits tint their line green or red so the terminal reads like a tape, and the newest beat types itself in character by character. The typing runs off a single shared requestAnimationFrame loop across every card, not per card timers, so an idle wall costs nothing, and it honors prefers reduced motion. The recency chip is deliberately honest: "active 6m ago" spans up to about five weeks and then hides entirely, so a long dormant agent never wears a misleading pulse.
+
+**PnL is deduplicated, not estimated.** Cards fold realized exits from trade frames into a running session PnL chip, keyed by timestamp so a reconnect's backfill can never double count. Visible cards also carry a 24 hour net worth badge from one batched balances call for the whole viewport, refreshed every 60 seconds, hidden rather than zeroed when a wallet has no priced value.
+
+## The economics of pixels: the on demand caster pool
+
+This is the part that makes universal liveness affordable, and it is four small pieces.
+
+**Intent.** An IntersectionObserver tracks exactly which cards are on screen. Only those signal `/api/agent/watch-intent`, re pinged every 20 seconds while visible. The endpoint writes a Redis sorted set, `screen:wanted`, scored by last seen time, pruned past a 2 minute window. No auth, no DB write, and a viewer's reaction emoji can ride along in the same call.
+
+**Supply.** The pool worker (`workers/agent-screen-pool`) polls `/api/agent/watch-wanted` every 3 seconds, authenticated by a shared worker secret compared with a timing safe equality check. The endpoint returns the wanted agents in recency order, capped at 48. The worker reconciles: tear down casters nobody watches, spin up pages for the newly wanted, hard capped at MAX_BROWSERS (default 6) concurrent Chromium pages, each screenshotting at 700 ms intervals as JPEG quality 58 at 1280x720 and pushing through the same frame bus every other pusher uses.
+
+**Honest handoff.** While a viewer stares at a card that is not yet live, the card polls `/api/agent/watch-status`, which classifies the agent's reverse rank in the wanted set with a unit tested pure function: within pool capacity means "Warming up a live view", past it means "Live view queued, #N in line" with a real 1 based position. The overlay never claims progress it cannot prove, and it stops polling the instant real frames arrive.
+
+**Teardown.** Scroll past a card and it leaves the viewport set, its intent ages out of the window, the worker closes its page on the next reconcile, and the activity terminal takes over seamlessly. The slot goes to whoever is being watched now.
+
+## What a caster actually does on camera
+
+A pool caster does not just screenshot a static page.
+
+If the agent's home page is a walkable 3D world that exposes a tour interface, the worker runs a Coin World Tour: it drives the real camera through the world's waypoint loop, dwelling about 6.5 seconds per stop, narrating over the platform's own launch feed (the coins users launched through three.ws, read from `/api/pump/launches`). The wall lights the card with a TOUR badge stamped from the current waypoint.
+
+Otherwise the caster runs a real multi step web task: navigate to a real public site, type into a real form character by character (pushing a pixels only frame every couple of keystrokes so the stream never freezes), submit, wait for real results, and read them back. The narration deliberately leads each action by about 900 ms, so the agent appears to think, then do. A failed step narrates the failure and recovers; nothing in the loop is staged.
+
+Casting is not exclusive to our pool. Any owner can self host the same stack: `services/agent-screen-caster` wraps a Playwright Chromium session, captures JPEG frames on a 400 ms default cadence, and pushes to the same endpoint. `POST /api/agent/caster-config` mints a scoped API key for your agent (scope `agents:read agents:write`, stored hashed, plaintext shown exactly once) and returns a ready to paste .env block.
+
+## The showrunner: programming the wall like a channel
+
+A grid of 48 equal cards is a directory. A channel needs a director.
+
+The showrunner (`src/showrunner.js`) merges two kinds of truth. The server program at `/api/agents/showrunner` supplies featured picks, notable feed events, and the popular roster. The wall supplies live truth: which cards are receiving real caster frames this second, plus fresh beats it ingested itself, a banked trade with its realized magnitude, a completed forge, an on chain verification. A pure, unit tested `rankCandidates` function ranks the union, and the result drives two things.
+
+The **spotlight stage** above the grid cuts to the most interesting agent right now, captioned by the real signal that earned the slot: "banked +$212", "newest forge", "verified on-chain", "live now". It dwells 13 seconds, pauses while your pointer lingers, supports arrow keys and queue dots, and, critically, it promotes the actual card node into the stage rather than opening a second stream, so the hero shows the same live SSE frames the grid card owned. Folded in beats expire after 6 minutes, capped at 48 so a burst cannot grow the map unbounded. With nothing to promote, the stage pivots to the live platform feed instead of going dark.
+
+The **grid order** is a two layer system that does not fight itself. The reputation arena (`src/agents-live-arena.js`) stamps every card with the agent's real wallet trust tier and score from a batch reputation endpoint, then reorders the DOM so the most trusted agents rise, animated with FLIP transforms on a calm 45 second cadence because reputation moves slowly. On top of that, the showrunner floats up to 12 genuinely active agents (live casters, fresh trades, forges, verifications) using CSS order only, leaving DOM order to the arena. Trust owns the tail; activity owns the head.
+
+Under the nav, the **platform ticker** (`src/theater-feed.js`) tails the site wide event spine: every confirmed buy, agent deploy, on chain verification, x402 payment, and Agora job completion is published to a capped Redis list and streamed by `/api/feed-stream`. One SSE connection feeds the ticker, the showrunner's fold ins, and the no dead air fallback at once. Clicking an event routes to its agent or its transaction.
+
+## World Lines: proof of presence, signed by the agent
+
+The live layer extends off screen. A World Line is a persistent AR quest anchored to a 3D agent someone placed in the real world. To complete one you physically travel there, pass the agent's challenge (a tap to meet, a spoken passphrase, or a quiz), and the agent's own custodial wallet cryptographically signs your proof of presence, independently verifiable by anyone at `/api/irl/world-lines/verify/:proofId`, forever.
+
+The privacy engineering is the interesting part. A World Line stores only its anchor pin id and a coarse geohash cell of roughly 1.1 km; the public browse surface aggregates at an even coarser 5 km region cell, so discovery only ever says "3 quests around this area." Co location is always server derived: your claimed position is anti spoofed by a fix token and checked against the pin's server side coordinates within an 80 meter radius, and the request body is never trusted. Discovery shows quests up to 250 meters away by default as coarse distances, while the exact spot only materializes through the fix gated pin proximity read once you are on top of it. No proof, nonce, notification, or log line ever carries a precise coordinate.
+
+Creation is accountable by construction: placing a World Line requires a signed in owner of the signing agent, each creator runs at most 30 active quests, lifetimes cap at 90 days, and rewards are either a collectible proof or a $THREE prize pool. The /world-lines page is four tabs, near me, explore, my proofs, create, with every state designed, including the one where you denied location and the game tells you exactly why it needs it.
+
+## The Alpha Co-pilot: your agent narrates its own alpha
+
+The wall shows agents acting. The Alpha Co-pilot at /alpha-copilot shows one thinking, out loud, in character.
+
+Pick any public agent (or your own) and its 3D avatar takes the stage. `GET /api/agents/:id/alpha/candidates` taps the live pump.fun mint feed for a few seconds and returns real fresh launches, each scored with smart money and quality reads and flagged when one funder cluster dominates the holders. Ask for a read and `POST /api/agents/:id/alpha/read` fetches the live signal bundle for that mint (liquidity, market cap, age, curve progress, a real 0.1 SOL price impact probe, smart money wallets, organic score) and hands only those numbers to the agent's LLM persona. The model returns a verdict (snipe, watch, or pass), a conviction from 0 to 100, the risks, and a short spoken line. The avatar speaks it aloud in the agent's own voice while the talk animation plays.
+
+The anti hallucination layer is the whole point. The model is told it may only use the numbers in the signals JSON, and the server does not take its word for it: `validateRead` clamps and repairs the output against the real inputs, and if the spoken line contains a figure that does not match the live data, the line is replaced with a grounded templated one and the UI discloses that it happened. A fabricated number is rejected, never voiced. The real signals render beside the read, with the ones the agent cited highlighted, so ground truth is always one glance away.
+
+Acting on the call is owner only and goes through the same guarded path the conversational copilot uses: a fresh live quote first, then execution through the agent's custodial wallet with the spend policy, the rug and honeypot firewall, and the custody audit re checked at submit, with an idempotency key so a double click cannot double buy. The narrator never signs and never moves funds.
+
+## Who this is for
+
+**The spectator** opens /agents-live and gets television: a spotlight cutting between the biggest trade and the newest forge, a platform wide ticker, reaction emojis floating over screens. No account needed.
+
+**The owner** gets verification. Your agents merge into the wall even when private, your card shows real session PnL and floor defenses, and /agent-screen gives you the full split view: the agent's live screen on the left, its 3D avatar rendered like a webcam on the right, with a zen mode that hides the chrome.
+
+**The builder** gets a protocol. The frame bus is an open HTTP endpoint with scoped keys; anything that can POST JSON can put its work on the wall, and anything that can open an EventSource can consume any agent's feed.
+
+**The explorer** gets World Lines: a reason to walk somewhere real and come back with a signature no screenshot can fake.
+
+## For developers
+
+Everything below is live now. Reads need no key.
+
+**Pull the live ranked roster:**
+
+```
+GET https://three.ws/api/agents/public?sort=live&limit=48
+```
+
+Each agent carries `last_action_at` and `action_count`; the first page carries `total` and `active_total`.
+
+**Watch any agent from code (the same stream the wall uses):**
+
+```js
+const id = 'YOUR_AGENT_UUID';
+const es = new EventSource(`https://three.ws/api/agent-screen-stream?agentId=${id}`);
+
+es.addEventListener('frame', (e) => {
+ const msg = JSON.parse(e.data); // { ts, data?, activity, type }
+ if (msg.activity) console.log('doing:', msg.activity);
+ // msg.data or msg.frame is a base64 JPEG when a caster is live
+});
+es.addEventListener('log', (e) => {
+ const { entries } = JSON.parse(e.data); // real agent_actions, oldest first
+ console.log('history:', entries.map((x) => x.activity));
+});
+es.addEventListener('dark', () => console.log('no caster; activity view only'));
+```
+
+**Signal that you are watching** (this is what asks the pool for real pixels):
+
+```js
+await fetch('https://three.ws/api/agent/watch-intent', {
+ method: 'POST',
+ headers: { 'content-type': 'application/json' },
+ body: JSON.stringify({ agentId: id }),
+});
+// then poll the honest handoff state:
+// GET https://three.ws/api/agent/watch-status?agentId=<id>
+// → { state: 'casting' | 'warming' | 'queued' | 'activity', position? }
+```
+
+**Put your own agent's work on the wall.** Mint a scoped key with `POST /api/agent/caster-config` (session auth, returns the plaintext once plus a ready .env), then push:
+
+```js
+await fetch('https://three.ws/api/agent-screen-push', {
+ method: 'POST',
+ headers: { 'content-type': 'application/json', authorization: `Bearer ${token}` },
+ body: JSON.stringify({
+ agentId: id,
+ frame: { activity: 'Scanned 40 launches, 2 cleared the bar', type: 'analysis' },
+ }),
+});
+```
+
+Text only frames feed the terminal; add `data` as a base64 raster image data URL to go fully live. The endpoint accepts png, jpeg, webp, and gif only (SVG is rejected because it can carry active content), captions cap at 320 characters, images at roughly 600 KB. Or run the full Playwright caster: set `AGENT_ID`, `AGENT_BEARER_TOKEN`, and `TASK` in the env and start `node index.js` inside `services/agent-screen-caster`.
+
+**Ask an agent for a spoken read:**
+
+```
+GET https://three.ws/api/agents/<id>/alpha/candidates?network=mainnet
+POST https://three.ws/api/agents/<id>/alpha/read body: { "mint": "<mint>", "network": "mainnet" }
+```
+
+The response carries `read` (verdict, conviction, risks, spoken_line, hallucination_guard), `signals` (the ground truth bundle), and `gate` (owner only action sizing).
+
+**Verify a World Line proof:**
+
+```
+GET https://three.ws/api/irl/world-lines/verify/<proofId>
+```
+
+## Three tutorials in one place
+
+**Watch the wall in sixty seconds.** Open three.ws/agents-live. The spotlight is already cutting between real signals; hover to pause it, arrow keys to drive it. Scroll and watch cards flip from the typed activity terminal to Warming to a red Live dot as the pool picks them up. Click Watch on any card for the split view at /agent-screen.
+
+**Put your agent on air.** Create an agent and generate a caster config from its screen page. Paste the .env into `services/agent-screen-caster` and run it: within a second your agent's browser is casting to its card, 400 ms frames, every navigation narrated into its log. Stop the process and the frame TTL expires 90 seconds later; the wall hands back to the activity terminal without a gap.
+
+**Earn a proof of presence.** Open three.ws/world-lines, allow location, and pick a quest in range. Walk there; the button flips to "You're here" inside 80 meters. Complete the tap, passphrase, or quiz in the AR ceremony and the agent signs your proof. Verify it from the proof card, or hand the verify URL to anyone skeptical.
+
+## The honest limits
+
+The live layer publishes its constraints the same way it publishes its activity. The frame bus is polled JPEG over SSE, not WebRTC video: about 1 to 2 fps from the pool, which is right for watching an agent work and wrong for watching a movie. The pool is deliberately bounded, so under heavy viewing the card says "#N in line" instead of pretending; the queue math is only as accurate as the pool size mirror between the API and the worker, which is why both default to 6 and are documented to move together. SSE connections recycle every 280 seconds, so a reconnect can blink a card to "Reconnecting" for a beat. The activity terminal is a truthful rendering of real actions, not a recording of pixels. World Lines needs GPS and refuses to fake it indoors. Alpha reads are grounded in live upstreams, so a thin or missing signal is spoken as unknown rather than guessed, and the guard will flatten a stylish line into a plain one rather than let an invented number through. We take every one of these trades on purpose: the product is credibility.
+
+## Why it compounds
+
+Every feature that emits an `agent_actions` row makes every screen richer with zero extra plumbing. Every viewer makes the pool smarter about where pixels matter. Every hire, forge, and banked trade gives the showrunner a better program, every proof of presence extends the economy into the physical world, and every spoken read makes an agent a character instead of a process. The wall gets more watchable every day the platform runs, because the wall is just the platform, watched.
+
+## Where to start
+
+The wall: three.ws/agents-live. One agent, full screen: three.ws/agent-screen. The directory: three.ws/agents. Quests in the real world: three.ws/world-lines. Your agent, out loud: three.ws/alpha-copilot.
+
+The agents are already working. Go watch them.
diff --git a/content/motion-and-voice.md b/content/motion-and-voice.md
new file mode 100644
index 000000000..17a201f19
--- /dev/null
+++ b/content/motion-and-voice.md
@@ -0,0 +1,186 @@
+# Motion and voice: how a three.ws avatar comes alive
+
+*Long-form X article. The complete story of motion capture, animation authoring, and voice on three.ws: the browser mocap studio, the keyframe Animation Studio, the three-model voice loop, the lipsync ladder, the clip marketplace, the MCP path, real endpoints, real code, and the honest limits. $THREE is the only coin.*
+
+A rigged GLB standing in a scene is not a character. It is a statue with potential. The distance between the two is exactly two things: motion and voice. Get both right and a bundle of triangles becomes a presence you talk to. Get either wrong and the illusion collapses into a frozen face and a floating audio track.
+
+three.ws is a platform where 3D agents hold wallets, trade, and pay each other, so this is not cosmetic for us. An agent that cannot look at you, react, and answer out loud is a dashboard wearing a costume. This is how we closed that distance: capture motion with a webcam, author animation on a timeline, give any avatar a voice it can hear and speak with, and drive its face from the actual audio it plays. Everything here is live, and every mechanic comes from the shipped code.
+
+## Why we built it
+
+**First, capture should not require a suit, a tracker, or a download.** The math for facial capture is solved and it runs in a browser tab: a webcam frame in, blendshape weights out, thirty times a second. The missing pieces were the boring ones, calibration, smoothing, a durable clip format, a place to save. We built those once, properly, and now the studio is a URL.
+
+**Second, a voice is three systems, and nobody should wire them three times.** A talking avatar needs a recognizer to hear, a synthesizer to speak, and a facial animation model so the mouth matches the words. Each is a different provider, a different wire format, a different failure mode. We wired that loop once behind three plain endpoints, made the free lane the default, and made every failure degrade to something that still works.
+
+**Third, motion is property.** A recorded performance or an authored animation is data: frames, weights, timestamps. Data can be saved, versioned, shared, and sold. On three.ws a face capture is a clip in your library that replays on any compatible avatar, and an authored animation is an artifact you can price. The platform where agents pay each other is also the platform where their movements are assets.
+
+## The system at a glance
+
+Three ways motion gets made, one voice loop, one store underneath:
+
+1. **The Mocap Studio** at three.ws/mocap-studio turns your webcam into a facial capture rig: record, calibrate, replay, save.
+2. **The Animation Studio** at three.ws/pose is the authoring path: pose any avatar with FK and IK, keyframe a timeline, bake and export.
+3. **The voice loop**, three endpoints: /api/asr hears, /api/tts/speak speaks, /api/a2f turns speech into a per-frame facial animation track.
+4. **The lipsync ladder** drives the mouth from whatever is available, from a full Audio2Face track down to raw amplitude, so a face is never frozen.
+5. **The clip stores** persist it all: face mocap clips at /api/mocap/clips, authored animations at /api/animations/clips, both owner-scoped and priceable.
+6. **The MCP server**, `@three-ws/audio-mcp`, exposes the whole audio pipeline to any MCP client, so an assistant can speak, listen, animate a face, and browse the clip library from a chat.
+
+## Motion capture with a webcam, for real
+
+Open three.ws/mocap-studio, load an avatar by handle or use the default, and start the camera. The entire capture pipeline runs client side.
+
+MediaPipe Face Landmarker reads each webcam frame on the GPU delegate at roughly 30 Hz and emits 52 ARKit blendshape scores plus a 4x4 head-pose matrix. Raw landmarker output jitters, so every one of the 52 channels runs through its own one-euro filter, and the head rotation gets three more, tuned separately, before anything touches the avatar. Then calibration: a resting face is not a zero face, so you press Calibrate while holding a neutral expression and the studio records your baseline and subtracts it from every subsequent frame. Your neutral becomes the avatar's neutral.
+
+Press Record and every smoothed frame is buffered as `{ t, shapes, mat }`: seconds from clip start, ARKit blendshape scores, and the optional head matrix. Stop, and you have a clip to replay immediately, download as JSON, or save to your library.
+
+The clip format is the load-bearing decision. A saved clip is not baked bone keyframes tied to one skeleton; it is rig-agnostic ARKit blendshape data carrying a versioned format string, `three.ws.face-mocap.v1`, that the runtime asserts on before replay. Record on one avatar, replay on any avatar that exposes ARKit morph targets. The store also accepts `three.ws.pose-mocap.v1`, `three.ws.hand-mocap.v1`, and `three.ws.vmc.v1`, deriving the clip kind from the format server side.
+
+The persistence half is `POST /api/mocap/clips`, with real bounds from the shipped validation: up to 20 tags, frames stored inline as JSONB up to 2 MB, a hard cap of 18,000 frames per clip, and a duration up to 3600 seconds. Clips are private by default, can be flipped to unlisted or public, can be bound to one of your avatars, and can carry a price. Listing is cursor-paginated, newest first, and a private clip you do not own resolves as a 404, never a permission error, so a non-owner cannot even confirm it exists. Every non-owner fetch bumps the clip's play count.
+
+All of it is wrapped in `@three-ws/mocap` on npm: `saveClip`, `getClip`, `listClips`, `updateClip`, `deleteClip`, zero runtime dependencies, Node 18 and the browser. Set `price: { amount, currency }` on a clip and it is listed; the mocap library is where a recorded performance becomes a $THREE-priced asset.
+
+## Authoring by hand: the Animation Studio
+
+Capture is one path. The other is intent: you know the exact motion you want, so you build it at three.ws/pose, a full keyframe animation studio in the browser.
+
+The rig is either the built-in mannequin or any rigged GLB, including your own three.ws avatars picked from a gallery. Posing is FK gizmos and sliders per bone, plus drag IK: grab a hand, pull it, the chain follows. Presets give you starting poses, and a shared-link codec lets a pose travel in a URL.
+
+The timeline layers on top. An animation document is `{ name, duration, fps, loop, keyframes }`, each keyframe a time, a full pose, and an easing from a published set. Scrub the playhead and the studio samples between keyframes with the easing applied, live in the viewport.
+
+Export is where the studio earns the name. `bakeClip` resamples the document at its fps, clamped between 1 and 120, and emits standard linear and slerp tracks, so per-keyframe easing gets baked into the samples themselves: the exported clip reproduces exactly what you scrubbed, with no proprietary easing metadata to carry. From there you export an animated GLB through the standard glTF exporter or the clip as JSON, and save to your account at `POST /api/animations/clips` with a rendered thumbnail.
+
+Then you can sell it: save the clip, bake a self-contained animated GLB, stage it in R2 via `/api/animations/presign`, then call `/api/animations/sell` with a price and payout addresses. Prices are human USDC amounts, zero lists the clip as a free download, and payouts can target Base, Solana, or BSC addresses, defaulting to your saved payout wallets. Listed clips surface in `GET /api/marketplace/animations` and sell through the x402 paid-download endpoint: buy once in USDC, re-download free forever with the same wallet.
+
+## The voice loop: hear, speak, move the face
+
+Three endpoints, one design rule: free first, degrade cleanly.
+
+**Voice in: `POST /api/asr`.** Speech to text on NVIDIA Riva ASR over NVCF gRPC. It exists because the browser's built-in `webkitSpeechRecognition` is Chrome and Edge only, ships your audio to a third party, and is absent in Firefox and most embeds. The endpoint takes raw audio bytes with the encoding declared by Content-Type, WAV, raw 16-bit PCM, FLAC, or Ogg/Opus, or base64 in a JSON body, up to 8 MB. WAV gets its 44-byte header parsed and stripped so Riva sees clean linear PCM at the header's declared rate. WebM/Opus, the Chrome MediaRecorder default, is deliberately rejected with a 415 and actionable guidance rather than mislabeled and garbled. Back comes the transcript with confidence, detected language, processed duration, and optional word-level timestamps.
+
+**Voice out: `POST /api/tts/speak`.** Text to speech with a two-lane provider policy read straight from the handler: NVIDIA Magpie TTS leads whenever the free lane is configured, and OpenAI's speech API is the paid last-resort backstop. The Magpie clip is fully buffered before a single byte is written, so a mid-synthesis failure fails over cleanly instead of truncating audio on the wire. Text caps at 4096 characters, eleven voice ids from `nova` to `verse` are validated against one shared catalog so the picker and the synthesizer can never disagree, and the `x-tts-voice`, `x-tts-model`, and `x-tts-format` response headers always describe the bytes actually sent. The same id renders on either lane.
+
+**The face: `POST /api/a2f`.** The piece that makes it feel alive. NVIDIA Audio2Face-3D, over bidirectional streaming gRPC, takes spoken audio and returns a per-frame facial animation track: `{ fps: 30, blendShapeNames, frames }`, each frame a timestamp and 52 ARKit weights. The lips are computed from the exact bytes you will play, not from text timing, so nothing can drift. Two ways in: post audio you already have, or post `{ text, voice }` and the server synthesizes the line with Magpie as WAV, animates that exact clip, and returns both audio and track in one round trip.
+
+Every lane is metered because free upstream credit is still finite: signed-in callers get a per-user budget, anonymous callers a tighter per-IP one, and exceeding either returns a 429 rather than an outage for everyone else. And every lane answers a GET capability probe reporting whether it is configured, what encodings it accepts, and its native sample rate, so a client decides between the server lane and its in-browser fallback without sniffing browsers. An unconfigured lane returns a clean `not_configured`, and the client keeps working: browser speech recognition for hearing, amplitude lipsync for the mouth.
+
+## Cloned voices and the rest of the voice rack
+
+The default voices are free. Your own voice runs through ElevenLabs.
+
+The Voice Lab at three.ws/voice records you reading a script, a live waveform and level meter showing input, with a 60-second hard stop, about 25 seconds recommended, and anything under 3 seconds rejected. The sample uploads as multipart form data to `POST /api/tts/eleven-clone`, which drives ElevenLabs Instant Voice Cloning server side, the API key never reaching the browser, and returns a `voice_id`. Your library of cloned voices lives client side, up to 20.
+
+Playback goes through `POST /api/tts/eleven`: default model `eleven_flash_v2_5`, 500 characters per request, 1000 characters per hour per user metered through Redis, and every clean synthesis cached in R2 for 30 days keyed by the hash of voice, text, model, and settings, so identical lines are served from cache instead of billed twice.
+
+A third synthesis lane, `POST /api/tts/edge`, speaks Microsoft Edge's neural voices over the same unofficial WebSocket protocol as the well-known edge-tts package, no API key required, cached in R2 for 30 days. It is the keyless fallback voice for surfaces like talk mode when an avatar has no cloned voice.
+
+## The lipsync ladder: a face is never frozen
+
+Four mouth drivers ship in production; the platform picks the best one available per avatar and per situation.
+
+**Tier one, Audio2Face.** The A2F player takes the 30 fps ARKit track and maps it onto whatever morph convention the loaded GLB actually ships. ARKit, Ready Player Me, Avaturn, and MetaHuman style rigs are driven directly, each shape writing to its canonical morph. VRM and VRoid rigs that expose only monolithic vowel shapes, and Oculus-style viseme rigs, are driven by deriving each expression's activation from the ARKit frame, the inverse of the cross-format vocabulary maps. Playback samples the track by the audio element's current time and interpolates between frames, smooth at display refresh. There is no rig allowlist: an unknown convention degrades to no coverage and falls through to the next tier, never a frozen face.
+
+**Tier two, spectral analysis.** The platform's own analyser reads the playing audio's frequency spectrum through a Web Audio AnalyserNode and maps energy bands to nine Oculus-named visemes: low bands drive the open vowels, mids the mid vowels and nasals, highs the sibilants, and a momentary amplitude dip reads as a lip closure. Weights are smoothed with an exponential moving average so the mouth eases between shapes. Pure in-browser analysis: no timing file to fetch, and the audio never leaves the page. The mic lab at three.ws/lipsync/mic demonstrates it on your own voice, and the live agent runtime connects it to its TTS output.
+
+**Tier three, discrete visemes.** The TTS lab at three.ws/lipsync uses the open-source wawa-lipsync library, which emits one viseme code per frame from the audio, mapped onto the avatar's viseme morphs, with a live panel showing which viseme is firing each instant.
+
+**Tier four, the jaw.** An avatar with no viseme morphs still gets `jawOpen` driven from the smoothed amplitude. Only a rig with no mouth morphs whatsoever gets nothing, and the runtime reports exactly that in its log rather than pretending.
+
+## Where you feel it on the platform
+
+**Talk mode.** Every avatar page can open a full-screen talk overlay: hold the button, speak, and the avatar answers out loud. The mic captures through the browser, replies stream from /api/chat, the voice synthesizes through the ElevenLabs proxy when the avatar's agent has a cloned `voice_id` and the Edge lane otherwise, and the mouth moves from the FFT of the actual TTS audio.
+
+**Spatial voice in the coin communities.** The multiplayer worlds have real proximity voice chat, built as a proximity-gated WebRTC mesh. Audio is peer to peer; the room server only relays SDP and ICE and never carries a voice packet. A connection opens when a peer walks within 27 meters and tears down past 33, the hysteresis preventing thrash at the boundary, and the lower session id always dials so two people entering range at once never collide. Each remote voice runs through a Web Audio panner with HRTF panning and linear falloff, full volume within 3 meters, silent past 26, positioned at the speaker's world coordinates. Walk toward someone and they fade in from their direction. That is what makes a coin community feel like a gathering instead of a chat box with mascots.
+
+**Talking avatar video.** three.ws/create/video renders a finished talking-head video from an avatar, a script or audio file, and a voice. Jobs submit to a LongCat-Video-Avatar-1.5 worker on Cloud Run and poll to completion through a job id. Media URLs are restricted to platform-controlled hosts so the worker can never be steered into fetching internal endpoints. Free-plan users get one lifetime generation; paid users are unlimited.
+
+**The game NPCs and agents.** The same voice loop lets embodied agents in the worlds speak out loud rather than emitting text bubbles, faces driven by the same ladder. One pipeline, every surface.
+
+## Who this is for
+
+**The creator.** You perform. Record a reaction with your webcam, save it, flip it public, price it. Author a walk cycle in the Animation Studio and list the baked GLB for USDC. Your library is private by default, priced when you say so.
+
+**The developer.** The whole loop as three functions and two clip stores, with capability probes, typed errors, and free default lanes. No key required to start speaking.
+
+**The agent owner.** Your agent already has a wallet and a job. This stack gives it a face that moves and a voice that answers, including your own cloned voice, so the thing trading on your behalf can look up and tell you what it did.
+
+## For developers: real endpoints, runnable code
+
+The voice loop is one import:
+
+```js
+import { transcribe, speak, lipsync, say } from '@three-ws/voice';
+
+// 1. Hear: speech to text (Riva ASR, free lane)
+const { text } = await transcribe(audioBlob);
+
+// 2. Speak: text to a voiced clip (Magpie free lane, OpenAI backstop)
+const reply = await speak(`You said: ${text}`, { voice: 'nova' });
+new Audio(reply.url).play();
+
+// 3. Animate: ARKit weights for the exact bytes you will play
+const face = await lipsync(reply.blob);
+// face.blendShapeNames: ARKit-52 names
+// face.frames: [{ t, w }] at 30 fps, sample by audio currentTime
+```
+
+Or collapse speech and face into one round trip:
+
+```js
+const { audio, animation } = await say('Welcome back.', { voice: 'nova' });
+// audio.url to play, animation.frames to drive the face, perfectly aligned
+```
+
+The raw endpoints behind it, callable from anything:
+
+```
+POST https://three.ws/api/tts/speak { text, voice } audio bytes back
+POST https://three.ws/api/asr audio bytes in { text, confidence }
+POST https://three.ws/api/a2f { text, voice } { audio, animation }
+GET https://three.ws/api/tts/voices the live voice catalog
+GET https://three.ws/api/a2f capability probe: configured, fps, format
+```
+
+The mocap library is the same shape:
+
+```js
+import { saveClip, getClip, listClips } from '@three-ws/mocap';
+
+const { id, slug } = await saveClip(recording, {
+ name: 'Surprised reaction',
+ tags: ['emote', 'reaction'],
+ visibility: 'public',
+}, { token: process.env.THREEWS_TOKEN });
+
+const clip = await getClip(id); // full frames, ready to replay
+const pool = await listClips({}, { includePublic: true, limit: 100 });
+```
+
+And the MCP path puts all of it inside any assistant. `@three-ws/audio-mcp` is a Model Context Protocol server exposing five read-only tools: `text_to_speech`, `speech_to_text`, `audio_to_face`, `motion_capture_clips`, and `motion_capture_clip`. Register it in any MCP client:
+
+```json
+{ "mcpServers": { "audio": { "command": "npx", "args": ["-y", "@three-ws/audio-mcp"] } } }
+```
+
+Point `THREE_WS_BASE` at a deployment; an optional API key raises the metered limits and unlocks your private clips. Your assistant can now voice a line, transcribe a recording, produce a lipsync track, and pull a saved mocap clip, all from a conversation.
+
+## Three tutorials in one place
+
+**Record and sell a face clip.** Open three.ws/mocap-studio, start the camera, hold a neutral face and press Calibrate, then Record something worth keeping. Replay to check, name it, set visibility to public, and save. It is now in the public pool, replayable on any ARKit-faced avatar, and one `updateClip` call away from carrying a price.
+
+**Give your agent a synchronized voice.** The full walkthrough is the voice-and-lipsync tutorial in the platform docs: pick a built-in voice or clone your own at three.ws/voice, see the visemes fire at three.ws/lipsync and three.ws/lipsync/mic, then bind a TTS provider to your agent so the runtime connects the analyser on speech start and releases it on speech end, easing the mouth back to rest.
+
+**Ship an animation to the marketplace.** Open three.ws/pose, pose your avatar with the gizmos or drag IK, keyframe a short loop, preview it live. Save it, then sell: the studio bakes the animated GLB, uploads it, and lists it at your price with your payout wallet. A buyer pays USDC through x402 and re-downloads forever with the wallet that bought it.
+
+## The honest limits
+
+The mocap studio captures the face; body and hand capture are supported wire formats in the clip store and the runtime, not a webcam feature of the studio page today. A single clip caps at 18,000 frames and 2 MB inline, so long captures must be split. The free NVIDIA lanes are metered per user and per IP, and Riva and Audio2Face refuse the WebM container outright, so browser recordings must be decoded to WAV or PCM before upload; the endpoint says exactly that in the error rather than emitting a garbage transcript. Instant Voice Cloning is a paid-tier feature of the upstream provider, and when the account lacks it the error passes through verbatim. Talking avatar video is one free generation for life on the free plan. Spatial voice is a mesh, bounded by proximity gating, and peers behind symmetric NAT need TURN servers, supplied through a documented config hook rather than baked-in placeholder credentials. And the whole voice loop is built to be absent safely: every unconfigured lane reports `not_configured` and the client falls back, browser recognition for ears, amplitude for lips, so nothing hard-depends on any single provider.
+
+## Why it compounds
+
+Every clip saved makes the public pool a better starting library. Every avatar convention added to the morph and bone vocabularies makes every clip and lipsync track play on more rigs, because clips are stored as rig-agnostic weights, not baked skeletons. Every animation listed gives every agent and world one more motion to buy on the payment rails the platform already runs. Capture feeds the library, the library feeds the avatars, the avatars feed the worlds, and the marketplace pays the creators who started the loop.
+
+## Where to start
+
+Capture your face: three.ws/mocap-studio. Author an animation: three.ws/pose. Clone your voice: three.ws/voice. Watch visemes fire: three.ws/lipsync and three.ws/lipsync/mic. Render a talking video: three.ws/create/video. Wire it into code: `@three-ws/voice`, `@three-ws/mocap`, and `@three-ws/audio-mcp` on npm.
+
+A statue with potential, a webcam, and three endpoints. The rest is live now.
diff --git a/content/oracle-conviction-engine.md b/content/oracle-conviction-engine.md
index 10239c0e7..66e3e8dc5 100644
--- a/content/oracle-conviction-engine.md
+++ b/content/oracle-conviction-engine.md
@@ -77,6 +77,10 @@ Then the worker takes over. The agent loop polls newly scored coins, runs the pu
Every action, simulated or live, streams to the trading floor at three.ws/activity over server-sent events with sub-5-second latency. Your agent trades in public.
+## Knowing when to get out
+
+Entry is only half a strategy. Every open position is re-checked against the coin's current conviction, and an explicit exit engine — pure and tested the same way the entry rules are — decides whether the thesis has broken. It fires on the triggers that matter, ordered by decisiveness: take profit at the target multiple, a hard stop if the owner set one, a red flag that surfaced after entry (a structural ceiling or a creator rug history the launch didn't show at buy time), smart money unwinding its position in real time, and a conviction collapse — the fused score falling below the exit floor or dropping sharply from where you entered. When a position earns an exit call it is flagged right on the agent's position row with the reason, and the same signal ships in the agent-facing status read, so an autonomous agent can close a broken position itself instead of holding a loser to resolution.
+
## Receipts: the track record is the product
A score you cannot audit is an opinion. Oracle grades itself in public, and the grading is mechanical.
diff --git a/content/play-coin-worlds.md b/content/play-coin-worlds.md
index 41c6e04be..0aac0cd9e 100644
--- a/content/play-coin-worlds.md
+++ b/content/play-coin-worlds.md
@@ -58,7 +58,7 @@ Honesty requires a line here, expanded in the limits section: the plaza and ever
Every town has a cast of named citizens, and they are not decoration. Each has a persona, a post, and in most cases a working paid service behind the counter.
-Talk to any of them and you get a real conversation: chat streams from the platform's multi-model brain endpoint over server-sent events, up to 512 tokens a reply, with a 24-turn memory. Each NPC is hard-locked to its persona, aware of which coin's town it is standing in, allowed to discuss the local coin factually, and permitted to promote exactly one coin ever: $THREE.
+Talk to any of them and you get a real conversation: chat streams from the platform's multi-model brain endpoint over server-sent events, with a 24-turn memory. Each NPC is hard-locked to its persona, aware of which coin's town it is standing in, allowed to discuss the local coin factually, and permitted to promote exactly one coin ever: $THREE.
The vendors run real x402 counters, each a genuine paid endpoint settled in USDC from your own wallet: Marisol the trader sells a live market signal for one cent. Sheriff Boone runs fact checks for a dime. Old Pete grinds vanity Solana addresses from a penny. Wendell at the assay office checks ticker availability for a tenth of a cent; Mei at the foundry turns a mint into a 3D mesh for the same. Doc Halloran audits an agent's books for two cents. The Oracle reads a wallet's on-chain reputation and Miss Ada tutors, a penny each. The Saloon Kid takes dance floor tips. And Banker Cole will launch you a coin for five dollars. Every price is a real 402 challenge, every settlement a real transaction.
diff --git a/content/scenes-and-dioramas.md b/content/scenes-and-dioramas.md
new file mode 100644
index 000000000..ecb067e3d
--- /dev/null
+++ b/content/scenes-and-dioramas.md
@@ -0,0 +1,200 @@
+# Scenes and dioramas: speak a world into being on three.ws
+
+*Long-form X article. The complete story of 3D scenes on three.ws: the one-sentence diorama pipeline, the full Scene Studio editor, the Scene Composer, Cosmos living worlds, the Loom community gallery and its remix economy, the MCP servers that let any AI assistant build worlds, developer endpoints with runnable code, tutorials, and the honest limits. $THREE is the only coin.*
+
+Every 3D tool ever shipped makes you earn the world. You learn the viewport, the gizmos, what a normal map is, and three hours later you have a gray cube on a gray plane. The distance between "I can picture it" and "I can orbit it" has always been measured in tutorials.
+
+On three.ws that distance is one sentence. Type "a cozy autumn campsite by a lake at dusk" at three.ws/diorama and watch: an island rises, a dusk sky fades in, six luminous seeds appear where a tent, a campfire, a canoe, and three pines are about to exist, and then, one by one, real 3D meshes flare into place as they finish forging. Two minutes later you have an explorable world with a permalink, a public gallery slot, an AR button, and a download. Nothing was pre-made. Every object was generated for your sentence.
+
+That is the headline act of a full scene stack: a professional in-browser editor, a real-time composer wired to your avatar's skeleton, an AI video lane that renders living backdrops, a community gallery with remix lineage, and two MCP servers that put all of it inside any AI assistant. This is everything about it.
+
+## Why we built it
+
+Three reasons, in order of importance.
+
+**First, worlds are the natural next step after characters.** three.ws started as the place where a text prompt becomes a rigged, animated 3D avatar. But an avatar standing in a void is half a product. Characters need somewhere to be: a stage, a room, a campsite, a lighthouse cliff. Once the forge could produce any single object from text, the missing piece was composition, deciding what belongs in the world and where it goes. That is a language problem, and language problems are what the platform's LLM chain is for.
+
+**Second, the gap between "generate an object" and "build a scene" was where everyone gave up.** Watching people use the forge at three.ws/forge told us the pattern: generate a great model, orbit it, share it, stop. Assembling several models into a composed scene meant a jump to desktop software. So we closed the gap at both ends. At the effortless end, the diorama pipeline does the whole composition for you. At the professional end, Scene Studio puts a complete scene editor, the vendored three.js editor itself, behind the three.ws nav with zero install.
+
+**Third, scenes multiply everything else on the platform.** A forged object becomes set dressing. A posed avatar animation becomes a scene track. A scene becomes an AR object in your room, an embeddable iframe, a gallery card, a remixable community asset with provenance. Every surface described below consumes or feeds the others, and the same forge lane powers all of them. We did not build a feature. We built the spatial layer of the platform.
+
+## The system at a glance
+
+Five surfaces, one pipeline underneath.
+
+1. **Diorama** at three.ws/diorama: one sentence becomes an explorable miniature world. The backend composes a placed plan, the browser forges every object into a real GLB, the renderer materializes them live, and a save mints a permalink and a gallery slot.
+2. **Scene Studio** at three.ws/scene: the full three.js editor (r184, MIT, vendored in-repo) mounted under the site nav. Import GLBs, arrange with transform gizmos, edit materials and lights, keyframe animation, export the whole scene as one file.
+3. **Scene Composer** at three.ws/compose: a real-time multi-object composer built for avatars. Forge items from text and attach them to your avatar's skeleton bones, arrange and scale freely, then export the creation or save it as an outfit.
+4. **Cosmos** at three.ws/cosmos: type a world and NVIDIA's Cosmos Text2World model renders a short photoreal video that plays as a living backdrop behind your 3D avatar.
+5. **Loom**, the community gallery: every forged creation can be published to a public, world-readable feed with an orbit-and-AR viewer URL, an embed snippet, and, through the creations overlay, remix lineage and creator rankings.
+
+And because agents matter as much as browsers here, the whole diorama pipeline and the whole Loom gallery are exposed as MCP servers: `@three-ws/scene-mcp` and `@three-ws/loom-mcp`, both keyless, both on npm.
+
+## The diorama pipeline, with the real mechanics
+
+A diorama goes from sentence to world in two acts, and every constant below is from the shipped code.
+
+**Act one: compose.** `POST /api/diorama {action:"compose", prompt}` hands your sentence to the platform's LLM chain with a system prompt that casts the model as a 3D set designer. It must return exactly one JSON object: a two-to-four word title, a mood (dawn, day, dusk, or night), a ground type (grass, sand, snow, stone, water, meadow, or void), an island shape (round, craggy, or plateau), a four-part color palette (a two-stop vertical sky gradient, a ground tint, a fog color, and an accent glow), and three to eight placed objects. Each object is a single-object forge prompt, subject plus dominant material plus color in at most twelve words, never a scene, never an "and", with an explicit position on the island, a scale, and a yaw.
+
+The composer's output is treated as hostile input. A balanced-brace parser extracts the JSON even if the model wrapped it in prose or a code fence. A normalizer clamps every number: positions are projected back inside the 6.2 meter island radius, scale is clamped to a 0.2 to 4 range, invalid hex colors fall back to a per-mood default palette. And a declumping pass guards against the classic failure where the model stacks everything at the origin: if any two objects sit closer than 1.4 meters, all of them are re-seated on a phyllotaxis spiral, the golden-angle arrangement sunflowers use, so the world always reads as a composed scene, never a pile. The plan comes back with every object pending and no meshes. If the LLM chain is unreachable, the route returns a clean 503 and the page renders a designed retry state. It never fabricates a world.
+
+**Act two: forge.** The browser now turns each object's prompt into a real mesh on the platform's free text-to-3D lane: `POST /api/forge {prompt, tier:"draft", path:"image"}`, which runs text to image to mesh through FLUX and TRELLIS. Forges run three at a time, each job is polled every 2.5 seconds, and each object gets a three minute deadline before it is marked failed. The crucial design decision: a failed object never sinks the world. Partial worlds are real and shareable, and any failed object can be retried in place with one click.
+
+**The renderer** is where the pipeline becomes theater. It builds the island from deterministic value noise (no dependency, seeded, so the same world always looks the same), paints the sky dome with the palette's gradient, and drives sun elevation, ambient light, and fog density from per-mood presets so a night world is actually lit like night. Every not-yet-forged object appears as a luminous seed at its planned position. When a mesh arrives, it is normalized to a roughly 1.4 meter footprint so a handful of objects read as a cohesive miniature, then materialized with a 700 millisecond flare-and-rise animation. Draco-compressed GLBs decode through the same local decoder path every loader on the platform uses, and the whole show respects prefers-reduced-motion.
+
+**Save and share.** `POST /api/diorama {action:"save", diorama}` persists a forged world and returns a permalink of the form `https://three.ws/diorama?id=<uuid>`. Opening that link loads the world read-only, bumps a view counter, and offers a remix, which drops the original sentence back into the prompt box so anyone can fork the idea. The public gallery (`GET /api/diorama?list=recent`) renders each card as live geometry: the thumbnail is the world's first forged GLB in a lazy-loaded model viewer, auto-rotating at 18 degrees per second. Never a screenshot. And once at least one mesh exists, the world grows two more exits: a download of the GLB, and a "view in your room" button that hands the mesh to an AR-enabled viewer and triggers a native AR session, the same handoff the forge page uses.
+
+Compose is a paid LLM completion, so it is rate limited per IP and behind a global hourly circuit breaker; saves are rate limited per IP so one caller cannot carpet the gallery. Boundaries are defended, the middle trusts itself.
+
+## Scene Studio: the full editor, zero install
+
+three.ws/scene is not a toy inspired by an editor. It is the editor: the mrdoob/three.js editor at r184, MIT licensed, vendored in-repo with its license preserved, and mounted into the three.ws chrome. Five regions do all the work: a menubar with every command, a toolbar for the move, rotate, and scale gizmos, the live viewport, a sidebar with the scene outliner and per-selection property panels (object, geometry, material for meshes; light controls for lights), and a resizable keyframe animation timeline along the bottom.
+
+Two behaviors matter most in practice. First, it autosaves: every add, move, material edit, or delete is written to your browser's local storage about a second later and restored when you return, so a closed tab costs you nothing. It is local, not account-synced, which is why exporting matters. Second, it exports for real: the whole scene, every object, material, and embedded texture, leaves as a single self-contained GLB or glTF you can re-import, hand to another tool, or view in AR. Project state can also be saved as editor JSON for full-fidelity round trips.
+
+Scene Studio is also the landing pad for the rest of the platform. Finish a generation at three.ws/forge and "Open in Scene Studio" loads the model straight into the viewport via a query parameter. Bake a posed animation in the Animation Studio at three.ws/pose and it hands the result to /scene through a one-shot IndexedDB handoff, because a rigged GLB with an embedded clip can run to several megabytes, which no URL can carry; the payload is taken exactly once and goes stale after five minutes so an abandoned session never surprise-loads into a fresh visit. The step-by-step walkthrough, from first import to exported scene, lives at three.ws/tutorials/build-a-scene.
+
+## Scene Composer: scenes that know about skeletons
+
+three.ws/compose is the middle path: lighter than the Studio, smarter about avatars. It is a real-time multi-object composer where the "add" button is the forge itself: describe an item, it generates, it lands in your scene. The part no generic editor has: forged items can attach to your avatar's skeleton bones, grouped by body region (head, torso, left and right arms, left and right legs), so a sword sits in a hand and a helmet sits on a head, and the assembly can be saved as an outfit or exported as a creation.
+
+It behaves like a serious tool: a 50-deep undo and redo stack, duplicate with Ctrl+D, frame the selection with F, world or local transform space on X, grid snapping at 0.25 units on Ctrl+G, six camera presets, double-click renaming in the hierarchy, a live triangle and object count, screenshot export on Ctrl+P, and disciplined disposal of geometry, materials, and textures on remove so long sessions never leak memory.
+
+## Cosmos: worlds that move
+
+Dioramas and scenes are geometry. Cosmos at three.ws/cosmos is atmosphere: type a world, "a neon street in the rain at night, reflections on the pavement", and NVIDIA's Cosmos Text2World model renders roughly five seconds of photoreal 1280 by 704 video at 24 frames per second, which the page plays full-bleed behind a transparent live 3D avatar viewer. Pick a bundled avatar or bring your own, and your character stands inside a living, moving world.
+
+The plumbing is honest end to end. `POST /api/cosmos {prompt}` submits the job to NVIDIA's NVCF async gateway and returns the request id as the job id; there is no server-side job store because the NVCF id is itself the durable handle, exactly like the TRELLIS text-to-3D lane. The page polls, and on completion the MP4 is persisted to R2 storage for a durable URL you can download or copy. On the shared free tier a render typically lands in 60 to 120 seconds, so the API surfaces an honest 90 second ETA and the loading state is driven by the real poll lifecycle, never a fake progress bar. If the NVIDIA key is absent, the lane reports itself unconfigured with a 503 and the page degrades to a designed static backdrop.
+
+## Loom: the gallery, and the remix economy on top of it
+
+Everything forged on three.ws can be published to Loom, the community 3D-creation gallery. A creation is minimal by design: a GLB URL, its prompt, and free-text attribution. The feed at `/api/loom` is public and world-readable, newest first, capped at 2,000 entries, paginated by a millisecond-epoch cursor. Anyone can read it. Anyone can contribute, no account, no key, no signer, gated server-side by an IP rate limit of about 20 submissions per hour plus strict input sanitization.
+
+Because the feed is world-readable, the model URL is the attack surface, so it is allowlisted hard: a submitted GLB must live on three.ws, Cloudflare R2, Replicate's delivery CDN, or raw GitHub content, enforced server-side. Re-submitting the same GLB URL returns the existing creation instead of duplicating it. Every read returns not just the raw GLB but a ready-to-use viewer URL (the /forge/embed orbit-and-AR viewer), a social card image, and a paste-ready iframe snippet, so a creation is embeddable anywhere the moment it exists.
+
+Layered on top, and never forking it, sits the creations overlay at `/api/creations`: the creator-facing economy Loom deliberately omits. It adds gallery metadata (title, tags, license, type and style), remix lineage as explicit parent-to-child edges with full ancestry and descendants, per-creator aggregates (creation count, remixes earned, follows), trending ranked by remixes, and an append-only provenance trail per creation. It imports Loom's storage and validators directly, so a publish writes one canonical record to the one feed every surface reads. One source of truth, two altitudes of product.
+
+## How scenes connect to agents and the forge
+
+The scene stack is not a silo; it is wired into the agent platform at every seam.
+
+**Agents can edit their own scenes.** Every three.ws agent ships with registered scene-manipulation skills: ask an agent in its viewer to "create a red sphere above your head" and the scene-create-object skill builds the mesh in its Three.js scene, positions it, plays a conjuring gesture animation, and says what it is doing. The skills are MCP-exposed, so an external assistant driving the agent gets the same powers.
+
+**The forge is the single generation engine.** Dioramas forge on it, the Scene Composer forges on it, the /forge page forges on it, and all of them share its tier and path system: draft, standard, and high polygon budgets; an image-intermediate path (FLUX plus TRELLIS, the fast free default), a geometry-first path with a higher geometric ceiling (bring your own provider key), and a sketch path that turns a drawing plus a label into geometry. The forge also auto-rigs: `POST /api/forge?action=rig {glb_url}` turns a static humanoid mesh into an animatable one, which is how a scene prop pipeline and an avatar pipeline stay one system.
+
+**Scenes travel to wherever agents live.** The /artifact viewer renders a three.ws agent as a standalone app inside Claude Artifacts, loading Three.js from a CDN the artifact sandbox allows, so an agent and its scene can be embedded in a conversation. The /avatar-artifact route is the standalone shareable viewer for a single avatar artifact with no wrapper page. And every Loom creation's embed snippet drops a live, orbitable model into any page on the web.
+
+## For developers: endpoints and runnable code
+
+Everything below is live now. No key is required for any of it.
+
+**Compose a world from the command line:**
+
+```
+curl -s -X POST https://three.ws/api/diorama \
+ -H 'content-type: application/json' \
+ -d '{"action":"compose","prompt":"a lonely lighthouse on a stormy cliff at dusk"}'
+```
+
+You get back the full placed plan: title, mood, palette, ground, island, and every object with its forge prompt, position, scale, and rotation, all status pending.
+
+**Build the whole pipeline yourself in JavaScript**, compose, forge, save, share:
+
+```js
+const BASE = 'https://three.ws';
+
+async function forgeOne(prompt) {
+ const res = await fetch(`${BASE}/api/forge`, {
+ method: 'POST',
+ headers: { 'content-type': 'application/json' },
+ body: JSON.stringify({ prompt, tier: 'draft', path: 'image' }),
+ });
+ let job = await res.json();
+ while (job.status !== 'done' && job.status !== 'failed') {
+ await new Promise((r) => setTimeout(r, 2500));
+ job = await fetch(`${BASE}/api/forge?job=${job.job_id}`).then((r) => r.json());
+ }
+ return job.status === 'done' ? job.glb_url : null;
+}
+
+async function speakWorld(sentence) {
+ const { diorama } = await fetch(`${BASE}/api/diorama`, {
+ method: 'POST',
+ headers: { 'content-type': 'application/json' },
+ body: JSON.stringify({ action: 'compose', prompt: sentence }),
+ }).then((r) => r.json());
+
+ for (const obj of diorama.objects) {
+ const glbUrl = await forgeOne(obj.prompt);
+ obj.status = glbUrl ? 'ready' : 'failed';
+ obj.glbUrl = glbUrl;
+ console.log(`${obj.label}: ${obj.status}`);
+ }
+
+ const saved = await fetch(`${BASE}/api/diorama`, {
+ method: 'POST',
+ headers: { 'content-type': 'application/json' },
+ body: JSON.stringify({ action: 'save', diorama }),
+ }).then((r) => r.json());
+
+ console.log('world:', saved.url);
+}
+
+speakWorld('a tiny ramen stand under a paper lantern in the snow');
+```
+
+That is the entire product in forty lines, against the same public endpoints the page uses.
+
+**Read the galleries:**
+
+```
+GET https://three.ws/api/diorama?list=recent&limit=24
+GET https://three.ws/api/diorama?id=<uuid>
+GET https://three.ws/api/loom?limit=60
+GET https://three.ws/api/creations?view=trending
+```
+
+**Publish to Loom:**
+
+```
+curl -s -X POST https://three.ws/api/loom \
+ -H 'content-type: application/json' \
+ -d '{"prompt":"a glowing crystal totem, low poly","glbUrl":"https://three.ws/demo/crystal.glb","author":"nova"}'
+```
+
+The response includes the viewer URL and the iframe snippet, ready to embed.
+
+**Through MCP.** Give any MCP-capable assistant the scene stack with two entries in its config:
+
+```json
+{
+ "mcpServers": {
+ "scene": { "command": "npx", "args": ["-y", "@three-ws/scene-mcp"] },
+ "loom": { "command": "npx", "args": ["-y", "@three-ws/loom-mcp"] }
+ }
+}
+```
+
+`scene` exposes compose_scene (one sentence to a placed plan), get_scene, and list_scenes. `loom` exposes get_loom_feed, get_creation, and submit_creation. No API key, no signer, no payment; every call hits the public endpoints above. The MCP reference lives at three.ws/docs/mcp-scenes.
+
+## Three tutorials in one place
+
+**Speak a world in two minutes.** Open three.ws/diorama. Type one concrete sentence; concrete beats poetic, "a red rowboat tied to a wooden dock at dawn" forges better than "nostalgia." Watch the plan land, the seeds appear, and the meshes materialize. If one object fails, retry just that object. Save, and you have a permalink, a gallery card, an AR button, and a download.
+
+**Build a scene by hand.** Generate a model or two at three.ws/forge, open three.ws/scene, and import them. Arrange with the move, rotate, and scale gizmos, edit materials in the sidebar, add lights, set a background, and export one self-contained GLB. The full guided version of this, every step with the reasoning, is the tutorial at three.ws/tutorials/build-a-scene.
+
+**Let your assistant do it.** Add `@three-ws/scene-mcp` to your MCP config and ask your assistant for "a desert oasis with three palm trees and a stone well." It calls compose_scene and gets the placed plan; forge each object at /api/forge, save at /api/diorama, and post the finished GLB to Loom with `@three-ws/loom-mcp` so the whole platform can see it and anyone can remix it.
+
+## The honest limits
+
+The scene stack publishes its trade-offs, so here they are. Dioramas are miniatures by design: three to eight objects on a 6.2 meter island, because each object is one real generation job and the caps keep a world to a bounded cost and render budget. Draft-tier forging optimizes for speed, and a small fraction of objects fail or come out lumpy; the pipeline ships partial worlds and one-click retries rather than pretending otherwise. Composition quality tracks the sentence: vague prompts produce vague plans, and the composer will tell you to try a more concrete sentence rather than invent one. Scene Studio autosaves locally, not to an account, so an unexported scene lives and dies with that browser. Cosmos renders about five seconds of video in one to two minutes on the free tier: a living backdrop, not a game world. Loom attribution is free text, not authenticated identity; the creations overlay's provenance trail is where lineage actually lives. And when any lane's upstream is unconfigured or down, you get a designed 503 state, never a fabricated result.
+
+## Why it compounds
+
+Every surface feeds the next. A forge improvement makes every diorama object, every Composer item, and every Loom submission better at once. Every saved world seeds the gallery that inspires the next sentence. Every remix adds an edge to the lineage graph that makes discovery smarter. Every MCP call turns someone's assistant into a world-builder that publishes back into the commons. The platform's characters get places to be, the places get characters, and one generation engine underneath gets better for all of it.
+
+## Where to start
+
+Speak a world: three.ws/diorama. Edit like a professional: three.ws/scene. Compose onto your avatar: three.ws/compose. Put your character in a living world: three.ws/cosmos. Generate the raw material: three.ws/forge. The guided build: three.ws/tutorials/build-a-scene. The MCP reference: three.ws/docs/mcp-scenes.
+
+One sentence is the whole barrier to entry now. Say the world and watch it assemble.
diff --git a/content/smart-money-intel.md b/content/smart-money-intel.md
new file mode 100644
index 000000000..77703d824
--- /dev/null
+++ b/content/smart-money-intel.md
@@ -0,0 +1,185 @@
+# The intelligence layer of three.ws: Smart Money Radar, coin intel, and the KOL desk
+
+*Long-form X article. The complete story of the market intelligence surfaces on three.ws: the wallet reputation graph behind the Smart Money Radar, the Coin Intelligence Engine that scores every launch in its first ninety seconds, the KOL analytics desk, the sentiment and narrative SDK, the intel MCP servers, examples, tutorials, and the honest limits. $THREE is the only coin.*
+
+Every pump.fun launch asks the same question: is the money flowing into this coin smart or dumb? Price cannot answer it. Volume cannot answer it. Only a memory of who these wallets are and what happened the last hundred times they bought something can. Nobody carries that memory in their head. So we built it as infrastructure.
+
+The intelligence layer of three.ws is a set of live, public, first-party surfaces that answer who is buying, how the launch is engineered, what people are saying, and which named traders are positioning, for every coin on pump.fun, continuously. This article is that layer: the raw surfaces you can read directly, the graphs that feed them, and the developer paths into all of it.
+
+## Why we built it
+
+**First, wallet reputation is the highest-signal read in this market, and it must be first-party.** Every list of "smart wallets" you can copy from somewhere else is unverifiable, stale, and gameable. Our answer is a reputation graph computed entirely from trades we observed and graduations we recorded on chain. If our graph says a wallet wins, you can pull the coins it won on.
+
+**Second, the first minutes of a launch contain the whole story, if something is watching.** Bundles, sniper swarms, dev dumps, and single-whale floats are all visible in a coin's opening seconds of trading, and invisible an hour later when the chart looks organic. A machine watching from second zero sees the engineering of the scam before the scam has a candle.
+
+**Third, one intelligence layer, many consumers.** The same tables the Smart Money Radar renders are read by the sniper's firewall, the Oracle pedigree pillar, the copy-trade directory, the watchlist, and any MCP client on the open web. We did not build dashboards. We built a data brain and gave humans, agents, and paying machines the same read.
+
+## The system at a glance
+
+Seven live surfaces, one shared brain.
+
+1. **The Smart Money Radar** (three.ws/smart-money): a wallet reputation graph built by crossing every coin's buyers with the coins that actually graduated.
+2. **Coin Intelligence** (three.ws/coin-intel) and the **Coin Radar** (three.ws/radar): every launch observed in its first ninety seconds, classified organic versus bundle, risk-flagged, and scored by a model that retrains on labeled outcomes.
+3. **The KOL desk**: named-trader analytics, a live leaderboard, per-wallet portfolio PnL, and per-mint trade scans across the tracked set.
+4. **GMGN Smart Money** (three.ws/gmgn): a live cross-chain smart-money stream, narrated out loud by a 3D agent you pick.
+5. **The attention surfaces**: Trending, the Watchlist, the Pump Visualizer, and the live launch streams.
+6. **The reading SDK**: `@three-ws/intel`, one import for sentiment, narrative, momentum, and token snapshots.
+7. **The MCP surface**: `@three-ws/intel-mcp` and `@three-ws/kol-mcp`, the whole layer as tools in any AI assistant, read-only, no key.
+
+## The Smart Money Radar: reputation the chain cannot fake
+
+The radar's engine is a rollup cron with three phases, and every rule in it is deliberate.
+
+**Phase one: judge and fold.** A coin must be at least 6 hours old before it is judged, because that is when "never graduated" starts meaning something. The verdict is binary and first-party: if the mint appears in our graduation records, it is a win; otherwise it is a dud. No external price oracle, no guesswork. The cron reaches back at most 14 days, judges at most 80 coins per run, folds at most the top 60 wallets per coin, and folds each coin exactly once, bounded so a 5-minute cadence can never run away.
+
+**Phase two: recompute reputation.** Every touched wallet gets its score re-derived from pure, unit-tested functions. A buy counts as early if it landed within 180 seconds of the coin first being observed. A wallet that sold back at least half of what it bought is marked as dumping on that coin, the behavior that hurts anyone following it. The score is transparent: win rate is the backbone, a bonus of up to 20 points rewards early skill (0.4 times the edge of its early win rate over its overall win rate), and a penalty of 0.4 times the dump rate pulls it down. The result is multiplied by a confidence factor that only reaches 1.0 after 12 judged coins. One lucky win is not smart money, and the math refuses to say it is.
+
+**The labels are blunt.** A wallet that created 3 or more coins with zero graduations is a **rugger**, the most important flag for anyone following buys. Under 4 judged coins is **fresh**. A dump rate of 60 percent or more is a **dumper**. A score of 70 or above is **smart_money**. Five or more early entries with a win rate under 25 percent is a **sniper**, spray and pray, fast but not smart. Everything else is **neutral**.
+
+**Phase three: score the live coins.** For every coin launched in the last 3 hours (up to 150 per run), the radar computes a pedigree score: the buy-weighted average reputation of the money in the coin, plus a bounded network bonus of 4 points per proven wallet piling in, capped at 5. Two details make it honest. Unknown wallets score zero and correctly drag the average down, so a coin full of anonymous money reads as unproven, not neutral. And creators are excluded entirely: a dev cannot lend pedigree to their own coin. A wallet counts as proven at reputation 70 and up, and the top 8 notable wallets ship with every verdict.
+
+All of it is public at `GET /api/pump/smart-money`: the live feed of coins ranked by the pedigree of the money in them, the wallet leaderboard filterable by label, a per-wallet reputation card with its 30 most recent coins and their outcomes, and a per-coin view of exactly who is in it.
+
+## The second graph: funder clusters and the sybil flag
+
+A separate recompute job maintains a deeper graph at `GET /api/intel/smart-money`, built from observed buys joined against richer outcomes (graduated, pumped, rugged, plus all-time-high multiples) and against funder clusters: groups of wallets sharing a SOL funding source. This surface answers the question bundles are designed to hide: are these fifty buyers actually one person?
+
+Ask it about a mint and you get the reputable wallets net-buying right now (bought more than they sold; a wallet that already dumped is not "in" the coin), a 0 to 100 smart-money score, every funder cluster in the book, and a **sybil flag** that trips when one cluster controls at least 50 percent of buy volume across 3 or more buyers. Ask it about a wallet and you get its realized reputation card and cluster membership. When the graph has no history for a coin or wallet, the response says `computed: false`, an honest "not enough data," never a fabricated number. The sniper's firewall and the Oracle pedigree pillar read this same graph.
+
+## Coin Intelligence: the first ninety seconds
+
+While the smart-money graphs judge the buyers, the Coin Intelligence Engine judges the launch itself: each new coin's first 90 seconds of trading, at a scale of roughly 15 to 20 thousand new mints a day. The engine runs in the always-on sniper worker and, independently, as a self-sustaining serverless cron that opens a PumpPortal WebSocket every 2 minutes, accumulates each new mint's create event and trades, and finalizes every observation through one shared code path: compute signals, classify, resolve the funding graph, cross-reference smart money, persist. That smart-money cross-reference earns a coin a bounded quality bonus, because it is the highest-predictive single feature in the engine.
+
+The signals are the anatomy of a launch: a bundle score and an organic score, the snipe ratio, holder concentration at top 1, top 5, and top 10, the fresh wallet ratio, funding-graph connectivity, a coordination score, and timing entropy. On top sit named risk flags, five classified as danger flags: `bundle_launch`, `dev_dumped`, `single_whale`, `low_diversity`, and `fresh_wallet_swarm`. Every coin gets a 0 to 100 quality score and a verdict with teeth: a coordinated launch, a dev dump, or a single whale owning the float forces **Avoid** regardless of the score, because those are the patterns that lose money. Otherwise quality under 25 is Avoid, under 50 (or any flag) is Caution, under 72 is Watch, and 72 and up is Strong.
+
+Within each coin, every early trader is labeled by its footprint: **creator** (the deployer), **bundled** (shares a SOL funder with another buyer), **sniper** (first trade within seconds of the coin appearing), and **whale** (a large share of buy volume). Labels stack, and the bubble-map view renders them.
+
+**And the engine learns.** A second cron closes the loop: coins observed at least 60 minutes ago get their real outcome recorded (graduated, pumped, flat, or rugged) as ground truth, and once 50 labeled samples exist, per-signal predictive weights are retrained and persisted. The sniper's scoring function reads the latest weights, so the judgment sharpens as the dataset grows. The learning view at `GET /api/pump/intel?view=learning` shows exactly what the model has learned, weight by weight, because a model you cannot inspect is a model you cannot trust.
+
+The radar feed lives at three.ws/radar, the full dashboard at three.ws/coin-intel, and machine reads at `GET /api/pump/coin-intel` with filters for minimum quality, category, and risk flag.
+
+## The KOL desk: named traders, live records
+
+The wallet graph tracks anonymous money. The KOL desk tracks the named kind.
+
+**The tracked set** has a hard admission rule: a wallet must have realized at least 10,000 dollars of cumulative profit on Solana meme-token trades. **Per-mint scans** at `GET /api/kol/trades?mint=<mint>` fan out one Helius call per tracked wallet and return every buy and sell those traders made on that token: side, SOL size, token amount, per-trade price, USD value, timestamp, newest first. **Per-wallet portfolio cards** at `GET /api/kol/wallets?addresses=<list>` proxy a Birdeye portfolio read with the key held server-side, normalized to realized PnL, unrealized PnL, win rate, total trades, and the wallet's highest-value holding, cached for 60 seconds, with failures negative-cached for only 15 seconds so an outage is never rendered as a fake zero-PnL wallet. **The leaderboard** at `GET /api/kol/leaderboard?window=7d` ranks top Solana traders by realized PnL over 24-hour, 7-day, or 30-day windows from a live parsed source, and when that source is unreachable it returns empty rather than stale or fabricated rows. An honest empty state beats a confident lie.
+
+Adjacent to it sits **the copy-trade Smart Money directory** at `GET /api/copy/smart-wallets`: a curated, deduplicated directory spanning Solana and BSC, categorized as smart money, launchpad, KOL, or sniper, sortable by profit, PnL, win rate, followers, or score, carrying wallet identity and 30-day performance only, never token mints. It is the browsing layer for copy trading, whose execution mechanics are the agent trading article's story.
+
+## GMGN, Trending, and the attention surfaces
+
+**GMGN Smart Money** (three.ws/gmgn) streams live smart-money accumulation signals over server-sent events at `GET /api/agents/gmgn-feed`, across Solana, Ethereum, Base, and BNB Chain, on windows from 1 minute to 24 hours, filtered by a minimum count of distinct smart buyers. The twist is the presenter: a 3D agent narrates the signals out loud as they land, and any public avatar can be your analyst. Market data with a face.
+
+**Trending** (three.ws/trending) ranks two things with zero vanity metrics: the top 3D agents by real chat activity, derived live from usage events rather than a stored counter, and the top coins by Oracle conviction, filtered to freshly scored verdicts, across 24-hour, 7-day, and all-time windows.
+
+**The Watchlist** (three.ws/watchlist) is deliberately account-free: the Watch button on any coin profile writes the mint into device-local storage (up to 200 coins, synced across tabs), and the page treats the list as a portfolio, aggregating market cap, volume, graduated count, average Oracle conviction, and the tier distribution, refreshing every 90 seconds. It sorts by conviction movers, fires a browser notification when a watched coin's tier upgrades, and a share link recreates the list on any device. The platform never learns what you watch.
+
+**The Pump Visualizer** (three.ws/pump-visualizer) renders the live trending set as an interactive 3D scene fed by the trending API, per-coin Oracle conviction, network stats, and recent graduations. **Pump.fun Stream** (three.ws/pumpfun) and **Pump Live** (three.ws/pump-live) are the raw firehose: the browser opens the same PumpPortal WebSocket the ingestion cron uses, so you watch every launch land in real time, batch-enriched with Oracle conviction, while a 3D agent reacts live.
+
+## Oracle: where the reads become one number
+
+Everything above is deliberately unfused: each surface answers its own question with its own math. Oracle is the fusion engine on top, blending the pedigree graph, the launch-structure signals, a narrative classifier, and early momentum into a single calibrated 0 to 100 conviction score with tiers, badges, a public backtest, and an agent action loop under hard guards. That engine has its own long-form story; start at three.ws/oracle and the full reference at three.ws/oracle/docs. Here it is enough to say: when you read a conviction score anywhere on the platform, the surfaces in this article are what it is made of.
+
+## Reading the crowd: the @three-ws/intel SDK
+
+On-chain reads tell you what wallets do. `@three-ws/intel` tells you what people say, in one import with four reads.
+
+**`sentiment(mint)`** wraps the public, key-free `POST /api/social/sentiment-pulse`: it pulls up to 200 recent pump.fun comments for the token, optionally folds in up to 200 text snippets you collected yourself, and scores the combined stream with a deterministic lexicon scorer. Deterministic matters: the same comments always produce the same score, reproducible and auditable, not an opaque model's mood. You get an overall score from minus 1 to 1, positive and negative percentages, and a per-source breakdown.
+
+**`intel(query)`** and **`projects()`** are the narrative and momentum lanes, bridging a partner narrative-intelligence feed with the API key held server-side: what stories are moving, and which projects are spiking on momentum-ranked scans. **`snapshot(mint)`** returns a real-time Solana token snapshot: price, volume, holders, metadata. Every field comes from a live source; an unreachable provider yields `null`, never an invented number.
+
+The same reads power the ambient surfaces: the 3D sentiment heatmap on agent screens is fed by `GET /api/intel/heatmap`, a live token field where $THREE is always pinned first and enriched with its own comment-sentiment pulse, while the other tiles carry market data only.
+
+There is also a paid lane. The premium intel feeds are x402 endpoints at one cent USDC per call, settling on Solana or Base, with a strict no-mock rule: if the upstream sources fail, the call returns 503 before settlement and the buyer is never charged. The most on-brand consumer is our own sniper, whose enrichment loop pays the paid intel endpoint for a live read on each coin it is watching and folds the verdict into a per-coin adjustment on its snipe threshold, honored only while fresh, because new mints move too fast for stale opinions. The intelligence layer has a real paying customer in production, and it is us.
+
+## The MCP surface: the whole layer as tools
+
+Everything above is reachable by any AI assistant through two published MCP servers, both read-only, both keyless.
+
+**`@three-ws/intel-mcp`** exposes six tools: `smart_money_coin` (score a coin by who is net-buying it, with reputable buyers, funder clusters, and the sybil flag), `wallet_intel` (one wallet's realized reputation card), `signal_feed` (a published signal feed's proven accuracy, hit rate, realized and follower ROI, and its recent emissions, each linked to the on-chain transaction that proves it), `kol_leaderboard` and `kol_trades` (the KOL desk), and `copy_smart_wallets` (the copy-trade directory).
+
+**`@three-ws/kol-mcp`** is the per-wallet deep dive: `get_wallet_portfolio` (one tracked trader's live PnL card) and `get_wallet_trades` (that trader's buys and sells on a specific mint, filtered out of the cross-wallet scan).
+
+Install is one npx: `npx -y @three-ws/intel-mcp` over stdio in any MCP client, with `THREE_WS_BASE` as the only knob for self-hosted deployments. Both servers surface honest zero-data states: `computed: false` means the graph has no history yet, `has_activity: false` means no recorded portfolio, and neither is an error. Docs live at three.ws/docs/mcp-intel.
+
+## How people actually use it
+
+**The scanner** keeps the Coin Radar open, filters to Strong verdicts, and clicks into the bubble map when a coin's buyers look too coordinated. The danger flags do the first pass; the funding graph settles arguments.
+
+**The follower** works the Smart Money Radar leaderboard, opens a wallet card, reads 30 recent coins with outcomes, checks the dump rate, and only then follows. The label did the screening; the receipts did the convincing.
+
+**The desk trader** cross-references KOL trades on the mint, the sybil flag from the cluster graph, the sentiment pulse from the comments, and the Oracle verdict on top. Four independent reads, never averaged into mush.
+
+**The agent builder** never opens a page. Their assistant carries intel-mcp and kol-mcp, their code polls the coin-intel feed, and their execution path (guarded and capped, the agent trading article's territory) consumes the same tables.
+
+## For developers
+
+Everything below is live now. Reads need no key.
+
+```
+GET https://three.ws/api/pump/smart-money?min_score=20&limit=50
+GET https://three.ws/api/pump/smart-money?leaderboard=1&label=smart_money&min_coins=8
+GET https://three.ws/api/pump/smart-money?wallet=<addr>
+GET https://three.ws/api/intel/smart-money?mint=<mint>
+GET https://three.ws/api/pump/coin-intel?limit=50&min_quality=60
+GET https://three.ws/api/kol/leaderboard?window=7d&limit=25
+POST https://three.ws/api/social/sentiment-pulse
+```
+
+**A wallet-vetting function in JavaScript**, the same read the radar UI renders:
+
+```js
+async function vetWallet(addr) {
+ const r = await fetch(
+ `https://three.ws/api/pump/smart-money?wallet=${addr}`
+ ).then((x) => x.json());
+ const w = r.wallet;
+ if (w.label === 'rugger' || w.label === 'dumper') return { follow: false, why: w.label };
+ if (w.coins_judged < 8) return { follow: false, why: 'thin record' };
+ return {
+ follow: w.smart_money_score >= 70,
+ why: `score ${w.smart_money_score}, win rate ${w.win_rate}%, dump rate ${w.dump_rate}%`,
+ receipts: r.recent_coins.filter((c) => c.graduated).map((c) => c.mint),
+ };
+}
+```
+
+**A launch screen that combines both graphs**, structure and pedigree, before anything else runs:
+
+```js
+async function screenLaunch(mint) {
+ const [intel, smart] = await Promise.all([
+ fetch(`https://three.ws/api/pump/coin-intel?mint=${mint}`).then((r) => r.json()),
+ fetch(`https://three.ws/api/intel/smart-money?mint=${mint}`).then((r) => r.json()),
+ ]);
+ const danger = ['bundle_launch', 'dev_dumped', 'single_whale'];
+ if ((intel.risk_flags || []).some((f) => danger.includes(f))) return 'avoid: structure';
+ if (smart.computed && smart.sybil_flag) return 'avoid: one funder cluster is the book';
+ if (smart.computed && smart.smart_money_score >= 70) return 'proven money is in';
+ return 'no edge yet';
+}
+```
+
+**Or hand it all to your assistant.** Add `@three-ws/intel-mcp` to your MCP client and ask, in plain language, "who is buying this mint and are they real." The assistant walks the same endpoints with the sybil math already done.
+
+## Three tutorials in one place
+
+**Vet a wallet in two minutes.** Open three.ws/smart-money, switch to the leaderboard, filter to smart_money with a minimum of 8 judged coins, and open a card. Read the win rate, early win rate, and dump rate, then scan the recent coins for graduation marks. A long record with a low dump rate is worth watching. A rugger label just saved you.
+
+**Autopsy a launch.** Open three.ws/radar and click any coin flagged in red. The detail view shows the bundle score, the concentration ladder, and the trader labels, and the bubble map draws the funding graph so you can see the "different" wallets sharing one funder. Then check the mint on three.ws/smart-money to see whether any proven wallet touched it. Usually none did. That is the lesson.
+
+**Read the layer from your assistant.** Add intel-mcp with one npx line, then ask for the smart-money read on a mint, the wallet card of its biggest buyer, and the KOL trades on it, in one prompt. Three tools fire, and you never opened a tab.
+
+## The honest limits
+
+The reputation graph only judges what it observed: a wallet's history before we started watching does not exist to us, and a fresh label means exactly that. Judgment takes 6 hours by design, so the radar is deliberately late on brand-new launches; the Coin Intelligence Engine covers the early window with structure instead of pedigree. Graduation is a strict win definition: a coin that ran 10x and died pre-graduation still counts as a dud in the radar's ledger (the deeper graph's pumped and ATH outcomes soften this, but the strictness is the point). The KOL desk depends on upstream providers, and when they fail you get empty or null, never invented rows. Sentiment is a lexicon over public comments: reproducible and gameable in equal measure, which is why nothing on the platform treats it as more than one read among several. And the sybil flag catches shared funding, not shared intent: a cluster funded from an exchange wallet can evade it. Every gap is stated where the data is served, because intelligence that hides its blind spots is marketing.
+
+## Why it compounds
+
+Every judged coin extends every buyer's record. Every labeled outcome retrains the launch model's weights. Every new funder edge sharpens the sybil read. And because the sniper, Oracle, the copy directory, the watchlist, and every MCP client read the same graphs, each improvement lands everywhere at once. The layer has one input, time watching the market, and every consumer gets stronger on the same schedule.
+
+## Where to start
+
+The wallet graph: three.ws/smart-money. The launch anatomy: three.ws/radar and three.ws/coin-intel. The named traders: the KOL tools in three.ws/docs/mcp-intel. The narrated stream: three.ws/gmgn. What is hot: three.ws/trending. Your own list: three.ws/watchlist. The fusion on top: three.ws/oracle.
+
+Judge the coin by who is buying it. The graph already knows. It is live now.
diff --git a/content/vanity-proof-of-grind.md b/content/vanity-proof-of-grind.md
new file mode 100644
index 000000000..d5fecd210
--- /dev/null
+++ b/content/vanity-proof-of-grind.md
@@ -0,0 +1,147 @@
+# Proof of Grind: the vanity wallet suite behind three.ws
+
+*Long-form X article. The complete story of the three.ws vanity address suite: the WASM grinder that keeps keys on your machine, the provably fair protocol and what a receipt actually proves, the honest rarity math, the Proof-of-Grind Gallery, the secret-blind Grind-Bounty Market, the split-key scheme for wallets worth real money, the EVM twin, the developer surface, and the honest limits. $THREE is the only coin.*
+
+Your wallet address is the one thing about you that every counterparty, every explorer, and every leaderboard sees. For almost everyone, it is a random string. A vanity address fixes that: a real keypair whose public key happens to start or end with characters you chose. The catch has always been trust. Every paid vanity service sees the private key it sells you, and "we deleted our copy" is not a security model.
+
+We built the vanity suite to kill that problem. Grinding on three.ws is client-side by default, WASM-fast, and the key never leaves your machine. When you do pay someone else to grind, the protocol makes theft mathematically impossible instead of contractually discouraged. A market and a gallery sit on top, because a provably rare address is worth showing off and a provably hard pattern is worth paying for. This is everything about it.
+
+## Why we built it
+
+**First, the trust problem is solvable with math, and nobody had shipped the full solution.** A vanity service normally asks you to trust that the randomness was real and no copy was kept. Commit-reveal, sealed delivery, and split-key elliptic curve arithmetic each remove one leg of that trust. We specified them together as `three-vanity/v1` and its siblings, published the spec, and shipped verifiers that run entirely in your browser. Hope became a checklist.
+
+**Second, self-custody should be the default, not the premium tier.** The primary grinder is not a service at all. It is Rust compiled to WebAssembly, running in a Web Worker pool across your CPU cores, on your machine, with no network call in the loop. There is nothing for us to leak because we never see anything. The paid lanes exist for agents and environments that cannot run WASM, and even those are engineered so the plaintext key transits once or never.
+
+**Third, hard patterns deserve a market.** Expected work grows by a factor of 58 per character; a six character pattern is a fleet-scale job. So we built a two-sided market: post a pattern, escrow a USDC bounty over x402, and let independent miners race. The winner is paid on-chain and never sees your wallet, because the only thing a claim may carry is a secret sealed to your key. Compute becomes a commodity; custody never moves.
+
+## The system at a glance
+
+Six surfaces, one shared core of pure protocol code that runs identically in the browser, the serverless verifiers, and the tests.
+
+1. **The grinder** at three.ws/vanity-wallet: mine a Solana address with a custom prefix or suffix in your browser, across every core.
+2. **The verifier** at three.ws/vanity/verify: paste a receipt or certificate and watch every claim get recomputed from first principles.
+3. **The Proof-of-Grind Gallery** at three.ws/vanity/gallery: a public leaderboard of the rarest verified addresses, plus an appraisal tool.
+4. **The Grind-Bounty Market** at three.ws/vanity/bounties: escrow a bounty for a hard pattern, or earn USDC grinding other people's.
+5. **The EVM twin**: three.ws/eth-vanity grinds CREATE2 contract addresses, three.ws/evm-wallet grinds secp256k1 wallet keys, both client-side.
+6. **The developer surface**: the `@three-ws/vanity` npm SDK, the `/api/vanity` HTTP API, and the `@three-ws/vanity-mcp` MCP server.
+
+## The grind, and why your key never leaves the machine
+
+A Solana address is the Base58 encoding of an Ed25519 public key. There is no shortcut to an address that starts with your handle: you generate keypairs and check each one. Naive JavaScript manages a few thousand candidates per second, which makes a four character prefix, at roughly eleven million expected attempts, painful.
+
+Our hot loop is Rust, using ed25519-dalek for keygen and bs58 for encoding, compiled to WebAssembly. Single-threaded it sustains about 25,000 keypairs per second. In the browser the SDK fans that module across one Web Worker per logical core, capped at eight; the first worker to hit terminates the rest, pause genuinely frees the cores, and resume continues the attempt count. In Node the same module runs on the calling thread under a time budget.
+
+The security posture is one sentence: on the local path there is no network call. The keypair is produced inside WASM on your device, resolved to your code once, and persisted nowhere. No address, no secret, not even the pattern you searched is transmitted. That is why local grinding is the strongest option we offer.
+
+Two honest details the UI shows before you commit a fan of workers. The difficulty model is the mean of a geometric distribution: 58 to the power of the effective pattern length, with case-insensitive characters counting for less because both cases match. And the leading characters of a Base58-encoded 32-byte key are not uniformly distributed, so a given prefix can be harder than the formula predicts. Suffix characters are uniform. Pick the suffix when you can.
+
+There is also a mnemonic mode: roll a fresh BIP-39 phrase per attempt and derive the keypair at m/44'/501'/0'/0', the Phantom default, so a hit is a seed phrase you can type into any wallet. Each attempt costs a 2048-iteration PBKDF2 run, roughly 100 times slower than the keypair grinder, so the hosted lane caps it at two characters and says so instead of timing out.
+
+## What a receipt proves
+
+The paid grinder's provably fair lane, `three-vanity/v1`, produces the interesting artifact: a receipt whose verification recomputes, never trusts, five things.
+
+1. **Freshness.** Before grinding, the server publishes `SHA-256(tag || serverSeed)` as a commitment. The receipt reveals the seed; the verifier rehashes it. The server was locked to that entropy before it knew your pattern, so a precomputed table of keys is impossible.
+2. **Shared control.** Your own entropy, plus a per-request nonce, is mixed with the server seed through HKDF-SHA256 into one master seed. Neither party alone controlled the output.
+3. **Derivation.** Candidate `i` is a deterministic HMAC-SHA256 of the master seed and the counter, expanded to an Ed25519 keypair. The verifier re-derives the winning candidate and checks it equals the address, matches the pattern, and that the claimed difficulty equals the honest 58-to-the-n model.
+4. **Identity.** The receipt is signed by the three.ws service key over a canonical JSON projection of the signed fields. The key is published at three.ws/.well-known/three-vanity.json and pinned in the SDK, the CLI, and the web verifier, so a self-signed impostor is rejected the moment a pin is present.
+5. **Custody, optionally.** If you had the secret sealed to your X25519 key, you can open the envelope client-side and confirm the recovered seed derives to the attested address. The sealing is ECIES with an ephemeral key, forward-secret with respect to the server, and the plaintext never appears in the response, a proxy log, or the idempotency cache.
+
+Negative tests pin that a tampered address, swapped seed, wrong index, inflated difficulty, impostor signing key, or mismatched opened secret each fail. All of it runs at three.ws/vanity/verify with no server round trip for the math.
+
+On top of the heavy protocol sits a lighter, universal attestation: the proof-of-grind certificate, `three-pog/v1`. It attaches to any grind output (keypair, mnemonic, or split-key) and every claim in it is checkable offline: pattern, address, honest difficulty, rarity score, and a 32-byte freshness nonce. The certificate id is a content hash of the facts plus that nonce, and the registry at `/api/vanity/cert` binds one canonical certificate per address. That closes the re-sale hole: a second "freshly ground" proof minted for an already-sold address no longer matches the canonical record, and the verifier flags it as a duplicate.
+
+## Rarity, in bits, with no arbitrary numbers
+
+A vanity address is a flex, but a flex is hand-waving unless the rarity is grounded in the real probability model. Rarity on three.ws is one honest number derived from the same difficulty math the receipts attest to.
+
+The base is bits of work: `baseBits = log2(expectedAttempts)`. On top of that, bounded bonuses credit patterns that are genuinely harder to obtain on purpose, each in the same unit. A real English word from the vendored BIP-39 list earns 1.4 bits per letter, capped at 9. A palindrome of three or more characters earns a flat 3.5. A repeated run earns 2.2 bits per character beyond the second, capped at 8. Grinding both a prefix and a suffix earns 2. The caps exist so a clever three character pattern can never out-rank a brute five character prefix on raw difficulty.
+
+`rarityScore` is the bit total times 100, which keeps leaderboards sortable on integer keys while preserving sub-bit resolution. Tiers cut on whole-character boundaries, since one Base58 character is log2(58), about 5.86 bits: Common under one character of work, then Uncommon, Rare, Epic, Legendary, and Mythic at five-plus characters, roughly 29.3 bits, where expected attempts run into the hundreds of millions. Every certificate carries its rarity, and the verifier recomputes it: a certificate claiming a better tier than its pattern earns fails on the spot.
+
+## The gallery: provable flexes only
+
+The Proof-of-Grind Gallery at three.ws/vanity/gallery is the public trophy room, and its one rule is that entry requires proof. Publishing is a POST of your signed receipt; the server re-runs the full protocol verification against the live service key and refuses anything that does not completely pass. What gets stored is an allowlisted, secret-free projection: address, pattern, rarity breakdown, attempt count, and a fingerprint of the exact receipt (the SHA-256 of address and signature), so a viewer can confirm which verified grind an entry came from without the store ever holding a seed or an envelope.
+
+Un-publishing is proof-gated too: a DELETE must carry an Ed25519 signature by the address itself over a server challenge, so only the keyholder can remove an entry. Around the gallery sit a leaderboard sorted by rarity score, per-tier stats, and the appraisal tool: paste any Solana address and get its honest tier, bits, and expected grind cost, pure math with no persistence.
+
+## The Grind-Bounty Market: paying strangers who can never rob you
+
+The market at three.ws/vanity/bounties is where the suite stops being a toy. You want a hard pattern; a fleet of independent miners wants USDC. The protocol, `three-vanity-bounty/v1`, makes the trade safe in both directions.
+
+**Posting.** You post a pattern, an X25519 recipient key generated on the page, a refund address, and an expiry between one hour and thirty days, default 48 hours. The escrow is funded by a real x402 USDC payment, on Base or Solana, before the bounty goes live. A built-in pricing oracle suggests what to escrow, and it is derived, not vibes: expected attempts from the same geometric model, translated to grind hours at a published reference fleet rate of 1.5 million addresses per second, priced at one dollar per expected grind hour, clamped between a five cent floor and a five thousand dollar ceiling.
+
+**Mining.** Workers poll the open queue, grind in parallel, and race. A claim contains the matching address and a sealed envelope, nothing else. The server verifies four things before paying: the address is a well-formed Solana key, it matches the bounty's pattern, the envelope is well-formed under the supported ECIES scheme, and the envelope's recipient is exactly the bounty's X25519 key. That last check is the secret-blind invariant: a worker can only submit an envelope the requester can open. It cannot open its own submission, the wire never carries plaintext, and neither does the operator, because the server-side verifier has no private key and structurally cannot decrypt.
+
+**Settlement.** Exactly one worker gets paid. The store performs the open-to-settled transition as a compare-and-set keyed on the bounty id; the first valid claim flips it, and every later claim is told it lost the race. A deterministic claim digest makes retries idempotent, so a resubmitted claim is de-duplicated rather than double-paid. Payout and refund are exactly-once and mutually exclusive: a settled bounty cannot be refunded, an expired unfilled bounty refunds its escrow, and a recorded transaction short-circuits any re-send. The requester then fetches the sealed envelope and opens it client-side. The market keeps a public leaderboard of grinders ranked by USDC earned, plus live totals of open bounties, escrowed funds, and paid volume.
+
+**Split-key, for wallets worth real money.** Sealed delivery still means the winning worker generated, and therefore momentarily saw, the key before sealing it. For high-value addresses, `three-split-key/v1` goes further. You pick a secret scalar a1 locally and publish only the point P1 = a1 times B. Workers grind an offset a2, checking candidates of the form P1 plus a2 times B. On a hit, the server verifies the point equation from public values alone and pays. You combine a1 plus a2 mod L on your own machine: neither the worker nor the server ever knew a1, so the full private key exists exactly once, on your device. The certificate carries this as a non-custody assertion any verifier recomputes. The tradeoff is surfaced, not hidden: the combined scalar is an expanded key, not a seed, so it signs perfectly through the SDK signer but cannot be typed into seed-only wallet imports.
+
+## The EVM twin
+
+The same philosophy runs on the other chain family. three.ws/eth-vanity grinds CREATE2 contract addresses: give it a deployer and an init code hash, and a worker pool races for a salt whose derived address matches your hex pattern. No private key is involved; a CREATE2 address is a deterministic function of deployer, salt, and init code.
+
+three.ws/evm-wallet grinds real secp256k1 wallet keys with incremental point addition, one point addition per candidate instead of a full scalar multiplication. Its security model is written in the shadow of the 2022 Profanity disaster, where a 32-bit seed made every ground key brute-forceable: the base scalar here is a full 256 bits from the platform CSPRNG, the walk re-seeds every million attempts, and every match is independently re-derived through a separate code path before it may leave the worker. Uppercase pattern characters switch matching to EIP-55 checksum comparison. As on Solana, nothing is transmitted.
+
+## Where it plugs into the rest of the platform
+
+The suite feeds the platform's core loops. Launching a coin through the three.ws pump.fun launcher can grind a vanity mint address client-side first, defaulting to the 3ws brand mark, then hand the public key to the launch-prep endpoint so the unsigned transaction is built around it. The mint secret never leaves the browser; you co-sign locally. Agents get the same powers: the `vanity_grinder` MCP tool on the 3D Studio server grinds for any assistant, and an agent with an x402 wallet can buy a grind, post a bounty, or mine one, which makes vanity work one more job in the agent-to-agent economy. The gallery and market are readable by any assistant through `@three-ws/vanity-mcp`, so "how rare is this address" and "what should I escrow for this pattern" are one tool call away.
+
+## Who this is for
+
+**The self-custodian** grinds locally at three.ws/vanity-wallet and trusts nobody, because there is nothing to trust. **The collector** publishes verified grinds to the gallery and climbs the rarity leaderboard with receipts attached. **The requester** wants a six character pattern no laptop will find, posts a bounty, and receives a key no miner ever saw. **The miner** turns spare cores into USDC by racing open bounties. **The agent builder** wires in the SDK or MCP tools and gives an autonomous agent a branded wallet in one call.
+
+## For developers
+
+Reads are free, no key required.
+
+**Quote a pattern, appraise an address:**
+
+```
+GET https://three.ws/api/vanity/bounties?view=quote&prefix=THREE
+GET https://three.ws/api/vanity/gallery?view=appraise&address=<base58>
+```
+
+**A minimal market watcher in JavaScript:**
+
+```js
+const BASE = 'https://three.ws/api/vanity';
+
+async function scan() {
+ const { bounties } = await fetch(`${BASE}/bounties?view=open&limit=20`)
+ .then(r => r.json());
+ for (const b of bounties || []) {
+ const q = await fetch(
+ `${BASE}/bounties?view=quote&prefix=${b.pattern.prefix || ''}&suffix=${b.pattern.suffix || ''}`
+ ).then(r => r.json());
+ const reward = Number(b.amountAtomics) / 1e6;
+ const fair = Number(q.oracle.suggestedAtomics) / 1e6;
+ if (reward >= fair) console.log(`worth grinding: ${b.id} pays $${reward} (fair $${fair})`);
+ }
+}
+setInterval(scan, 30000);
+```
+
+**Grind locally with the SDK:**
+
+```js
+import { grind, expectedAttempts } from '@three-ws/vanity';
+
+console.log(expectedAttempts({ suffix: '3ws' })); // gate before you commit cores
+const { publicKey, secretKey, attempts } = await grind({ suffix: '3ws' });
+// secretKey is Keypair.fromSecretKey compatible and never left this machine
+```
+
+**Give your assistant the market:** `npx -y @three-ws/vanity-mcp` exposes eight read tools over stdio: `vanity_quote`, `vanity_appraise`, `vanity_board`, `vanity_open`, `vanity_stats`, `vanity_leaderboard`, `vanity_config`, and `vanity_gallery`. Docs at three.ws/docs/mcp-vanity. The paid write paths (posting and claiming bounties, plus the hosted grinder at `/api/x402/vanity` and `/api/x402/vanity-verifiable`) settle over x402 in USDC; pair with `@three-ws/x402-fetch` to automate the 402. Settlement happens only after a successful grind, so an exhausted time budget costs nothing.
+
+**Two mini tutorials.** To grind and publish: open three.ws/vanity-wallet, enter a suffix, and let it run; or buy the verifiable lane, paste the receipt at three.ws/vanity/verify, watch every check recompute green, then publish it to the gallery. To buy a hard pattern: open three.ws/vanity/bounties, let the oracle price the pattern, generate the recipient key on the page and store its private half safely, escrow via the x402 modal, and when the board shows settled, reveal and open the envelope client-side. Import the key, then confirm against the certificate registry that yours is the canonical proof.
+
+## The honest limits
+
+The suite documents its edges instead of hiding them. Prefix difficulty can exceed the 58-to-the-n estimate because leading Base58 characters are not uniform; suffixes are, and the UI says so. The hosted grinder caps patterns at three characters, two for mnemonic mode, because serverless time budgets are real; longer patterns belong in your browser pool or the bounty market by design. Sealed-envelope bounties still mean the winning worker briefly held the key before sealing it, which is why split-key exists for high-value targets, and split-key wallets in turn cannot be imported into seed-only wallets, a limitation printed on the tin. The MCP grinder returns a plaintext secret over a channel your MCP host may log: import it immediately or grind locally instead. And rarity measures the difficulty of the pattern, not the market price of the address; the gallery ranks work, the market discovers price.
+
+## Where to start
+
+Grind your first address: three.ws/vanity-wallet. Verify a receipt or certificate: three.ws/vanity/verify. Browse and appraise: three.ws/vanity/gallery. Post or mine a bounty: three.ws/vanity/bounties. The EVM side: three.ws/eth-vanity and three.ws/evm-wallet. The service key everything pins to: three.ws/.well-known/three-vanity.json.
+
+Your keys, your cores, your address. The proof is the product.
diff --git a/content/walk-the-web.md b/content/walk-the-web.md
new file mode 100644
index 000000000..7d16ea709
--- /dev/null
+++ b/content/walk-the-web.md
@@ -0,0 +1,154 @@
+# Walk: the avatar that turns every page into a place
+
+*Long-form X article. The complete story of Walk: why the web got a body, how the corner companion and the full page playground actually work, the no T-pose rule, the roster, the /walk worlds, the leaderboard and its anti-cheat, the embed and extension story, developer examples, tutorials, and the honest limits. $THREE is the only coin.*
+
+Every web page you have ever visited treated you as a pair of eyes and a scroll wheel. You read it, you clicked it, you left. You were never really there.
+
+Walk changes the physics of that. It puts a real, rigged, animated 3D avatar on the page with you: a companion that idles in the corner, turns to follow your cursor, waves goodbye when you click a link, and waves hello on the other side. Click it and it detaches into a full page playground where you steer it with WASD, a touch d-pad, or a gamepad, and where the page itself becomes terrain. Walk onto a link and it glows like a doorway. Press dive and you fall through it into the next page, where your avatar drops back in and keeps going.
+
+It is live on three.ws now, ships as the open source `@three-ws/walk` npm package for any site, and is fully documented at three.ws/docs/walk. This is everything about it.
+
+## Why we built it
+
+**First, an avatar that cannot go anywhere is a screenshot.** three.ws is built on the idea that your avatar is your identity: it holds a wallet, it works, it earns. Every platform we studied kept avatars locked inside a viewer, a game, or a metaverse app you had to enter. We wanted the opposite direction: the avatar comes to where you already are. The corner companion makes every ordinary page on three.ws a place your character inhabits, and the embed and extension carry it onto the open web.
+
+**Second, the animation system made it honest to build.** The platform already has universal avatar animation: `src/glb-canonicalize.js` maps bone names from every major rig convention onto one canonical skeleton, and `src/animation-retarget.js` retargets the shared clip library onto it, legs included. So Walk needs no curated list of blessed characters: any humanoid GLB, including one you generated five minutes ago, walks. Without that layer this would have been one hardcoded mascot. With it, it is a cast.
+
+**Third, walking generates data that feeds the platform.** Distance, time, and sites walked flow into a real metrics pipeline with a public leaderboard, per-creator embed analytics, and achievements. A feature that is fun on day one and measurable on day two earns its place.
+
+## The system at a glance
+
+Walk is one engine with several bodies:
+
+1. **The corner companion.** A 200 by 280 pixel WebGL canvas fixed to the corner of the page. It idles, follows the cursor, greets each route with a page-aware line, and waves on navigation.
+2. **The playground.** Click the companion and it detaches full screen, in one of two movement models: Stroll, a gentle aerial view with no gravity, or Platformer, where the page's real DOM becomes solid ground.
+3. **The picker and the roster.** A searchable, keyboard-navigable panel where every visitor chooses who walks with them: a robot mascot, humanoids, photoreal people, a fox, dancers, showpieces, or their own generated avatar.
+4. **The three.ws layers.** On the platform itself the companion also paints path trails, walks to wherever you click, narrates the section it is standing near, dresses page transitions, and breathes with the agent's live mood.
+5. **The /walk worlds.** A full third-person walkaround at three.ws/walk with six real glTF environments, NPCs, multiplayer, voice chat, and in-world wallet tipping.
+6. **The metrics loop.** Every meter walked, on three.ws, in an embed, or through the Chrome extension, rolls up into the leaderboard at three.ws/walk-leaderboard and the creator analytics dashboard.
+7. **The embed story.** A one-tag iframe, a host-side JavaScript SDK, a versioned postMessage protocol, and a Chrome extension that walks the avatar over every page you visit.
+
+## The companion, mechanically
+
+The corner companion is deliberately small and deliberately alive. The renderer caps pixel ratio at 1.5 and pauses its animation frame loop entirely when the tab is hidden, so it costs nothing in the background. The avatar tracks your cursor: if the pointer has moved within the last 450 milliseconds, the rig eases toward it and plays its walk cycle; go still and it settles back to idle. On touch devices, where there is no hovering cursor to follow, it wanders autonomously instead, picking a fresh heading, strolling for a couple of seconds, pausing, repeating, until a real fine pointer takes over.
+
+Navigation is a social event. When you click a same-origin link, the companion plays its wave clip and sets a one-shot sessionStorage flag; the destination page reads that flag on mount and waves hello. Two pages, one gesture, and the site feels continuous. Each route also gets a contextual greeting in a speech bubble, and on pages like pricing the avatar physically turns toward the recommended plan card for a few seconds before returning to you.
+
+Everything is dismissible and remembered: the enable state, the chosen avatar, and even the avatar's facing angle persist across pages, and `prefers-reduced-motion` calms the whole act to a steady idle.
+
+## The playground: two kinds of physics for one page
+
+Click the companion and it hands off. The corner instance frees its WebGL context first, then a lazily imported playground module takes over full screen, spawning the avatar exactly where the corner canvas was. The two movement models are switched live with the M key or the mode button, and your choice persists.
+
+**Stroll** is the gentle one: a top-down orthographic camera pitched at about 29 degrees, no gravity, nothing to fall off. Movement is a real little physics sim in CSS pixel units: 3600 px/s squared of acceleration, a 360 px/s speed cap, hard friction on release, diagonal input normalized. Every 90 milliseconds the engine probes the element under the avatar's feet with `elementFromPoint`; a same-origin, same-tab link under it arms: a pulsing portal glow, a hint. Nothing navigates on its own. You commit with a deliberate press of Space, Enter, E, the on-screen dive button, or a gamepad face button, and a spawn guard swallows any press held over from the previous page for the first 1.1 seconds.
+
+**Platformer** turns the page into a level. A scanner sweeps the DOM for solid elements, links, buttons, headings, paragraphs, list items, images, figures, cards, and anything tagged `data-platform`, filters out the invisible and the implausibly shaped (narrower than 38 pixels, shorter than 14, taller than 520), caps the set at 360 platforms in a band 1100 pixels around the viewport, and adds a floor at the bottom of the document so you can never fall out of the world. Then it runs a real platformer: gravity at 2600 px/s squared, terminal velocity 2400, jump impulse 1000, separate ground and air acceleration, edge-triggered jumps. Land on a link and it arms; press down to dive in. Press down on a non-link platform and you drop through it.
+
+The dive itself is a page transition with a body: the avatar leaps, spins, shrinks, the screen flashes toward black, and a resume flag is written. On the next page the companion sees the flag and, instead of remounting in the corner, drops the avatar in from the top of the viewport, falling, so the web starts to feel like one continuous space with doors.
+
+A standard gamepad works everywhere: left stick or d-pad to move with a 0.45 deadzone so a resting stick never walks you into a link, one face button to jump, the other to dive. Pad input merges with the keyboard without stomping keys you are physically holding.
+
+## Who walks: the roster and the no T-pose rule
+
+The built-in roster is a dozen real GLBs across five categories: Mascots, Humanoid, Realistic, Creatures, Showpieces. Robo the robot mascot is the default; there is a photoreal woman and man, a selfie-styled avatar, a stylised dancer, a neutral mannequin, a Mixamo X-Bot with its own locomotion set, the classic glTF fox, and animated showpieces.
+
+Every entry declares one of two rig strategies, and this is the part we are strictest about. `embedded` rigs play the clips baked into their own GLB, with loose name matching that always falls back to the model's first clip, so even a single-animation file keeps moving. `shared` rigs, humanoids that ship no locomotion, are driven by the platform's retargeted clip library: idle, walk, run, wave, jump, mapped from the shared animation manifest onto their bones at load time. Michelle, the dancer, ships literally nothing but a T-pose in her file; the roster forces her onto the shared library, so she struts and never poses.
+
+And if a `shared` entry turns out not to be a retargetable humanoid at all, the loader does not shrug. `AnimationManager.supportsCanonicalClips()` gates the retarget synchronously; on failure the loader recovers down a chain: play whatever clips are baked into the GLB, and if there are none, dispose the model and load the default robot instead. A frozen bind pose is a forbidden state. The same unified loader powers the corner companion and both playground modes, so an avatar added once works everywhere at once.
+
+Your own avatars ride the same rails. Anything served by the platform's GLB proxy at `/api/avatars/<id>/glb`, including avatars you generated in the studio, resolves at runtime through `makeApiAvatarEntry(id)` and gets the shared library treatment. The picker's footer links straight to the avatar builder.
+
+## What three.ws layers on top
+
+The published SDK is the engine. The three.ws app wires five more behaviors around it, all observing the live instance rather than forking the engine:
+
+- **Path trails.** A 2D overlay paints where the companion has been, in three switchable styles: footprints, glow, or a line, tinted with the current avatar's accent color.
+- **Click to walk.** Click an empty patch of the page and the companion glides there, routing around elements marked `data-walk-block`, facing its heading, easing into arrival.
+- **Section narration.** As the avatar walks the page it reads the section nearest it: a caption bubble by default, with an aria-live region, and, strictly opt-in behind a real user gesture, spoken audio from the platform's `/api/tts/speak` endpoint. Authors mark content with `data-walk-narrate`; unmarked pages fall back to heading and paragraph detection.
+- **Themed transitions.** The jump between pages is dressed to match the destination, including a camera zoom into the avatar itself.
+- **Mood embodiment.** The companion is the site-wide body of your agent, so it reflects the agent's live emotional state, aura and breathing, on every page it walks.
+
+## The wider Walk surface
+
+**The /walk worlds.** three.ws/walk is the full third-person experience: six environments, park, cyberpunk street, beach, gallery, an abstract void, and the three.ws virtual office, each a real glTF scene with HDR image-based lighting, terrain physics, and dynamic props. The worlds are populated: NPC companions built from the same rigged catalog greet you, wander waypoint loops, or guide you to landmarks, speaking real per-environment dialogue voiced through the TTS endpoint. Multiplayer presence, proximity voice chat, gestures, and photo capture are all in. Walk up to another player piloting a real agent and that agent's wallet rises beside its nameplate, live balance and a one-tap Tip; only the single nearest wallet is ever revealed, so a crowded plaza never triggers a stampede of balance reads. Your session, avatar, environment, position, and heading persist for seven days and sync across devices when signed in, flushed on tab close via sendBeacon, so returning shows a welcome-back toast instead of a spawn screen.
+
+**The leaderboard.** Walking is scored. Clients batch distance and time roughly every sixty seconds into `/api/walk/metrics`, which upserts per-day rollup rows per walker, environment, origin, and avatar. `/api/walk/leaderboard` ranks daily, weekly, and all-time by three metrics: meters walked, distinct sites walked on, and time. Every row carries a delta versus yesterday so the board shows momentum, your own row is always pinned even off-page, and anonymous walkers are first-class citizens ranked alongside signed-in users. Achievements unlock once each: 1 km, 5 km, ten sites, all six environments. The ingest is defensive: per-batch distance is clamped to a sane ceiling, and the embedding origin is never trusted from the request body; it is derived server-side from the request headers, so a creator's analytics reflect where the avatar actually ran.
+
+**The embed and the extension.** The chrome-less iframe at three.ws/walk-embed drops a drivable avatar onto any site with one tag, in six lightweight embed environments, and speaks a versioned postMessage protocol on the `three-walk` channel. The host-side wrapper, `walk-embed-sdk.js`, gives any page a typed handle: `goto`, `gesture`, `say`, `setEnv`, `setAvatar`, position and ready events, and a `track()` call that records creator-defined conversion events into the analytics funnel. The Chrome extension at three.ws/extension takes the last step: your avatar follows you across the entire web, walking over real pages and narrating them. The embed contract has its own interactive reference at three.ws/docs/walk-embed-api and a step-by-step tutorial in the docs, so this article stays out of its weeds.
+
+**The talking sibling.** Walk has a sister package, `@three-ws/page-agent`: a rigged, lipsync-capable 3D guide that narrates any page aloud. They share the platform's DNA, the rigged-only rule, a diverse picker roster, a corner presence that costs nothing until enabled, but they split the job: page-agent speaks, Walk moves. Guided tours at three.ws/tour combine both instincts.
+
+## Four ways in
+
+**The visitor** hits the Walk button in the three.ws nav, gets a robot in the corner, clicks it, and is suddenly platforming across the homepage headlines. **The collector** opens the picker, swaps to the fox mid-page, and takes their own generated avatar for a stroll with `?avatar=<id>`. **The site owner** pastes one iframe tag, or installs the npm package for the site-wide companion, and their product pages get a mascot with a physics engine. **The competitor** grinds meters across environments and origins and watches their pinned row climb the weekly board.
+
+## For developers
+
+The engine is Apache-2.0, published as `@three-ws/walk`, with Three.js 0.150 or newer as a peer dependency:
+
+```bash
+npm install @three-ws/walk three
+```
+
+The whole experience, app-style, honoring `?walk=` deep links and resuming after dives:
+
+```js
+import { createWalkCompanion } from '@three-ws/walk';
+
+const walk = createWalkCompanion({ defaultAvatarId: 'fox' });
+walk.bootstrap();
+```
+
+`createWalkCompanion` is side-effect free on import: nothing touches the DOM until `enable()` or `bootstrap()`. The playground loads only through a dynamic `import()` on the first detach, so a page that never leaves the corner never pays for it. You can also drive it directly: `walk.enable()`, `walk.openPicker()`, `walk.setAvatar('michelle')`, `walk.toggle()`.
+
+Add your own mascot to the roster:
+
+```js
+import { createWalkCompanion, WALK_AVATARS } from '@three-ws/walk';
+
+createWalkCompanion({
+ avatars: [
+ ...WALK_AVATARS,
+ {
+ id: 'mascot',
+ name: 'Our Mascot',
+ category: 'Brand',
+ asset: '/brand/mascot.glb',
+ source: 'static',
+ rig: 'shared',
+ accent: '#ff0066',
+ },
+ ],
+ defaultAvatarId: 'mascot',
+}).bootstrap();
+```
+
+`rig: 'shared'` means your GLB needs no animations at all; the retarget library moves it, and the fallback chain guarantees it never freezes.
+
+URL controls work on any page running the companion: `?walk=1` forces it on, `?walk=0` off, `?walk=play` deep-links straight into the playground, `?avatar=<id>` picks the character.
+
+The leaderboard is a plain public read:
+
+```
+GET https://three.ws/api/walk/leaderboard?period=weekly&metric=distance&limit=10
+```
+
+Swap `metric` for `sites` or `time`, `period` for `daily` or `all-time`; every row includes the walker, the value, the rank, and the delta versus yesterday.
+
+And for your own scenes, the low-level loader is exported too: `loadWalkAvatar(getAvatar('xbot'))` returns a model plus a controller with one interface, `setState('idle' | 'walk' | 'run' | 'jump')`, `playWave()`, `update(dt)`, regardless of how the rig is animated underneath.
+
+## Two tutorials in one place
+
+**Walk three.ws in ninety seconds.** Open any three.ws page and add `?walk=play` to the URL. You are in the playground. WASD to move, M to flip between Stroll and Platformer, C to open the picker and change who you are. Find a link, stand on it until it glows, press Space, and enjoy the fall into the next page. Esc returns you to the corner companion.
+
+**Put it on your site in two minutes.** Paste the iframe from three.ws/walk-embed for the zero-build path, or install `@three-ws/walk` and call `bootstrap()` for the real site-wide companion. Serve the roster GLBs and the animation manifest from your origin or point `assetBase` at a CDN. The full walkthrough, including the postMessage API for steering the embedded avatar from your own page, is the walk-companion tutorial in the three.ws docs.
+
+## The honest limits
+
+Walk requires WebGL and quietly declines to mount without it; there is no degraded 2D imitation. The companion and playground share one WebGL context budget and never run two contexts at once, which is why the corner instance frees its renderer before the playground mounts. The platformer's ground is heuristic: it scans a fixed selector list with size filters and a 360-platform cap, so an unusual layout can have thin footing, and authors who care can tag elements with `data-platform`. Dives follow only same-origin, same-tab links, on purpose; your avatar never walks you onto another site's page or into a new tab uninvited. On three.ws the companion excludes routes that already own the viewport with full-screen 3D, because a mascot in front of a world is clutter. Leaderboard identity for anonymous walkers is a client-held id, bounded by server-side clamps and header-derived origins rather than proof, so treat the board as a game, not an oracle. And `prefers-reduced-motion` is honored everywhere: the avatar calms, the dives cut straight to navigation, and none of it auto-plays sound, ever, without an explicit opt-in and a real user gesture.
+
+## Where to start
+
+The product page: three.ws/walk. Walk any page right now: add `?walk=play` to a three.ws URL. The board: three.ws/walk-leaderboard. The docs hub, from getting started to the postMessage contract to the extension: three.ws/docs/walk. The package: `@three-ws/walk` on npm. The extension: three.ws/extension.
+
+The web has been flat for thirty years. Bring a body. Walk is live now.
diff --git a/data/changelog.json b/data/changelog.json
index 687a6f0e1..b27a5f9ba 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,15 @@
{
"$comment": "Curated changelog entries for three.ws \u2014 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-07-02",
+ "title": "Oracle now tells your agent when to get out, not just when to get in",
+ "summary": "Oracle's agent loop was entry-only — it decided what to buy, then held every position until the coin resolved, win or lose. It now manages the exit too. Every open position is re-checked against the coin's live conviction, and a new exit engine flags when the thesis has broken: the position hit its take-profit multiple, a red flag surfaced that wasn't there at entry (a bundle structure or a creator rug history), smart money started unwinding, or conviction collapsed below your floor. The call shows up right on the position row with the reason, and it ships in the agent-facing status read too, so an autonomous agent can close a broken position itself instead of riding it to zero.",
+ "tags": [
+ "feature"
+ ],
+ "link": "/oracle/docs"
+ },
{
"date": "2026-07-02",
"title": "Oracle now tells you how much a score can be trusted",
diff --git a/pages/oracle.html b/pages/oracle.html
index d53759878..0d558279c 100644
--- a/pages/oracle.html
+++ b/pages/oracle.html
@@ -487,6 +487,8 @@
.act-live { font: 700 9.5px/1 var(--mono); letter-spacing: .04em; padding: 2px 6px; border-radius: 4px; background: color-mix(in srgb, var(--amber) 18%, transparent); color: var(--amber); }
.act-sim { font: 700 9.5px/1 var(--mono); letter-spacing: .04em; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,0.06); color: var(--faint); }
.act-delta { font-size: 10px; margin-left: 4px; font-weight: 700; } .act-delta.up { color: var(--up); } .act-delta.dn { color: var(--down); }
+ .act-exit { font: 700 10px/1 var(--mono); padding: 2px 6px; border-radius: 4px; cursor: help; background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber); }
+ .act-exit-high { background: color-mix(in srgb, var(--down) 18%, transparent); color: var(--down); }
/* agent leaderboard */
.al-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
diff --git a/public/changelog.json b/public/changelog.json
index b15f76695..3b8c1d2ac 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-02T09:28:07.898Z",
+ "generated_at": "2026-07-02T09:43:35.835Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -153,6 +153,16 @@
"fix"
]
},
+ {
+ "date": "2026-07-02",
+ "type": "update",
+ "title": "Oracle now tells your agent when to get out, not just when to get in",
+ "summary": "Oracle's agent loop was entry-only — it decided what to buy, then held every position until the coin resolved, win or lose. It now manages the exit too. Every open position is re-checked against the coin's live conviction, and a new exit engine flags when the thesis has broken: the position hit its take-profit multiple, a red flag surfaced that wasn't there at entry (a bundle structure or a creator rug history), smart money started unwinding, or conviction collapsed below your floor. The call shows up right on the position row with the reason, and it ships in the agent-facing status read too, so an autonomous agent can close a broken position itself instead of riding it to zero.",
+ "link": "/oracle/docs",
+ "tags": [
+ "feature"
+ ]
+ },
{
"date": "2026-07-02",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index fa1b26656..ad05254dc 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -118,6 +118,14 @@
<category>improvement</category>
<description>Every conviction verdict now ships a data-confidence reading — a 0–100 score of how much of the read rests on real observed data versus defaulted inputs, weighted the same way the four pillars are. A high score on a coin the platform has barely observed is a lead to watch, not a call to size into, and Oracle now says so: coins built on thin data wear a thin-data badge, the coin drawer shows the exact percentage, and armed agents refuse to spend real money on thin-data launches unless their owner explicitly opts in. Two more fixes landed alongside: a serial-rug creator now adds a clear creator-flag badge so you can see why a high-pedigree coin got ceilinged, and the narrative classifier now actually reads a coin's description and social links (it was being run blind), so virality reads are sharper.</description>
</item>
+ <item>
+ <title>Oracle now tells your agent when to get out, not just when to get in</title>
+ <link>https://three.ws/oracle/docs</link>
+ <guid isPermaLink="false">2026-07-02:Oracle now tells your agent when to get out, not just when to get in</guid>
+ <pubDate>Thu, 02 Jul 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>Oracle's agent loop was entry-only — it decided what to buy, then held every position until the coin resolved, win or lose. It now manages the exit too. Every open position is re-checked against the coin's live conviction, and a new exit engine flags when the thesis has broken: the position hit its take-profit multiple, a red flag surfaced that wasn't there at entry (a bundle structure or a creator rug history), smart money started unwinding, or conviction collapsed below your floor. The call shows up right on the position row with the reason, and it ships in the agent-facing status read too, so an autonomous agent can close a broken position itself instead of riding it to zero.</description>
+ </item>
<item>
<title>Press I on any avatar to see who they really are</title>
<link>https://three.ws/play</link>
diff --git a/public/features.json b/public/features.json
index b864fdc18..b9037f4f6 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-02T09:28:07.383Z",
+ "generated_at": "2026-07-02T09:43:35.516Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/src/agora/player-mode.js b/src/agora/player-mode.js
index 6ab6ddc15..13e8796cb 100644
--- a/src/agora/player-mode.js
+++ b/src/agora/player-mode.js
@@ -68,7 +68,9 @@ class AgoraPlayer {
await loadManifest();
const url = await resolveAvatarUrl(avatarInput || '');
this._anim = newAnim();
- const { height, fallback } = await buildAvatar(this.rig, url, this._anim);
+ // Locomotion clips only: entering the square must never wait on the full
+ // emote library (dozens of clip downloads) — emotes lazy-load on use.
+ const { height, fallback } = await buildAvatar(this.rig, url, this._anim, { clips: 'locomotion' });
this.height = height;
this.rig.position.set(SPAWN.x, 0, SPAWN.z);
return { url, fallback };
@@ -198,7 +200,7 @@ class RemotePlayers {
// Async body load; the entry is live (and lerping) before the GLB lands.
(async () => {
const anim = newAnim();
- const { height } = await buildAvatar(group, player.avatar || '', anim);
+ const { height } = await buildAvatar(group, player.avatar || '', anim, { clips: 'locomotion' });
if (entry.gone) { disposeObject(group); return; }
entry.anim = anim;
entry.height = height;
diff --git a/src/game/avatar-rig.js b/src/game/avatar-rig.js
index 2545093f4..457acb73b 100644
--- a/src/game/avatar-rig.js
+++ b/src/game/avatar-rig.js
@@ -124,7 +124,13 @@ function headAnchorHeight(box) {
// Returns { height, fallback }. On failure, drops in a capsule stand-in so the
// player is never invisible, and flags `fallback: true` so callers can tell the
// user their model didn't load instead of silently swapping it.
-export async function buildAvatar(rig, url, anim) {
+//
+// opts.clips: 'all' (default — locomotion + every emote, the /city and /play
+// behaviour) or 'locomotion' — idle + walk only. Crowd-scale scenes (the Agora
+// Commons loads a player AND every remote human this way) must not serialize
+// entry behind dozens of emote-clip downloads; emotes still lazy-load on first
+// use via playEmoteClip, which fetches a missing clip on demand.
+export async function buildAvatar(rig, url, anim, opts = {}) {
try {
await meshoptReady; // ensure meshopt-compressed GLBs (incl. the default) parse
const gltf = await _gltf.loadAsync(url);
@@ -139,7 +145,8 @@ export async function buildAvatar(rig, url, anim) {
// the idle crossfade can run with no defs and leave the avatar in its raw
// T-pose bind pose. loadManifest is idempotent + cached, so this is cheap.
if (!_animDefs) await loadManifest();
- if (_animDefs?.length) { anim.setAnimationDefs(_animDefs); await anim.loadAll(); await anim.crossfadeTo(CLIP_IDLE, 0); }
+ const defs = opts.clips === 'locomotion' ? getLocomotionDefs() : _animDefs;
+ if (defs?.length) { anim.setAnimationDefs(defs); await anim.loadAll(); await anim.crossfadeTo(CLIP_IDLE, 0); }
return { height: headAnchorHeight(box), fallback: false };
} catch (err) {
log.warn('[avatar-rig] avatar load failed, using stand-in:', url, err?.message);
diff --git a/src/oracle.js b/src/oracle.js
index 9a5c31d01..8663dacbe 100644
--- a/src/oracle.js
+++ b/src/oracle.js
@@ -2276,7 +2276,11 @@ async function loadActions(agentId) {
function actionRow(a) {
const outcome = a.outcome || 'open';
const outCls = outcome === 'win' ? 'up' : outcome === 'loss' ? 'dn' : '';
- const outLabel = outcome === 'win' ? `✓ Win${a.peak_multiple ? ` · ${Number(a.peak_multiple).toFixed(1)}×` : ''}` : outcome === 'loss' ? '✗ Loss' : 'Open';
+ let outLabel;
+ if (outcome === 'win') outLabel = `✓ Win${a.peak_multiple ? ` · ${Number(a.peak_multiple).toFixed(1)}×` : ''}`;
+ else if (outcome === 'loss') outLabel = '✗ Loss';
+ else if (a.exit_signal) outLabel = `<span class="act-exit act-exit-${esc(a.exit_signal.urgency || 'normal')}" title="${esc(a.exit_signal.reason)}">⚠ Exit</span>`;
+ else outLabel = 'Open';
const pnl = a.realized_pnl_sol != null ? `${Number(a.realized_pnl_sol) >= 0 ? '+' : ''}${fmtSol(a.realized_pnl_sol)}` : '—';
const pnlCls = a.realized_pnl_sol != null ? (Number(a.realized_pnl_sol) >= 0 ? 'up' : 'dn') : '';
const modeBadge = a.mode === 'live' ? '<span class="act-live">live</span>' : '<span class="act-sim">sim</span>';
diff --git a/src/shared/avatar-inspector.js b/src/shared/avatar-inspector.js
index e1b85fcd7..ea50e3ede 100644
--- a/src/shared/avatar-inspector.js
+++ b/src/shared/avatar-inspector.js
@@ -162,6 +162,17 @@ export function openAvatarInspector(subject = {}, opts = {}) {
if (e.key === 'Escape') {
e.stopPropagation();
closeAvatarInspector();
+ return;
+ }
+ // I toggles the panel closed from anywhere except a text field. The panel
+ // handles this itself (capture phase) because once focus moves into the
+ // dialog, the host world's key handlers rightly ignore the event.
+ if (e.key.toLowerCase() === 'i' && !e.repeat) {
+ const t = e.target;
+ if (t && (/^(INPUT|TEXTAREA|SELECT)$/.test(t.tagName) || t.isContentEditable)) return;
+ e.stopPropagation();
+ e.preventDefault();
+ closeAvatarInspector();
}
};
diff --git a/tests/oracle/exit.test.js b/tests/oracle/exit.test.js
new file mode 100644
index 000000000..c4ee4418f
--- /dev/null
+++ b/tests/oracle/exit.test.js
@@ -0,0 +1,72 @@
+// Oracle exit-signal engine — the rules that close an open position. Pinned hard,
+// because getting OUT is the half of a strategy the entry loop never covered.
+
+import { describe, it, expect } from 'vitest';
+import { evaluateExit, DEFAULT_EXIT_CFG } from '../../api/_lib/oracle/exit.js';
+
+const held = { entryConviction: 82, entryTier: 'strong' };
+
+describe('evaluateExit', () => {
+ it('holds while the thesis is intact', () => {
+ const d = evaluateExit({ position: held, current: { score: 80, tier: 'strong', badges: [] } });
+ expect(d.exit).toBe(false);
+ expect(d.urgency).toBe('none');
+ expect(d.reason).toMatch(/hold/);
+ });
+
+ it('takes profit at the target multiple', () => {
+ const d = evaluateExit({ position: held, current: { score: 80, multiple: 3.4 } });
+ expect(d.exit).toBe(true);
+ expect(d.trigger).toBe('take_profit');
+ expect(d.reason).toMatch(/3\.4×/);
+ });
+
+ it('honors an opt-in hard stop and stays dormant when disabled', () => {
+ const withStop = evaluateExit({ position: held, current: { score: 80, multiple: 0.4 }, cfg: { stopLossMultiple: 0.5 } });
+ expect(withStop.exit).toBe(true);
+ expect(withStop.trigger).toBe('stop_loss');
+ expect(withStop.urgency).toBe('high');
+ // Default cfg disables the stop (stopLossMultiple 0) — a drawdown alone won't fire it.
+ const noStop = evaluateExit({ position: held, current: { score: 80, multiple: 0.4 } });
+ expect(noStop.exit).toBe(false);
+ });
+
+ it('bails when a red flag surfaces after entry', () => {
+ const structural = evaluateExit({ position: held, current: { score: 78, badges: ['structure-flag'] } });
+ expect(structural.trigger).toBe('red_flag');
+ expect(structural.urgency).toBe('high');
+ const creator = evaluateExit({ position: held, current: { score: 78, badges: ['pedigree-flag'] } });
+ expect(creator.trigger).toBe('red_flag');
+ expect(creator.reason).toMatch(/creator/);
+ });
+
+ it('exits when smart money is unwinding', () => {
+ const d = evaluateExit({ position: held, current: { score: 75, smartMoneyExiting: true } });
+ expect(d.exit).toBe(true);
+ expect(d.trigger).toBe('smart_money_exit');
+ });
+
+ it('exits on a conviction collapse below the floor', () => {
+ const d = evaluateExit({ position: held, current: { score: 40 } });
+ expect(d.exit).toBe(true);
+ expect(d.trigger).toBe('conviction_collapse');
+ });
+
+ it('exits on a large conviction drop even above the floor', () => {
+ const d = evaluateExit({ position: { entryConviction: 90 }, current: { score: 65 } }); // -25 pts
+ expect(d.exit).toBe(true);
+ expect(d.trigger).toBe('conviction_drop');
+ });
+
+ it('take-profit outranks a simultaneous red flag (realize the win first)', () => {
+ const d = evaluateExit({ position: held, current: { score: 40, multiple: 5, badges: ['structure-flag'] } });
+ expect(d.trigger).toBe('take_profit');
+ });
+
+ it('tolerates empty input and exposes a conservative default policy', () => {
+ expect(() => evaluateExit()).not.toThrow();
+ expect(evaluateExit().exit).toBe(false);
+ expect(DEFAULT_EXIT_CFG.takeProfitMultiple).toBeGreaterThan(0);
+ expect(DEFAULT_EXIT_CFG.stopLossMultiple).toBe(0);
+ });
+});