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(App): update agent animation to play 'walk' during generation

nirholase8dd1b24e645
diff --git a/chat/src/App.svelte b/chat/src/App.svelte
index 3137c1ecc..ce8757a67 100644
--- a/chat/src/App.svelte
+++ b/chat/src/App.svelte
@@ -1569,7 +1569,7 @@
$: if (agentEl && !agentReady) {
agentEl.addEventListener('agent:ready', () => {
agentReady = true;
- agentEl.play('idle', { loop: true }).catch(() => {});
+ agentEl.play(generating ? 'walk' : 'idle', { loop: true }).catch(() => {});
if (agentPendingSpeak) {
agentEl.speak(agentPendingSpeak);
agentPendingSpeak = null;
@@ -1577,6 +1577,14 @@
}, { once: true });
}
+ $: if (agentEl && agentReady) {
+ if (generating) {
+ agentEl.play('walk', { loop: true }).catch(() => {});
+ } else {
+ agentEl.play('idle', { loop: true }).catch(() => {});
+ }
+ }
+
$: if (effectiveAgentId) {
agentReady = false;
agentPendingSpeak = null;