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: enlarge avatar to portrait ratio and enable walk in kiosk mode

nirholas6b70738f37d4
diff --git a/chat/src/App.svelte b/chat/src/App.svelte
index 3cb4d4fac..b0cbccdb0 100644
--- a/chat/src/App.svelte
+++ b/chat/src/App.svelte
@@ -2396,12 +2396,12 @@
bind:this={agentEl}
agent-id={effectiveAgentId}
mode="inline"
- width="220"
- height="220"
+ width="300"
+ height="460"
background="transparent"
kiosk
name-plate="off"
- style="width:220px;height:220px; cursor: grab;"
+ style="width:300px;height:460px; cursor: grab;"
></agent-3d>
{:else if $talkingHeadEnabled && agentVisible}
<div style="cursor: grab;">
diff --git a/src/element.js b/src/element.js
index 25f3ffb21..795a14910 100644
--- a/src/element.js
+++ b/src/element.js
@@ -770,7 +770,7 @@ class Agent3DElement extends HTMLElement {
this._micEl.title =
state === 'idle' || !state ? 'Push to talk' : 'Voice active — click to stop';
- if (this.getAttribute('avatar-chat') !== 'off' && !this.hasAttribute('kiosk')) {
+ if (this.getAttribute('avatar-chat') !== 'off') {
if (state === 'speaking' || state === 'thinking') {
this._onStreamChunk();
} else if (state === 'idle') {
@@ -1488,7 +1488,6 @@ class Agent3DElement extends HTMLElement {
// Walk during notification: enter frame (450ms) + message duration + exit frame (380ms)
const _notifyWalkHandler = ({ payload }) => {
if (this.getAttribute('avatar-chat') === 'off') return;
- if (this.hasAttribute('kiosk')) return;
const duration = payload?.duration ?? 6000;
this._onStreamChunk();
clearTimeout(this._walkStopDebounce);
@@ -1502,7 +1501,6 @@ class Agent3DElement extends HTMLElement {
const _speakWalkHandler = () => {
if (this.getAttribute('avatar-chat') === 'off') return;
- if (this.hasAttribute('kiosk')) return;
this._onStreamChunk();
};
protocol.on(ACTION_TYPES.SPEAK, _speakWalkHandler);
@@ -1852,7 +1850,6 @@ class Agent3DElement extends HTMLElement {
// Walk animation: debounced — keeps walking as long as chunks arrive within 600ms of each other.
_onStreamChunk() {
if (!this._scene || this.getAttribute('avatar-walk') === 'off') return;
- if (this.hasAttribute('kiosk')) return;
const prefersReduced = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
if (!this._isWalking && !prefersReduced) {
this._isWalking = true;