Skip to content

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

Agents: show Oracle win rate and Sniper PnL badges per agent card

nirholasb04ef19f6c88
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 733e28d56..c4efc4591 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Watchlist** (`/watchlist`) — Your privately-stored watchlist of pump.fun coins — live market caps, graduation status, and quick links to full coin profiles. No account required; stored in your browser.
- **Agent Activity — live oracle trading floor** — New page at /activity shows every Oracle conviction trade made by every autonomous 3D agent, in real time. Filter by tier (prime/strong/lean/watch) and mode (live/simulate). Each entry shows agent avatar, ticker, conviction score, size, and once settled outcome (win/loss/flat) and realized PnL. Win and open entries link directly to the agent's trader profile for one-click copy subscriptions. Platform-level KPIs (agents active, win rate, 7-day PnL) appear at the top. Auto-refreshes every 30 seconds. (`/activity`) `[feature]`
- **Agent trading record — proof-of-edge on every agent profile** — Agent profiles now show a live TRADING RECORD panel that pulls directly from the Oracle's action ledger. Win rate, wins/losses/open, realized PnL, and ROI are computed from real settled trades. Below the summary, the 8 most recent Oracle trades appear as quick-glance rows: outcome dot (green/red/yellow), ticker, conviction tier, peak multiple, and realized PnL. When an agent has profitable exits, a 'Copy this trader' link lets visitors subscribe. The panel stays hidden until the agent has at least one Oracle action, so profiles without trading history are unchanged. (`/agents`) `[feature]`
+- **Agents: Oracle and Sniper trading status on agent cards** — The agents dashboard now shows live trading badges on each card. If an agent has Oracle conviction history, its win rate and realized PnL appear inline. If a sniper strategy is armed and active, the agent card shows the strategy's realized PnL. Both badges link to the relevant dashboard so you can drill in from the agents list. (`/dashboard/agents`) `[improvement]`
- **Buy any coin directly on three.ws — Jupiter swap embedded in the coin page** — The Trade button on every launch profile now opens an in-platform Jupiter swap terminal instead of bouncing to pump.fun. The terminal is lazy-loaded only when you click, so cold page loads stay fast. Jupiter routes through every available liquidity source including pump.fun's AMM and bonding curve, so it works for both pre-graduation and graduated coins. The price chart now also shows volume bars alongside the price line — green for net-buy candles, red for net-sell — giving you an instant read on trade intensity at a glance. The agent panel shows a 'Copy trades' shortcut that takes you directly to the agent's copy-trade setup. And when Birdeye's OHLCV quota is exhausted, the chart falls back to GeckoTerminal automatically, so the chart never goes dark on an actively-trading coin. (`/launches`) `[feature, improvement]`
- **Coin intelligence — per-signal win-rates explain every oracle decision** — The oracle's quality score is no longer a black box. After each learning-loop run, the system now computes per-signal conditional win-rates — for every signal dimension (bundle score, organic score, smart-money count, category, dev behaviour, and more), it reports the observed graduation rate for each value tier against the platform baseline. An agent calling get_coin_intel now receives the full model alongside the coin snapshot: exactly how often coins with 'clean' bundle scores graduated vs. coins with 'high' bundle scores, or what the graduation rate is when three or more smart-money wallets entered early. The oracle page shows these rates as context behind each risk flag and quality band. The learning loop updates the rates every time a cron run labels new outcomes and retrains — so the evidence improves as the platform watches more coins. (`/oracle`) `[feature, improvement]`
- **Coin Intelligence — watchlist + Oracle conviction now in every card and drawer** — The Coin Intelligence radar (/coin-intel) is now connected to both the watchlist and the Oracle. Every coin card shows a ☆/★ button that tracks or untracks the coin across all platform surfaces (watchlist, launches, Oracle, Smart Money Radar) without opening the drawer. Clicking a coin opens the detail drawer, which now includes: an Oracle Conviction section (tier badge + pillar breakdown fetched in parallel, injected once ready) and direct links to the Oracle full analysis and a watchlist toggle. The Oracle link and watch button sit alongside the existing pump.fun and Solscan links at the bottom of the drawer. (`/coin-intel`) `[improvement]`
diff --git a/data/changelog.json b/data/changelog.json
index 0c78d86a0..29a5ce074 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,13 @@
{
"$comment": "Curated changelog entries for three.ws — the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.",
"entries": [
+ {
+ "date": "2026-06-16",
+ "title": "Agents: Oracle and Sniper trading status on agent cards",
+ "summary": "The agents dashboard now shows live trading badges on each card. If an agent has Oracle conviction history, its win rate and realized PnL appear inline. If a sniper strategy is armed and active, the agent card shows the strategy's realized PnL. Both badges link to the relevant dashboard so you can drill in from the agents list.",
+ "tags": ["improvement"],
+ "link": "/dashboard/agents"
+ },
{
"date": "2026-06-16",
"title": "Oracle: Activity feed and Agent leaderboard",
diff --git a/public/changelog.json b/public/changelog.json
index 018cdc43f..a9aaa9084 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-16T06:26:02.424Z",
+ "generated_at": "2026-06-16T06:34:54.299Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -56,6 +56,16 @@
"feature"
]
},
+ {
+ "date": "2026-06-16",
+ "type": "update",
+ "title": "Agents: Oracle and Sniper trading status on agent cards",
+ "summary": "The agents dashboard now shows live trading badges on each card. If an agent has Oracle conviction history, its win rate and realized PnL appear inline. If a sniper strategy is armed and active, the agent card shows the strategy's realized PnL. Both badges link to the relevant dashboard so you can drill in from the agents list.",
+ "link": "/dashboard/agents",
+ "tags": [
+ "improvement"
+ ]
+ },
{
"date": "2026-06-16",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index b23b2b127..f0f1c2865 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -46,6 +46,14 @@
<category>feature</category>
<description>Agent profiles now show a live TRADING RECORD panel that pulls directly from the Oracle's action ledger. Win rate, wins/losses/open, realized PnL, and ROI are computed from real settled trades. Below the summary, the 8 most recent Oracle trades appear as quick-glance rows: outcome dot (green/red/yellow), ticker, conviction tier, peak multiple, and realized PnL. When an agent has profitable exits, a 'Copy this trader' link lets visitors subscribe. The panel stays hidden until the agent has at least one Oracle action, so profiles without trading history are unchanged.</description>
</item>
+ <item>
+ <title>Agents: Oracle and Sniper trading status on agent cards</title>
+ <link>https://three.ws/dashboard/agents</link>
+ <guid isPermaLink="false">2026-06-16:Agents: Oracle and Sniper trading status on agent cards</guid>
+ <pubDate>Tue, 16 Jun 2026 12:00:00 GMT</pubDate>
+ <category>improvement</category>
+ <description>The agents dashboard now shows live trading badges on each card. If an agent has Oracle conviction history, its win rate and realized PnL appear inline. If a sniper strategy is armed and active, the agent card shows the strategy's realized PnL. Both badges link to the relevant dashboard so you can drill in from the agents list.</description>
+ </item>
<item>
<title>Buy any coin directly on three.ws — Jupiter swap embedded in the coin page</title>
<link>https://three.ws/launches</link>
diff --git a/public/features.json b/public/features.json
index 30ddb1296..10bebd501 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-16T06:26:02.412Z",
+ "generated_at": "2026-06-16T06:34:54.288Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/src/dashboard-next/pages/agents.js b/src/dashboard-next/pages/agents.js
index 50792e911..985c7a095 100644
--- a/src/dashboard-next/pages/agents.js
+++ b/src/dashboard-next/pages/agents.js
@@ -282,6 +282,7 @@ function renderAgents(host, agents, avatars, root) {
});
loadInlineReviewStats(host, agents);
+ enrichAgentTradingStatus(host, agents);
}
// ── Deploy on-chain (Metaplex Core / ERC-8004) ─────────────────────────────
@@ -468,6 +469,7 @@ function agentCard(a, avatars) {
</span>
</div>
${a.persona?.tagline || a.tagline ? `<div style="font-size:13px;color:var(--nxt-ink-dim);margin-top:6px;font-style:italic">${esc((a.persona?.tagline || a.tagline).slice(0, 120))}</div>` : ''}
+ <div data-trading-slot style="display:flex;gap:6px;flex-wrap:wrap;margin-top:6px"></div>
</div>
<div class="dn-agent-actions">
@@ -531,6 +533,69 @@ async function loadInlineReviewStats(host, agents) {
}
}
+async function enrichAgentTradingStatus(host, agents) {
+ if (!agents.length) return;
+ const [oracleRes, sniperRes] = await Promise.allSettled([
+ fetch('/api/oracle/leaderboard?network=mainnet&limit=50&min_actions=1', { credentials: 'include' })
+ .then((r) => r.ok ? r.json() : null).catch(() => null),
+ fetch('/api/sniper/strategy', { credentials: 'include' })
+ .then((r) => r.ok ? r.json() : null).catch(() => null),
+ ]);
+
+ const oracleMap = new Map();
+ const oracleAgents = oracleRes.status === 'fulfilled' && oracleRes.value?.agents ? oracleRes.value.agents : [];
+ for (const a of oracleAgents) oracleMap.set(a.agent_id, a);
+
+ const sniperMap = new Map();
+ const sniperStrats = sniperRes.status === 'fulfilled' && sniperRes.value?.strategies ? sniperRes.value.strategies : [];
+ for (const s of sniperStrats) sniperMap.set(s.agent_id, s);
+
+ for (const agent of agents) {
+ const card = host.querySelector(`[data-agent-id="${agent.id}"]`);
+ const slot = card?.querySelector('[data-trading-slot]');
+ if (!slot) continue;
+
+ const oracle = oracleMap.get(agent.id);
+ const sniper = sniperMap.get(agent.id);
+
+ if (!oracle && !sniper) continue;
+
+ const badges = [];
+
+ if (oracle) {
+ const wrStr = oracle.win_rate != null ? `${oracle.win_rate}%` : '—';
+ const pnl = Number(oracle.realized_pnl_sol || 0);
+ const pnlStr = pnl !== 0 ? ` · ${pnl >= 0 ? '+' : ''}${Math.abs(pnl) < 0.01 ? pnl.toFixed(4) : pnl.toFixed(3)} ◎` : '';
+ const winColor = (oracle.win_rate || 0) >= 50 ? '#a78bfa' : '#f87171';
+ badges.push(`<a href="/oracle#agent" style="
+ display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;
+ padding:3px 9px;border-radius:999px;text-decoration:none;
+ border:1px solid rgba(167,139,250,0.35);
+ background:rgba(167,139,250,0.08);color:#a78bfa;" title="Oracle conviction track record">
+ <span style="color:${winColor}">${wrStr}</span>
+ <span style="opacity:0.7;font-size:10px">oracle${pnlStr}</span>
+ </a>`);
+ }
+
+ if (sniper && sniper.enabled && !sniper.kill_switch) {
+ const pnlLam = BigInt(sniper.summary?.realized_pnl_lamports || '0');
+ const pnl = Number(pnlLam) / 1e9;
+ const pnlStr = pnl !== 0 ? `${pnl >= 0 ? '+' : ''}${Math.abs(pnl) < 0.01 ? pnl.toFixed(4) : pnl.toFixed(3)} ◎` : '0 ◎';
+ const pnlColor = pnl >= 0 ? '#34d399' : '#f87171';
+ badges.push(`<a href="/dashboard/sniper" style="
+ display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;
+ padding:3px 9px;border-radius:999px;text-decoration:none;
+ border:1px solid rgba(52,211,153,0.35);
+ background:rgba(52,211,153,0.07);color:#34d399;" title="Sniper strategy active">
+ <span style="color:${pnlColor}">${pnlStr}</span>
+ <span style="opacity:0.7;font-size:10px">sniper</span>
+ </a>`);
+ }
+
+ if (badges.length) slot.innerHTML = badges.join('');
+ }
+}
+
function showReputationPanel(card, rep) {
const existing = card.querySelector('[data-reputation-panel]');
if (existing) {