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.

Add bare-avatar embed example

nirholas0ddc49bdcfe2
diff --git a/examples/bare-avatar.html b/examples/bare-avatar.html
new file mode 100644
index 000000000..da8e9a761
--- /dev/null
+++ b/examples/bare-avatar.html
@@ -0,0 +1,31 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <title>Bare avatar — three.ws</title>
+ <style>
+ /* Checkerboard so a transparent agent background is visibly transparent. */
+ body {
+ margin: 0;
+ min-height: 100vh;
+ display: grid;
+ place-items: center;
+ background-color: #fff;
+ background-image:
+ linear-gradient(45deg, #d6d6d6 25%, transparent 25%),
+ linear-gradient(-45deg, #d6d6d6 25%, transparent 25%),
+ linear-gradient(45deg, transparent 75%, #d6d6d6 75%),
+ linear-gradient(-45deg, transparent 75%, #d6d6d6 75%);
+ background-size: 28px 28px;
+ background-position: 0 0, 0 14px, 14px -14px, -14px 0;
+ }
+ </style>
+ </head>
+ <body>
+ <!-- JUST the avatar. kiosk = no chat/input/debug GUI; name-plate=off = no label; transparent by default. -->
+ <agent-3d kiosk name-plate="off" body="/avatars/cz.glb" width="420px" height="560px"></agent-3d>
+
+ <script type="module" src="../src/element.js"></script>
+ </body>
+</html>