@rymi/node
v1.0.1
Published
The official Node.js REST API wrapper for Rymi.
Downloads
283
Maintainers
Readme
@rymi/node
Official Node.js SDK for the Rymi API. Create and manage AI voice agents (including multi-language agents and full STT/LLM/TTS stack control), attach phone numbers, place and observe calls, manage knowledge sources, track usage, run evaluations, and verify webhooks — from any server-side JavaScript or TypeScript application.
Resources: agents · calls · numbers · telephony · keys · billing · templates · webhooks.
Installation
npm install @rymi/nodeQuickstart
import { Rymi } from '@rymi/node';
const rymi = new Rymi({ apiKey: process.env.RYMI_API_KEY });
// Create a voice agent
const agent = await rymi.agents.create({
name: 'Support',
system_prompt: 'You are a helpful support agent for Acme Corp.',
voice: 'Aoede',
});
// Start an outbound call
const call = await rymi.calls.create({
agent_id: agent.id,
participants: [{ transport: 'pstn', identity: '+15551234567', from_number: '+15559876543' }],
});Documentation
Full reference: rymi.ai/docs/api/sdk-node
License
MIT
