v1.0.0 · production ready · Sharyx - MIT Licensed

Build AI voice agents
in minutes.

Simple SDK with simulation, LLM integration, and real-time conversational workflows. From prototyping to production — sharyx-voice-agent gives you full control.

import { createAgent } from 'sharyx-voice-agent';

const agent = createAgent({
  llm: 'openai',
  voice: 'natural',
  simulation: true
});

agent.on('message', (reply) => {
  console.log(`🤖 agent: ${reply}`);
});

agent.say('Hello, how can I help?');

Experience Sharyx in Action

Watch how easy it is to build and deploy your first AI voice agent in real-time.

Everything you need for voice AI

Core SDK

The robust VoiceAgent class handles real-time conversation, streaming, and custom event hooks with ease.

Simulation Mode

Test your voice flows instantly without hardware. Perfect for rapid prototyping and CI/CD pipelines.

LLM Cloud

Direct integration with OpenAI, Anthropic, or local models. Includes built-in prompt & memory management.

CLI Tooling

Scaffold full project structures in seconds with npx create-sharyx-agent and pre-built templates.

Workflow Engine

Define complex conversational paths and fallbacks. Stream transcripts in real-time to any interface.

Monorepo Ready

Clean exports, TypeScript definitions, and MIT licensed. Built for developers by developers.

Install the SDK

npm install sharyx-voice-agent

Or use the scaffolding CLI to kickstart your agent project:

npx create-sharyx-agent my-voice-agent

create-sharyx-agent

Scaffolding CLI — the "magic wand" that generates a pre-configured folder with templates. Choose between TypeScript / JavaScript, sample voice workflows, and live reload simulation.

npx create-sharyx-agent voice-app
cd voice-app
npm run dev

Core SDK — VoiceAgent

Full control over voice sessions, events, LLM hooks, and simulation. Built for real-time conversation and production scalability.

import { VoiceAgent } from 'sharyx-voice-agent';
const agent = new VoiceAgent({ llmConfig: {...} });
agent.startSession();

Ecosystem structure (monorepo)

The GitHub repo contains two main packages, both MIT licensed and published to NPM.

sharyx-voice-agent
The engine: VoiceAgent class, createAgent factory, real-time conversation core.
create-sharyx-agent
CLI tool: project generator, templates, and quickstart w/ best practices.
local development & contribution
git clone https://github.com/sharyx-repo/sharyx-voice-agent.git
cd sharyx-voice-agent/sharyx-voice-agent && npm install && npm run build
cd ../create-sharyx-agent && npm install && npm run build

Try Simulation Mode

The SDK includes a full simulation environment to test conversational flows without any hardware — ideal for debugging and integration tests.

agent.enableSimulation({ latency: 200, responses: 'mock' })