@guava-ai/guava-sdk
v0.16.0
Published
The official TypeScript SDK for building Guava voice agents.
Readme
Guava Typescript SDK
This library allows you to build Guava voice agents using TypeScript or Javascript. Currently only NodeJS is officially supported as a runtime.
Documentation
Full documentation for the TypeScript SDK can be found at https://goguava.ai/docs/. SDK examples can be found under ./examples/.
Try an Example
Export two environment variables. You should have received these in your beta invite email.
$ export GUAVA_API_KEY="..." # Your API key for authentication.
$ export GUAVA_AGENT_NUMBER="..." # A phone number for your agent to use.Run an outbound phone call example using npx. Replace the phone number with your own and your agent will call you.
$ npx @guava-ai/guava-sdk@latest scheduling-outbound +15556667777 # Your agent will call this number.Installation
Install the SDK using your preferred package manager.
$ npm install @guava-ai/guava-sdk
$ yarn add @guava-ai/guava-sdk
$ pnpm add @guava-ai/guava-sdkThe SDK can be used with Javascript, but TypeScript is highly recommended.
