Ami agent provider for React Grab. This is a client-only provider that connects directly to [ami.dev](https://ami.dev).
Ami agent provider for React Grab. This is a client-only provider that connects directly to ami.dev.
``bash`
npm install @react-grab/amior
pnpm add @react-grab/amior
bun add @react-grab/amior
yarn add @react-grab/ami
`html`
Using the Script component in your app/layout.tsx:
`jsx
import Script from "next/script";
export default function RootLayout({ children }) {
return (
$3
`tsx
import { attachAgent } from "@react-grab/ami/client";attachAgent();
`How It Works
`
┌─────────────────┐ HTTPS ┌─────────────────┐
│ │ │ │
│ React Grab │ ──────────────► │ ami.dev │
│ (Browser) │ ◄────────────── │ (Cloud) │
│ │ │ │
└─────────────────┘ └─────────────────┘
Client Agent
``1. React Grab sends the selected element context directly to ami.dev
2. Ami processes the request using the configured AI model
3. Ami streams status updates back to the client
Note: No local server required - Ami runs entirely in the cloud.