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.

fix(agent-starter): size the stage avatar from the stylesheet instead of an inline style

nirholas649ac4cfc2f7
diff --git a/satellites/agent-starter/index.html b/satellites/agent-starter/index.html
index 8527c9158..c02ccaa72 100644
--- a/satellites/agent-starter/index.html
+++ b/satellites/agent-starter/index.html
@@ -53,7 +53,6 @@
name="Nova"
camera="fullbody"
background="transparent"
- style="width: 100%; height: 100%"
></agent-3d>
<p class="stage-caption">One script. One element. A full 3D character.</p>
</section>
diff --git a/satellites/agent-starter/styles.css b/satellites/agent-starter/styles.css
index d9db14cba..7f00d927e 100644
--- a/satellites/agent-starter/styles.css
+++ b/satellites/agent-starter/styles.css
@@ -163,6 +163,8 @@ nav a {
.stage {
position: relative;
+ display: flex;
+ flex-direction: column;
height: min(74vh, 680px);
min-height: 480px;
overflow: hidden;
@@ -172,18 +174,25 @@ nav a {
box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.42);
}
+.stage agent-3d {
+ display: block;
+ flex: 1;
+ width: 100%;
+ min-height: 0;
+}
+
.live-pill,
.stage-caption {
- position: absolute;
z-index: 2;
- left: 1.25rem;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(9, 9, 15, 0.72);
backdrop-filter: blur(14px);
}
.live-pill {
+ position: absolute;
top: 1.25rem;
+ left: 1.25rem;
display: flex;
gap: 0.55rem;
align-items: center;
@@ -202,9 +211,8 @@ nav a {
}
.stage-caption {
- right: 1.25rem;
- bottom: 1.25rem;
- margin: 0;
+ flex: none;
+ margin: 0 1.25rem 1.25rem;
padding: 0.8rem 1rem;
border-radius: 0.9rem;
color: #d0ceda;