@react-grab/amp
v0.0.94
Published
[Amp](https://ampcode.com) provider for React Grab.
Downloads
1,560
Readme
@react-grab/amp
Amp provider for React Grab.
Installation
npm install @react-grab/ampUsage
Server
The server runs on port 9567 and interfaces with the Amp SDK. Add to your package.json:
{
"scripts": {
"dev": "npx @react-grab/amp@latest && next dev"
}
}Note: You must have an Amp API key set via
AMP_API_KEYenvironment variable.
Client
Add the client script to your HTML:
<script src="//unpkg.com/@react-grab/amp/dist/client.global.js"></script>Or import programmatically:
import "@react-grab/amp/client";Features
- Follow-ups: Continue conversations with thread continuity
- Undo: Undo the last change made by Amp
- Streaming: Real-time status updates during execution
- Tool calls: See tool usage as it happens
