DEVELOPER DOCUMENTATION

SDK & Embed Specifications

Learn how to embed, customize, and handle Web3 events for 3D AI Agents on Robinhood Chain EVM.

1. Basic HTML Tag

Paste this single tag anywhere before the closing </body> tag on your HTML website.

<script src="https://three.ws/agent.js" data-agent-id="YOUR_AGENT_ID"></script>

2. React / Next.js Component

Import the React component for seamless client-side hydration and state listeners.

import { ThreeAgent } from '@three-ws/react';

<ThreeAgent id="rh_yield_89" chainId={42161} />