The sub-10ms voice agent framework for TypeScript.
Replace slow, token-heavy LLM loops with Joint Embedding Vector (JEV) routing and deterministic state machines. Zero hallucinations. Zero runtime model inference fees.
Sub-10ms neural routing vs the 1,200ms LLM loop
Traditional voice agents pipe every utterance into slow, token-heavy LLMs. Felona Voice decouples intent routing from text generation, evaluating next actions in ~5ms.
Exceeds the 300ms human conversational barrier. Causes awkward pauses, overlapping speech, and high token costs.
Beneath the human voice perception threshold (300ms). Natural conversational turn-taking with zero runtime token costs.
| Feature / Dimension | Traditional LLM Pipeline | Felona Voice (JEV Engine) |
|---|---|---|
| Decision Latency | 400ms – 1,200ms per turn | ~5ms (Normalized Cosine Similarity) |
| Runtime Inference Cost | $0.05 – $0.15 per call minute | $0.00 (Zero LLM Tokens) |
| Hallucination Risk | High (Statistical word generation) | 0% (Explicit TypeScript Action Nodes) |
| State Machine Constraints | Unpredictable prompt adherence | Directed State Graphs with Typed Channels |
| Deployment Architecture | Vendor lock-in or heavy GPU clusters | Lightweight Node.js / Bun process (MIT Open Source) |
Built for sub-10ms voice agents
Three tightly integrated systems designed to give you complete ownership and deterministic control over conversational voice AI.
JEV Neural Core
Encodes conversational context into 128-dimensional vectors and resolves user intent via normalized cosine dot products in ~5ms.
Directed State Machine
Constrain conversational flow with directed graph edges. Only candidate actions reachable from the active state are evaluated.
Streaming Audio & Telephony
Pluggable audio pipeline for real-time bidirectional PCM streams with native WebSockets and Twilio SIP integration.
Deterministic State Machine Explorer
Deterministic state graphs constrain what actions can be triggered at each conversational turn. Inspect diagrams via visual canvas, Mermaid flowcharts, terminal ASCII, or Markdown specs.
Welcome caller warmly, identify Acme Corp, and ask how to assist with orders or product issues
async (input, state) => {
return "Hello! Welcome to Acme Support. How can I help you today with your order or product?";
}Engineered for Sub-10ms Speed
In voice AI, every 100 milliseconds of pause feels like an eternity. Compare real-world decision latency and calculate your monthly infrastructure savings.
Decision Turn Latency
Lower is better (ms)ROI Cost Calculator
Estimate your monthly telephony routing cost savings vs cloud LLM inference fees.
Built for TypeScript Developers
Clean APIs, zero boilerplate, full static typing, and pluggable audio streaming providers.
import { createAgent } from "felona-voice";
// Create voice agent with 3 fluent actions
const agent = createAgent("Concierge")
.system("You are a friendly concierge.")
.action("book_table", "Book a dining table or restaurant reservation", async () => "Table booked for 7 PM!")
.action("room_service", "Order food or fresh towels", async () => "Room service is on its way.")
.fallback("Sorry, I am not able to understand that. How can I assist you?");
// Test instantly without spinning up a server (zero external API keys required!):
const reply = await agent.interact("can I get clean towels?");
console.log(reply.text);
// Output: "Room service is on its way." (~5ms decision latency!)Start building with Felona Voice
Install the open-source package, define your conversation state graph in pure TypeScript, and run streaming voice agents with zero token fees.