Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
fix: enhance clarity and conciseness in club-and-stages.md and play-coin-worlds.md
nirholas10c6031881f5
diff --git a/content/agent-skills.md b/content/agent-skills.mdindex 2dde8c851..d3cbd7c10 100644--- a/content/agent-skills.md+++ b/content/agent-skills.md@@ -39,27 +39,27 @@ wave/prompts/ optional prompt templates```-**`manifest.json`** declares `spec: "skill/0.1"`, a name, a semver version, and three contract sections. `requires` states compatibility: which avatar rigs it works with, the minimum runtime, and which built-in tools it depends on. `dependencies` maps other skill URIs to version ranges, installed recursively before the depending skill, with circular dependencies rejected. `provides` declares the tools and trigger tags the skill adds. An optional `integrity` block carries SHA-256 hashes verified before any handler executes, and an optional `author` field carries the publisher's wallet, which the trust system enforces.+**`manifest.json`** declares `spec: "skill/0.1"`, a name, a semver version, and three contract sections: `requires` (compatible avatar rigs, minimum runtime, built-in tool dependencies), `dependencies` (other skill URIs by version range, installed recursively, circular dependencies rejected), and `provides` (the tools and trigger tags the skill adds). An optional `integrity` block carries SHA-256 hashes verified before any handler executes, and an optional `author` field carries the publisher's wallet, which the trust system enforces.-**`SKILL.md`** is the part most systems get wrong. It is not documentation for humans. It is an instruction fragment written directly to the model: frontmatter with a name, description, trigger tags, and a cost hint (`low`, `medium`, `high`, which controls eager versus lazy loading), then a markdown body that tells the LLM when to use the tool, how to choose parameters, and what not to do. The runtime wraps the body in a `<skill name="..." version="...">` tag before injecting it into the system prompt, so the model can attribute which skill each instruction came from.+**`SKILL.md`** is the part most systems get wrong. It is not documentation for humans. It is an instruction fragment written directly to the model: frontmatter with a name, description, trigger tags, and a cost hint that controls eager versus lazy loading, then a markdown body that tells the LLM when to use the tool, how to choose parameters, and what not to do. The runtime wraps the body in a `<skill name="..." version="...">` tag before injecting it into the system prompt, so the model can attribute which skill each instruction came from.**`tools.json`** defines the callable functions in the standard tool-use schema (`input_schema`, with types, enums, defaults, and constraints). Before each LLM call the runtime merges the schemas of every installed skill into one tool list; on a name collision the later install wins and a warning is logged.-**`handlers.js`** is an ES module exporting one async function per tool. Each handler receives the validated arguments and a context object, `ctx`, which is the only door out of the sandbox: `ctx.viewer` for scene control (play a clip, set an expression, look at the camera, move the avatar), `ctx.llm` for completions and embeddings, `ctx.memory` for reads, writes, and timeline notes, asset loaders resolved against `ctx.skillBaseURI`, `ctx.fetch` for network under normal CORS, `ctx.call` for cross-skill tool calls, and `ctx.speak` and `ctx.listen` for voice. Every `ctx` call times out after 30 seconds and surfaces as an error object instead of crashing the agent.+**`handlers.js`** is an ES module exporting one async function per tool. Each handler receives the validated arguments and a context object, `ctx`, the only door out of the sandbox: `ctx.viewer` for scene control, `ctx.llm` for completions and embeddings, `ctx.memory` for reads, writes, and timeline notes, asset loaders resolved against `ctx.skillBaseURI`, `ctx.fetch` for network under normal CORS, `ctx.call` for cross-skill tool calls, and `ctx.speak` and `ctx.listen` for voice. Every `ctx` call times out after 30 seconds and surfaces as an error object instead of crashing the agent.-A skill without `handlers.js` is still valid. It is a declarative skill: pure prompt engineering plus assets, always safe to load.+A skill without `handlers.js` is still valid: a declarative skill, pure prompt engineering plus assets, always safe to load.### The sandbox and the trust ladder-Handler code from the open internet runs inside your agent, so the default posture is containment. Handlers execute in a Web Worker with no DOM, no `window`, no `localStorage`, and no cookies. The worker receives handler source as text and loads it through a `blob:` URL import, which means handler code cannot import external modules at all. Every `ctx` call becomes a validated postMessage round trip to the main thread, and non-serializable objects like animation clips are represented in the worker as opaque handles.+Handler code from the open internet runs inside your agent, so the default posture is containment. Handlers execute in a Web Worker with no DOM, no `window`, no `localStorage`, and no cookies. The worker receives handler source as text and loads it through a `blob:` URL import, so handler code cannot import external modules at all. Every `ctx` call becomes a validated postMessage round trip to the main thread, and non-serializable objects like animation clips are represented in the worker as opaque handles.-On top of the sandbox sits a per-agent trust policy: `owned-only` (the default, only skills whose `author` matches the agent owner's wallet), `whitelist` (a configured list of publisher wallets), or `any` (for kiosks and demos). Owner-trusted skills that genuinely need main-thread access can opt out with `sandboxPolicy: "trusted-main-thread"` in the manifest, and that opt-out is ignored for `any`-trust skills.+On top of the sandbox sits a per-agent trust policy: `owned-only` (the default, only skills whose `author` matches the agent owner's wallet), `whitelist` (a list of publisher wallets), or `any` (for kiosks and demos). Owner-trusted skills that genuinely need main-thread access can opt out with `sandboxPolicy: "trusted-main-thread"`, an opt-out ignored for `any`-trust skills.### How an agent consumes a skill-Install paths are deliberately boring. Reference the skill in the agent's manifest (`skills: [{ uri, version }]`), pass a JSON array to the `<agent-3d>` web component's `skills` attribute, or call `el.agent.skills.install({ uri })` at runtime. URIs can be HTTPS, `ipfs://` (resolved through a gateway fallback chain), or `ar://`. The load sequence: fetch the manifest, enforce trust, verify integrity, check rig compatibility, install dependencies, fetch the remaining files in parallel, merge the tools, inject the instructions. From that moment the LLM can call the skill's tools like any built-in, and the host page can watch through three events on the element: `perform-skill`, `skill-done`, and `skill-error`.+Reference the skill in the agent's manifest (`skills: [{ uri, version }]`), pass a JSON array to the `<agent-3d>` web component's `skills` attribute, or call `el.agent.skills.install({ uri })` at runtime. URIs can be HTTPS, `ipfs://` (resolved through a gateway fallback chain), or `ar://`. The load sequence: fetch the manifest, enforce trust, verify integrity, check rig compatibility, install dependencies, fetch the remaining files in parallel, merge the tools, inject the instructions. From that moment the LLM can call the skill's tools like any built-in, and the host page can watch through three element events: `perform-skill`, `skill-done`, and `skill-error`.-Every agent also ships seven built-ins from `src/agent-skills.js` (greet, present-model, validate-model, remember, think, sign-action, help), and the ones flagged as MCP-exposed are callable by external tools through `/api/mcp` as `skill_<name>`.+Every agent also ships seven built-ins from `src/agent-skills.js` (greet, present-model, validate-model, remember, think, sign-action, help), and the ones flagged as MCP-exposed are callable through `/api/mcp` as `skill_<name>`.## The marketplace@@ -77,7 +77,7 @@ x402 is the HTTP 402 payment protocol: a client hits an endpoint, receives a str**`GET /api/x402/skill-call?skill=<slug>`** is the per-call meter for marketplace skills. The caller pays the skill's `price_per_call_usd` in USDC and receives the skill's executable payload: its tool schema and content, ready for the calling agent to run. Settlement routes straight to the skill author's wallet. It is genuinely per call: no sign-in re-access grant, so every invocation is a fresh payment. Free skills are rejected here with a 409 and fetched for free through the normal catalog instead.-**`GET /api/x402/skill-marketplace`** is the paid index of everything three.ws agents charge for, one tenth of a cent per query. It lists active listings across all agents with price atomics, chain, trial and time-pass terms, and, when filtered by skill name, the cheapest provider, so a paying agent can route work to the best price instead of picking blindly. The POST side adds analytics modes: `price_distribution` returns the min, max, and median listing price (our own autonomous loop pays for this every five minutes to detect price floor erosion), `popular` returns the most-purchased skills over the last seven days from the real hires ledger, and `canary_execute` smoke-tests the execution path against a two-second latency budget. The platform is its own paying customer here, the strongest honesty check an API can have.+**`GET /api/x402/skill-marketplace`** is the paid index of everything three.ws agents charge for, one tenth of a cent per query. It lists active listings across all agents with price, chain, trial and time-pass terms, and, when filtered by skill name, the cheapest provider, so a paying agent can route work to the best price instead of picking blindly. The POST side adds analytics: `price_distribution` returns the min, max, and median listing price (our own autonomous loop pays for this every five minutes to detect price floor erosion), `popular` returns the most-purchased skills of the last seven days from the real hires ledger, and `canary_execute` smoke-tests the execution path against a two-second latency budget. The platform is its own paying customer here, the strongest honesty check an API can have.For human buyers, the access decision is one function, `hasSkillAccess`, checked by every endpoint that executes a paid skill. It resolves in strict priority order: an NFT gate (verified live on-chain and fail-closed, so an RPC error denies rather than unlocks), then free skills, then a confirmed one-time purchase honoring time passes, then an agent-level subscription, then a creator subscription tier that includes the skill, and only last a trial with remaining uses, so a trial is never burned when something stronger already grants access.@@ -175,7 +175,7 @@ or fully client-side with `@three-ws/skill-license`, and record an agent-to-agen### Authoring walkthrough: a skill in four files-This is the shape of the weather skill from the tutorial at three.ws/docs/tutorials/custom-skill, compressed. First the manifest:+This is the weather skill from the tutorial at three.ws/docs/tutorials/custom-skill, compressed. The manifest:```json{diff --git a/content/agent-sniper.md b/content/agent-sniper.mdindex 582a528f8..810b6555d 100644--- a/content/agent-sniper.md+++ b/content/agent-sniper.md@@ -48,11 +48,11 @@ A strategy declares its trigger, and the trigger decides which loop feeds it.Entry scoring is pure and explainable. Every skip logs its reason, because the skip log is what you stare at when tuning a strategy.-For a fresh mint, hard filters short-circuit first: a non-SOL quote pair, a market cap outside the strategy's band, a creator with more launches than your ceiling or fewer graduations than your floor, missing socials when you require them. Then soft signals build the score: a point for socials, a point per coin the creator has graduated, a point for a dev initial buy of at least one SOL.+For a fresh mint, hard filters short-circuit first: a non-SOL quote pair, a market cap outside the band, a creator with more launches than your ceiling or fewer graduations than your floor, missing socials when required. Then soft signals build the score: a point for socials, a point per coin the creator has graduated, a point for a dev initial buy of at least one SOL.-For an intel-confirmed coin the score is a composition: the quality score normalized to a 0 to 1 baseline, plus half the organic score, minus half the bundle score, plus an optional learned model. That learned term is a dot product of the coin's numeric signals against trained weights, deliberately clamped to plus or minus 0.5 so a model can nudge the deterministic gates but never swamp them.+For an intel-confirmed coin the score is a composition: the quality score normalized to a 0 to 1 baseline, plus half the organic score, minus half the bundle score, plus an optional learned model, a dot product of the coin's numeric signals against trained weights, deliberately clamped to plus or minus 0.5 so a model can nudge the deterministic gates but never swamp them.-Every executed snipe also records a self-rated confidence between 0.05 and 0.95 into the decision ledger: a 0.6 base, a bonus if the safety firewall said allow, a penalty if it said warn, and a penalty scaled by how much of the price impact budget the entry consumed. The sniper predicts its own outcomes; the settle loop grades them.+Every executed snipe records a self-rated confidence between 0.05 and 0.95 into the decision ledger: a 0.6 base, a bonus if the safety firewall said allow, a penalty if it said warn, and a penalty scaled by how much of the price impact budget the entry consumed. The sniper predicts its own outcomes; the settle loop grades them.## The guard stack: everything that stops a buy@@ -78,7 +78,7 @@ This is the platform's favorite subsystem, because it closes a loop most platforA strategy can set a minimum Oracle conviction score. Before any snipe, the gate runs in layers.-**The rugpull veto fires first and unconditionally.** If the paid token-intel pipeline has produced a fresh high or critical rug verdict for the mint within the last hour, the snipe is rejected no matter what the strategy says. The veto is fail-open on errors and expires with freshness, because new mints move fast and a stale rejection must not block forever. It can only ever make the sniper safer.+**The rugpull veto fires first and unconditionally.** A fresh high or critical rug verdict from the paid token-intel pipeline, within the last hour, rejects the snipe no matter what the strategy says. The veto is fail-open on errors and expires with freshness, because new mints move fast and a stale rejection must not block forever. It can only ever make the sniper safer.**Then the conviction threshold, adjusted twice.** The effective bar is the strategy's minimum score plus a macro adjustment plus a per-coin adjustment.@@ -109,9 +109,9 @@ Custody is yours. The self-custody wallet resolves keys locally, per agent, fromOne engine, four faces:- **The library.** createSniper with your adapters, or the local preset that wires in-memory state, self-custody keys, the pump.fun client, and the PumpPortal feed.-- **The CLI.** An agent-sniper binary with run, mcp, serve, and status subcommands. Every one boots in simulate; live requires SNIPER_MODE=live and refuses to start on a public RPC, because a rate-limited endpoint silently dropping your trades is worse than not trading.+- **The CLI.** An agent-sniper binary with run, mcp, serve, and status subcommands. Every one boots in simulate; live requires SNIPER_MODE=live and refuses to start on a public RPC, because an endpoint silently dropping your trades to rate limits is worse than not trading.- **The MCP server.** Seven tools mapping one-to-one onto public engine methods: arm_strategy, disarm_strategy, list_strategies, snipe_now, list_positions, close_position, sniper_status. Published in the MCP registry as io.github.nirholas/agent-sniper.-- **The x402 paid HTTP API.** Reads are free; mutations are priced in USDC micropayments: one cent to arm a strategy, five cents to force a snipe, half a cent to disarm. The middleware verifies the payment header, does the work, settles on chain, and emits the receipt. Any paying agent on the open web can rent this engine. The same server ships a built-in operator console at /console: live stats, a positions table with one-click close, arm and snipe forms, an activity feed, keyboard shortcuts. Set an operator token and your own console bypasses the payment gate while external agents still pay.+- **The x402 paid HTTP API.** Reads are free; mutations are priced in USDC micropayments: one cent to arm a strategy, five cents to force a snipe, half a cent to disarm. The middleware verifies the payment header, does the work, settles on chain, and emits the receipt. Any paying agent on the open web can rent this engine. The same server ships an operator console at /console with live stats, a positions table with one-click close, arm and snipe forms, and an activity feed; an operator token lets your own console bypass the payment gate while external agents still pay.## Everything on the platform that runs on itdiff --git a/content/club-and-stages.md b/content/club-and-stages.mdindex cc721fd33..44a787cbf 100644--- a/content/club-and-stages.md+++ b/content/club-and-stages.md@@ -20,11 +20,11 @@ Three reasons.The Pole Club at three.ws/club is a dark 3D venue with three pole stages in a half-arc, three named dancers, a live crowd, a working sound system, and an economy where every performance is bought on-chain. It starts before you even get inside.-**The walk in.** You do not drop onto the pole floor. You spawn outside, in an alley, as a third-person 3D avatar you control the whole way: WASD or arrows on desktop, a touch joystick on mobile, drag to look. The page never auto-walks you. A journey bar tracks progress, a minimap radar shows the room, your heading, and a pulsing line to the door, and an agent switcher lets you swap which avatar you are walking in as, live, from the bundled rigs or any public 3D agent on the platform. Walk up to the neon door, step into range, and a prompt appears: press E, tap, or click.+**The walk in.** You do not drop onto the pole floor. You spawn outside, in an alley, as a third-person 3D avatar you control the whole way: WASD or arrows, a touch joystick on mobile, drag to look. The page never auto-walks you. A journey bar tracks progress, a minimap shows the room, your heading, and a pulsing line to the door, and an agent switcher lets you swap which avatar you are walking in as, live, from the bundled rigs or any public 3D agent on the platform. Reach the neon door and a prompt appears: press E, tap, or click.-**The cover charge.** At the door you pay a one-cent USDC cover through the x402 wallet modal, and then the bouncer checks you: the paying wallet is verified on-chain against a ban list and its prior club history. Regulars and VIPs are greeted by tier ("VIP in the house, 12 nights and counting"), and a denied wallet is turned away even after paying. A paid pass is cached on the device, bound to the paying wallet, and capped at 24 hours no matter what, so one cover covers the night and a wallet switch voids it. Behind the card, the 3D club has been booting in parallel the whole time, so the room is warm the moment the velvet rope drops.+**The cover charge.** At the door you pay a one-cent USDC cover through the x402 wallet modal, and the bouncer checks you: the paying wallet is verified on-chain against a ban list and its prior club history. Regulars and VIPs are greeted by tier ("VIP in the house, 12 nights and counting"); a denied wallet is turned away even after paying. A paid pass is cached on the device, bound to the paying wallet, and capped at 24 hours no matter what, so one cover covers the night and a wallet switch voids it. Behind the card, the 3D club has been booting in parallel, so the room is warm the moment the velvet rope drops.-**The rest of the walk.** Past the door you keep walking, through a gallery hall and then a clubhouse interior, to the pole stage itself. Each room holds a real crowd: the club pulls the platform's public avatar roster, grounds each rig on the floor, scales it to human height, and drives it with varied idle and dance loops from the shared animation library. The crowd is capped to a per-device performance budget, clips are retargeted once per unique rig and shared across clones, and any avatar the clip library cannot drive is skipped rather than left in a T-pose.+**The rest of the walk.** Past the door you keep walking, through a gallery hall and a clubhouse interior, to the pole stage itself. Each room holds a real crowd: the club pulls the platform's public avatar roster, grounds each rig on the floor, scales it to human height, and drives it with varied idle and dance loops from the shared animation library. The crowd is capped to a per-device performance budget, clips are retargeted once per unique rig and shared across clones, and any avatar the clip library cannot drive is skipped rather than left in a T-pose.**The dancers and the tips.** Three dancers hold the poles: Dylan (neon pink, fast and precise), Nich (cyan, fluid and hypnotic), and Boss Vernington (amber, pure power), each a real rigged avatar. Tipping is the core loop: pick a dancer, pick a style, and pay $0.001 USDC through /api/x402/dance-tip. When the payment settles, that dancer walks out from backstage, performs the routine for its fixed duration, and returns to her idle stance. The style catalog is real and typed: five free-floor styles (hip hop, rumba, silly, thriller, capoeira), a pole style that turns her to the pole, and three choreographed sequences, Spin, Slow Burn, and Full Combo, that chain up to five animation clips back-to-back with crossfades. Every clip in a sold routine must exist in the deployed animation manifest, and if a requested clip cannot load on the chosen rig, a guaranteed fallback routine plays instead, because a paid tip always yields a real performance.@@ -38,13 +38,13 @@ One architectural note: the venue geometry and HDRI lighting are procedurally au## Living Stages: AI hosts, live, tipped in $THREE-Living Stages at three.ws/stage is where embodied AI agents perform live shows for a co-present audience, and where $THREE is the currency of applause.+Living Stages at three.ws/stage is where embodied AI agents perform live for a co-present audience, and where $THREE is the currency of applause.**What a stage is.** A venue owned by one agent and its owner: a title, a format, a voice, a venue type, a tip split policy, and a schedule. The owner creates it from an agent they own (ownership enforced server-side on every write), goes live to open a show, and ends it; going live notifies followers. The directory lists every stage, live shows first with a pulsing LIVE badge, each card carrying the host's avatar, format, and recent $THREE tipped.**What the host actually is.** Not a looping script. The multiplayer stage room runs a host loop that, once per beat, asks the host brain at /api/stage/host for the agent's next words. The brain reasons with a live LLM over the actual show context: the kind of beat (opener, tip shoutout, answer, banter, game), the audience size, the tip leaderboard, a fresh tip to shout out, or a queued audience question, plus the agent's own persona and its memory of returning regulars. It returns a short speakable line and an animation cue. The endpoint is HMAC-authenticated to the multiplayer server so it can never be farmed as a free LLM relay. The words are never canned; only a brain outage triggers the room's minimal fallback line.-**What you experience in the venue.** Enter a stage and you are in a 3D room: a raised stage disc under colored spotlights, the host avatar loaded from its real GLB and normalized to human height, and the rest of the audience present as live figures, with the top tipper glowing gold. The host's lines arrive as timed utterance broadcasts every connected client renders identically: the text shows as live captions, and the audio is fetched from the platform's TTS endpoint and routed through a positional audio node attached to the host's head, so the voice is spatial, it literally gets louder as you dolly the camera closer, and a real analyser node drives the host's mouth for lip-sync. If the realtime socket cannot be reached, the page settles into an honest "feed offline" state and captions, tips, and the leaderboard still work. With no WebGL at all, the show degrades to audio and text, never to a blank page.+**What you experience in the venue.** A 3D room: a raised stage disc under colored spotlights, the host avatar loaded from its real GLB and normalized to human height, the rest of the audience present as live figures, the top tipper glowing gold. The host's lines arrive as timed utterance broadcasts every connected client renders identically: the text shows as live captions, and the audio is fetched from the platform's TTS endpoint and routed through a positional audio node attached to the host's head, so the voice is spatial, it literally gets louder as you dolly the camera closer, and a real analyser node drives the host's mouth for lip-sync. If the realtime socket cannot be reached, the page settles into an honest "feed offline" state and captions, tips, and the leaderboard still work. With no WebGL at all, the show degrades to audio and text, never a blank page.**The tipping loop.** Tips are real $THREE, transferred on-chain from your wallet directly to the host agent's wallet, with presets from 100 to 10,000 $THREE, a custom amount, and an optional 140-character message. After settlement, the signature is recorded at /api/stage/tip, which validates the mint and amount, is idempotent per signature so a retry can never double-credit, computes the host-versus-venue accounting split from the stage's policy, and pushes the tip into the live room over a signed bridge. The host reacts within about a second: your tip appears in the ticker with an explorer link, the crowd bursts, and the host's next spoken beat shouts you out. You can also queue a question from the side panel and the host answers it on stage, in voice.@@ -104,6 +104,6 @@ The Hero Stage is a backdrop, deliberately: it renders atmosphere, and everythin## Where to start-The club: three.ws/club. Bring a wallet with a few cents of USDC; the whole night costs less than a dime. The stages: three.ws/stage, live shows first. The hero backdrop, with the how-it-is-built notes on the page itself: three.ws/hero-demo. Any token as a place: three.ws/coin3d. And if the scene makes you want the intel behind it, the conviction engine is at three.ws/oracle.+The club: three.ws/club, and a whole night costs less than a dime of USDC. The stages: three.ws/stage, live shows first. The hero backdrop, with its how-it-is-built notes on the page: three.ws/hero-demo. Any token as a place: three.ws/coin3d. And if a scene makes you want the intel behind it, the conviction engine is at three.ws/oracle.Payments you can watch. Agents you can tip. Tokens you can walk around. The performance layer is live now.diff --git a/content/play-coin-worlds.md b/content/play-coin-worlds.mdindex b5a05fd82..6d46c1e34 100644--- a/content/play-coin-worlds.md+++ b/content/play-coin-worlds.md@@ -4,13 +4,13 @@A coin's real asset is its crowd, not its chart. Strip away the candles and what is left is a group of people who chose the same symbol at the same time. And yet that crowd has nowhere to stand. It lives in comment threads and group chats, placeless, scattered across feeds that forget everything by morning. The chart has a URL. The community does not.-Play is our answer to that. Every coin on pump.fun gets its own live, walkable, multiplayer 3D world, generated deterministically from its mint address, running in the browser with no install. Holders drop in as their own 3D avatars, talk by proximity voice, build structures that persist, watch real on-chain trades ripple through the environment, and spend real USDC at kiosks and NPC counters that are genuine paid endpoints. It is live at three.ws/play, and the flagship world, the $THREE town, is pinned at the top of the lobby.+Play is our answer to that. Every coin on pump.fun gets its own live, walkable, multiplayer 3D world, generated deterministically from its mint address, running in the browser with no install. Holders drop in as their own 3D avatars, talk by proximity voice, build structures that persist, watch real on-chain trades ripple through the environment, and spend real USDC at kiosks and NPC counters that are genuine paid endpoints. It is live at three.ws/play, and the flagship world is the $THREE town, pinned at the top of the lobby.This is everything about it.## Why we built it-**First, a community without a place is a community on borrowed land.** Every coin community today rents its existence from a chat app or a feed. We wanted the opposite: a world that belongs to the coin, addressed by the coin, shaped by the coin. In Play, the world is literally a function of the mint address. Same mint, same world, every visitor, every time. The world becomes a fingerprint of the coin.+**First, a community without a place is a community on borrowed land.** Every coin community today rents its existence from a chat app or a feed. We wanted a world that belongs to the coin, addressed by the coin, shaped by the coin. In Play, the world is literally a function of the mint address: same mint, same world, every visitor, every time. The world is a fingerprint of the coin.**Second, the agent economy needed a stage.** three.ws is a platform where 3D agents hold wallets and pay each other in USDC over x402. Those payments are real, but a JSON receipt does not make anyone feel anything. Put two embodied agents in a plaza, let a player press E, and watch one pay the other on Solana mainnet with an explorer link, and the machine economy becomes something you can stand next to.@@ -38,9 +38,7 @@ The flagship world is the $THREE town, and it does not ride the seed lottery. It## The plaza: where the market becomes weather-Every world centers on a plaza, and the plaza is a live instrument panel for the coin.--The **coin totem** spins slowly at the center, a floating gold disc carrying the token's art on both faces. The **jumbotron**, a twenty-four meter LED wall, shows the coin's art, symbol, market cap, and a live count of who is in the world right now. The **chart screen** streams the coin's real swap tape: price, session chart, volume, buy and sell pressure, and a scrolling trade ticker fed by actual on-chain trades.+Every world centers on a plaza, and the plaza is a live instrument panel for the coin. The **coin totem** spins slowly at the center, a floating gold disc carrying the token's art. The **jumbotron**, a twenty-four meter LED wall, shows the coin's art, symbol, market cap, and a live count of who is in the world right now. The **chart screen** streams the coin's real swap tape: price, session chart, volume, buy and sell pressure, and a scrolling ticker fed by actual on-chain trades.Then the **market reactor** turns that tape into weather. Every buy sends a green ripple ring across the plaza floor and flashes the world's boundary ring; every sell ripples red. Sustained volume accumulates heat that spins the totem faster. The rolling percent change drives the world's mood, easing fog and sunlight between storm and euphoria as a tide, not a strobe. And a whale trade of 750 dollars or more detonates the full spectacle: a light beam over the totem, a shockwave, and on a buy, a fountain of golden coins off the totem crown, with a toast naming the size.@@ -48,7 +46,7 @@ Beside all this floats the **forecast sculpture**: a glowing 3D ribbon rendering## The city underneath: districts, zones, and the open world foundation-Under the plaza sits the open world foundation, the data spine and geometry that turn a clearing into a city. The map is a 400 meter square. The plaza survives at its heart as **Downtown**, a 58 meter radius safe zone: no PvP, vendors, traffic, and every player spawn. East of it, **The Docks** run to the map edge, flagged for water and cargo, with a three-slot race grid lined up on the dock front. The ordinary block grid between zones is **The Streets**, neutral ground with background traffic. And everything past 138 meters from center is **The Wilds**: the lawless outskirts, flagged for PvP and loot. A single spawn registry places everything, from the four player drop-ins at the origin to the vehicle bays on the avenues, and the server mirrors the same bounds authoritatively, so the rendered world and the anti-cheat clamp always agree about where the edge is.+Under the plaza sits the open world foundation, the data spine and geometry that turn a clearing into a city. The map is a 400 meter square. The plaza survives at its heart as **Downtown**, a 58 meter radius safe zone: no PvP, vendors, every player spawn. East of it, **The Docks** run to the map edge, flagged for water and cargo, with a three-slot race grid on the dock front. The ordinary block grid between is **The Streets**, neutral ground with background traffic. Everything past 138 meters from center is **The Wilds**: lawless outskirts, flagged for PvP and loot. A single spawn registry places everything, from the four player drop-ins at the origin to the vehicle bays on the avenues, and the server mirrors the same bounds authoritatively, so the rendered world and the anti-cheat clamp agree about where the edge is.The district itself is a deterministic city: an asphalt grid of 46 meter blocks and 12 meter roads ringing Downtown, each block a raised sidewalk slab carrying one to three building shells, taller toward the center so a real skyline forms, every facade a shared texture whose lit windows double as the emissive map, streetlights at every intersection. The whole city is a handful of instanced draw calls, every building a physics collider, identical on every client because it is generated from the coin's seed. A day and night system drives it: an authoritative world clock, eight real minutes to a world day by default, arcs the sun from sunrise through noon to sunset, grades the sky through dawn and dusk palettes into the biome's daytime colors, closes the fog in after dark, and switches the windows and streetlamps on at dusk.@@ -78,7 +76,7 @@ The ambience is simulated, on purpose, and it yields. An empty room is a bad firThe worlds carry a full server-authoritative gameplay layer. Five skills level to 99: fishing, cooking, woodcutting, mining, and combat. You cast into the ponds, chop the groves, mine the rocks, cook at the firepits, and fight the mobs, with every catch, experience drop, and level-up rolled on the server and streamed back. Gold accrues in a purse, tools and food live in an inventory and a six-slot hotbar. King of the Totem turns the plaza center into a hold-the-zone contest with a crown ring that follows the current holder, Tag gives the "it" player a red glow and a reason to run, and an emote wheel handles the body language.-And then there is the build layer: collaborative voxel building, server-authoritative and persistent per coin. Ten block types from stone to translucent glass to glowing neon, composite pieces (walls, floors, stairs, doorways) stamped in one atomic batch, a 6,000 block budget per world inside a 30 block radius and 24 block height, undo, per-player allowances, and creator-only moderation tools the server enforces regardless of what the UI claims. A durability badge tells the truth about persistence: saved for everyone when the durable store is live, this session only when it is not.+And then there is the build layer: collaborative voxel building, server-authoritative and persistent per coin. Ten block types from stone to translucent glass to glowing neon, composite pieces (walls, floors, stairs, doorways) stamped in one atomic batch, a 6,000 block budget per world, undo, per-player allowances, and creator-only moderation the server enforces regardless of what the UI claims. A durability badge tells the truth about persistence: saved for everyone when the durable store is live, this session only when it is not.## The cosmetics economy@@ -92,7 +90,7 @@ The flex even has a leaderboard. The Rarest Fits board ranks the scarcest premiuTwo assets, two jobs, everywhere in Play: $THREE is the coin. USDC is the settlement asset, never a coin to hold.-**The intel kiosk.** Every town has one by the plaza. Walk up, press E, and the x402 wallet modal opens: one cent USDC, Phantom on Solana or an EVM wallet on Base, signed by your own wallet, no platform key ever near the page. The kiosk's 3D screen then lights up with the purchased intel for the town's own coin: live price, 24 hour change, market cap, and a bullish, bearish, or neutral signal, with the settlement transaction linked. The $THREE town buys from its dedicated oracle endpoint; every other town uses the generic token oracle with the world's mint supplied at runtime.+**The intel kiosk.** Walk up, press E, and the x402 wallet modal opens: one cent USDC, Phantom on Solana or an EVM wallet on Base, signed by your own wallet, no platform key ever near the page. The kiosk's 3D screen lights up with the purchased intel for the town's own coin: live price, 24 hour change, market cap, and a bullish, bearish, or neutral signal, with the settlement transaction linked. The $THREE town buys from its dedicated oracle endpoint; every other town uses the generic token oracle with the world's mint supplied at runtime.**The agent exchange.** Two embodied AI agents, ORACLE and NOVA, stand in every plaza. Press E and NOVA pays ORACLE in USDC for a priced service call, streamed stage by stage: challenge, sign, verify, settle, confirm, on Solana mainnet, with a Solscan link on the receipt. One real payment per round, fired only on an explicit player interaction, never on a timer. Behind them, the x402 jumbotron watches the whole platform: a live feed of real micropayments landing across three.ws, each row a tool call, an amount, and a transaction hash.@@ -106,7 +104,7 @@ The worlds are wired into the rest of three.ws, not bolted on beside it. The int## How players use it-No wallet is needed to explore. Open three.ws/play, tap the pinned $THREE town or any trending coin, or search any pump.fun coin by name or mint, and you are in as a default character within seconds. Desktop controls are WASD to move, Shift to sprint, Space to jump, Enter to chat, B to build, E to interact with kiosks, agents, and citizens, F to fish, and number keys for the hotbar; touch gets a joystick, pinch zoom, and tap-to-interact. A first-join coach card teaches exactly this without blocking the joystick. Wallets enter the picture only when money or identity does: trading the coin, buying intel or cosmetics, or passing a Holders gate. Communities share their world as a link, and embedders can drop a world into any page with a transparent background mode and a pinned biome.+No wallet is needed to explore. Open three.ws/play, tap the pinned $THREE town or any trending coin, or search any pump.fun coin by name or mint, and you are in as a default character within seconds. Desktop controls are WASD to move, Shift to sprint, Space to jump, Enter to chat, B to build, E to interact, F to fish, and number keys for the hotbar; touch gets a joystick, pinch zoom, and tap-to-interact. A first-join coach card teaches exactly this without blocking the joystick. Wallets enter the picture only when money or identity does: trading the coin, buying intel or cosmetics, or passing a Holders gate. Embedders can drop a world into any page with a transparent background mode and a pinned biome.## For creators and developersdiff --git a/docs/oracle.md b/docs/oracle.mdindex 1a02d418a..1f1552f33 100644--- a/docs/oracle.md+++ b/docs/oracle.md@@ -1,179 +1,83 @@-# Oracle — the conviction engine, end to end+# Oracle: the conviction engine, end to end-> **Documentation · living reference** — Updated 2026-06-30 · ~35 min read · Plain-English throughout, with deep dives for the math.+The complete story of Oracle: why we built it, how the scoring model works, the exact math, the agent action loop, every feature on the platform that runs on it, the x402 paid intel layer, the MCP path, examples, tutorials, and the honest limits.-Oracle reads every **pump.fun** launch the moment it appears and answers one question: **how much conviction does the on-chain evidence actually support?** It fuses four independent reads — **who** is buying, **how** the launch is structured, **what** story it rides, and **how** it is moving — into a single transparent **0–100 score**, then lets your 3D agent act on the plays that clear your bar. This is the complete reference: the thesis, the exact math, the data, the evidence, the API, the limits, and where it goes next.+The first minutes of a new coin are the most asymmetric market on earth. Insiders know the creator's history, which wallets are loading up, and whether the supply is clean. You see a ticker and a green candle. By the time the answer is obvious, the trade is gone.-- Open the live Oracle → [three.ws/oracle](https://three.ws/oracle)-- Arm an agent → [three.ws/oracle/arm](https://three.ws/oracle/arm)+Oracle is our answer to that. It watches every pump.fun launch, scores it from 0 to 100, publishes the score, the reasoning, and the track record in public, and gives your 3D agent a machine readable signal it can act on without you re-implementing a single decision rule. It is live at three.ws/oracle, and the full reference, from the thesis to the exact pillar math to a PhD appendix on calibration, is at three.ws/oracle/docs.-**The live surface.** Every launch in the last 12 hours, scored and ranked, with a live conviction-breadth bar and per-narrative averages.+This is everything about it.----+## Why we built it-## How to read this+Three reasons, in order of importance.-These docs are written in two layers so the same page serves a curious first-timer and a quant who wants the closed form.+**First, the information problem is real and it is solvable.** The edge in early pump.fun trading is not speed, it is context: who is this creator, who is buying, is the supply structure honest, is the story real. All of that context exists on chain and in public data. Nobody fuses it in time. We already run a data brain with full coverage of the pump.fun firehose, so we were sitting on the raw material. Oracle is the fusion layer on top.-- **Plain — the body text.** Every section opens in plain English: what it is, why it exists, and how to use it. If you only read the prose, you will understand the whole system and never see a formula you didn't ask for.-- **Deep dive — the disclosures.** Anything labelled **Deep dive** expands into the exact math, constants, code paths, and edge cases — the researcher's layer.+**Second, agents need a number, not a dashboard.** three.ws is a platform where 3D agents hold wallets, trade, and pay each other. An autonomous agent cannot read a chart and feel conviction. It needs an explicit, calibrated, machine readable verdict with decision rules attached. Every scoring system we found was built for human eyeballs. Oracle is built agent-first: the signal endpoint returns an action, a confidence, and a size factor, so the hard part of the decision ships with the data.-> **Conventions.** Numbers and thresholds quoted here are the **real production constants** from the engine. Tier names are `prime · strong · lean · watch · avoid`. Pillars are nicknamed **WHO** (pedigree), **HOW** (structure), **WHAT** (narrative), **MOVE** (momentum) throughout the product and these docs.-------## Quickstart--Three ways in, depending on what you want from Oracle today.--- **For traders — Read a score.** Open the feed, sort by conviction, click any coin. The drawer shows the four pillars and a plain-English reason for every point. A high score is an argument, not a promise — read the reasons.-- **For skeptics — See the proof.** Go straight to *The edge*. Win rate by tier with 95% confidence bands, a calibration ladder, and a Brier score — shown even when the edge is thin. Proof, not promises.-- **For builders — Arm an agent.** Point a 3D agent at the conviction stream, set your bar and caps, and let it act — in **simulate** mode for free, or **live** with hard spend limits. Every action is graded against the outcome.--Prefer to integrate? Every number on the page is a public endpoint — jump to the [API reference](#api-reference). Agents can poll `/api/oracle/signal` for a machine-ready buy/watch/skip recommendation.-------## The thesis--pump.fun mints thousands of tokens a day. Almost all go to zero. The few that run, run violently. The entire game is a signal-extraction problem under extreme time pressure — and the edge is not a secret indicator, it is **coverage**.--### The problem: asymmetric information at the speed of a block--When a coin launches, the people who win are the ones who already know things you can't see fast enough: **whose wallets are buying** (and whether those wallets have a track record or a rug history), **whether the launch is organic or a coordinated bundle**, **whether the "community" is 200 real people or 200 freshly-funded burner wallets**, and **whether the story has cultural legs**. By the time a human reads a chart, the asymmetry has already paid out.--Every one of those facts is on-chain or one inference away from it. The bottleneck has never been availability — it is **assembly and speed**. No human watches every wallet across every launch and fuses it into a decision in seconds. A machine can.--### The bet: fuse full-coverage data into one honest number--Oracle's wager is that a transparent, calibrated fusion of **who / how / what / move** beats both gut instinct and any single indicator, because the failure modes are independent. A great story (WHAT) cannot save a launch where the dev already sold (HOW). A pile of smart-money wallets (WHO) means little if they are already trimming (also WHO). Fusing independent reads cancels noise and surfaces the rare launch where *every* axis agrees.--Two design commitments make that bet honest:--- **Transparency over magic.** Every score ships with the reasons that built it. There is no opaque model output you are asked to trust — you can read why a coin earned an 82 or got capped at 46.-- **Proof over promises.** Every verdict is checked against ground truth — did it graduate, rug, or run — and the realized win rate, with confidence bands, is published on the page. When the edge is thin, the page says so.--### Why it compounds--The system gets sharper the more it watches, on two flywheels. The **data flywheel**: every resolved outcome updates the wallet-reputation graph that powers the WHO pillar, so the definition of "smart money" is continuously re-earned, never hard-coded. The **calibration flywheel**: every graded outcome tightens the backtest, exposing exactly where the score is over- or under-confident so the model can be re-weighted against reality rather than intuition.--> **The one-sentence version.** Oracle turns the full on-chain footprint of a launch into one transparent, continuously-calibrated conviction score — and then lets an agent act on it within hard limits, grading itself against the outcome every time.-----+**Third, the flywheel benefits everything we run.** Every coin Oracle watches sharpens the priors. Every graded outcome tunes the calibration. Every proven wallet added to the pedigree ledger makes the WHO pillar harder to fool. And because one engine feeds the sniper, the Play worlds, the agent economy demos, the alerts, and the leaderboards, every improvement lands everywhere at once. We did not build a feature. We built the intelligence layer of the platform.## The system at a glance-Oracle is a thin, fast conviction layer on top of a full-coverage pump.fun data brain. It does not re-ingest the chain — it reads the brain's tables, adds two things the brain doesn't have (cultural narrative and an action loop), and closes the loop against outcomes.--### The closed loop — launch to verdict to action to learning--```-pump.fun → Every new launch + its on-chain trades.- ↓-Intel tables → Wallets, structure signals, reputation, outcomes. (Brain)- ↓-Assemble + classify → Fuse intel; LLM narrative w/ live news. (Oracle)- ↓-Convict → Four pillars → one 0–100 score + tier. (Oracle)- ↓-Feed / stream / API → Live to humans and agents. (Surface)- ↓-Agent loop → Armed agents buy within caps. (Act)- ↓-Settle + backtest → Grade vs outcome; recalibrate. (Learn)-```--The platform splits into three cooperating parts:--- **Read path — the conviction library.** A pure, side-effect-free scoring function (`convict()`) plus a defensive data-assembly layer. Given a mint, it returns a score, tier, pillar breakdown, and reasons. No I/O during scoring — fully testable.-- **Run path — the worker.** A long-lived Node process running three independent loops — **score** (keep verdicts warm), **agent** (act on armed watches), and **settle** (grade outcomes) — each self-scheduling so a slow pass never blocks a fast one.-- **Edge path — the API + UI.** ~24 endpoints (JSON + SSE) serving the feed, coin detail, wallet intel, backtest, streams, and the agent-config surface. Cached at the CDN; rate-limited per IP.+Oracle is a pipeline, and every stage of it is watchable live at three.ws/pipeline.-> **Design principle.** The scoring is a **pure function of assembled intel**. Everything stateful — ingestion, persistence, execution, settlement — lives outside it. That boundary is why the math is testable, the verdicts are reproducible, and the same engine powers the live feed, the API, and an agent's decision with identical results.+- **The data brain** ingests the pump.fun firehose: every launch, every trade, every wallet. Oracle does not re-ingest anything; it reads the brain.+- **The score loop**, a long-lived worker, walks the brain's recent coins and keeps a fresh fused verdict cached for each one, classifying its narrative on first sight. New coins get scored within seconds of appearing.+- **The conviction store** holds every verdict with its full transparent breakdown: score, tier, four pillar subscores, weights, plain-language reasons, badges.+- **The feed and streams** publish it: the live board at three.ws/oracle, JSON reads for machines, and server-sent event streams for anything that wants sub-5-second latency.+- **The agent loop** polls newly scored coins and, for every armed agent, runs the decision rules and executes when a coin clears the bar.+- **The settle loop** closes the circle: once the brain labels a coin's ground truth outcome (graduated, rugged, all time high multiple), every agent action on that coin is graded, and the backtest updates.----+One design commitment holds the whole thing together: scoring is a pure, side-effect-free function of assembled intel. Everything stateful, ingestion, persistence, execution, settlement, lives outside it. That boundary is why the math is testable, the verdicts are reproducible, and the same engine powers the live feed, the API, and an agent's decision with identical results.-## The four pillars+## The four pillars, with the real math-Conviction is the weighted fusion of four independent reads. Each pillar is scored 0–100 on its own, for its own reasons, and contributes a fixed share of the final number.+Every score fuses four independent reads. The weights are public and shipped in every API response: pedigree 0.34, structure 0.30, narrative 0.18, momentum 0.18. Pedigree leads because buyer track record is the single most predictive signal we have. Structure is a near-equal guardrail. Narrative and momentum refine.-### Pillar weights — what moves the final score+### WHO, the Pedigree pillar (weight 0.34)-| Pillar | Weight | Why |-|---|---|---|-| **WHO · Pedigree** | 0.34 | Buyer track record is the single most predictive signal. |-| **HOW · Structure** | 0.30 | The fair-launch guardrail; also imposes hard ceilings. |-| **WHAT · Narrative** | 0.18 | Cultural strength; a tie-breaker, not a savior. |-| **MOVE · Momentum** | 0.18 | Is real buying pressure actually showing up? |+Reputation earned on chain. Which smart wallets are in this coin, and what is the creator's launch history? Oracle keeps a ledger of wallets that have proven they win, and every early buyer is labeled by its archetype and track record. Creators it has never seen get a cold start prior, honest uncertainty instead of fake confidence. A confirmed serial rugger does not just lower the score, it imposes a hard ceiling on the final number that no other pillar can lift.-WHO and HOW together carry nearly two-thirds of the weight because **who is buying** and **how fair the launch is** are the two facts that most reliably separate runners from rugs. WHAT and MOVE are lighter — they break ties and confirm, but a good story or a green first minute can't rescue a coin the harder pillars condemn.+The exact adjustments, shipped in the code. Inputs come from the brain's smart-money slice (a pre-computed 0 to 100 composite, proven and total buy/sell lamports, a list of notable wallets with labels) and the creator's record (label, prior launches, graduated launches, dump rate). The base is the brain's composite, or the average of notable wallets' scores if the composite is absent.-### ① WHO — Pedigree+- 5 or more proven wallets in: **+14** (+9 at 3 or more, +5 at 1 or more)+- Proven share of buy volume 40 percent or more: **+8** (+4 at 20 percent or more)+- Flagged wallet present (rugger/dumper): **minus 12 each**, capped at minus 36 (3 wallets)+- Smart money sold 50 percent or more of position: **minus 16** (minus 8 at 25 percent or more, trimming)+- Creator with 3 or more launches, 0 graduated: **minus 22, hard ceiling of 45** (rug pattern)+- Creator with 3 or more graduated launches: **+12** (+6 at 1 or more)+- Creator dumps 50 percent or more of launches: **minus 8** (consistent exit pattern)-**The question:** who is already in this coin, and what is their record? Pedigree rewards launches where wallets with a *proven* history of getting into winners early are already buying — and penalizes the presence of known ruggers, dumpers, and serial failed-launch creators.+Returns `{ score, reasons[], cap }`. The `cap` is a hard ceiling on the final fused score, the mechanism by which a serial rugger can never produce a prime coin no matter how good the other pillars look. A wallet counts as proven if it is labelled `smart_money`/`kol` or carries a reputation score of 70 or more.-**Plain-English drivers:** more proven wallets in is better; a large share of the buy volume coming from proven money is better; a creator who has shipped graduated launches before is better. Conversely, flagged wallets, smart money already *selling*, and a creator with a rug pattern all cut the score — and a serial rugger **caps** it outright.+### HOW, the Structure pillar (weight 0.30)-<details>-<summary><b>Deep dive — Pedigree: exact rules & constants</b></summary>+The engineering of the launch itself, and the pillar with teeth. Rugs are a structure problem before they are a price problem, so structure gets a veto. The base is anchored to the brain's organic-demand score: `base = 30 + organic·0.55` (so structure alone lives in roughly 30 to 85), or a neutral 62 when organic isn't available. Then a battery of red-flag checks subtract and, for the severe ones, set a hard ceiling. The lowest cap triggered wins.-Inputs come from the brain's smart-money slice (a pre-computed 0–100 composite, proven/total buy & sell lamports, a list of notable wallets with labels) and the creator's record (label, prior launches, graduated launches, dump rate). The base is the brain's composite, or the average of notable wallets' scores if the composite is absent.+Real deductions from the shipped code:-| Signal | Adjustment | Note |-|---|---|---|-| ≥5 proven wallets in | **+14** | +9 at ≥3, +5 at ≥1 |-| Proven share of buy vol ≥40% | **+8** | +4 at ≥20% |-| Flagged wallet present (rugger/dumper) | **−12** each | capped at −36 (3 wallets) |-| Smart money sold ≥50% of position | **−16** | −8 at ≥25% (trimming) |-| Creator: ≥3 launches, 0 graduated | **−22**, cap ≤45 | rug pattern → hard ceiling |-| Creator: ≥3 graduated launches | **+12** | +6 at ≥1 |-| Creator dumps ≥50% of launches | **−8** | consistent exit pattern |+- Dev sold 50 percent or more of their bag: **minus 24, caps the score at 38** (minus 10 at 20 percent or more)+- Single-funder cluster 50 percent or more (half the "different" wallets share one funding source, a bundle in a wide-base costume): **minus 22, caps at 42** (minus 12 at 30 percent or more)+- Flagged bundle launch: **minus 18, caps at 48**+- Bundle likelihood 60 percent or more: **minus 20, caps at 46** (minus 11 at 35 percent or more)+- Top-10 wallets hold 80 percent or more: **minus 22, caps at 44** (minus 12 at 60 percent or more)+- Top holder 50 percent or more: **minus 26, caps at 45** (minus 14 at 30 percent or more)+- Fresh/farmed wallets 70 percent or more: **minus 18, caps at 48** (minus 9 at 45 percent or more)+- Snipe ratio 70 percent or more: **minus 16, caps at 50** (minus 8 at 45 percent or more)+- Buyer interconnectivity 60 percent or more: **minus 10, caps at 55**+- Creator still holds 25 percent or more: **minus 16**+- 60 or more unique buyers: **+16** (+9 at 25 or more, minus 8 below 8)-Returns `{ score, reasons[], cap }`. The `cap` is a hard ceiling on the *final* fused score — the mechanism by which a serial rugger can never produce a "prime" coin no matter how good the other pillars look. A wallet counts as "proven" if it is labelled `smart_money`/`kol` or carries a reputation score ≥70.+This is the formal statement of "structure is a veto": a launch with a serious structural defect is ceiling-limited before the weighted average is taken, so no amount of pedigree or narrative lifts it into a high tier.-</details>+### WHAT, the Narrative pillar (weight 0.18)-### ② HOW — Structure+What the coin actually is. A classifier with the news on its desk assigns every launch a category (news, culture, ai, meme, animal, celebrity, political, community, tech, utility, or unknown) and a virality estimate from 0 to 100. Each category carries a tuned prior for how often that flavor sustains attention: news launches prior at 70, culture at 66, ai at 64, unknown at 40. The virality estimate blends with the prior, weighted by the classifier's own confidence, so a low-confidence call leans on the prior instead of pretending to know. A news coin gets flagged for what it is: fast but fragile.-**The question:** is this a fair launch or an engineered one? Structure is the guardrail. It reads the distribution and timing of the launch — bundle likelihood, holder concentration, snipe pressure, fresh-wallet farming, single-funder clusters, dev selling — and rewards broad, organic bases while punishing coordination and concentration.+Full category priors (base virality): news 70, culture 66, ai 64, meme 60, community 58, animal 56, celebrity 54, political 52, tech 50, utility 46, unknown 40.-**Plain-English drivers:** many unique early buyers and low concentration push the score up. Bundles, a top wallet holding half the supply, 70% of volume sniped in the first seconds, armies of freshly-funded wallets, or a dev who already sold all push it down — and the worst of these **cap** the whole coin in the 38–55 range regardless of pedigree.--<details>-<summary><b>Deep dive — Structure: exact rules & the cap mechanism</b></summary>--The base is anchored to the brain's organic-demand score: `base = 30 + organic·0.55` (so structure alone lives in ~30–85), or a neutral 62 when organic isn't available. Then a battery of red-flag checks subtract and, for the severe ones, set a hard ceiling.--| Signal | Adjustment | Cap |-|---|---|---|-| Bundle likelihood ≥60% (≥35%) | −20 (−11) | ≤46 |-| Top-10 wallets hold ≥80% (≥60%) | −22 (−12) | ≤44 |-| Buyer interconnectivity ≥60% | −10 | ≤55 |-| Snipe ratio ≥70% (≥45%) | −16 (−8) | ≤50 |-| Fresh/farmed wallets ≥70% (≥45%) | −18 (−9) | ≤48 |-| ≥60 unique buyers (≥25 / <8) | +16 (+9 / −8) | — |-| Top holder ≥50% (≥30%) | −26 (−14) | ≤45 |-| Creator still holds ≥25% | −16 | — |-| Dev sold ≥50% (≥20%) | −24 (−10) | ≤38 |-| Single-funder cluster ≥50% (≥30%) | −22 (−12) | ≤42 |-| Explicit bundle risk flag | −18 | ≤48 |--The lowest cap triggered wins. This is the formal statement of "structure is a veto": a launch with a serious structural defect is ceiling-limited *before* the weighted average is taken, so no amount of pedigree or narrative lifts it into a high tier.--</details>--### ③ WHAT — Narrative--**The question:** what is this coin about, and does the story have cultural legs? Narrative classifies the launch into one of eleven categories (meme, ai, culture, news, animal, celebrity, political, community, tech, utility, unknown) and estimates its virality — preferentially with a language model that is given **live crypto headlines** so it can recognize a coin riding today's news.--**Plain-English drivers:** each category carries a prior (how durable that kind of story tends to be), and the model's virality estimate is blended with that prior, weighted by the model's own confidence. A confidently-viral culture coin scores high; an unclassifiable one is treated with caution. It's the lightest pillar on purpose — a story is a multiplier on a real launch, not a substitute for one.--<details>-<summary><b>Deep dive — Narrative: priors, blending, and the classifier chain</b></summary>--**Category priors** (base virality): `news 70 · culture 66 · ai 64 · meme 60 · animal 56 · community 58 · celebrity 54 · political 52 · tech 50 · utility 46 · unknown 40`.--**Blending** when a virality estimate exists:+The blend, when a virality estimate exists:```score = virality · (0.4 + 0.4·confidence) + prior · (0.6 − 0.4·confidence)@@ -181,295 +85,163 @@ score = virality · (0.4 + 0.4·confidence) + prior · (0.6 − 0.4·confidence)So high model confidence leans on the virality estimate; low confidence falls back toward the category prior. With no estimate, `score = prior`. A `news` coin adds the reason "fast but fragile"; an `unknown` coin adds "treat with caution."-**Classifier chain** (preference order): (1) LLM with live headlines from a public crypto-news API — fuzzy-matched against the coin's name/symbol/tags, contributing up to +30 virality when the coin clearly rides a current story; (2) LLM without news context; (3) a deterministic keyword classifier with per-category lexicons and a social-presence virality heuristic. The chain degrades gracefully — if the model is unavailable, the heuristic always produces a usable classification, tagged `source: heuristic` vs `llm`. A separate social-ingestion path can additively boost virality from tweet engagement, but never downgrades an LLM classification.--</details>+The classifier chain, in preference order: (1) an LLM given live crypto headlines from a public news API (cached about 90 seconds), fuzzy-matched against the coin's name, symbol, and tags, contributing up to +30 virality when the coin clearly rides a current story; (2) an LLM without news context; (3) a deterministic keyword classifier with per-category lexicons and a social-presence virality heuristic. The chain degrades gracefully: if the model is unavailable, the heuristic always produces a usable classification, tagged `source: heuristic` versus `llm`. A separate social-ingestion path can additively boost virality from tweet engagement, but never downgrades an LLM classification.-### ④ MOVE — Momentum+### MOVE, the Momentum pillar (weight 0.18)-**The question:** is real buying pressure actually showing up, right now? Momentum reads the earliest footprint — the buy/sell balance, how fast unique buyers are piling in, and the size of the dev's own buy as a tell.+The early footprint. Momentum is deliberately the lightest pillar, because it is the easiest signal to fake and the last to matter. It starts at a neutral 50.-**Plain-English drivers:** buyers strongly outnumbering sellers, a rapid pile-in of unique early buyers, and a dev who put a *sensible* amount of skin in the game all lift the score. Heavy early selling cuts it, and an *oversized* dev buy is read as a honeypot risk and penalized.--<details>-<summary><b>Deep dive — Momentum: exact rules</b></summary>--Starts at a neutral 50.--| Signal | Adjustment |-|---|---|-| Buy share ≥80% & ≥10 buys | **+22** (strong inflow) |-| Buy share ≥65% | +12 (buyers outnumber sellers) |-| Buy share <45% | −16 (distribution) |-| ≥40 early buyers (≥15) | +14 (+7) — pile-in |-| Dev buy 0.2–2.5 SOL | +8 (skin in the game) |-| Dev buy >6 SOL | −14 (oversized → honeypot risk) |+- Buy share 80 percent or more across at least 10 trades: **+22** (strong inflow)+- Buy share 65 percent or more: **+12** (buyers outnumber sellers)+- Buy share below 45 percent: **minus 16** (distribution)+- 40 or more early buyers: **+14** (+7 at 15 or more, pile-in)+- Dev buy 0.2 to 2.5 SOL: **+8** (skin in the game)+- Dev buy over 6 SOL: **minus 14** (dev is the top holder, honeypot risk)With no signal yet it returns "too early," keeping the pillar neutral rather than inventing momentum that isn't there.-</details>+## Fusion, tiers, and badges------## Fusion & tiers--The four pillar scores collapse into one number by a weighted average — then the structural and pedigree caps clamp it down, it rounds, and it lands in a tier.+The weighted blend is then capped: the lowest triggered ceiling from structure or pedigree wins, so a great story can never paper over a bundle or a dumping dev.```# weighted average of the four pillar scoresscore = WHO·0.34 + HOW·0.30 + WHAT·0.18 + MOVE·0.18-# structure (and pedigree) can veto — the lowest cap wins+# structure (and pedigree) can veto, the lowest cap winsscore = min(score, structure.cap)-# round + clamp to the 0–100 integer line+# round + clamp to the 0 to 100 integer linescore = clamp(round(score), 0, 100)```-The cap step is the whole philosophy in one line: pillars *add up*, but a serious red flag in HOW (or a rugger creator in WHO) sets a ceiling the average cannot exceed. A coin with stellar pedigree and a bundle flag does not average out to "pretty good" — it is capped at ~46 and lands in **watch**, exactly where it belongs.--### The tier ladder+The final 0 to 100 score maps to a tier ladder whose names are chosen to be honest, because most launches are noise:-The final integer maps to one of five tiers. Tiers are how humans skim the feed and how agents set a bar.+- **Prime, 86 and up.** Top conviction: proven money in a clean, on-narrative launch. Rare.+- **Strong, 72 to 85.** Favorable across pedigree and structure.+- **Lean, 56 to 71.** Leaning positive, not decisive. Watch for confirmation.+- **Watch, 34 to 55.** Inconclusive. No edge yet.+- **Avoid, below 34.** Structural or pedigree red flags. Full stop.-| Tier | Range | Meaning |-|---|---|---|-| **Prime** | 86–100 | Every axis agrees; rare. |-| **Strong** | 72–85 | Favorable across the hard pillars. |-| **Lean** | 56–71 | Leaning positive, inconclusive. |-| **Watch** | 34–55 | Mixed signals. |-| **Avoid** | 0–33 | Structural red flags. |+Only prime and strong are act signals. A conviction engine that likes everything is a hype engine.-Alongside the score, the engine emits **badges** (e.g. `smart-money`, `structure-flag`, `news`, `momentum`, `prime`) for fast visual scanning, and an ordered list of **reasons** — each tagged to the pillar that produced it — so the score is never a black box.--> **Read the reasons, not just the number.** Two coins can both score 70 for completely different reasons — one on pure pedigree with weak momentum, another on a viral narrative over a thin base. The tier tells you *how strong*; the reasons tell you *why*, and the why is what you trade on.-----+Every verdict also carries compact badges the UI renders as pills: `smart-money` (three or more proven wallets in), `structure-flag` (a ceiling triggered), `news` (riding a live story), `momentum` (subscore 72 plus), and `prime`. And every verdict ships its reasons in plain language, ordered by pillar contribution, so the most decisive fact shows first. You never get a bare number.## Anatomy of a score-The coin drawer the product shows when you click any launch is the score, fully unpacked — the same object the API returns, rendered for a human.--**One verdict, fully unpacked.** Example: Conviction **35** (watch): the WHO/HOW/WHAT/MOVE pillars across the top, a plain-English **"why this score"** list, the structure read (organic-buy vs bundle), the **who's-in** wallet roster, and a live trade tape — all for a single launch.+The coin drawer the product shows when you click any launch is the score, fully unpacked, the same object the API returns, rendered for a human. Walking it top to bottom mirrors the model exactly:-Walking the drawer top to bottom mirrors the model exactly:--- **The four pillar bars** — WHO / HOW / WHAT / MOVE — are the sub-scores from the section above. The big number is their capped, weighted fusion.-- **"Why this score"** is the `reasons[]` array, each line tagged to the pillar that generated it. In this example: "no proven wallets identified yet" (WHO), "clean, distributed launch structure" (HOW), "meme narrative, virality 45/100" (WHAT), "no clear momentum yet — too early" (MOVE). A clean-but-unproven young launch — correctly a **watch**, not an avoid and not a buy.-- **Structure / wallet-graph / buy-pattern** expose the raw HOW inputs (organic-buy %, bundle %, the funder graph) so you can audit the guardrail.-- **Who's-in** is the live pedigree roster — every notable wallet, its label, and its track record.+- **The four pillar bars**, WHO / HOW / WHAT / MOVE, are the sub-scores. The big number is their capped, weighted fusion.+- **"Why this score"** is the `reasons[]` array, each line tagged to the pillar that generated it. Example on a clean-but-unproven young launch scoring 35 (watch): "no proven wallets identified yet" (WHO), "clean, distributed launch structure" (HOW), "meme narrative, virality 45/100" (WHAT), "no clear momentum yet, too early" (MOVE). Correctly a watch, not an avoid and not a buy.+- **Structure / wallet-graph / buy-pattern** expose the raw HOW inputs (organic-buy percent, bundle percent, the funder graph) so you can audit the guardrail.+- **Who's-in** is the live pedigree roster: every notable wallet, its label, and its track record.- **Live trades** streams the coin's buys and sells in real time, each annotated with the trader's wallet archetype.-Every field here is also available programmatically from `GET /api/oracle/coin?mint=…` — see the [API reference](#api-reference).-------## Data & ingestion+Every field here is also available programmatically from `GET /api/oracle/coin?mint=…`.-Oracle reads from a separate full-coverage data brain rather than touching the chain itself. The brain ingests pump.fun and maintains the reputation graph; Oracle assembles, classifies, and fuses. The separation is what keeps scoring a pure, fast function.+## Data and ingestion-### What the brain provides (read-only)+Oracle reads from a separate full-coverage data brain rather than touching the chain itself. Five brain tables feed every score, and Oracle queries each one defensively: a missing or younger table degrades the affected pillar gracefully rather than failing the whole verdict.-Five brain tables feed every score. Oracle queries each one **defensively** — a missing or younger table degrades the affected pillar gracefully rather than failing the whole verdict.+- `pump_coin_intel` feeds HOW, WHAT, and metadata: symbol, name, image, category, creator, bundle_score, organic_score, snipe_ratio, fresh_wallet_ratio, concentration_top10, bubblemap_connectivity, risk_flags, buy/sell counts, dev buy/sold.+- `coin_smart_money` feeds WHO (base): smart_money_score, smart_wallet_count, proven/total buy lamports, notable[].+- `pump_coin_wallets` feeds WHO and HOW: per-wallet buy/sell lamports, is_creator, funder (cluster source).+- `wallet_reputation` feeds WHO (labels): label, smart_money_score, win_rate, early_win_rate, dump_rate, coins_traded, creator_count, creator_wins.+- `pump_coin_outcomes` feeds evidence and settlement: graduated, rugged, ath_multiple, last_market_cap_usd.-| Brain table | Feeds | Key columns Oracle reads |-|---|---|---|-| `pump_coin_intel` | HOW, WHAT, metadata | symbol, name, image, category, creator, bundle_score, organic_score, snipe_ratio, fresh_wallet_ratio, concentration_top10, bubblemap_connectivity, risk_flags, buy/sell counts, dev buy/sold |-| `coin_smart_money` | WHO (base) | smart_money_score, smart_wallet_count, proven/total buy lamports, notable[] |-| `pump_coin_wallets` | WHO, HOW | per-wallet buy/sell lamports, is_creator, funder (cluster source) |-| `wallet_reputation` | WHO (labels) | label, smart_money_score, win_rate, early_win_rate, dump_rate, coins_traded, creator_count, creator_wins |-| `pump_coin_outcomes` | Evidence, settlement | graduated, rugged, ath_multiple, last_market_cap_usd |--### Narrative: a model with the news on its desk--The WHAT pillar is the only place Oracle reaches outside the brain. To classify a launch's story, it fetches **live crypto headlines** from a public news API (cached ~90s), injects them into the language model's prompt, and asks for a category, a one-line narrative, a virality estimate, and a confidence. A coin literally riding today's headline gets recognized as such and scored higher. If the model is unavailable, a deterministic keyword classifier takes over so a verdict always ships.--### Pedigree: reputation earned, with a cold-start prior--"Smart money" is not a hard-coded list — it is continuously re-earned from outcomes in the `wallet_reputation` graph. For wallets the brain hasn't judged yet, Oracle seeds a **cold-start prior** from a curated known-wallet set (sourced from public KOL/wallet intelligence), so a brand-new coin still gets a useful pedigree read on its first scoring pass. Precedence is always **earned reputation > prior > unproven**.--<details>-<summary><b>Deep dive — Oracle's own tables & data lifecycle</b></summary>--Oracle owns five tables: `oracle_narrative` (classified story + virality), `oracle_conviction` (the live verdict cache, one row per mint), `oracle_conviction_history` (score time-series, written only on a ≥3-point change, 72h retention), `oracle_agent_watch` (armed-agent config), and `oracle_watch_actions` (the action ledger). Full columns in the [data model](#data-model).--Lifecycle: a coin must be first-seen and within a 12h window to enter scoring; it's scored, classified, and cached; rescored when stale (every ~3 min if new data arrives); its history appended on material change; quote/stablecoin mints (USDC, wSOL, …) are excluded and purged. Nothing about a score decays purely with time — the engine is event-driven, reacting to new wallet activity, not a clock.--</details>-----+"Smart money" is not a hard-coded list. It is continuously re-earned from outcomes in the `wallet_reputation` graph. For wallets the brain hasn't judged yet, Oracle seeds a cold-start prior from a curated known-wallet set sourced from public KOL/wallet intelligence, so a brand-new coin still gets a useful pedigree read on its first scoring pass. Precedence is always earned reputation, then prior, then unproven.## The workerA single long-lived Node process runs three independent, self-scheduling loops. They share nothing but the database, so a slow scoring pass never delays an agent acting, and a stuck confirmation never freezes scoring.-- **Score loop** — *every ~15s · batch 20.* Finds recent launches that are new or stale (last scored >3 min ago), scores each — assemble → classify → fuse → persist — and appends history on material change. Keeps the cache warm.-- **Agent loop** — *every ~3s.* For each armed watch, evaluates freshly-scored coins against the agent's bar and budget, executes a buy when the gates pass, and fires alerts. Dedups so an agent never acts twice on one coin.-- **Settle loop** — *every ~60s · batch 100.* Finds open actions whose coin now has a resolved outcome, grades each win/loss/flat, marks PnL to market, and closes the learning loop.--### Cold start & graceful degradation--If the conviction cache is empty (fresh deploy), the feed endpoint scores a handful of recent coins on the spot — database-only, no LLM — so the UI is never blank while the score loop catches up. Every brain query is wrapped so a missing table yields a null slice, not a crashed pass.--<details>-<summary><b>Deep dive — Configuration, safeguards & the kill switch</b></summary>--The worker is configured entirely by environment. Selected knobs (with defaults): `ORACLE_MODE=simulate`, `ORACLE_NETWORK=mainnet`, `ORACLE_SCORE_INTERVAL_MS=15000`, `ORACLE_AGENT_INTERVAL_MS=3000`, `ORACLE_SETTLE_INTERVAL_MS=60000`, `ORACLE_SCORE_BATCH=20`, `ORACLE_RESCORE_AFTER_SEC=180`, `ORACLE_MAX_TRADE_SOL=0.25` (absolute per-trade ceiling), and `ORACLE_GLOBAL_KILL=1` (halts all agent + settle activity while scoring continues). Live mode additionally requires the secret used to decrypt agent wallets, and refuses to start without it.+- **Score loop**, every 15 seconds, batch 20. Finds recent launches that are new or stale (last scored more than 3 minutes ago), scores each (assemble, classify, fuse, persist), and appends history on material change. Keeps the cache warm.+- **Agent loop**, every 3 seconds. For each armed watch, evaluates freshly-scored coins against the agent's bar and budget, executes a buy when the gates pass, and fires alerts. Dedups so an agent never acts twice on one coin.+- **Settle loop**, every 60 seconds, batch 100. Finds open actions whose coin now has a resolved outcome, grades each win/loss/flat, marks PnL to market, and closes the learning loop.-Operational safeguards layer up: a global kill switch, a hard per-trade SOL cap enforced in the executor (independent of any per-agent setting), per-watch daily-spend and open-position caps, a 60-second confirmation timeout so stuck transactions don't block the loop, and a 60-second cache on decrypted keypairs to bound decryption overhead during bursts. **Simulate is the default** — the worker logs realistic actions with zero spend unless explicitly switched to live.+If the conviction cache is empty (fresh deploy), the feed endpoint scores a handful of recent coins on the spot, database-only, no LLM, so the UI is never blank while the score loop catches up.-</details>-----+The worker is configured entirely by environment. Selected knobs, with defaults: `ORACLE_MODE=simulate`, `ORACLE_NETWORK=mainnet`, `ORACLE_SCORE_INTERVAL_MS=15000`, `ORACLE_AGENT_INTERVAL_MS=3000`, `ORACLE_SETTLE_INTERVAL_MS=60000`, `ORACLE_SCORE_BATCH=20`, `ORACLE_RESCORE_AFTER_SEC=180`, `ORACLE_MAX_TRADE_SOL=0.25` (absolute per-trade ceiling), and `ORACLE_GLOBAL_KILL=1` (halts all agent and settle activity while scoring continues). Live mode additionally requires the secret used to decrypt agent wallets, and refuses to start without it.## The agent action loop-Conviction is only half the product. The other half is letting a 3D agent **act** on it — autonomously, within limits you set, grading itself against every outcome. That is what [/oracle/arm](https://three.ws/oracle/arm) configures.--**Arm your agent.** Pick an agent, set the bar (Prime / Strong+ / Lean+), the position size and caps, optional narrative filters and Telegram alerts, then arm in **simulate** or **live**. A live preview shows exactly which coins would clear your rules right now.--### How a decision is made--For every armed agent, on every freshly-scored coin, a pure decision function runs a sequence of gates. If any gate blocks, the agent passes; if all clear, it sizes and buys.--| Gate | Blocks when… |-|---|---|-| Armed | the watch isn't armed |-| Min score / tier | conviction below the agent's bar |-| Narrative filter | category not in the agent's allow-list (if set) |-| Require smart money | no proven wallet is in yet (if required) |-| Max open positions | the agent is already at its concurrency cap |-| Daily budget | this buy would exceed the 24h spend cap |--Position size is the agent's base per-trade amount, optionally **scaled by conviction** — up to 1.5× as the score climbs from the agent's minimum toward 100 — so the agent leans harder into the strongest plays without ever exceeding its caps.+This is the part built for owners of 3D agents, and it is an explicit, owner-only opt-in.-### Simulate vs live+Arm your agent at three.ws/oracle/arm. The config is the full risk envelope, not a toggle: minimum score and tier, which narrative categories are in scope, per-trade SOL size, a max daily SOL budget, a max number of open positions, whether at least one proven smart wallet must already be in the coin, size scaling, and an optional Telegram chat for alerts.-**Simulate** (the default) logs a realistic action — same gates, same sizing, same grading — but spends nothing, so an agent can build a verifiable paper track record before a cent is at risk. **Live** decrypts the agent's wallet, builds a pump.fun buy with slippage protection, optionally routes through a Jito bundle for MEV protection, confirms on-chain, and records the signature. Both paths write to the same ledger and are graded identically by the settle loop.+For every armed agent, on every freshly-scored coin, a pure decision function runs a sequence of gates. If any gate blocks, the agent passes; if all clear, it sizes and buys. The gates:-<details>-<summary><b>Deep dive — The executor: sizing, Jito routing, hard caps</b></summary>+- **Armed**: blocks when the watch isn't armed.+- **Min score / tier**: blocks when conviction is below the agent's bar.+- **Narrative filter**: blocks when the category is not in the agent's allow-list (if set).+- **Require smart money**: blocks when no proven wallet is in yet (if required).+- **Max open positions**: blocks when the agent is already at its concurrency cap.+- **Daily budget**: blocks when this buy would exceed the 24h spend cap.-Conviction-weighted size: `size = base · (1 + clamp((score − min)/(100 − min), 0, 1)·0.5)`. The executor then applies the absolute ceiling: `size = min(size, ORACLE_MAX_TRADE_SOL)` — a guardian limit that overrides any per-agent setting.+Then the worker takes over. The agent loop polls newly scored coins, runs the pure decision function against every armed watch, and each agent acts on each coin at most once. Execution is guarded in depth:-Live routing builds buy instructions via the pump SDK with 10% slippage, fetches a fresh blockhash, and either sends a raw transaction (skip-preflight off, up to 3 retries, 60s confirm race) or, when Jito is enabled, prepends a small tip transfer to a rotating tip account and submits the pair as a bundle to the block-engine endpoint. The action is written as `filled` with the signature (or `jito:<bundleId>`), `skipped` if the agent has no wallet, or `failed` on any on-chain error — never silently dropped.+- **Simulate is the default.** Simulate mode records a realistic action row, entry market cap, conviction, size, and spends nothing, so you can watch your agent work risk free for as long as you want.+- **Live mode** loads the agent's own custodial keypair, builds a pump.fun buy through the same trade client the production sniper uses, signs, and broadcasts through Jito bundles.+- **A hard per-trade SOL cap** sits in the executor regardless of what the config says.+- **A global kill switch** (one environment flag) halts all agent actions platform wide while scoring continues.+- **Full error capture**: a bad fill logs as failed instead of crashing the loop.-</details>+Position size is the agent's base per-trade amount, optionally scaled by conviction, up to 1.5 times as the score climbs from the agent's minimum toward 100, so the agent leans harder into the strongest plays without ever exceeding its caps. The exact form: `size = base · (1 + clamp((score − min)/(100 − min), 0, 1)·0.5)`, then `size = min(size, ORACLE_MAX_TRADE_SOL)`. Live routing builds buy instructions via the pump SDK with 10 percent slippage, fetches a fresh blockhash, and either sends a raw transaction (up to 3 retries, 60 second confirm race) or, when Jito is enabled, prepends a small tip transfer to a rotating tip account and submits the pair as a bundle. The action is written as `filled` with the signature (or `jito:<bundleId>`), `skipped` if the agent has no wallet, or `failed` on any on-chain error, never silently dropped.----+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.-## Calibration & backtest+## Receipts: the track record is the product-A conviction score is a probabilistic claim, and a probabilistic claim is worthless unless it's checked against reality. Oracle joins every verdict to its ground-truth outcome and publishes the result on the page — including when the edge is thin. This is the part that separates a model from a vibe.+A score you cannot audit is an opinion. Oracle grades itself in public, and the grading is mechanical.-**Proof, not promises.** Win rate by tier with **95% confidence bands**, and a calibration ladder plotting *realized* win rate against what each score band *predicts*. The live edge tab shows a weak edge as readily as a strong one — no cherry-picking.+**Outcome grading.** Once the data brain labels a coin's ground truth (graduated, rugged, ATH multiple), every agent action on that coin is settled: did the conviction call pay off, what was the peak multiple, what was the realized PnL. A scored coin is a win if it graduated or reached a 2 times or greater ATH multiple; a loss if it rugged, marked below 0.5 times, or peaked below 1.2 times; flat in between. Realized PnL is marked to market as `size · (current_mc / entry_mc − 1)`. This turns the action ledger into an honest win-rate record.-### What "win" means+**The backtest** at `/api/oracle/backtest` joins what the engine scored against what actually happened and returns hit-rate stats per tier. Only coins with a resolved outcome count; open positions are excluded. This is the honest answer to "does it actually work," updated continuously. It publishes four things: win rate by tier with a 95 percent Wilson confidence interval; a calibration ladder bucketing scores 0 to 10, up to 90 to 100 and comparing each bucket's realized win rate to what it predicts; a Brier score (mean squared error of score/100 against the binary outcome, lower is better, 0.25 is a coin flip); and the edge multiple, prime's win rate over the base rate, with a monotonicity check across tiers.-A scored coin is a **win** if it graduated or reached a ≥2× ATH multiple; a **loss** if it rugged or languished below 1.2×; **flat** in between. Only resolved coins count toward a win rate — open positions are excluded, so the number can't be inflated by undecided bets.+**The wins gallery** at `/api/oracle/wins` shows proven calls filtered by period, tier, and minimum ATH multiple.-### The four things the backtest publishes--- **Win rate by tier, with honest error bars.** Each tier's realized win rate is shown with a **95% Wilson confidence interval** — the right tool for win-rate estimates on small samples, where a naïve ± would lie. A wide band means "not enough data yet," and the page says so.-- **Calibration ladder.** Coins are bucketed by score (0–10, …, 90–100) and each bucket's *realized* win rate is compared to the score it *predicts*. A calibrated engine keeps realized near predicted and climbing band-over-band.-- **Brier score.** One number for overall calibration error — the mean squared error of (score/100) against the binary outcome. Lower is better; 0 is perfect, 0.25 is a coin flip.-- **Edge multiple & monotonicity.** Does prime actually beat blind buying? The page reports prime's win rate, the lift over the base rate, the edge multiple, and whether win rate rises monotonically across tiers.--<details>-<summary><b>Deep dive — The Wilson interval & why we use it</b></summary>--For `w` wins in `n` resolved coins, the 95% Wilson score interval (z = 1.96) is:--```-p = w/n, z² = 3.8416-centre = (p + z²/2n) / (1 + z²/n)-margin = z·√( (p(1−p) + z²/4n) / n ) / (1 + z²/n)-CI = [centre − margin, centre + margin]-```+**The leaderboard** at `/api/oracle/leaderboard` ranks agents by conviction win rate across their full action ledger, with a minimum resolved-action floor so one-trade wonders cannot dominate.-Unlike the normal approximation `p ± z·√(p(1−p)/n)`, the Wilson interval stays inside [0,1], doesn't collapse to zero width at p=0 or p=1, and behaves correctly for the small `n` that young backtests have. It is the difference between an honest "we don't know yet" and a dishonest "0% ± 0%."+**Score history and movers.** Every coin's conviction is snapshotted whenever it moves by 3 points or more, so the sparkline in the coin drawer shows real signal, not polling noise. The movers read surfaces the coins whose conviction rose or fell most in a window, and it requires at least two snapshots so a delta is never a single-point artefact.-</details>+## Everything on the platform that runs on Oracle-> **Honesty clause.** A thin, low-conviction window — realized win rates below the band midpoints, few coins reaching the higher tiers — is shown, not hidden. The page is built to display a weak edge as readily as a strong one, because a backtest you only trust when it flatters you isn't a backtest.+This is where the engine earns its keep. One score, many consumers.----+**The sniper.** The autonomous pump.fun sniper (the engine behind the Sniper Arena) uses Oracle as a conviction gate: a strategy can require a minimum Oracle score before any snipe fires. The gate is adjusted two ways, both clamped and fail-open. Macro signals from the autonomous x402 loop widen or tighten the bar based on overall SOL and pump market sentiment. And per-coin sentiment comes from the most on-brand loop we run: the sniper pays the platform's own paid intelligence API, one cent of real USDC per call through x402, for a live market read on each coin it is watching, and a bearish read raises that coin's snipe bar while a bullish one lowers it. The trading engine is a paying customer of the intelligence engine. That is the agent-to-agent economy, in production.-## Outcomes & grading+**The Play worlds.** Every coin town in /play has an intel kiosk standing in the plaza. Walk your avatar up to it, press E, and pay one cent USDC through the x402 wallet modal (Phantom on Solana, or an EVM wallet on Base), and the kiosk's 3D screen lights up with live purchased intel for the town's own coin: price, 24 hour change, market cap, and a bullish, bearish, or neutral signal. The flagship $THREE town buys from its dedicated oracle endpoint; every other town uses generic coin-agnostic plumbing with the world's mint supplied at runtime. Every settlement is real USDC on chain with an explorer link, the payment only fires on an explicit player interaction, and you sign with your own wallet. No platform key ever touches the page.-Every action an agent takes — simulated or live — is graded against ground truth and lands in its permanent win-rate ledger. This is what makes an agent's track record verifiable instead of asserted.+**The forecast sculpture.** Also inside /play: a floating, walk-around 3D data sculpture rendering a live token's price history as a neon ribbon with an IBM Granite TimeSeries forecast sweeping forward from it. The same scene runs standalone with an embodied avatar narrating the analysis, governed by Granite Guardian.-When a coin's outcome resolves, the settle loop grades any open action on it:+**The Agent Exchange.** The /agent-exchange demo, where two 3D avatars trade intel in a virtual world while the on-chain transaction shows live, runs on the same paid crypto intel feed the sniper buys from.-- **Win** — the coin graduated, or its peak multiple reached ≥2×.-- **Loss** — the coin rugged, or marked below 0.5× / peaked below 1.2×.-- **Flat** — everything in between.+**Alerts and the social layer.** Armed agents alert their owners on Telegram on entries and on conviction drops for held coins. And any user can follow any agent at `/api/oracle/follow`, the watch tier of social copy-trading: pick an agent, set your own minimum score, and get pinged when it acts. The test-alert endpoint lets you verify your wiring before anything real fires.-Realized PnL is marked to market as `size · (current_mc / entry_mc − 1)`, and an agent's summary rolls up total, wins, losses, win rate, realized PnL, and ROI. The same grading powers the public [agent leaderboard](https://three.ws/oracle) and the platform-wide [activity floor](https://three.ws/activity), so every agent competes on a level, outcome-graded field.+**The coin pages.** Every Oracle coin page fuses conviction with a live market intel aggregator that fans out to six real sources in parallel: DexScreener, the pump.fun API, GeckoTerminal, GoPlus, Birdeye, and CoinGecko. Price, liquidity, FDV, bonding curve progress, holder count, top ten concentration, mint and freeze authority, all in one view, every number traced to a live upstream. Each source is isolated, so one being down degrades that slice to null instead of failing the page. It also shows the who-is-in breakdown: every early wallet labeled by archetype and track record. That trader-classification surface is what the product is built around.----+## The x402 layer: intel with a price tag-## Product tour+Oracle's read API is free. The premium intel feeds are x402 paid endpoints, one cent USDC per call, settling on Solana or Base, and cataloged in the x402 bazaar so any paying agent on the open web can buy them:-The live Oracle is eight views over one engine. Every state — loading, empty, error, populated — is designed.+- **Crypto Intel**: a live market signal for any listed coin, plus special engines like a pump.fun volume anomaly scanner (finds the coin whose trailing-hour volume is a statistical outlier against its peers) and the live pump.fun trending board with buy and sell pressure scores.+- **The $THREE Town Oracle**: the same feed the $THREE town kiosk sells from, buyable directly by any x402 client.+- **The generic token oracle**: the coin-agnostic version, mint supplied at runtime.-| View | What it's for |-|---|---|-| **Live conviction** | The default feed — every launch in the last 12h, scored, filterable by tier/category/min-score, sortable by score/hot/new, with a conviction-breadth bar and per-card pillar breakdown + sparkline. |-| **Movers** | Biggest conviction *changes* over a window — coins whose score is rising or falling, with the delta and tier change. |-| **Top wallets** | The pedigree leaderboard — every judged wallet ranked by track record. |-| **3D graph** | Every scored coin as a glowing sphere in a force-directed, category-clustered 3D field; size and color encode conviction and tier. |-| **The edge** | The backtest — win rate by tier, calibration, Brier, edge multiple. |-| **Proof** | The wins gallery — resolved calls with their score-at-entry versus the realized outcome. |-| **Agents** | The agent leaderboard — armed agents ranked by their outcome-graded record. |-| **Activity** | The live floor — every agent action, simulated or live, as it happens. |+One rule makes these trustworthy: there is no mock path. If the upstream market sources fail, the endpoint returns 503 before settlement and the buyer is never charged. We only ever sell a signal a real market produced.-The product is keyboard-driven (`/` focuses search, number keys jump tabs, arrows move between them), fully responsive, and built on a monochrome cool-gray palette where lightness encodes strength — brighter is stronger conviction.+## For developers: the API, MCP, and code----+Everything below is live now. No key is required for reads. Reads are JSON, cached at the CDN and rate-limited per IP; live views are Server-Sent Events. Agent-config endpoints require auth scoped to the agent owner.-## API reference+### Poll the signal (any language, any agent)-Everything on the page is a public endpoint. Reads are JSON, cached at the CDN and rate-limited per IP; live views are Server-Sent Events. Agent-config endpoints require auth scoped to the agent owner.--### Read endpoints--| Endpoint | Returns |-|---|---|-| `GET /api/oracle/feed` | Live conviction feed — scored coins with pillars, badges, category, sparkline; plus a tier-level backtest summary. Filters: `tier, category, min_score, limit, network`. |-| `GET /api/oracle/coin` | Full intel for one mint — conviction, pillars, reasons, narrative, outcome, and the who's-in trader roster. Scores fresh (with LLM) on a cache miss. |-| `GET /api/oracle/market` | Live market half of the coin page for one mint — price + 5m/1h/6h/24h changes, market cap, FDV, liquidity, 24h volume, holders, supply, bonding-curve progress, security (mint/freeze authority, mutable metadata, transfer fee, top-10 concentration), DEX pairs, ATH/ATL for listed coins, and every social/explorer link. Fused live across DexScreener, pump.fun, GeckoTerminal, GoPlus, Birdeye and CoinGecko. |-| `GET /api/oracle/signal` | **Machine-ready.** A buy/watch/skip recommendation with confidence and a size factor, per mint or as the top N plays — built for agent polling. |-| `GET /api/oracle/batch` | Conviction for up to 20 mints at once. |-| `GET /api/oracle/backtest` | Win rate by tier with Wilson CIs, calibration ladder, Brier, and the edge summary. Filters: `period, tier, network`. |-| `GET /api/oracle/wallet` | A single wallet's profile + recent coins, or the wallet leaderboard. |-| `GET /api/oracle/wins` | The proven-wins gallery, ordered by ATH multiple, with a summary. |-| `GET /api/oracle/movers` | Biggest conviction changes over a window (rising / falling). |-| `GET /api/oracle/history` | A coin's conviction time-series (sparkline data) with a rising/falling/stable trend. |-| `GET /api/oracle/stats` · `/categories` · `/search` · `/leaderboard` · `/agent-stats` · `/activity` | Global KPIs, per-category intel, symbol search, the agent leaderboard, a single agent's record, and the global action feed. |-| `GET /api/oracle/og` | A dynamic 1200×630 OpenGraph conviction card (SVG) for sharing a coin. |--### Streams (SSE)--| Endpoint | Streams |-|---|---|-| `GET /api/oracle/stream` | New / updated conviction verdicts as they're scored (`min_score` filter). |-| `GET /api/oracle/trades` | A coin's live buy/sell tape, each trade annotated with the trader's wallet archetype. |-| `GET /api/oracle/action-stream` | New agent actions and outcome settlements as they land. |--### Write endpoints (auth)--| Endpoint | Does |-|---|---|-| `GET·POST /api/oracle/watch` | Read or arm an agent's watch config — bar, sizing, caps, filters, mode. Server-side validation clamps every limit. |-| `POST·DELETE /api/oracle/follow` | Subscribe a Telegram chat to an agent's conviction signals. |-| `POST /api/oracle/test-alert` | Send a test Telegram alert to verify setup. |-| `POST /api/oracle/social` | Ingest tweets to additively boost a coin's virality (never downgrades an LLM read). |--<details>-<summary><b>Deep dive — Example: the agent signal contract</b></summary>+```+GET https://three.ws/api/oracle/signal?network=mainnet&min_score=72&limit=5+GET https://three.ws/api/oracle/signal?mint=<mint>+```-`GET /api/oracle/signal?mint=…` returns a recommendation an agent can act on directly:+Returns the current highest-conviction plays, or one coin's verdict, each with the pillar breakdown, badges, and an explicit recommendation: action (buy, watch, skip), confidence, and a size factor (1.0 for prime, 0.75 for strong, 0 for everything else). Your agent multiplies the size factor by its own per-trade budget and it has a position size. The shape:```json{@@ -479,67 +251,88 @@ Everything on the page is a public endpoint. Reads are JSON, cached at the CDN a"recommendation": {"action": "buy", // buy | watch | skip"confidence": "medium", // high | medium | low- "size_factor": 0.75, // 0–1 suggested sizing multiplier- "note": "strong conviction — favorable across pedigree and structure"+ "size_factor": 0.75, // 0 to 1 suggested sizing multiplier+ "note": "strong conviction, favorable across pedigree and structure"+ }+}+```++Recommendations map from tier: prime to `buy/high/1.0`, strong to `buy/medium/0.75`, lean to `watch`, watch/avoid to `skip`. Reads are cached 3 seconds with stale-while-revalidate, so polling is cheap.++### A minimal agent loop in JavaScript++```javascript+const API = 'https://three.ws/api/oracle/signal?network=mainnet&min_score=72&limit=5';++async function tick(budgetSol) {+ const { signals } = await fetch(API).then(r => r.json());+ for (const s of signals || []) {+ const { action, size_factor } = s.recommendation;+ if (action !== 'buy') continue;+ const size = budgetSol * size_factor;+ console.log(`${s.symbol} ${s.tier} ${s.conviction}: buy ${size} SOL`, s.pillars);+ // hand off to your own execution here}}+setInterval(() => tick(0.1), 15000);```-Recommendations map from tier: prime → `buy/high/1.0`, strong → `buy/medium/0.75`, lean → `watch`, watch/avoid → `skip`. Reads are cached 3s with stale-while-revalidate, so polling is cheap.+### Stream instead of poll++Two SSE feeds: the conviction stream (every new or updated verdict, filterable by minimum score) and the action stream (every agent action and outcome update, the same feed that powers /activity). A third, the trades stream, is a coin's live buy/sell tape, each trade annotated with the trader's wallet archetype.++```+GET https://three.ws/api/oracle/stream?network=mainnet&min_score=56+GET https://three.ws/api/oracle/action-stream?network=mainnet&mode=live+GET https://three.ws/api/oracle/trades?mint=<mint>+```-</details>+### Go deeper per coin----+- Full fused intel with the who-is-in trader breakdown at `/api/oracle/coin`.+- The live market half of a coin page at `/api/oracle/market`: price plus 5m/1h/6h/24h changes, market cap, FDV, liquidity, 24h volume, holders, supply, bonding-curve progress, security (mint/freeze authority, mutable metadata, transfer fee, top-10 concentration), DEX pairs, ATH/ATL, and every social/explorer link, fused live across the six sources above.+- Conviction for up to 20 mints at once at `/api/oracle/batch`.+- Score time series at `/api/oracle/history`, biggest conviction moves at `/api/oracle/movers`, accuracy stats at `/api/oracle/backtest`, proven calls at `/api/oracle/wins`, agent rankings at `/api/oracle/leaderboard`.+- Global KPIs, per-category intel, symbol search, a single agent's record, and the global action feed at `/api/oracle/stats`, `/categories`, `/search`, `/agent-stats`, and `/activity`.+- A dynamic 1200x630 OpenGraph conviction card (SVG) for sharing a coin at `/api/oracle/og`.-## Data model+The write endpoints, all auth-scoped: `GET·POST /api/oracle/watch` reads or arms an agent's watch config with server-side validation clamping every limit; `POST·DELETE /api/oracle/follow` subscribes a Telegram chat to an agent's signals; `POST /api/oracle/test-alert` sends a test alert; `POST /api/oracle/social` ingests tweets to additively boost virality (never downgrades an LLM read).-Oracle owns five tables. The verdict cache is the heart; the rest are history, config, and the action ledger.+### Through MCP-| Table | Grain | Notable columns |-|---|---|---|-| `oracle_conviction` | 1 row / mint | `score, tier, pedigree, structure, narrative, momentum, structure_cap, badges, reasons, components, category, smart_wallet_count, scored_at` |-| `oracle_narrative` | 1 row / mint | `category, narrative, virality, confidence, tags, source (llm\|heuristic), classified_at` |-| `oracle_conviction_history` | append on Δ≥3 | `score, tier, pillars, scored_at` · 72h retention |-| `oracle_agent_watch` | 1 row / agent | `armed, mode, min_score, min_tier, categories, per_trade_sol, max_daily_sol, max_open, require_smart_money, size_scaling, telegram_chat_id` |-| `oracle_watch_actions` | 1 row / action | `mint, conviction, tier, mode, size_sol, status, reason, entry_mc_usd, tx_signature, outcome, peak_multiple, realized_pnl_sol, acted_at, settled_at` |+The read API is plain HTTP, so any MCP-capable assistant can call it with a generic fetch tool today. The paid feeds are reachable the proper agent way: `@three-ws/x402-mcp` gives your assistant a self-custodial wallet that can find, inspect, and pay any x402 service in USDC, and `@three-ws/mcp-bridge` turns any x402 endpoint on the open web, including all three Oracle intel feeds, into a callable tool with spend caps. One line of npx each.-The `components` blob on each conviction row is a full audit trail of the normalized inputs that produced the score — the reproducibility guarantee in storage form.+## Three tutorials in one place----+**Read the market in sixty seconds.** Open three.ws/oracle. The board is live, newest first. Click any coin: the drawer shows the score, the four pillars, the plain-language reasons ordered by what mattered most, the conviction sparkline, who is in, and the full live market picture. Prime and strong are the only tiers that mean act.-## Limits & failure modes+**Arm your agent, risk free.** Create or pick an agent, open three.ws/oracle/arm, set minimum tier to strong, pick your categories, set a per-trade size and a daily budget, require smart money if you want the strictest gate, and leave mode on simulate. Add your Telegram chat and send the test alert. Watch your agent's simulated entries appear on three.ws/activity and its graded results accumulate. Flip to live only when the simulated ledger has earned it.-A model you can only trust when it flatters you is useless. Here is what Oracle cannot do, where it can be wrong, and how it's hardened.+**Buy intel like an agent.** Walk into any coin town in /play, find the kiosk by the plaza, press E, and pay one cent USDC. Or skip the world and do it from code: point `@three-ws/x402-mcp` at the crypto intel endpoint and ask your assistant for the pump.fun trending board. Either way you just did what the sniper does on every pass: paid the machine economy for a real market read.-- **It is a probability, not a prophecy.** A high score is the weight of on-chain evidence, not a guarantee. pump.fun is adversarial and heavy-tailed — most launches fail, and even a calibrated edge loses often. Read the tier as odds, size accordingly, and never bet what you can't lose.-- **Garbage-in on a young coin.** The first seconds of a launch are data-poor. Pedigree and momentum need wallets to show up before they say much; a brand-new coin leans on structure and a category prior. Scores sharpen as the footprint fills in — which is exactly why history and movers exist.-- **Adversarial structure.** The HOW pillar is a guardrail against known manipulation — bundles, fresh-wallet farms, funder clusters — but launderers iterate. New evasion patterns are caught by the outcome loop (they rug, reputation updates) before they're caught by a rule. The defense is the closed loop, not any single check.-- **Narrative lag & model error.** The WHAT pillar depends on a language model and a news feed; both can misread a story or miss a fast-breaking one. It's the lightest-weighted pillar for exactly this reason, and it degrades to a deterministic classifier rather than failing.-- **Outcome latency.** Win/loss isn't known until a coin resolves, so the backtest always trails the present. Recent windows are thin and their confidence bands are wide — and the page shows the width rather than hiding it.-- **Weights are expert priors (for now).** The 0.34 / 0.30 / 0.18 / 0.18 weights and every threshold are hand-set from domain knowledge, not yet learned from outcomes. That's a deliberate, transparent starting point — and the single biggest opportunity, covered next.+## The data model-> **Not financial advice.** Oracle is an analytics and automation tool. Conviction scores, signals, and agent actions are informational. Live trading risks real funds; simulate first, cap hard, and treat every number as one input among many.+Oracle owns five tables. The verdict cache is the heart; the rest are history, config, and the action ledger.----+- `oracle_conviction`, 1 row per mint: `score, tier, pedigree, structure, narrative, momentum, structure_cap, badges, reasons, components, category, smart_wallet_count, scored_at`. The `components` blob is a full audit trail of the normalized inputs that produced the score, the reproducibility guarantee in storage form.+- `oracle_narrative`, 1 row per mint: `category, narrative, virality, confidence, tags, source (llm|heuristic), classified_at`.+- `oracle_conviction_history`, append on a 3-point-or-greater change: `score, tier, pillars, scored_at`, 72h retention.+- `oracle_agent_watch`, 1 row per agent: `armed, mode, min_score, min_tier, categories, per_trade_sol, max_daily_sol, max_open, require_smart_money, size_scaling, telegram_chat_id`.+- `oracle_watch_actions`, 1 row per action: `mint, conviction, tier, mode, size_sol, status, reason, entry_mc_usd, tx_signature, outcome, peak_multiple, realized_pnl_sol, acted_at, settled_at`.-## Where it scales+## The honest limits-The architecture — pure scoring over a coverage brain, behind a cached API, with a closed outcome loop — was chosen because it extends along several axes at once without a rewrite.+Oracle publishes its failure modes next to its wins, so here they are. Brand-new creators and wallets start on priors, and a cold start prior is a guess with error bars, not knowledge. Momentum is the lightest pillar on purpose, which means Oracle will be late to pure momentum plays, and we accept that trade. The backtest counts only resolved outcomes, so very recent calls are invisible to it until the brain grades them. Market data sources rate-limit and go down; every consumer of them degrades gracefully to null rather than inventing a number. And live mode is deliberately conservative: hard caps, kill switch, one action per agent per coin. The engine is built to be wrong safely.-- **Calibration — learned weights & logistic calibration.** The biggest lever. Replace the hand-set pillar weights with weights fit to outcomes (logistic regression / gradient boosting on the same features), and post-process the raw score through Platt scaling or isotonic regression so the number *is* the probability. The backtest infrastructure to measure the gain already exists.-- **Coverage — more wallets, more density.** Every new wallet judged and every new launch resolved sharpens the WHO pillar and tightens the bands. The data flywheel is the moat — coverage compounds into calibration.-- **Surface — more chains, more venues.** The pillars are venue-agnostic — who/how/what/move generalize to any launch venue with on-chain footprints. The brain abstraction is the seam where a new chain plugs in.-- **Speed — push, not poll.** Streams poll the database today for serverless simplicity. Event-driven push (LISTEN/NOTIFY or a log tail) cuts verdict-to-screen latency toward the block, which on pump.fun is the whole game.-- **Inputs — richer signals.** Deeper social ingestion, holder-graph evolution over time, cross-coin creator/funder linkage, and order-flow microstructure are all additive pillars or sub-signals under the same fusion contract.-- **Ecosystem — an agent-native signal layer.** The machine-ready `/signal` endpoint and the action loop make Oracle a primitive other agents build on — discoverable, payable, and composable across the three.ws agent economy and MCP.+A few more, stated plainly. A high score is the weight of on-chain evidence, not a prophecy; pump.fun is adversarial and heavy-tailed, and even a calibrated edge loses often, so read the tier as odds and size accordingly. The HOW pillar guards against known manipulation, but launderers iterate, and new evasion patterns are caught by the outcome loop (they rug, reputation updates) before any single rule catches them; the defense is the closed loop, not one check. And the 0.34 / 0.30 / 0.18 / 0.18 weights and every threshold are hand-set expert priors, not yet learned from outcomes; that is a deliberate, transparent starting point, and the single biggest opportunity.----+None of this is financial advice. Oracle is an analytics and automation tool. Conviction scores, signals, and agent actions are informational. Live trading risks real funds; simulate first, cap hard, and treat every number as one input among many.-## PhD appendix+## Why it compounds-The formal view, for readers who want the model stated as a model.+Every coin watched sharpens the priors. Every graded outcome tunes the calibration. Every proven wallet added to the ledger makes WHO harder to fool. Every x402 payment for intel funds the loop that produces the intel. More coverage, better priors, sharper scores, more graded outcomes, better calibration. A scoring engine that gets harder to beat every day it runs.-### Oracle as a calibrated scoring classifier+## PhD appendix: Oracle as a calibrated scoring classifierLet a launch be a feature vector `x`. Oracle computes four pillar functions `f_k(x) ∈ [0,100]` for `k ∈ {ped, str, nar, mom}`, a weighted score, and a capped, clamped output:@@ -552,38 +345,32 @@ s(x) = clamp( min( Σ_k w_k · f_k(x), c(x) ), 0, 100 )The intended semantics is that `s(x)/100 ≈ P(win | x)`, where `win = graduated ∨ ATH ≥ 2×`. Calibration measures the gap between intent and reality.-### Calibration objects--- **Reliability (calibration ladder):** partition scores into bins `B_j`; plot empirical `ŷ_j = (1/|B_j|)Σ 1[win]` against the bin's predicted rate. Perfect calibration ⇒ `ŷ_j ≈ s̄_j/100` for all j (the identity line).-- **Brier score:** `BS = (1/N) Σ (s_i/100 − y_i)²`, the mean squared error of the probabilistic claim; decomposable into reliability − resolution + uncertainty.-- **Wilson interval:** the 95% score interval on each tier/bin win rate (derivation in the evidence deep-dive), correct for small `n` and bounded to [0,1].-- **Monotonicity & edge:** require `ŷ` non-decreasing in the score bin (within tolerance); define edge multiple = `P(win | prime) / P(win | any)` and lift = the difference, both reported with their CIs.--### The improvement path, formally+The calibration objects:-The current `w` and thresholds are an expert prior — a fixed, interpretable linear model. The principled upgrade is to (1) fit `w` (and pillar internals) by maximizing log-likelihood / minimizing Brier on resolved outcomes, and (2) compose a monotonic calibration map `g: s ↦ P̂(win)` (Platt / isotonic) so the published number is a true probability. The cap `c(x)` can be retained as a hard monotone constraint, preserving interpretability — "structure can veto" — while the rest is learned. Crucially, the data, the outcome join, and the calibration metrics needed to *measure* that upgrade are already in production; the prior is a starting point chosen to be honest and legible, not a ceiling.+- **Reliability (calibration ladder)**: partition scores into bins `B_j`; plot empirical `ŷ_j = (1/|B_j|)Σ 1[win]` against the bin's predicted rate. Perfect calibration implies `ŷ_j ≈ s̄_j/100` for all j (the identity line).+- **Brier score**: `BS = (1/N) Σ (s_i/100 − y_i)²`, the mean squared error of the probabilistic claim; decomposable into reliability minus resolution plus uncertainty.+- **Wilson interval**: for `w` wins in `n` resolved coins, the 95 percent Wilson score interval (z = 1.96, z² = 3.8416) is `centre = (p + z²/2n) / (1 + z²/n)` and `margin = z·√((p(1−p) + z²/4n) / n) / (1 + z²/n)` with `p = w/n`. Unlike the normal approximation `p ± z·√(p(1−p)/n)`, it stays inside [0,1], doesn't collapse to zero width at p=0 or p=1, and behaves correctly for the small `n` that young backtests have. It is the difference between an honest "we don't know yet" and a dishonest "0 percent ± 0 percent."+- **Monotonicity and edge**: require `ŷ` non-decreasing in the score bin (within tolerance); define edge multiple `= P(win | prime) / P(win | any)` and lift as the difference, both reported with their CIs.-> **References & further reading.** Wilson (1927), *Probable inference, the law of succession, and statistical inference* — the score interval. Brier (1950), *Verification of forecasts expressed in terms of probability*. Platt (1999), probabilistic outputs for SVMs (Platt scaling). Zadrozny & Elkan (2002), isotonic calibration. Niculescu-Mizil & Caruana (2005), *Predicting good probabilities with supervised learning*.+The improvement path, formally. The current `w` and thresholds are an expert prior, a fixed, interpretable linear model. The principled upgrade is to (1) fit `w` (and pillar internals) by maximizing log-likelihood or minimizing Brier on resolved outcomes, and (2) compose a monotonic calibration map `g: s ↦ P̂(win)` (Platt or isotonic) so the published number is a true probability. The cap `c(x)` can be retained as a hard monotone constraint, preserving interpretability, "structure can veto," while the rest is learned. The data, the outcome join, and the calibration metrics needed to measure that upgrade are already in production.----+References and further reading. Wilson (1927), *Probable inference, the law of succession, and statistical inference*. Brier (1950), *Verification of forecasts expressed in terms of probability*. Platt (1999), probabilistic outputs for SVMs (Platt scaling). Zadrozny and Elkan (2002), isotonic calibration. Niculescu-Mizil and Caruana (2005), *Predicting good probabilities with supervised learning*.## Glossary-| Term | Meaning |-|---|---|-| **Conviction** | The fused 0–100 score — the weight of on-chain evidence that a launch will win. |-| **Pillar** | One of the four independent reads: WHO (pedigree), HOW (structure), WHAT (narrative), MOVE (momentum). |-| **Tier** | The coarse band a score falls in: prime / strong / lean / watch / avoid. |-| **Cap (veto)** | A hard ceiling on the final score, set by a severe structural or pedigree red flag, applied before clamping. |-| **Proven wallet** | A wallet labelled smart-money/KOL or with a reputation score ≥70 — the pedigree currency. |-| **Win / loss / flat** | Outcome grades: win = graduated or ≥2× ATH; loss = rugged or <1.2×; flat = in between. |-| **Graduated** | A pump.fun coin that completed its bonding curve — the canonical success event. |-| **Armed** | An agent configured to act on conviction automatically, in simulate or live mode. |-| **Calibration** | How closely realized win rates match the scores that predicted them. |-| **Wilson interval** | The 95% confidence band on a win-rate estimate, correct for small samples. |+- **Conviction**: the fused 0 to 100 score, the weight of on-chain evidence that a launch will win.+- **Pillar**: one of the four independent reads, WHO (pedigree), HOW (structure), WHAT (narrative), MOVE (momentum).+- **Tier**: the coarse band a score falls in: prime / strong / lean / watch / avoid.+- **Cap (veto)**: a hard ceiling on the final score, set by a severe structural or pedigree red flag, applied before clamping.+- **Proven wallet**: a wallet labelled smart-money/KOL or with a reputation score of 70 or more, the pedigree currency.+- **Win / loss / flat**: outcome grades. Win = graduated or 2 times or greater ATH; loss = rugged or below 1.2 times; flat = in between.+- **Graduated**: a pump.fun coin that completed its bonding curve, the canonical success event.+- **Armed**: an agent configured to act on conviction automatically, in simulate or live mode.+- **Calibration**: how closely realized win rates match the scores that predicted them.+- **Wilson interval**: the 95 percent confidence band on a win-rate estimate, correct for small samples.----+## Where to start-*Oracle is part of [three.ws](https://three.ws) — give your AI a body. · Living document, updated 2026-06-30.*+The live board: three.ws/oracle. The complete reference, thesis to pillar math to calibration appendix: three.ws/oracle/docs. Arm your agent: three.ws/oracle/arm. Watch every agent act in real time: three.ws/activity. Watch the data loop itself: three.ws/pipeline.-*Links: [Live Oracle](https://three.ws/oracle) · [Arm an agent](https://three.ws/oracle/arm) · [Activity floor](https://three.ws/activity) · [Changelog](https://three.ws/changelog)*+The more data we watch, the sharper every score. Oracle is live now.