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
feat(okx-ai): compliant 440x440 listing avatar for agent #2632
nirholasc39185a3bd51
diff --git a/prompts/okx-ai/PROGRESS.md b/prompts/okx-ai/PROGRESS.mdindex b90e52d87..aac09c2cc 100644--- a/prompts/okx-ai/PROGRESS.md+++ b/prompts/okx-ai/PROGRESS.md@@ -1162,3 +1162,41 @@ set with the identity-update flow (on-chain write needs human confirmation).**Still owner-blocked:** WO-04/05/07 remain gated on funding the payer wallet(`0x75d00a2713565171f33216e5aa2a375e076ecf69`, X Layer 196: ~$5 USD₮0 + OKB dust).Redis is live and the X Layer rail reports settleable:true — funding is the only gap.++## 2026-07-17: Listing rejected again, avatar-only reasons; compliant 440x440 avatar produced++OKX review rejected "three.ws 3D Studio" (email to the owner, 2026-07-17) on TWO avatar+reasons and nothing else (no catalog, payment-rail, or description findings this round):++1. Avatar does not align with the agent's positioning/functionality and is not polished.+ Reviewer pointed at software/service-type reference styles (okx.ai agents 2023, 3345).+ The rejected asset was the WO-06 3D-humanoid PFP render (dark, murky, floating gray+ sphere, garbled texture text): correct pipeline demo, wrong genre for a service listing.+2. Spec violations: avatar must be exactly 440x440 px, square corners (rounded corners+ rejected), sharp at full resolution.++**Fix shipped: a logo-style service-agent avatar built from the platform's own brand mark.**++- Asset: `prompts/okx-ai/assets/okx-avatar-440.png` (440x440, opaque RGB PNG, 168 KB,+ square corners, well under the 1 MB `agent upload` limit).+- Composition: the three.ws holographic chrome cube (public/favicon.svg) centered on a+ near-black studio ground with a faint grid and violet/cyan glows; `// three.ws` mono+ eyebrow top-left, `#2632` corner metadata top-right, "3D STUDIO" (Space Grotesk 700)+ wordmark, `FORGE.RIG.RENDER` service line. Directly answers rejection reason 1: the+ avatar now states what the agent does. Legible down to 96 px.+- Reproducible: `node prompts/okx-ai/assets/render-avatar.mjs` (Playwright at 3x scale,+ lanczos3 downsample to exactly 440, flattened opaque; script asserts 440x440 + no alpha).+ Source composition: `prompts/okx-ai/assets/avatar.html` (self-hosted repo fonts).++**Resubmission path (needs the interactive OKX session + human confirm, per skill gates):**++1. Login as [email protected] (human relays OTP).+2. `onchainos agent upload --file prompts/okx-ai/assets/okx-avatar-440.png` and use the+ returned OKX CDN URL as the profile picture in the identity-update flow+ (`.claude/skills/okx-agent-identity/references/update.md`); update agent #2632 in place+ (never re-create), human confirms the on-chain write.+3. Re-activate with `--preferred-language en-US` to re-enter review; capture before/after+ approval status here.++Since this rejection cited ONLY the avatar, resubmit with the avatar as the single delta+unless the WO-05 pre-submission sweep finds catalog drift.diff --git a/prompts/okx-ai/assets/avatar.html b/prompts/okx-ai/assets/avatar.htmlnew file mode 100644index 000000000..73de76e63--- /dev/null+++ b/prompts/okx-ai/assets/avatar.html@@ -0,0 +1,113 @@+<!doctype html>+<html>+<head>+<meta charset="utf-8">+<!-- Agent #2632 "three.ws 3D Studio" OKX.AI listing avatar.+ Composition source. Rendered to okx-avatar-440.png by render-avatar.mjs+ (Playwright at 3x, downsampled to exactly 440x440, square corners, no alpha).+ OKX avatar spec (rejection email 2026-07-17): 440x440 px, square corners,+ sharp at full size, style aligned with a software/service-type agent. -->+<style>+ @font-face {+ font-family: 'Space Grotesk';+ font-weight: 300 700;+ src: url('../../../public/fonts/space-grotesk-latin.woff2') format('woff2');+ }+ @font-face {+ font-family: 'JetBrains Mono';+ font-weight: 400;+ src: url('../../../public/fonts/jetbrains-mono-latin.woff2') format('woff2');+ }+ * { margin: 0; padding: 0; box-sizing: border-box; }+ html, body { width: 440px; height: 440px; overflow: hidden; }+ .canvas {+ position: relative;+ width: 440px;+ height: 440px;+ background: #0a0d14;+ overflow: hidden;+ }+ .glow-a, .glow-b {+ position: absolute;+ width: 420px;+ height: 420px;+ border-radius: 50%;+ filter: blur(70px);+ }+ .glow-a {+ left: -120px; top: -140px;+ background: radial-gradient(circle, rgba(139,92,246,0.34) 0%, rgba(139,92,246,0) 68%);+ }+ .glow-b {+ right: -140px; bottom: -160px;+ background: radial-gradient(circle, rgba(34,211,238,0.26) 0%, rgba(34,211,238,0) 68%);+ }+ .grid {+ position: absolute; inset: 0;+ background-image:+ linear-gradient(rgba(148,163,184,0.055) 1px, transparent 1px),+ linear-gradient(90deg, rgba(148,163,184,0.055) 1px, transparent 1px);+ background-size: 44px 44px;+ background-position: 22px 22px;+ -webkit-mask-image: radial-gradient(circle at 50% 42%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.25) 62%, rgba(0,0,0,0) 92%);+ mask-image: radial-gradient(circle at 50% 42%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.25) 62%, rgba(0,0,0,0) 92%);+ }+ .eyebrow {+ position: absolute;+ top: 24px; left: 26px;+ font-family: 'JetBrains Mono', monospace;+ font-size: 15px;+ letter-spacing: 0.06em;+ color: #67e8f9;+ }+ .corner-meta {+ position: absolute;+ top: 26px; right: 26px;+ font-family: 'JetBrains Mono', monospace;+ font-size: 12px;+ letter-spacing: 0.08em;+ color: rgba(226,232,240,0.42);+ }+ .cube {+ position: absolute;+ left: 50%; top: 178px;+ transform: translate(-50%, -50%);+ width: 236px; height: 236px;+ filter: drop-shadow(0 18px 44px rgba(139,92,246,0.35));+ }+ .title {+ position: absolute;+ left: 0; right: 0;+ top: 316px;+ text-align: center;+ font-family: 'Space Grotesk', sans-serif;+ font-weight: 700;+ font-size: 47px;+ letter-spacing: 0.045em;+ color: #f4f6fb;+ }+ .services {+ position: absolute;+ left: 0; right: 0;+ top: 384px;+ text-align: center;+ font-family: 'JetBrains Mono', monospace;+ font-size: 12.5px;+ letter-spacing: 0.22em;+ color: rgba(148,163,184,0.78);+ }+</style>+</head>+<body>+ <div class="canvas">+ <div class="glow-a"></div>+ <div class="glow-b"></div>+ <div class="grid"></div>+ <div class="eyebrow">// three.ws</div>+ <div class="corner-meta">#2632</div>+ <img class="cube" src="../../../public/favicon.svg" alt="">+ <div class="title">3D STUDIO</div>+ <div class="services">FORGE·RIG·RENDER</div>+ </div>+</body>+</html>diff --git a/prompts/okx-ai/assets/okx-avatar-440.png b/prompts/okx-ai/assets/okx-avatar-440.pngnew file mode 100644index 000000000..ec4d76108Binary files /dev/null and b/prompts/okx-ai/assets/okx-avatar-440.png differdiff --git a/prompts/okx-ai/assets/render-avatar.mjs b/prompts/okx-ai/assets/render-avatar.mjsnew file mode 100644index 000000000..95cc588a0--- /dev/null+++ b/prompts/okx-ai/assets/render-avatar.mjs@@ -0,0 +1,32 @@+// Renders avatar.html to okx-avatar-440.png: the OKX.AI listing avatar for+// agent #2632 "three.ws 3D Studio".+// OKX spec (rejection email 2026-07-17): exactly 440x440 px, square corners,+// sharp and polished. Renders at 3x device scale, downsamples with lanczos3,+// flattens to opaque RGB so no alpha edge survives.+// Run from the repo root: node prompts/okx-ai/assets/render-avatar.mjs+import { chromium } from 'playwright';+import sharp from 'sharp';+import { fileURLToPath } from 'node:url';+import path from 'node:path';++const dir = path.dirname(fileURLToPath(import.meta.url));+const out = path.join(dir, 'okx-avatar-440.png');++const browser = await chromium.launch();+const page = await browser.newPage({ viewport: { width: 440, height: 440 }, deviceScaleFactor: 3 });+await page.goto('file://' + path.join(dir, 'avatar.html'));+await page.evaluate(() => document.fonts.ready);+await page.waitForTimeout(300);+const big = await page.screenshot({ type: 'png' });+await browser.close();++await sharp(big)+ .resize(440, 440, { kernel: 'lanczos3' })+ .flatten({ background: '#0a0d14' })+ .png({ compressionLevel: 9 })+ .toFile(out);++const meta = await sharp(out).metadata();+if (meta.width !== 440 || meta.height !== 440) throw new Error(`bad dimensions ${meta.width}x${meta.height}`);+if (meta.hasAlpha) throw new Error('output must be opaque');+console.log(`wrote ${out} (${meta.width}x${meta.height}, ${meta.channels} channels)`);