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.

feat: add Memetic Launcher feature with customizable settings and update changelog

nirholas3bd420d529a5
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c202d26a6..a3407c4d0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Capabilities — Alpha Hunt, Launcher, Auto-Claim & Market Maker** (`/dashboard/capabilities`) — Live command center for all 4 autonomous agent capabilities: Alpha Hunt smart-money scoring, autonomous Coin Launcher on schedule, Creator Auto-Claim for fee harvesting, and Market Maker with Jito execution.
- **Live Agents** (`/agents-live`) — Mission control — real-time grid of all AI agents with active screen streams. Watch their screens and avatar feeds live.
+- **Memetic Launcher** (`/launcher`) — Design your personal autonomous coin launcher — set your mode (trend, meme, hybrid, random), pick trend sources, tune your cadence, and preview exactly what your agents would mint next. Preview mode: no SOL moves until you fund a live launch.
- **On-chain Deployments** (`/deployments`) — A live, cross-chain feed of every agent registered on the ERC-8004 Identity Registry — the moment each registration lands on-chain. Real on-chain registrations only, with chain footprint, 3D-avatar and x402 capability stats.
- **Partner Ecosystem** (`/partners`) — three.ws partner ecosystem — AWS, IBM, Google Cloud, Alibaba Cloud, Intel, NVIDIA, Microsoft, Oracle. The cloud and AI platforms powering 3D AI agents at enterprise scale.
- **Recording Pipeline — the data loop, live** (`/pipeline`) — One-glance health of the closed loop that turns every pump.fun launch into a trade signal: the launch recorder, signal intel, ground-truth outcomes, Oracle conviction, the wallet reputation graph, trained weights, and the agents trading on the result — every stage, in real time.
diff --git a/api/_lib/agent-activation.js b/api/_lib/agent-activation.js
index d06ed4670..82183a97b 100644
--- a/api/_lib/agent-activation.js
+++ b/api/_lib/agent-activation.js
@@ -28,6 +28,7 @@ import {
getTreasuryKeypair,
transferSol,
lamportBalance,
+ signatureLanded,
treasuryConnection,
FEE_BUFFER,
SOL,
@@ -161,12 +162,15 @@ export async function getActivationStatus({ agent, isOwner }) {
};
}
-// Count confirmed grants in the last 24h for the rolling daily cap.
-async function confirmedToday() {
+// Count grants in the last 24h for the rolling daily cap. Counts BOTH pending and
+// confirmed so in-flight claims reserve a slot — checked AFTER this request has
+// inserted its own pending row, so a concurrent burst can overshoot the cap by at
+// most the read-skew window rather than the full burst width.
+async function recentActivationCount() {
try {
const [r] = await sql`
select count(*)::int as count from agent_activations
- where status = 'confirmed' and created_at > now() - interval '24 hours'
+ where status in ('pending', 'confirmed') and created_at > now() - interval '24 hours'
`;
return r?.count ?? 0;
} catch (err) {
@@ -240,29 +244,9 @@ export async function activateAgent({ agentId, userId }) {
// 'proceed' falls through
}
- // Rolling daily cap — a soft global spend bound (live count, so outside the
- // pure decision above).
- if ((await confirmedToday()) >= cfg.dailyCap) {
- return { ok: false, code: 'cap_reached', message: 'daily activation cap reached — try again tomorrow' };
- }
-
await ensureSchema();
- // Provision the wallet if it isn't already (lazy-mint path), then resolve the
- // destination address.
- let address = agent.meta?.solana_address || null;
- try {
- const w = await ensureAgentWallet(agentId, userId, { reason: 'activation' });
- if (w?.address) address = w.address;
- } catch (err) {
- console.error('[agent-activation] wallet provision failed', err?.message);
- return { ok: false, code: 'wallet_unavailable', message: 'could not prepare the agent wallet' };
- }
- if (!address) {
- return { ok: false, code: 'wallet_unavailable', message: 'agent has no wallet to fund' };
- }
-
- // Claim the single grant slot. ON CONFLICT DO NOTHING is the mutex: if a
+ // Claim the single grant slot FIRST. ON CONFLICT DO NOTHING is the mutex: if a
// concurrent request already inserted, we get no row back and bail as "pending".
const [claim] = await sql`
insert into agent_activations (agent_id, user_id, network, status)
@@ -276,12 +260,37 @@ export async function activateAgent({ agentId, userId }) {
return { ok: true, already: true, pending: true, network: cfg.network };
}
- // From here a failure must release the claim so the owner can retry.
+ // Release the claim so the owner can retry — but ONLY for failures that prove
+ // the grant never went on-chain. A send/confirm ambiguity must keep the claim
+ // (see the transfer catch), or a timed-out-but-landed tx would be re-granted.
const releaseClaim = () =>
sql`delete from agent_activations where agent_id = ${agentId} and status = 'pending'`.catch(
() => {},
);
+ // Rolling daily cap — checked AFTER claiming so this request's own pending row
+ // is counted; a concurrent burst can overshoot only by the read-skew window.
+ if ((await recentActivationCount()) > cfg.dailyCap) {
+ await releaseClaim();
+ return { ok: false, code: 'cap_reached', message: 'daily activation cap reached — try again tomorrow' };
+ }
+
+ // Provision the wallet if it isn't already (lazy-mint path), then resolve the
+ // destination address.
+ let address = agent.meta?.solana_address || null;
+ try {
+ const w = await ensureAgentWallet(agentId, userId, { reason: 'activation' });
+ if (w?.address) address = w.address;
+ } catch (err) {
+ console.error('[agent-activation] wallet provision failed', err?.message);
+ await releaseClaim();
+ return { ok: false, code: 'wallet_unavailable', message: 'could not prepare the agent wallet' };
+ }
+ if (!address) {
+ await releaseClaim();
+ return { ok: false, code: 'wallet_unavailable', message: 'agent has no wallet to fund' };
+ }
+
let treasuryKp;
try {
treasuryKp = await getTreasuryKeypair(TREASURY_ENV_OVERRIDE);
@@ -310,8 +319,18 @@ export async function activateAgent({ agentId, userId }) {
signature = await transferSol(conn, treasuryKp, address, lamports);
} catch (err) {
console.error('[agent-activation] grant transfer failed', err?.message);
- await releaseClaim();
- return { ok: false, code: 'transfer_failed', message: 'the grant could not be sent — try again' };
+ // A confirmation timeout can throw even though the transfer actually landed
+ // on-chain (common under RPC congestion). transferSol attaches the broadcast
+ // signature to the error; before releasing the claim — which would let the
+ // owner retry and DOUBLE-SPEND the treasury — probe the chain. If the grant
+ // already landed, treat it as success; only release when it provably did not.
+ const broadcastSig = err?.signature || null;
+ const landed = broadcastSig ? await signatureLanded(conn, broadcastSig).catch(() => false) : false;
+ if (!landed) {
+ await releaseClaim();
+ return { ok: false, code: 'transfer_failed', message: 'the grant could not be sent — try again' };
+ }
+ signature = broadcastSig;
}
// Price the grant in USD (best-effort) so the Pulse can value it.
diff --git a/api/_lib/circulation.js b/api/_lib/circulation.js
index dc3170b00..7ee713d5a 100644
--- a/api/_lib/circulation.js
+++ b/api/_lib/circulation.js
@@ -587,7 +587,11 @@ async function listedSkills(cfg) {
where asp.is_active = true
and asp.currency_mint = ${THREE_MINT()}
and coalesce(ai.meta->>'circulation', '') <> 'true'
- and ai.is_public = true
+ -- is_published is the canonical "live + visible in the marketplace" gate
+ -- (browse/detail all use it). Demand must only reach listings a user has
+ -- actually published, not merely any non-private agent.
+ and ai.is_published = true
+ and coalesce(ai.is_public, true) = true
and ai.deleted_at is null
and asp.amount >= ${minAtomic}::numeric
and asp.amount <= ${maxAtomic}::numeric
diff --git a/api/_lib/platform-treasury.js b/api/_lib/platform-treasury.js
index 38a78ae21..bf116a909 100644
--- a/api/_lib/platform-treasury.js
+++ b/api/_lib/platform-treasury.js
@@ -127,8 +127,12 @@ export async function transferSol(conn, fromKp, toAddress, lamports) {
}).compileToV0Message();
const tx = new VersionedTransaction(message);
tx.sign([fromKp]);
+ // Captured outside the try so a confirmation failure still carries the
+ // broadcast signature out on the thrown error — the caller can then check
+ // whether the tx actually landed before treating it as a clean failure.
+ let signature = null;
try {
- const signature = await conn.sendTransaction(tx, { maxRetries: 5 });
+ signature = await conn.sendTransaction(tx, { maxRetries: 5 });
const conf = await conn.confirmTransaction(
{ signature, blockhash, lastValidBlockHeight },
'confirmed',
@@ -139,16 +143,41 @@ export async function transferSol(conn, fromKp, toAddress, lamports) {
return signature;
} catch (err) {
const msg = err?.message || '';
- if (attempt < MAX_ATTEMPTS - 1 && /Blockhash not found|BlockhashNotFound/i.test(msg)) {
+ // Retry only when the tx provably never landed (preflight blockhash miss)
+ // AND nothing was broadcast — never re-broadcast after a confirmation
+ // ambiguity, which could double-send.
+ if (
+ attempt < MAX_ATTEMPTS - 1 &&
+ !signature &&
+ /Blockhash not found|BlockhashNotFound/i.test(msg)
+ ) {
lastErr = err;
continue;
}
+ if (signature && err && typeof err === 'object') err.signature = signature;
throw err;
}
}
throw lastErr;
}
+/**
+ * Whether a transaction signature has landed on-chain (confirmed or finalized,
+ * with no execution error). Used to disambiguate a confirmation-timeout — where
+ * the tx may have actually succeeded — before any retry/refund decision, so a
+ * grant is never sent twice. Returns false on any RPC trouble (caller decides).
+ */
+export async function signatureLanded(conn, signature) {
+ if (!signature) return false;
+ const statuses = await conn.getSignatureStatuses([signature], {
+ searchTransactionHistory: true,
+ });
+ const st = statuses?.value?.[0];
+ if (!st) return false;
+ if (st.err) return false;
+ return st.confirmationStatus === 'confirmed' || st.confirmationStatus === 'finalized';
+}
+
/** The shared Solana RPC connection for a network (re-export for convenience). */
export function treasuryConnection(network) {
return solanaConnection(network || treasuryNetwork());
diff --git a/api/_mcp3d/tools/studio.js b/api/_mcp3d/tools/studio.js
index a45421eb9..c8c4c7e98 100644
--- a/api/_mcp3d/tools/studio.js
+++ b/api/_mcp3d/tools/studio.js
@@ -195,7 +195,7 @@ function pointCloudArtifact({ plyUrl, name }) {
const html =
`<!doctype html><html><head><meta charset="utf-8"><title>${safeName}</title>` +
`<style>html,body{margin:0;height:100%;background:#0a0a0a}iframe{border:0;width:100%;height:100%;display:block}</style>` +
- `</head><body><iframe src="${viewer}" allow="fullscreen" title="${safeName}"></iframe></body></html>`;
+ `</head><body><iframe src="${viewer}" sandbox="allow-scripts allow-same-origin" allow="fullscreen" title="${safeName}"></iframe></body></html>`;
return {
type: 'resource',
resource: { uri: plyUrl, mimeType: 'text/html', text: html },
diff --git a/data/pages.json b/data/pages.json
index 0862f194c..b8886c4b8 100644
--- a/data/pages.json
+++ b/data/pages.json
@@ -739,6 +739,14 @@
"changefreq": "always",
"added": "2026-06-27"
},
+ {
+ "path": "/launcher",
+ "title": "Memetic Launcher",
+ "description": "Design your personal autonomous coin launcher — set your mode (trend, meme, hybrid, random), pick trend sources, tune your cadence, and preview exactly what your agents would mint next. Preview mode: no SOL moves until you fund a live launch.",
+ "priority": 0.8,
+ "changefreq": "daily",
+ "added": "2026-06-27"
+ },
{
"path": "/clash",
"title": "Coin Clash",
diff --git a/public/changelog.json b/public/changelog.json
index 73aefd5db..095a41e27 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-27T22:01:30.566Z",
+ "generated_at": "2026-06-27T22:06:13.568Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -26,6 +26,16 @@
"launch"
]
},
+ {
+ "date": "2026-06-27",
+ "type": "launch",
+ "title": "Memetic Launcher",
+ "summary": "Design your personal autonomous coin launcher — set your mode (trend, meme, hybrid, random), pick trend sources, tune your cadence, and preview exactly what your agents would mint next. Preview mode: no SOL moves until you fund a live launch.",
+ "link": "/launcher",
+ "tags": [
+ "launch"
+ ]
+ },
{
"date": "2026-06-27",
"type": "launch",
diff --git a/public/changelog.xml b/public/changelog.xml
index f049b94b5..c741fd088 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -22,6 +22,14 @@
<category>launch</category>
<description>Mission control — real-time grid of all AI agents with active screen streams. Watch their screens and avatar feeds live.</description>
</item>
+ <item>
+ <title>Memetic Launcher</title>
+ <link>https://three.ws/launcher</link>
+ <guid isPermaLink="false">2026-06-27:Memetic Launcher</guid>
+ <pubDate>Sat, 27 Jun 2026 12:00:00 GMT</pubDate>
+ <category>launch</category>
+ <description>Design your personal autonomous coin launcher — set your mode (trend, meme, hybrid, random), pick trend sources, tune your cadence, and preview exactly what your agents would mint next. Preview mode: no SOL moves until you fund a live launch.</description>
+ </item>
<item>
<title>On-chain Deployments</title>
<link>https://three.ws/deployments</link>
diff --git a/public/features.json b/public/features.json
index 68d8814a9..274d20d15 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-27T22:01:30.398Z",
+ "generated_at": "2026-06-27T22:06:13.554Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
@@ -906,6 +906,16 @@
"tags": [],
"showcase": false
},
+ {
+ "path": "/launcher",
+ "title": "Memetic Launcher",
+ "description": "Design your personal autonomous coin launcher — set your mode (trend, meme, hybrid, random), pick trend sources, tune your cadence, and preview exactly what your agents would mint next. Preview mode: no SOL moves until you fund a live launch.",
+ "added": "2026-06-27",
+ "auth": null,
+ "indexable": true,
+ "tags": [],
+ "showcase": false
+ },
{
"path": "/clash",
"title": "Coin Clash",
diff --git a/public/llms-full.txt b/public/llms-full.txt
index 263b52628..5a7198998 100644
--- a/public/llms-full.txt
+++ b/public/llms-full.txt
@@ -552,6 +552,12 @@ URL: https://three.ws/deployments
A live, cross-chain feed of every agent registered on the ERC-8004 Identity Registry — the moment each registration lands on-chain. Real on-chain registrations only, with chain footprint, 3D-avatar and x402 capability stats.
+### Memetic Launcher
+
+URL: https://three.ws/launcher
+
+Design your personal autonomous coin launcher — set your mode (trend, meme, hybrid, random), pick trend sources, tune your cadence, and preview exactly what your agents would mint next. Preview mode: no SOL moves until you fund a live launch.
+
### Coin Clash
URL: https://three.ws/clash
diff --git a/public/llms.txt b/public/llms.txt
index 0571decfb..1754b0c48 100644
--- a/public/llms.txt
+++ b/public/llms.txt
@@ -110,6 +110,7 @@ On-chain features: pay-per-call, token launches, vanity wallets.
- [Live Trading Theater](https://three.ws/theater): Watch agents trade in 3D, in real time. Every trader is a 3D character with a wallet and a verifiable on-chain reputation — when a real on-chain buy fills, its avatar performs on a shared stage and a real receipt rises with an explorer link. Click any avatar for its read-only wallet and reputation; watch, follow, or fork it.
- [Money Pulse](https://three.ws/pulse): The Money Pulse — a real-time, platform-wide feed of three.ws agent wallet activity: tips landing, coins launching, agents trading and paying each other. Every beat is a real on-chain event.
- [On-chain Deployments](https://three.ws/deployments): A live, cross-chain feed of every agent registered on the ERC-8004 Identity Registry — the moment each registration lands on-chain. Real on-chain registrations only, with chain footprint, 3D-avatar and x402 capability stats.
+- [Memetic Launcher](https://three.ws/launcher): Design your personal autonomous coin launcher — set your mode (trend, meme, hybrid, random), pick trend sources, tune your cadence, and preview exactly what your agents would mint next. Preview mode: no SOL moves until you fund a live launch.
- [Coin Clash](https://three.ws/clash): Token-gated community warfare. Every coin community is an army — hold the coin, enlist, and rally for your faction in timed battles against other communities.
- [Trader Leaderboard](https://three.ws/leaderboard): Pump.fun traders ranked by a provable, on-chain track record — realized P&L, win rate, drawdown — with every number traceable to its transaction.
- [Custody Integrity](https://three.ws/integrity): Provable, on-chain-anchored custody for every three.ws agent wallet. The platform commits a Merkle root over every wallet's on-chain state to Solana — verify the latest root yourself, no account required.
diff --git a/public/sitemap/index.html b/public/sitemap/index.html
index 965a6ca1b..1cab1d9c4 100644
--- a/public/sitemap/index.html
+++ b/public/sitemap/index.html
@@ -65,7 +65,7 @@
<main class="sm-wrap">
<div class="sm-hero">
<h1>Sitemap</h1>
- <p>All 350 pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</p>
+ <p>All 351 pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</p>
<div class="sm-formats">
<a href="/sitemap.xml"><code>sitemap.xml</code> · for search engines</a>
<a href="/llms.txt"><code>llms.txt</code> · for AI agents</a>
@@ -77,7 +77,7 @@
</div>
<div class="sm-filter">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>
- <input id="sm-filter-input" type="search" placeholder="Filter 350 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />
+ <input id="sm-filter-input" type="search" placeholder="Filter 351 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />
<kbd aria-hidden="true">/</kbd>
</div>
<p class="sm-filter-count" id="sm-filter-count" role="status" aria-live="polite"></p>
@@ -655,7 +655,7 @@
<section class="sm-section" id="crypto">
<header>
- <h2>Crypto<span class="sm-count" data-count>72</span></h2>
+ <h2>Crypto<span class="sm-count" data-count>73</span></h2>
<p class="sm-section-desc">On-chain features: pay-per-call, token launches, vanity wallets.</p>
</header>
<ul class="sm-list">
@@ -736,6 +736,13 @@
<span class="sm-desc">A live, cross-chain feed of every agent registered on the ERC-8004 Identity Registry — the moment each registration lands on-chain. Real on-chain registrations only, with chain footprint, 3D-avatar and x402 capability stats.</span>
</a>
</li>
+ <li>
+ <a href="/launcher">
+ <span class="sm-title">Memetic Launcher</span>
+ <span class="sm-path">/launcher</span>
+ <span class="sm-desc">Design your personal autonomous coin launcher — set your mode (trend, meme, hybrid, random), pick trend sources, tune your cadence, and preview exactly what your agents would mint next. Preview mode: no SOL moves until you fund a live launch.</span>
+ </a>
+ </li>
<li>
<a href="/clash">
<span class="sm-title">Coin Clash</span>
diff --git a/src/marketplace-gallery.js b/src/marketplace-gallery.js
index 267c28448..cbe3100d7 100644
--- a/src/marketplace-gallery.js
+++ b/src/marketplace-gallery.js
@@ -99,7 +99,7 @@ function ensureStyles() {
.mwg-search-clear{flex:0 0 auto;appearance:none;border:0;background:transparent;color:#a1a1aa;
font:inherit;font-size:16px;line-height:1;cursor:pointer;padding:2px 4px;display:none;border-radius:50%;}
.mwg-search-clear:hover{color:#fafafa;}
-.mwg-search[data-has-query="1"] .mwg-search-clear{display:block;}
+.mwg-search[data-has-query] .mwg-search-clear{display:block;}
.mwg-search-clear:focus-visible{outline:2px solid rgba(255,255,255,.6);outline-offset:1px;}
.mwg-panel{position:fixed;top:50%;right:max(16px,env(safe-area-inset-right,0));