felona-voice 0.1.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/LICENSE +36 -0
  2. package/README.md +61 -0
  3. package/dist/agent.d.ts +61 -23
  4. package/dist/agent.d.ts.map +1 -1
  5. package/dist/agent.js +295 -68
  6. package/dist/agent.js.map +1 -1
  7. package/dist/builder.d.ts +188 -0
  8. package/dist/builder.d.ts.map +1 -0
  9. package/dist/builder.js +349 -0
  10. package/dist/builder.js.map +1 -0
  11. package/dist/graph/visualize.d.ts +86 -0
  12. package/dist/graph/visualize.d.ts.map +1 -0
  13. package/dist/graph/visualize.js +870 -0
  14. package/dist/graph/visualize.js.map +1 -0
  15. package/dist/graph/voice-graph.d.ts +216 -0
  16. package/dist/graph/voice-graph.d.ts.map +1 -0
  17. package/dist/graph/voice-graph.js +444 -0
  18. package/dist/graph/voice-graph.js.map +1 -0
  19. package/dist/index.d.ts +21 -7
  20. package/dist/index.d.ts.map +1 -1
  21. package/dist/index.js +19 -7
  22. package/dist/index.js.map +1 -1
  23. package/dist/jev/engine.d.ts +11 -12
  24. package/dist/jev/engine.d.ts.map +1 -1
  25. package/dist/jev/engine.js +78 -37
  26. package/dist/jev/engine.js.map +1 -1
  27. package/dist/jev/fast-embeddings.d.ts +16 -0
  28. package/dist/jev/fast-embeddings.d.ts.map +1 -0
  29. package/dist/jev/fast-embeddings.js +199 -0
  30. package/dist/jev/fast-embeddings.js.map +1 -0
  31. package/dist/memory/context.d.ts +6 -1
  32. package/dist/memory/context.d.ts.map +1 -1
  33. package/dist/memory/context.js +8 -1
  34. package/dist/memory/context.js.map +1 -1
  35. package/dist/pipeline.d.ts +3 -5
  36. package/dist/pipeline.d.ts.map +1 -1
  37. package/dist/pipeline.js +3 -6
  38. package/dist/pipeline.js.map +1 -1
  39. package/dist/stt/assemblyai.d.ts +19 -0
  40. package/dist/stt/assemblyai.d.ts.map +1 -0
  41. package/dist/stt/assemblyai.js +122 -0
  42. package/dist/stt/assemblyai.js.map +1 -0
  43. package/dist/stt/azure.d.ts +19 -0
  44. package/dist/stt/azure.d.ts.map +1 -0
  45. package/dist/stt/azure.js +102 -0
  46. package/dist/stt/azure.js.map +1 -0
  47. package/dist/stt/google.d.ts +18 -0
  48. package/dist/stt/google.d.ts.map +1 -0
  49. package/dist/stt/google.js +113 -0
  50. package/dist/stt/google.js.map +1 -0
  51. package/dist/stt/index.d.ts +5 -0
  52. package/dist/stt/index.d.ts.map +1 -1
  53. package/dist/stt/index.js +5 -0
  54. package/dist/stt/index.js.map +1 -1
  55. package/dist/stt/wav.d.ts +7 -0
  56. package/dist/stt/wav.d.ts.map +1 -0
  57. package/dist/stt/wav.js +28 -0
  58. package/dist/stt/wav.js.map +1 -0
  59. package/dist/stt/whisper.d.ts +23 -0
  60. package/dist/stt/whisper.d.ts.map +1 -0
  61. package/dist/stt/whisper.js +117 -0
  62. package/dist/stt/whisper.js.map +1 -0
  63. package/dist/tts/azure.d.ts +21 -0
  64. package/dist/tts/azure.d.ts.map +1 -0
  65. package/dist/tts/azure.js +74 -0
  66. package/dist/tts/azure.js.map +1 -0
  67. package/dist/tts/cartesia.d.ts +23 -0
  68. package/dist/tts/cartesia.d.ts.map +1 -0
  69. package/dist/tts/cartesia.js +76 -0
  70. package/dist/tts/cartesia.js.map +1 -0
  71. package/dist/tts/deepgram.d.ts +25 -0
  72. package/dist/tts/deepgram.d.ts.map +1 -0
  73. package/dist/tts/deepgram.js +65 -0
  74. package/dist/tts/deepgram.js.map +1 -0
  75. package/dist/tts/index.d.ts +6 -0
  76. package/dist/tts/index.d.ts.map +1 -1
  77. package/dist/tts/index.js +6 -0
  78. package/dist/tts/index.js.map +1 -1
  79. package/dist/tts/lmnt.d.ts +23 -0
  80. package/dist/tts/lmnt.d.ts.map +1 -0
  81. package/dist/tts/lmnt.js +69 -0
  82. package/dist/tts/lmnt.js.map +1 -0
  83. package/dist/tts/openai.d.ts +26 -0
  84. package/dist/tts/openai.d.ts.map +1 -0
  85. package/dist/tts/openai.js +72 -0
  86. package/dist/tts/openai.js.map +1 -0
  87. package/dist/tts/polly.d.ts +29 -0
  88. package/dist/tts/polly.d.ts.map +1 -0
  89. package/dist/tts/polly.js +77 -0
  90. package/dist/tts/polly.js.map +1 -0
  91. package/dist/types.d.ts +45 -51
  92. package/dist/types.d.ts.map +1 -1
  93. package/package.json +21 -3
  94. package/dist/llm/index.d.ts +0 -2
  95. package/dist/llm/index.d.ts.map +0 -1
  96. package/dist/llm/index.js +0 -2
  97. package/dist/llm/index.js.map +0 -1
  98. package/dist/llm/openai.d.ts +0 -22
  99. package/dist/llm/openai.d.ts.map +0 -1
  100. package/dist/llm/openai.js +0 -140
  101. package/dist/llm/openai.js.map +0 -1
  102. package/src/agent.ts +0 -373
  103. package/src/analytics/index.ts +0 -7
  104. package/src/analytics/logger.ts +0 -152
  105. package/src/index.ts +0 -121
  106. package/src/jev/action-space.ts +0 -119
  107. package/src/jev/embeddings.ts +0 -81
  108. package/src/jev/engine.ts +0 -225
  109. package/src/jev/index.ts +0 -3
  110. package/src/llm/index.ts +0 -1
  111. package/src/llm/openai.ts +0 -178
  112. package/src/memory/context.ts +0 -124
  113. package/src/memory/index.ts +0 -1
  114. package/src/pipeline.ts +0 -331
  115. package/src/stt/deepgram.ts +0 -182
  116. package/src/stt/index.ts +0 -1
  117. package/src/tools/index.ts +0 -1
  118. package/src/tools/registry.ts +0 -99
  119. package/src/transport/index.ts +0 -1
  120. package/src/transport/websocket.ts +0 -227
  121. package/src/tts/eleven-labs.ts +0 -100
  122. package/src/tts/index.ts +0 -1
  123. package/src/types.ts +0 -429
  124. package/src/vad/energy.ts +0 -135
  125. package/src/vad/index.ts +0 -1
  126. package/tests/jev.test.ts +0 -198
  127. package/tests/memory.test.ts +0 -169
  128. package/tests/vad.test.ts +0 -94
  129. package/tsconfig.json +0 -9
  130. package/tsconfig.tsbuildinfo +0 -1
package/LICENSE ADDED
@@ -0,0 +1,36 @@
1
+ MIT License with Attribution Requirement
2
+
3
+ Copyright (c) 2026 Mohit & Felona Voice Contributors (https://github.com/felona-voice/felona-voice)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ 1. The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ 2. ATTRIBUTION REQUIREMENT:
16
+ Any product, application, service, website, software, documentation, or marketing
17
+ material that uses, incorporates, embeds, or is derived from this Software must
18
+ prominently display visible attribution to the author.
19
+
20
+ The attribution must clearly display:
21
+ "Powered by Felona Voice" or "Built with Felona Voice"
22
+ accompanied by an active, clickable hyperlink back to the official repository:
23
+ https://github.com/felona-voice/felona-voice
24
+
25
+ This credit must be visible in at least one of the following locations:
26
+ - The user interface of the product/application (e.g., footer, about dialog, or settings screen)
27
+ - The official public documentation or README of the product/service
28
+ - The marketing website or public landing page of the offering
29
+
30
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
33
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
35
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,61 @@
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/felona-voice/felona-voice/main/public/logo.png" alt="Felona Voice" width="280" />
3
+ </p>
4
+
5
+ <p align="center">
6
+ <strong>Sub-10ms Voice Agent Framework powered by Joint Embedding Vectors (JEV)</strong>
7
+ </p>
8
+
9
+ <p align="center">
10
+ <a href="https://www.npmjs.com/package/felona-voice"><img src="https://img.shields.io/npm/v/felona-voice.svg?style=flat-square&color=3b82f6" alt="npm version" /></a>
11
+ <a href="./LICENSE"><img src="https://img.shields.io/badge/License-MIT-emerald.svg?style=flat-square" alt="License: MIT" /></a>
12
+ <a href="https://www.typescriptlang.org/"><img src="https://img.shields.io/badge/TypeScript-5.5-blue.svg?style=flat-square" alt="TypeScript" /></a>
13
+ </p>
14
+
15
+ **Open-source, ultra-low-latency voice agent framework powered by JEV (Joint Embedding Vectors) with stateful conversational graphs.**
16
+
17
+ ## Installation
18
+
19
+ ```bash
20
+ npm install felona-voice
21
+ ```
22
+
23
+ ## Quick Start
24
+
25
+ ```typescript
26
+ import { createAgent } from "felona-voice";
27
+
28
+ const agent = createAgent("Concierge")
29
+ .system("You are a friendly concierge.")
30
+ .action("book_table", "Book a dining table or restaurant reservation", async () => "Table booked for 7 PM!")
31
+ .action("room_service", "Order food or fresh towels", async () => "Room service is on its way.")
32
+ .fallback("Sorry, I am not able to understand that. How can I assist you?");
33
+
34
+ // Test instantly without spinning up a server (zero external API keys required!):
35
+ const reply = await agent.interact("can I get clean towels?");
36
+ console.log(reply.text); // "Room service is on its way."
37
+ console.log(reply.action.id); // "room_service"
38
+ ```
39
+
40
+ ## Features
41
+
42
+ - **JEV Routing**: Sub-10ms neural intent routing via local fast semantic embeddings or OpenAI embeddings.
43
+ - **Pure JavaScript Execution**: Deterministic responses without LLM latency, token cost, or hallucinations.
44
+ - **Pluggable Audio Stack**:
45
+ - **STT**: Deepgram Nova-2, OpenAI Whisper, AssemblyAI, Azure Speech, Google Cloud Speech.
46
+ - **TTS**: Cartesia Sonic (<100ms), Deepgram Aura, ElevenLabs, OpenAI Speech, Azure Speech, Amazon Polly, LMNT.
47
+ - **VAD**: Zero-dependency energy-based speech boundary detection.
48
+ - **Stateful Conversational Graphs**: `VoiceGraph` with `.addNode()`, `.addEdge()`, `.compile()`, and `.invoke()`.
49
+ - **Markdown & Mermaid Visualization**: Automatic generation of architectural diagrams and transition tables.
50
+
51
+ ## Documentation & Repository
52
+
53
+ For complete documentation, guides, and architectural overviews:
54
+ 👉 [https://github.com/felona-voice/felona-voice](https://github.com/felona-voice/felona-voice#readme)
55
+
56
+ ## License & Attribution
57
+
58
+ MIT License with Attribution Requirement. See [LICENSE](./LICENSE) for details.
59
+ Any product or service powered by Felona Voice must display "Powered by Felona Voice" linking to https://github.com/felona-voice/felona-voice.
60
+
61
+ © 2026 Mohit & Felona Voice Contributors
package/dist/agent.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import { EventEmitter } from "node:events";
2
- import type { FelAgentConfig, AgentAction } from "./types.js";
2
+ import type { FelAgentConfig, AgentAction, InteractOptions, InteractResult } from "./types.js";
3
3
  import { JEVEngine } from "./jev/engine.js";
4
+ import { ConversationMemory } from "./memory/context.js";
5
+ import { type GraphData, type VisualizeOptions, type VisualizeResult } from "./graph/visualize.js";
4
6
  /**
5
7
  * FelAgent — The main entry point for building a voice agent with Felona Voice.
6
8
  *
@@ -9,20 +11,15 @@ import { JEVEngine } from "./jev/engine.js";
9
11
  * const agent = new FelAgent({
10
12
  * name: "Support Bot",
11
13
  * systemPrompt: "You are a helpful support agent.",
12
- * stt: { provider: "deepgram", apiKey: "..." },
13
- * tts: { provider: "elevenlabs", apiKey: "..." },
14
- * llm: { provider: "openai", apiKey: "...", model: "gpt-4o-mini" },
15
14
  * actions: [ ... ],
16
15
  * });
17
16
  *
17
+ * // Directly interact (text/simulation):
18
+ * const reply = await agent.interact("where is my order?");
19
+ *
20
+ * // Or listen on WebSocket for live audio calls:
18
21
  * agent.listen({ port: 8080 });
19
22
  * ```
20
- *
21
- * FelAgent wires together:
22
- * - Transport (WebSocket server for audio I/O)
23
- * - Voice Pipeline (STT → JEV → LLM → TTS per session)
24
- * - JEV Engine (action prediction)
25
- * - Memory, Tools, Analytics
26
23
  */
27
24
  export declare class FelAgent extends EventEmitter {
28
25
  private readonly config;
@@ -34,9 +31,8 @@ export declare class FelAgent extends EventEmitter {
34
31
  private readonly sttProvider;
35
32
  private readonly ttsProvider;
36
33
  private readonly vadProvider;
37
- private readonly llmProvider;
38
- private readonly llmInterface;
39
34
  private pipelines;
35
+ private sessionMap;
40
36
  private initialized;
41
37
  constructor(config: FelAgentConfig);
42
38
  /**
@@ -66,8 +62,26 @@ export declare class FelAgent extends EventEmitter {
66
62
  private createSTTProvider;
67
63
  /** Create TTS provider based on config */
68
64
  private createTTSProvider;
69
- /** Create LLM provider based on config */
70
- private createLLMProvider;
65
+ /**
66
+ * Directly interact with the agent (simulate a single turn without WebSocket audio).
67
+ *
68
+ * Perfect for unit testing, HTTP/REST API endpoints, Next.js server actions,
69
+ * CLI tools, or text-based debugging.
70
+ *
71
+ * @example
72
+ * ```typescript
73
+ * const reply = await agent.interact("where is my order?");
74
+ * console.log(reply.text);
75
+ * console.log(reply.action.id);
76
+ * ```
77
+ */
78
+ interact(input: string | InteractOptions): Promise<InteractResult>;
79
+ /**
80
+ * Run a multi-turn conversation simulation.
81
+ */
82
+ simulate(turns: string[], sessionId?: string): Promise<InteractResult[]>;
83
+ /** Access default conversation memory manager */
84
+ get memory(): ConversationMemory;
71
85
  /** Get the number of active calls */
72
86
  get activeCallCount(): number;
73
87
  /** Check if the agent is running */
@@ -76,6 +90,34 @@ export declare class FelAgent extends EventEmitter {
76
90
  get name(): string;
77
91
  /** Get the JEV engine (for inspection/testing) */
78
92
  get jevEngine(): JEVEngine;
93
+ /**
94
+ * Get graph data representing the agent's action space.
95
+ */
96
+ getGraph(): GraphData;
97
+ /**
98
+ * Render an ASCII diagram of the agent's actions in the terminal.
99
+ */
100
+ drawAscii(options?: {
101
+ title?: string;
102
+ }): string;
103
+ /**
104
+ * Export the agent's action space as a Mermaid flowchart.
105
+ */
106
+ drawMermaid(): string;
107
+ /**
108
+ * Export the agent's action space as Markdown documentation.
109
+ */
110
+ drawMarkdown(options?: {
111
+ title?: string;
112
+ }): string;
113
+ /**
114
+ * Get a direct link to view the diagram in Mermaid Live Editor.
115
+ */
116
+ toMermaidLiveUrl(): string;
117
+ /**
118
+ * Visualize the agent in terminal (ASCII), Mermaid, or launch the interactive HTML visualizer.
119
+ */
120
+ visualize(options?: VisualizeOptions): Promise<VisualizeResult>;
79
121
  }
80
122
  /**
81
123
  * Helper to define an action with type safety.
@@ -83,23 +125,19 @@ export declare class FelAgent extends EventEmitter {
83
125
  export declare function defineAction(action: AgentAction): AgentAction;
84
126
  /**
85
127
  * Quick-start factory — creates a minimal agent with sensible defaults.
86
- * Automatically creates a default "respond" action that uses the LLM directly.
87
128
  */
88
- export declare function quickStart(config: {
89
- llm: {
90
- provider: string;
91
- apiKey: string;
92
- model?: string;
93
- };
94
- stt: {
129
+ export declare function quickStart(config?: {
130
+ name?: string;
131
+ stt?: {
95
132
  provider: string;
96
133
  apiKey: string;
97
134
  };
98
- tts: {
135
+ tts?: {
99
136
  provider: string;
100
137
  apiKey: string;
101
138
  voice?: string;
102
139
  };
103
140
  systemPrompt?: string;
141
+ onRespond?: (utterance: string) => Promise<string> | string;
104
142
  }): FelAgent;
105
143
  //# sourceMappingURL=agent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../src/agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,KAAK,EACV,cAAc,EAGd,WAAW,EAGZ,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAa5C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,qBAAa,QAAS,SAAQ,YAAY;IACxC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;IACxC,OAAO,CAAC,SAAS,CAAqB;IACtC,O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