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(glance): render the card element and its stylesheet in the widget host

nirholas3f8677ce7bdc
diff --git a/api/_lib/glance-card.js b/api/_lib/glance-card.js
index 59bff5331..e66611e6f 100644
--- a/api/_lib/glance-card.js
+++ b/api/_lib/glance-card.js
@@ -131,7 +131,11 @@ export function buildGlanceCard({ agent, activity = {}, last = null, now = new D
stats: [
{ label: 'This week', value: week },
{ label: 'All time', value: total },
- { label: 'Skills', value: skills },
+ // Skills only when the agent actually has some: a flat "Skills 0" tells
+ // the owner nothing, while "Days live" is true of every agent.
+ skills > 0
+ ? { label: 'Skills', value: skills }
+ : { label: 'Days live', value: createdAt ? Math.max(0, Math.floor((now - createdAt) / 86_400_000)) : 0 },
],
lastAction: lastAt
? {