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
/* Menu bar panel. Same tokens as the console so the app reads as one product. */
:root {
--bg: #0d0d10;
--card: rgba(255, 255, 255, 0.045);
--card-hover: rgba(255, 255, 255, 0.08);
--line: rgba(255, 255, 255, 0.08);
--text: #e7e9ee;
--muted: rgba(231, 233, 238, 0.62);
--dim: rgba(231, 233, 238, 0.4);
--blue: #3b82f6;
--green: #22c55e;
--amber: #f59e0b;
--red: #ef4444;
--font: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
color-scheme: dark;
}
@media (prefers-color-scheme: light) {
:root {
--bg: #f5f5f7;
--card: rgba(0, 0, 0, 0.04);
--card-hover: rgba(0, 0, 0, 0.075);
--line: rgba(0, 0, 0, 0.09);
--text: #17171c;
--muted: rgba(23, 23, 28, 0.62);
--dim: rgba(23, 23, 28, 0.42);
color-scheme: light;
}
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 13px/1.4 var(--font); -webkit-font-smoothing: antialiased; overflow: hidden; user-select: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button, select, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.panel { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 14px; background: var(--bg); }
:root[data-vibrancy], :root[data-vibrancy] body { background: transparent; }
:root[data-vibrancy] .panel, :root[data-vibrancy] .signin { background: color-mix(in srgb, var(--bg) 82%, transparent); }
.panel[hidden], [hidden] { display: none !important; }
/* header */
.top { display: flex; align-items: center; gap: 8px; }
.picker { flex: 1; min-width: 0; }
.picker select { width: 100%; appearance: none; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 7px 28px 7px 10px; font-weight: 600; text-overflow: ellipsis; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%23999' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; background-size: 12px; }
.picker select:hover { background-color: var(--card-hover); }
.pill { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--card); color: var(--muted); white-space: nowrap; }
.pill[data-tone='ok'] { color: var(--green); background: rgba(34, 197, 94, 0.14); }
.pill[data-tone='warn'] { color: var(--amber); background: rgba(245, 158, 11, 0.14); }
.pill[data-tone='bad'] { color: var(--red); background: rgba(239, 68, 68, 0.12); }
.power { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: background 0.15s, transform 0.1s; }
.power svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.power:hover { background: var(--card-hover); }
.power:active { transform: scale(0.94); }
.power[aria-pressed='true'] svg { stroke: var(--green); }
.power[aria-pressed='true'] { border-color: rgba(34, 197, 94, 0.4); }
.power:disabled { opacity: 0.5; cursor: progress; }
/* stage */
.stage { position: relative; flex: none; height: 188px; border-radius: 14px; background: radial-gradient(120% 90% at 50% 100%, rgba(59, 130, 246, 0.16), transparent 70%), var(--card); border: 1px solid var(--line); overflow: hidden; }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; pointer-events: none; color-scheme: normal; }
.face { position: absolute; left: 12px; bottom: 10px; margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.face::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.face[data-tone='ok']::before { background: var(--green); }
.face[data-tone='warn']::before { background: var(--amber); animation: pulse 1.4s ease-in-out infinite; }
.face[data-tone='bad']::before { background: var(--red); }
@keyframes pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .face::before, .sk { animation: none !important; } }
/* numbers */
.numbers { display: flex; align-items: stretch; gap: 10px; }
.balance { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.num { font-size: 38px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.unit { font-size: 15px; color: var(--muted); font-weight: 600; }
.addr { flex-basis: 100%; text-align: left; background: none; border: 0; padding: 2px 0; font: 11px var(--mono); color: var(--dim); cursor: pointer; border-radius: 4px; }
.addr:hover { color: var(--text); }
.sk { display: inline-block; border-radius: 8px; background: linear-gradient(90deg, var(--card), var(--card-hover), var(--card)); background-size: 200% 100%; animation: sheen 1.3s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.switch-card { flex: none; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); cursor: pointer; align-self: center; height: 44px; }
.switch-card:hover { background: var(--card-hover); }
.switch-label { font-weight: 600; font-size: 12px; }
.switch-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.track { width: 40px; height: 22px; border-radius: 99px; background: rgba(255, 255, 255, 0.16); position: relative; transition: background 0.15s; }
.knob { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.15s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); }
.switch-card input:checked + .track { background: var(--green); }
.switch-card input:checked + .track .knob { transform: translateX(18px); }
.switch-card input:focus-visible + .track { outline: 2px solid var(--blue); outline-offset: 2px; }
/* approvals */
.approval { border-radius: 12px; border: 1px solid rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.1); padding: 10px 12px; display: grid; gap: 8px; }
.approval .row { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.approval b { font-size: 12px; display: block; }
.approval p { margin: 2px 0 0; color: var(--muted); font-size: 12px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.approval button { flex: none; }
/* tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { display: grid; gap: 2px; text-align: left; padding: 10px 11px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); cursor: pointer; min-width: 0; transition: background 0.15s, transform 0.1s; }
.tile:hover { background: var(--card-hover); }
.tile:active { transform: scale(0.98); }
.tile:disabled { opacity: 0.5; cursor: default; }
.tile .k { font-size: 11px; color: var(--muted); }
.tile .v { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile[data-tone='warn'] .v { color: var(--amber); }
.tile[data-tone='bad'] .v { color: var(--red); }
.tile[data-tone='ok'] .v { color: var(--green); }
/* ask */
.ask { display: flex; gap: 6px; margin-top: auto; }
.ask input { flex: 1; min-width: 0; user-select: text; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.ask input::placeholder { color: var(--dim); }
.ask input:focus { border-color: var(--blue); outline: none; }
.ask button { width: 38px; display: grid; place-items: center; border-radius: 10px; border: 0; background: var(--blue); cursor: pointer; }
.ask button svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ask button:hover { filter: brightness(1.12); }
.ask button:disabled { opacity: 0.45; cursor: default; }
.reply { max-height: 92px; overflow: auto; padding: 9px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 12.5px; user-select: text; white-space: pre-wrap; overflow-wrap: anywhere; }
.reply[data-state='error'] { border-color: rgba(239, 68, 68, 0.4); color: var(--red); }
.reply .who { display: block; font-size: 11px; color: var(--muted); margin-bottom: 2px; }
/* footer */
.foot { display: flex; justify-content: space-between; align-items: center; color: var(--dim); font-size: 11.5px; }
.sync { display: inline-flex; align-items: center; gap: 6px; }
.sync[data-busy='true']::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--dim); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.sync[data-error='true'] { color: var(--red); }
@keyframes spin { to { transform: rotate(360deg); } }
.link { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 3px 6px; border-radius: 6px; font-size: 11.5px; }
.link:hover { color: var(--text); background: var(--card); }
.btn, .primary { border: 0; border-radius: 8px; padding: 6px 12px; font-weight: 600; cursor: pointer; background: var(--amber); color: #1a1205; }
.btn:hover, .primary:hover { filter: brightness(1.08); }
.primary { background: var(--blue); color: #fff; padding: 9px 22px; border-radius: 10px; }
/* signed out */
.signin { display: grid; place-content: center; justify-items: center; gap: 10px; height: 100%; padding: 28px; text-align: center; background: var(--bg); }
.signin h1 { margin: 0; font-size: 18px; }
.signin p { margin: 0; color: var(--muted); max-width: 250px; }
.signin-mark { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), #7c3aed); }