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.

719 B
Raw Blame

React component

Copy src/ArStudio.jsx into your app and install the two packages:

npm i 3d-ar-studio three
import ArStudio from './ArStudio';

export default function Page() {
	return (
		<ArStudio
			options={{ branding: { title: 'Acme AR' }, assets: 'https://your.cdn/models.json' }}
			onReady={(studio) => studio.on('add', ({ placement }) => console.log(placement.title))}
			style={{ height: '80vh' }}
		/>
	);
}

The component mounts the studio once and destroys it on unmount, which releases the camera stream and the WebGL context. Everything else is driven through the instance handed to onReady: addModel, clear, getScene, setScene, shareUrl, generate, openRoom.