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(agents): include is_owner flag in agent data to control access to owner-only actions

nirholas70735991ab5e
diff --git a/api/agents.js b/api/agents.js
index e77fbb468..2d723255b 100644
--- a/api/agents.js
+++ b/api/agents.js
@@ -489,6 +489,10 @@ function decorate(row, isOwner = true) {
token,
payments,
is_registered: Boolean(row.erc8004_agent_id) || !!onchain,
+ // Whether the requesting session owns this agent. Owner-only write paths
+ // (action log, memory sync) gate on this so public viewers don't fire
+ // requests the backend will reject with 403.
+ is_owner: !!isOwner,
created_at: row.created_at,
};
// Voice clone fields are public (voice_id is needed by the runtime to select TTS).