Installation
Choose your preferred installation method:- Script Tag
- React SDK
Add the script before
</body>:The agent’s display name comes from your dashboard settings, not from the script tag.After the script loads, use
window.argide() to pass functions and objects:Find Your Product ID
- In the dashboard, open Deploy → Install
- Copy your Product ID
User Identity
There are two ways to tell the agent who the user is. Pick based on what you need.
Attributes — pass the user on the script tag, or with the
update command in a single-page app:
Client-Side Tools
Register tools the agent can call. The return value from your handler is sent back to the agent, so it can confirm success or handle errors intelligently. See Client-Side Tools for full setup.- Script Tag
- React SDK
Tool Result Callbacks
React to server-side tool completions — refresh data, show a diff UI, dispatch events, etc.- Script Tag
- React SDK
Tool Renderers
Render custom visuals inline in the chat when a tool completes — data cards, tables, charts, and more. Your renderer receives{ result, status } and returns one of:
- Script Tag
- React SDK

