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
/* The campus HUD. Same language as the classic site: near-black, hairlines,
* Space Grotesk for display, JetBrains Mono for keys and numbers, violet accent. */
.wd {
position: fixed;
inset: 0;
z-index: 900;
background: #050505;
color: #fff;
font: 14px/1.4 'Inter', system-ui, sans-serif;
--wd-violet: #c4b5fd;
--wd-line: rgba(255, 255, 255, 0.08);
--wd-glass: rgba(10, 10, 12, 0.72);
}
.wd[hidden] {
display: none;
}
.in-world #os {
visibility: hidden;
}
.wd-canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
display: block;
touch-action: none;
outline: none;
}
.wd-hud {
position: absolute;
inset: 0;
pointer-events: none;
}
.wd-hud > * {
pointer-events: auto;
}
.wd.is-xr .wd-hud {
display: none;
}
/* ---- top bar ---- */
.wd-top {
position: absolute;
top: 0;
left: 0;
right: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px 16px;
padding-top: max(14px, env(safe-area-inset-top));
pointer-events: none;
}
.wd-top > * {
pointer-events: auto;
}
.wd-brand {
display: flex;
align-items: baseline;
gap: 10px;
padding: 8px 14px;
border: 1px solid var(--wd-line);
border-radius: 999px;
background: var(--wd-glass);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
font-family: 'Space Grotesk', 'Inter', sans-serif;
}
.wd-brand b {
font-weight: 600;
letter-spacing: -0.01em;
}
.wd-where {
color: rgba(255, 255, 255, 0.6);
font-size: 13px;
}
.wd-tools {
display: flex;
gap: 6px;
}
.wd-tool {
display: inline-flex;
align-items: center;
gap: 6px;
height: 36px;
padding: 0 12px;
border: 1px solid var(--wd-line);
border-radius: 999px;
background: var(--wd-glass);
color: #fff;
font: 500 13px/1 'Inter', system-ui, sans-serif;
cursor: pointer;
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
transition: background var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast);
}
.wd-tool:hover {
background: rgba(255, 255, 255, 0.08);
border-color: rgba(255, 255, 255, 0.18);
}
.wd-tool:active {
transform: scale(0.97);
}
.wd-tool:focus-visible,
.wd-place:focus-visible,
.wd-x:focus-visible,
.wd-phone-x:focus-visible,
.wd-digbtn:focus-visible {
outline: 2px solid var(--wd-violet);
outline-offset: 2px;
}
.wd-tool svg {
width: 18px;
height: 18px;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
stroke-linejoin: round;
}
.wd-gems-pts {
font-family: 'JetBrains Mono', ui-monospace, monospace;
color: var(--wd-violet);
}
/* ---- prompt ---- */
.wd-prompt {
position: absolute;
left: 50%;
bottom: 108px;
transform: translateX(-50%);
display: grid;
grid-template-columns: auto 1fr;
gap: 4px 12px;
align-items: center;
min-width: 260px;
max-width: min(92vw, 420px);
padding: 10px 14px;
border: 1px solid var(--wd-line);
border-radius: 14px;
background: var(--wd-glass);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
animation: wd-rise 0.22s ease-out;
}
.wd-prompt[hidden] {
display: none;
}
@keyframes wd-rise {
from {
opacity: 0;
transform: translate(-50%, 8px);
}
}
.wd-key {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 30px;
height: 30px;
padding: 0 8px;
border: 1px solid rgba(255, 255, 255, 0.22);
border-bottom-width: 3px;
border-radius: 8px;
background: #111;
font: 600 12px 'JetBrains Mono', ui-monospace, monospace;
color: var(--wd-violet);
white-space: nowrap;
}
.wd-prompt-text {
display: flex;
flex-direction: column;
min-width: 0;
}
.wd-prompt-text b {
font-family: 'Space Grotesk', 'Inter', sans-serif;
font-weight: 600;
font-size: 15px;
}
.wd-prompt-text span {
color: rgba(255, 255, 255, 0.6);
font-size: 12.5px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.wd-dig {
grid-column: 1 / -1;
height: 4px;
border-radius: 2px;
background: rgba(255, 255, 255, 0.1);
overflow: hidden;
}
.wd-dig[hidden] {
display: none;
}
.wd-dig i {
display: block;
height: 100%;
width: 0;
background: linear-gradient(90deg, #8b5cf6, var(--wd-violet));
}
.wd-digbtn {
position: absolute;
right: 24px;
bottom: 120px;
width: 84px;
height: 84px;
border: 1px solid rgba(196, 181, 253, 0.5);
border-radius: 50%;
background: rgba(139, 92, 246, 0.25);
color: #fff;
font: 600 13px 'Inter', system-ui, sans-serif;
touch-action: none;
user-select: none;
-webkit-user-select: none;
}
.wd-digbtn[hidden] {
display: none;
}
.wd-digbtn:active {
background: rgba(139, 92, 246, 0.5);
}
/* ---- places strip ---- */
.wd-places {
position: absolute;
left: 50%;
bottom: 0;
transform: translateX(-50%);
display: flex;
gap: 6px;
max-width: 100vw;
padding: 10px 16px;
padding-bottom: max(14px, env(safe-area-inset-bottom));
overflow-x: auto;
scrollbar-width: none;
}
.wd-places::-webkit-scrollbar {
display: none;
}
.wd-place {
flex: 0 0 auto;
display: inline-flex;
align-items: center;
gap: 8px;
height: 34px;
padding: 0 12px 0 10px;
border: 1px solid var(--wd-line);
border-radius: 999px;
background: var(--wd-glass);
color: rgba(255, 255, 255, 0.82);
font: 500 12.5px/1 'Inter', system-ui, sans-serif;
white-space: nowrap;
cursor: pointer;
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
transition: background var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast);
}
.wd-place:hover {
color: #fff;
background: rgba(255, 255, 255, 0.08);
border-color: rgba(255, 255, 255, 0.18);
}
.wd-place:active {
background: rgba(255, 255, 255, 0.12);
}
.wd-place i {
width: 8px;
height: 8px;
border-radius: 50%;
background: hsl(var(--h) 60% 62%);
box-shadow: 0 0 10px hsl(var(--h) 60% 62% / 0.8);
}
/* ---- touch stick ---- */
.wd-stick {
position: absolute;
top: 0;
left: 0;
width: 104px;
height: 104px;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 50%;
background: rgba(255, 255, 255, 0.05);
pointer-events: none;
}
.wd-stick[hidden] {
display: none;
}
.wd-stick i {
position: absolute;
left: 50%;
top: 50%;
width: 44px;
height: 44px;
margin: -22px 0 0 -22px;
border-radius: 50%;
background: rgba(196, 181, 253, 0.7);
}
/* ---- toasts ---- */
.wd-toasts {
position: absolute;
left: 50%;
top: 76px;
transform: translateX(-50%);
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
pointer-events: none;
}
.wd-toast {
--c: #c4b5fd;
padding: 8px 14px;
border: 1px solid color-mix(in srgb, var(--c) 50%, transparent);
border-radius: 999px;
background: var(--wd-glass);
color: #fff;
font: 600 13px 'Space Grotesk', 'Inter', sans-serif;
box-shadow: 0 0 24px color-mix(in srgb, var(--c) 35%, transparent);
animation: wd-toast 3.2s ease-out forwards;
}
@keyframes wd-toast {
0% {
opacity: 0;
transform: translateY(-6px);
}
10%,
80% {
opacity: 1;
transform: none;
}
100% {
opacity: 0;
transform: translateY(-6px);
}
}
/* ---- gem panel ---- */
.wd-gempanel {
position: absolute;
top: 64px;
right: 16px;
width: min(320px, calc(100vw - 32px));
border: 1px solid var(--wd-line);
border-radius: 16px;
background: rgba(10, 10, 12, 0.9);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
animation: wd-rise 0.2s ease-out;
}
.wd-gempanel[hidden] {
display: none;
}
.wd-gempanel header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 10px 10px 16px;
border-bottom: 1px solid var(--wd-line);
font-family: 'Space Grotesk', 'Inter', sans-serif;
}
.wd-x {
display: inline-grid;
place-items: center;
width: 30px;
height: 30px;
border: 0;
border-radius: 8px;
background: transparent;
color: rgba(255, 255, 255, 0.7);
cursor: pointer;
}
.wd-x:hover {
background: rgba(255, 255, 255, 0.08);
color: #fff;
}
.wd-x svg {
width: 16px;
height: 16px;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
}
.wd-gemlist {
list-style: none;
margin: 0;
padding: 8px 0;
}
.wd-gemlist li {
display: grid;
grid-template-columns: 14px 1fr auto auto;
align-items: center;
gap: 10px;
padding: 6px 16px;
}
.wd-gemlist li.is-empty {
opacity: 0.45;
}
.wd-gemlist i {
width: 10px;
height: 10px;
transform: rotate(45deg);
background: var(--c);
box-shadow: 0 0 10px var(--c);
}
.wd-gemlist small {
color: rgba(255, 255, 255, 0.5);
font-family: 'JetBrains Mono', ui-monospace, monospace;
font-size: 11px;
}
.wd-gemlist b {
min-width: 2ch;
text-align: right;
font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.wd-gemfoot {
margin: 0;
padding: 10px 16px 14px;
border-top: 1px solid var(--wd-line);
color: rgba(255, 255, 255, 0.6);
font-size: 12.5px;
}
/* ---- phone ---- */
.wd-phone {
position: absolute;
inset: 0;
z-index: 2;
display: grid;
place-items: center;
background: rgba(0, 0, 0, 0.55);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
animation: wd-fadein 0.25s ease-out;
}
.wd-phone[hidden] {
display: none;
}
@keyframes wd-fadein {
from {
opacity: 0;
}
}
.wd-phone-frame {
position: relative;
width: min(400px, 94vw);
height: min(820px, 92vh);
padding: 14px;
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 44px;
background: #0b0b0e;
box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), inset 0 0 0 2px #1a1a20;
animation: wd-lift 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes wd-lift {
from {
transform: translateY(40px) scale(0.96);
opacity: 0;
}
}
.wd-phone-frame iframe {
width: 100%;
height: 100%;
border: 0;
border-radius: 32px;
background: #000;
}
.wd-phone-x {
position: absolute;
top: -14px;
right: -14px;
display: grid;
place-items: center;
width: 40px;
height: 40px;
border: 1px solid var(--wd-line);
border-radius: 50%;
background: #15151a;
color: #fff;
cursor: pointer;
}
.wd-phone-x svg {
width: 18px;
height: 18px;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
}
.wd-phone-x:hover {
background: #222228;
}
/* ---- fade ---- */
.wd-fade {
position: absolute;
inset: 0;
z-index: 3;
display: grid;
place-items: center;
background: #050505;
opacity: 0;
pointer-events: none;
transition: opacity var(--duration-slow) var(--ease-standard);
}
.wd-fade.is-on {
opacity: 1;
pointer-events: auto;
}
.wd-fade-cap {
margin: 0;
font: 500 15px 'Space Grotesk', 'Inter', sans-serif;
color: rgba(255, 255, 255, 0.7);
letter-spacing: 0.02em;
}
/* ---- the agents: name tags and speech bubbles projected over their heads ---- */
.wd-tags {
position: absolute;
inset: 0;
overflow: hidden;
pointer-events: none;
}
.wd-tag {
position: absolute;
left: 0;
top: 0;
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
padding: 0;
border: 0;
background: none;
color: #fff;
pointer-events: auto;
cursor: pointer;
will-change: transform;
transition: opacity var(--duration-base);
}
.wd-tag[hidden] {
display: none;
}
.wd-tag.is-far {
opacity: 0.55;
}
.wd-tag b {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
border: 1px solid var(--wd-line);
border-radius: 999px;
background: var(--wd-glass);
font: 600 12px/1.2 'Space Grotesk', 'Inter', sans-serif;
letter-spacing: 0.01em;
white-space: nowrap;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
transition: border-color var(--duration-fast), background var(--duration-fast), transform var(--duration-fast);
}
.wd-tag:hover b,
.wd-tag:focus-visible b {
border-color: rgba(196, 181, 253, 0.6);
background: rgba(196, 181, 253, 0.14);
}
.wd-tag:active b {
transform: scale(0.97);
}
.wd-tag:focus-visible {
outline: none;
}
.wd-tag.is-near b {
border-color: rgba(196, 181, 253, 0.5);
box-shadow: 0 0 18px rgba(196, 181, 253, 0.25);
}
.wd-tag-reg {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--success, #4ade80);
box-shadow: 0 0 8px var(--success, #4ade80);
}
.wd-bubble {
order: -1;
max-width: min(260px, 60vw);
padding: 8px 12px;
border: 1px solid rgba(196, 181, 253, 0.4);
border-radius: 14px 14px 14px 4px;
background: rgba(14, 12, 24, 0.92);
color: #fff;
font: 400 13px/1.4 'Inter', system-ui, sans-serif;
text-align: left;
animation: wd-rise 0.2s ease-out;
}
.wd-bubble[hidden] {
display: none;
}
/* ---- the conversation panel ---- */
.wd-talk {
position: absolute;
top: 64px;
right: 16px;
display: flex;
flex-direction: column;
width: min(360px, calc(100vw - 32px));
max-height: calc(100vh - 160px);
border: 1px solid var(--wd-line);
border-radius: 16px;
background: rgba(10, 10, 12, 0.92);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
animation: wd-rise 0.2s ease-out;
}
.wd-talk[hidden] {
display: none;
}
.wd-talk header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 10px 10px 10px 12px;
border-bottom: 1px solid var(--wd-line);
}
.wd-talk-who {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
}
.wd-talk-who > div {
min-width: 0;
}
.wd-talk-thumb {
flex: none;
width: 36px;
height: 36px;
border-radius: 10px;
background: #1a1826 center/cover no-repeat;
border: 1px solid var(--wd-line);
}
.wd-talk-thumb.is-blank {
background-image: linear-gradient(135deg, #2a2440, #16141f);
}
.wd-talk-name {
display: block;
overflow: hidden;
font: 600 14px/1.2 'Space Grotesk', 'Inter', sans-serif;
text-overflow: ellipsis;
white-space: nowrap;
}
.wd-talk-meta {
display: block;
overflow: hidden;
color: rgba(255, 255, 255, 0.55);
font-size: 12px;
text-overflow: ellipsis;
white-space: nowrap;
}
.wd-talk-head-actions {
display: flex;
gap: 2px;
}
.wd-talk-voice.is-on {
color: var(--wd-violet);
background: rgba(196, 181, 253, 0.12);
}
.wd-talk-voice svg {
fill: none;
stroke: currentColor;
stroke-width: 1.8;
}
.wd-talk-about {
margin: 0;
padding: 10px 14px;
color: rgba(255, 255, 255, 0.72);
font-size: 13px;
line-height: 1.45;
border-bottom: 1px solid var(--wd-line);
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
}
.wd-talk-log {
flex: 1 1 auto;
min-height: 48px;
max-height: 38vh;
margin: 0;
padding: 10px 12px;
overflow-y: auto;
list-style: none;
display: flex;
flex-direction: column;
gap: 8px;
scroll-behavior: smooth;
}
.wd-talk-log li {
max-width: 88%;
padding: 8px 12px;
border-radius: 14px;
font-size: 13px;
line-height: 1.45;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.wd-talk-you {
align-self: flex-end;
background: rgba(196, 181, 253, 0.16);
border: 1px solid rgba(196, 181, 253, 0.35);
border-bottom-right-radius: 4px;
}
.wd-talk-them {
align-self: flex-start;
background: rgba(255, 255, 255, 0.06);
border: 1px solid var(--wd-line);
border-bottom-left-radius: 4px;
}
.wd-talk-them.is-thinking {
min-width: 52px;
min-height: 32px;
background:
radial-gradient(circle, rgba(255, 255, 255, 0.7) 2.5px, transparent 3px) 14px 50% / 10px 10px no-repeat,
radial-gradient(circle, rgba(255, 255, 255, 0.7) 2.5px, transparent 3px) 26px 50% / 10px 10px no-repeat,
radial-gradient(circle, rgba(255, 255, 255, 0.7) 2.5px, transparent 3px) 38px 50% / 10px 10px no-repeat,
rgba(255, 255, 255, 0.06);
animation: wd-think 1s steps(3) infinite;
}
@keyframes wd-think {
to {
background-position: 14px -40%, 26px -40%, 38px -40%, 0 0;
}
}
.wd-talk-note {
align-self: stretch;
max-width: none;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
color: rgba(255, 255, 255, 0.75);
font-size: 12px;
}
.wd-talk-note.is-error {
border: 1px solid rgba(248, 113, 113, 0.35);
background: rgba(248, 113, 113, 0.08);
}
.wd-talk-form {
display: flex;
gap: 6px;
padding: 8px 10px;
border-top: 1px solid var(--wd-line);
}
.wd-talk-input {
flex: 1 1 auto;
min-width: 0;
height: 38px;
padding: 0 12px;
border: 1px solid var(--wd-line);
border-radius: 10px;
background: rgba(255, 255, 255, 0.05);
color: #fff;
font: 14px 'Inter', system-ui, sans-serif;
transition: border-color var(--duration-fast), background var(--duration-fast);
}
.wd-talk-input::placeholder {
color: rgba(255, 255, 255, 0.4);
}
.wd-talk-input:hover {
border-color: rgba(255, 255, 255, 0.18);
}
.wd-talk-input:focus-visible {
outline: none;
border-color: var(--wd-violet);
background: rgba(196, 181, 253, 0.06);
}
.wd-talk-send {
display: inline-grid;
place-items: center;
width: 38px;
height: 38px;
border: 1px solid rgba(196, 181, 253, 0.5);
border-radius: 10px;
background: rgba(196, 181, 253, 0.16);
color: #fff;
cursor: pointer;
transition: background var(--duration-fast), transform var(--duration-fast), opacity var(--duration-fast);
}
.wd-talk-send svg {
width: 16px;
height: 16px;
fill: none;
stroke: currentColor;
stroke-width: 2;
}
.wd-talk-send:hover {
background: rgba(196, 181, 253, 0.28);
}
.wd-talk-send:active {
transform: scale(0.95);
}
.wd-talk-send:disabled {
opacity: 0.45;
cursor: progress;
}
.wd-talk-foot {
display: flex;
gap: 6px;
padding: 0 10px 10px;
}
.wd-talk-btn {
display: inline-flex;
align-items: center;
gap: 6px;
height: 32px;
padding: 0 11px;
border: 1px solid var(--wd-line);
border-radius: 999px;
background: rgba(255, 255, 255, 0.04);
color: #fff;
font: 500 12px/1 'Inter', system-ui, sans-serif;
cursor: pointer;
white-space: nowrap;
transition: background var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast);
}
.wd-talk-btn svg {
width: 14px;
height: 14px;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
}
.wd-talk-btn:hover {
background: rgba(255, 255, 255, 0.09);
border-color: rgba(255, 255, 255, 0.18);
}
.wd-talk-btn:active {
transform: scale(0.97);
}
.wd-talk-embed[aria-expanded='true'] {
border-color: rgba(196, 181, 253, 0.5);
background: rgba(196, 181, 253, 0.12);
}
.wd-talk-snippet {
padding: 0 10px 10px;
animation: wd-rise 0.2s ease-out;
}
.wd-talk-snippet[hidden] {
display: none;
}
.wd-talk-snippet p {
margin: 0 0 8px;
padding: 0 4px;
color: rgba(255, 255, 255, 0.65);
font-size: 12px;
line-height: 1.45;
}
.wd-talk-snippet pre {
margin: 0 0 8px;
padding: 10px 12px;
border: 1px solid var(--wd-line);
border-radius: 10px;
background: #09090c;
color: #d6d3e7;
font: 11.5px/1.5 'JetBrains Mono', ui-monospace, monospace;
white-space: pre-wrap;
overflow-wrap: anywhere;
user-select: all;
}
.wd-talk-snippet pre:focus-visible {
outline: 2px solid var(--wd-violet);
outline-offset: 1px;
}
.wd-talk-send:focus-visible,
.wd-talk-btn:focus-visible,
.wd-talk-voice:focus-visible,
.wd-talk-close:focus-visible {
outline: 2px solid var(--wd-violet);
outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
.wd-fade {
transition: none;
}
.wd-prompt,
.wd-gempanel,
.wd-talk,
.wd-talk-snippet,
.wd-bubble,
.wd-phone,
.wd-phone-frame {
animation: none;
}
.wd-talk-them.is-thinking {
animation: none;
}
}
@media (max-width: 640px) {
.wd-tool span {
display: none;
}
.wd-tool .wd-gems-pts {
display: inline;
}
.wd-prompt {
bottom: 72px;
min-width: 0;
width: calc(100vw - 32px);
}
.wd-digbtn {
bottom: 150px;
}
.wd-talk {
top: auto;
right: 8px;
left: 8px;
bottom: 8px;
width: auto;
max-height: 72vh;
padding-bottom: env(safe-area-inset-bottom);
}
.wd-talk-log {
max-height: 30vh;
}
.wd-talk-about {
-webkit-line-clamp: 2;
}
.wd-talk-foot {
flex-wrap: wrap;
}
.wd-bubble {
max-width: 70vw;
}
}