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
/* @three-ws/sdk — panel styles
Import this file once in your app: import '@three-ws/sdk/styles'
All classes are namespaced under .ak-* to avoid collisions.
*/
.ak-toggle {
position: fixed;
bottom: 24px;
left: 24px;
width: 48px;
height: 48px;
border-radius: 50%;
border: 1px solid rgba(255, 255, 255, 0.1);
background: rgba(10, 10, 10, 0.9);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
color: rgba(255, 255, 255, 0.6);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.25s ease;
z-index: 9999;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.ak-toggle:hover {
background: rgba(255, 255, 255, 0.08);
color: #fff;
border-color: rgba(255, 255, 255, 0.25);
transform: scale(1.05);
}
.ak-toggle.ak-active {
color: #fff;
border-color: rgba(255, 255, 255, 0.3);
}
.ak-panel {
position: fixed;
bottom: 84px;
left: 24px;
width: 320px;
max-height: 480px;
flex-direction: column;
background: rgba(10, 10, 10, 0.95);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
overflow: hidden;
z-index: 9999;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
font-size: 14px;
}
.ak-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 14px;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ak-title {
font-size: 13px;
font-weight: 500;
color: rgba(255, 255, 255, 0.8);
letter-spacing: 0.03em;
}
.ak-close {
background: none;
border: none;
color: rgba(255, 255, 255, 0.4);
font-size: 18px;
cursor: pointer;
padding: 0;
line-height: 1;
transition: color 0.2s ease;
}
.ak-close:hover {
color: #fff;
}
.ak-messages {
flex: 1;
overflow-y: auto;
padding: 8px;
display: flex;
flex-direction: column;
gap: 6px;
min-height: 200px;
max-height: 300px;
}
.ak-message {
font-size: 13px;
line-height: 1.5;
padding: 6px 10px;
border-radius: 12px;
max-width: 85%;
word-wrap: break-word;
}
.ak-message.ak-agent {
background: rgba(255, 255, 255, 0.06);
color: rgba(255, 255, 255, 0.7);
align-self: flex-start;
border-bottom-left-radius: 4px;
}
.ak-message.ak-user {
background: rgba(255, 255, 255, 0.12);
color: #fff;
align-self: flex-end;
border-bottom-right-radius: 4px;
}
.ak-controls {
display: flex;
gap: 6px;
padding: 8px;
border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ak-input {
flex: 1;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
padding: 6px 10px;
color: #fff;
font-family: inherit;
font-size: 13px;
outline: none;
transition: border-color 0.2s ease;
}
.ak-input::placeholder {
color: rgba(255, 255, 255, 0.25);
}
.ak-input:focus {
border-color: rgba(255, 255, 255, 0.2);
}
.ak-send {
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
color: rgba(255, 255, 255, 0.5);
cursor: pointer;
padding: 6px 10px;
display: flex;
align-items: center;
transition: all 0.2s ease;
}
.ak-send:hover {
background: rgba(255, 255, 255, 0.1);
color: #fff;
}
.ak-mic-row {
display: flex;
justify-content: center;
padding: 0 8px 8px;
}
.ak-mic {
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 50%;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
color: rgba(255, 255, 255, 0.35);
cursor: pointer;
transition: all 0.2s ease;
}
.ak-mic:hover {
background: rgba(255, 255, 255, 0.08);
color: rgba(255, 255, 255, 0.7);
}
.ak-mic.ak-active {
background: rgba(255, 80, 80, 0.15);
border-color: rgba(255, 80, 80, 0.3);
color: #ff5050;
}
@media (max-width: 480px) {
.ak-toggle {
bottom: 16px;
left: 16px;
width: 42px;
height: 42px;
}
.ak-panel {
bottom: 72px;
left: 8px;
right: 8px;
width: auto;
max-height: 60vh;
}
}