Skip to content

Setup

Skemata Voice Agents Dev Setup

Docker setup

docker compose up -d

Environment setup

touch packages/voice-agent/.env.local

Install packages

npm i

Build Packages

npm run build -w @skemata/utils
npm run build -w @skemata/core
npm run build -w @skemata/tools

Setup CLI

npm run build -w @skemata/cli
chmod +x packages/cli/lib/index.js
npm link -w @skemata/cli

Run Init Script

npm run init -w voice-agent

Install ngrok for exotel/twilio

  • Make an account at ngrok.com and follow their connection steps
  • Run ngrok
ngrok http 3000

Start the server

npm run start:tsc -w voice-agent

Run calls

npm run mult-runner -w voice-agent

Save flows

npm run assert-demo -w voice-agent