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(erc8004): make on-chain deploy actually persist + serve real agentURI

nirholas884d36c1a0b1
diff --git a/src/agent-home-orphans.js b/src/agent-home-orphans.js
index 7973a409e..07cfaea78 100644
--- a/src/agent-home-orphans.js
+++ b/src/agent-home-orphans.js
@@ -34,10 +34,16 @@ export async function mountOrphans({ agentId, identity, shareMount }) {
// Already on-chain: show pill (API doesn't store tx_hash, link to registry contract)
_renderSuccessChip(chipMount, rawAgent.chain_id, rawAgent.erc8004_registry);
} else {
- // Not yet deployed: mount the deploy button
+ // Not yet deployed: mount the deploy button. Pass through avatarId,
+ // description, and skills so register-prep can build a complete
+ // manifest pinned to IPFS — without these the on-chain agentURI
+ // would point to a stub.
const agentObj = {
id: rawAgent.id,
name: rawAgent.name,
+ description: rawAgent.description || '',
+ avatarId: rawAgent.avatar_id || null,
+ skills: Array.isArray(rawAgent.skills) ? rawAgent.skills : [],
chainId: null,
txHash: null,
contractAddress: rawAgent.erc8004_registry || null,
diff --git a/vercel.json b/vercel.json
index b32d618ed..6eadbd9fc 100644
--- a/vercel.json
+++ b/vercel.json
@@ -175,7 +175,10 @@
{ "src": "/robots.txt", "dest": "/robots.txt" },
{ "src": "/sitemap.xml", "dest": "/sitemap.xml" },
{ "src": "/app", "dest": "/app.html" },
- { "src": "/features", "dest": "/features.html" },
+ { "src": "/features.html", "status": 301, "headers": { "Location": "/features" } },
+ { "src": "/features", "dest": "/features/index.html" },
+ { "src": "/features/", "dest": "/features/index.html" },
+ { "src": "/features/(.*)", "dest": "/features/$1" },
{ "src": "/create", "dest": "/create.html" },
{ "src": "/create/", "dest": "/create.html" },
{ "src": "/home", "dest": "/home.html" },