agora-agents 2.5.0 → 2.6.0

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 (75) hide show
  1. package/dist/cjs/AgoraPoolClient.js +39 -1
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/agentkit/Agent.d.ts +4 -4
  4. package/dist/cjs/agentkit/Agent.js +2 -1
  5. package/dist/cjs/agentkit/__tests__/area-aware-vendors.test.js +26 -0
  6. package/dist/cjs/agentkit/index.d.ts +8 -8
  7. package/dist/cjs/agentkit/index.js +6 -2
  8. package/dist/cjs/agentkit/region-vendors.d.ts +3 -1
  9. package/dist/cjs/agentkit/types.d.ts +5 -3
  10. package/dist/cjs/agentkit/vendors/base.d.ts +11 -1
  11. package/dist/cjs/agentkit/vendors/base.js +18 -2
  12. package/dist/cjs/agentkit/vendors/cn.d.ts +8 -0
  13. package/dist/cjs/agentkit/vendors/cn.js +9 -3
  14. package/dist/cjs/agentkit/vendors/mllm.d.ts +99 -1
  15. package/dist/cjs/agentkit/vendors/mllm.js +68 -1
  16. package/dist/cjs/agentkit/vendors/stt.d.ts +3 -1
  17. package/dist/cjs/agentkit/vendors/stt.js +7 -4
  18. package/dist/cjs/agentkit/vendors/tts.d.ts +19 -0
  19. package/dist/cjs/agentkit/vendors/tts.js +16 -1
  20. package/dist/cjs/api/types/AresAsrParams.d.ts +6 -1
  21. package/dist/cjs/api/types/AssemblyAiAsrParams.d.ts +1 -1
  22. package/dist/cjs/api/types/FengmingAsr.d.ts +1 -2
  23. package/dist/cjs/api/types/FengmingAsrParams.d.ts +9 -0
  24. package/dist/cjs/api/types/FengmingAsrParams.js +3 -0
  25. package/dist/cjs/api/types/Mllm.d.ts +4 -0
  26. package/dist/cjs/api/types/Mllm.js +2 -0
  27. package/dist/cjs/api/types/Tts.d.ts +4 -1
  28. package/dist/cjs/api/types/TypecastTts.d.ts +9 -0
  29. package/dist/cjs/api/types/TypecastTts.js +3 -0
  30. package/dist/cjs/api/types/TypecastTtsParams.d.ts +13 -0
  31. package/dist/cjs/api/types/TypecastTtsParams.js +3 -0
  32. package/dist/cjs/api/types/index.d.ts +3 -0
  33. package/dist/cjs/api/types/index.js +3 -0
  34. package/dist/cjs/index.d.ts +2 -2
  35. package/dist/cjs/index.js +7 -3
  36. package/dist/cjs/version.d.ts +1 -1
  37. package/dist/cjs/version.js +1 -1
  38. package/dist/esm/AgoraPoolClient.mjs +40 -2
  39. package/dist/esm/BaseClient.mjs +2 -2
  40. package/dist/esm/agentkit/Agent.d.mts +4 -4
  41. package/dist/esm/agentkit/Agent.mjs +2 -1
  42. package/dist/esm/agentkit/__tests__/area-aware-vendors.test.mjs +26 -0
  43. package/dist/esm/agentkit/index.d.mts +8 -8
  44. package/dist/esm/agentkit/index.mjs +3 -3
  45. package/dist/esm/agentkit/region-vendors.d.mts +3 -1
  46. package/dist/esm/agentkit/types.d.mts +5 -3
  47. package/dist/esm/agentkit/vendors/base.d.mts +11 -1
  48. package/dist/esm/agentkit/vendors/base.mjs +16 -1
  49. package/dist/esm/agentkit/vendors/cn.d.mts +8 -0
  50. package/dist/esm/agentkit/vendors/cn.mjs +9 -3
  51. package/dist/esm/agentkit/vendors/mllm.d.mts +99 -1
  52. package/dist/esm/agentkit/vendors/mllm.mjs +66 -1
  53. package/dist/esm/agentkit/vendors/stt.d.mts +3 -1
  54. package/dist/esm/agentkit/vendors/stt.mjs +7 -4
  55. package/dist/esm/agentkit/vendors/tts.d.mts +19 -0
  56. package/dist/esm/agentkit/vendors/tts.mjs +14 -0
  57. package/dist/esm/api/types/AresAsrParams.d.mts +6 -1
  58. package/dist/esm/api/types/AssemblyAiAsrParams.d.mts +1 -1
  59. package/dist/esm/api/types/FengmingAsr.d.mts +1 -2
  60. package/dist/esm/api/types/FengmingAsrParams.d.mts +9 -0
  61. package/dist/esm/api/types/FengmingAsrParams.mjs +2 -0
  62. package/dist/esm/api/types/Mllm.d.mts +4 -0
  63. package/dist/esm/api/types/Mllm.mjs +2 -0
  64. package/dist/esm/api/types/Tts.d.mts +4 -1
  65. package/dist/esm/api/types/TypecastTts.d.mts +9 -0
  66. package/dist/esm/api/types/TypecastTts.mjs +2 -0
  67. package/dist/esm/api/types/TypecastTtsParams.d.mts +13 -0
  68. package/dist/esm/api/types/TypecastTtsParams.mjs +2 -0
  69. package/dist/esm/api/types/index.d.mts +3 -0
  70. package/dist/esm/api/types/index.mjs +3 -0
  71. package/dist/esm/index.d.mts +2 -2
  72. package/dist/esm/index.mjs +3 -3
  73. package/dist/esm/version.d.mts +1 -1
  74. package/dist/esm/version.mjs +1 -1
  75. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  * Clean type aliases for the Agora Conversational AI SDK.
3
3
  * These provide shorter, more intuitive names for the verbose Fern-generated types.
4
4
  */
5
- import type { AgentThinkAgentManagementResponse, AmazonTtsParams as AmazonTtsParamsType, AmazonTts as AmazonTtsType, Asr, AsrLanguage, CartesiaTtsParams as CartesiaTtsParamsType, CartesiaTts as CartesiaTtsType, ElevenLabsTtsParams as ElevenLabsTtsParamsType, ElevenLabsTts as ElevenLabsTtsType, FishAudioTtsParams as FishAudioTtsParamsType, FishAudioTts as FishAudioTtsType, GenericHttpTtsParams as GenericTtsParamsType, GenericHttpTts as GenericTtsType, GetAgentsResponse, GetHistoryAgentsResponse, GetTurnsAgentsResponse, GoogleTtsParams as GoogleTtsParamsType, GoogleTts as GoogleTtsType, GradiumTtsParams as GradiumTtsParamsType, GradiumTts as GradiumTtsType, HumeAiTtsParams as HumeAiTtsParamsType, HumeAiTts as HumeAiTtsType, ListAgentsResponse, Llm, MicrosoftTtsParams as MicrosoftTtsParamsType, MicrosoftTts as MicrosoftTtsType, MinimaxTtsParams as MinimaxTtsParamsType, MinimaxTts as MinimaxTtsType, MistralTtsParams as MistralTtsParamsType, MistralTts as MistralTtsType, Mllm, MllmTurnDetection, MllmTurnDetection as MllmTurnDetectionNS, MurfTtsParams as MurfTtsParamsType, MurfTts as MurfTtsType, OpenAiTtsParams as OpenAiTtsParamsType, OpenAiTts as OpenAiTtsType, RimeTtsParams as RimeTtsParamsType, RimeTts as RimeTtsType, SarvamTtsParams as SarvamTtsParamsType, SarvamTts as SarvamTtsType, SpatiusAvatarParams as SpatiusAvatarParamsType, SpeakAgentsRequest, StartAgentsRequest, Tts, UpdateAgentsRequest, XAiAsrParams as XAiAsrParamsType, XAiAsr as XAiAsrType, XAiTtsParams as XAiTtsParamsType, XAiTts as XAiTtsType } from "../api/index.mjs";
5
+ import type { AgentThinkAgentManagementResponse, AmazonTtsParams as AmazonTtsParamsType, AmazonTts as AmazonTtsType, Asr, AsrLanguage, CartesiaTtsParams as CartesiaTtsParamsType, CartesiaTts as CartesiaTtsType, ElevenLabsTtsParams as ElevenLabsTtsParamsType, ElevenLabsTts as ElevenLabsTtsType, FishAudioTtsParams as FishAudioTtsParamsType, FishAudioTts as FishAudioTtsType, GenericHttpTtsParams as GenericTtsParamsType, GenericHttpTts as GenericTtsType, GetAgentsResponse, GetHistoryAgentsResponse, GetTurnsAgentsResponse, GoogleTtsParams as GoogleTtsParamsType, GoogleTts as GoogleTtsType, GradiumTtsParams as GradiumTtsParamsType, GradiumTts as GradiumTtsType, HumeAiTtsParams as HumeAiTtsParamsType, HumeAiTts as HumeAiTtsType, ListAgentsResponse, Llm, MicrosoftTtsParams as MicrosoftTtsParamsType, MicrosoftTts as MicrosoftTtsType, MinimaxTtsParams as MinimaxTtsParamsType, MinimaxTts as MinimaxTtsType, MistralTtsParams as MistralTtsParamsType, MistralTts as MistralTtsType, Mllm, MllmTurnDetection, MllmTurnDetection as MllmTurnDetectionNS, MurfTtsParams as MurfTtsParamsType, MurfTts as MurfTtsType, OpenAiTtsParams as OpenAiTtsParamsType, OpenAiTts as OpenAiTtsType, RimeTtsParams as RimeTtsParamsType, RimeTts as RimeTtsType, SarvamTtsParams as SarvamTtsParamsType, SarvamTts as SarvamTtsType, SpatiusAvatarParams as SpatiusAvatarParamsType, SpeakAgentsRequest, StartAgentsRequest, Tts, TypecastTtsParams as TypecastTtsParamsType, TypecastTts as TypecastTtsType, UpdateAgentsRequest, XAiAsrParams as XAiAsrParamsType, XAiAsr as XAiAsrType, XAiTtsParams as XAiTtsParamsType, XAiTts as XAiTtsType } from "../api/index.mjs";
6
6
  import type { AgentThinkAgentManagementRequest } from "../api/resources/agentManagement/client/requests/AgentThinkAgentManagementRequest.mjs";
7
7
  import type { PresetInput } from "./presets.mjs";
8
8
  /** LLM request style (openai, gemini, anthropic, dify) */
@@ -81,7 +81,7 @@ export type AsrVendorName = string;
81
81
  export type TtsConfig = Tts;
82
82
  /** MLLM (Multimodal LLM) configuration */
83
83
  export type MllmConfig = Mllm;
84
- /** MLLM vendor (openai, gemini, vertexai, xai) */
84
+ /** MLLM wire vendor name (openai, azure, gemini, vertexai, xai, qwen_omni) */
85
85
  export type MllmVendor = Mllm.Vendor;
86
86
  /** Avatar configuration */
87
87
  export type AvatarConfig = StartAgentsRequest.Properties.Avatar;
@@ -510,7 +510,7 @@ export interface AssemblyAiParams {
510
510
  /** Language code */
511
511
  language?: string;
512
512
  /** AssemblyAI streaming WebSocket URL */
513
- uri?: string;
513
+ ws_url?: string;
514
514
  /** Additional AssemblyAI-specific parameters */
515
515
  [key: string]: unknown;
516
516
  }
@@ -572,5 +572,7 @@ export type SarvamTts = SarvamTtsType;
572
572
  export type SarvamTtsParams = SarvamTtsParamsType;
573
573
  export type XAiTts = XAiTtsType;
574
574
  export type XAiTtsParams = XAiTtsParamsType;
575
+ export type TypecastTts = TypecastTtsType;
576
+ export type TypecastTtsParams = TypecastTtsParamsType;
575
577
  export type SpatiusAvatarParams = SpatiusAvatarParamsType;
576
578
  export {};
@@ -163,12 +163,22 @@ export declare abstract class BaseCNSTT extends ScopedBaseSTT<"cn"> {
163
163
  /**
164
164
  * Base class for MLLM (Multimodal Large Language Model) vendors.
165
165
  */
166
- export declare abstract class BaseMLLM {
166
+ declare abstract class ScopedBaseMLLM<TScope extends VendorScope> {
167
+ readonly areaScope: TScope;
168
+ constructor(areaScope: TScope);
167
169
  /**
168
170
  * Converts the vendor configuration to the Agora API format.
169
171
  */
170
172
  abstract toConfig(): MllmConfig;
171
173
  }
174
+ /** Base class for global MLLM vendors. */
175
+ export declare abstract class BaseMLLM extends ScopedBaseMLLM<"global"> {
176
+ constructor();
177
+ }
178
+ /** Base class for Chinese mainland MLLM vendors. */
179
+ export declare abstract class BaseCNMLLM extends ScopedBaseMLLM<"cn"> {
180
+ constructor();
181
+ }
172
182
  /**
173
183
  * Base class for Avatar vendors with required sample rate.
174
184
  * @template RequiredSR - Required sample rate literal type
@@ -104,7 +104,22 @@ export class BaseCNSTT extends ScopedBaseSTT {
104
104
  /**
105
105
  * Base class for MLLM (Multimodal Large Language Model) vendors.
106
106
  */
107
- export class BaseMLLM {
107
+ class ScopedBaseMLLM {
108
+ constructor(areaScope) {
109
+ this.areaScope = areaScope;
110
+ }
111
+ }
112
+ /** Base class for global MLLM vendors. */
113
+ export class BaseMLLM extends ScopedBaseMLLM {
114
+ constructor() {
115
+ super("global");
116
+ }
117
+ }
118
+ /** Base class for Chinese mainland MLLM vendors. */
119
+ export class BaseCNMLLM extends ScopedBaseMLLM {
120
+ constructor() {
121
+ super("cn");
122
+ }
108
123
  }
109
124
  /**
110
125
  * Base class for Avatar vendors with required sample rate.
@@ -1,6 +1,14 @@
1
1
  import type { AvatarConfig, LlmConfig, SttConfig, TtsConfig } from "../types.mjs";
2
2
  import { BaseCNAvatar, BaseCNLLM, BaseCNSTT, BaseCNTTS, type BaseLlmOptions } from "./base.mjs";
3
+ export interface FengmingSTTOptions {
4
+ /** Hotwords that improve recognition accuracy */
5
+ keywords?: string[];
6
+ /** Additional vendor-specific parameters */
7
+ additionalParams?: Record<string, unknown>;
8
+ }
3
9
  export declare class FengmingSTT extends BaseCNSTT {
10
+ private readonly options;
11
+ constructor(options?: FengmingSTTOptions);
4
12
  toConfig(): SttConfig;
5
13
  }
6
14
  export interface MicrosoftCNSTTOptions {
@@ -5,10 +5,16 @@ function requireString(value, field, vendor) {
5
5
  }
6
6
  }
7
7
  export class FengmingSTT extends BaseCNSTT {
8
+ constructor(options = {}) {
9
+ super();
10
+ this.options = options;
11
+ }
8
12
  toConfig() {
9
- return {
10
- vendor: "fengming",
11
- };
13
+ const { keywords, additionalParams } = this.options;
14
+ const hasParams = keywords !== undefined || (additionalParams !== undefined && Object.keys(additionalParams).length > 0);
15
+ return Object.assign({ vendor: "fengming" }, (hasParams && {
16
+ params: Object.assign(Object.assign({}, additionalParams), (keywords !== undefined && { keywords })),
17
+ }));
12
18
  }
13
19
  }
14
20
  export class MicrosoftCNSTT extends BaseCNSTT {
@@ -6,7 +6,7 @@
6
6
  * sets `mllm.enable: true`.
7
7
  */
8
8
  import type { MllmConfig, MllmTurnDetectionConfig } from "../types.mjs";
9
- import { BaseMLLM } from "./base.mjs";
9
+ import { BaseCNMLLM, BaseMLLM } from "./base.mjs";
10
10
  /**
11
11
  * Constructor options for OpenAI Realtime API.
12
12
  */
@@ -56,6 +56,59 @@ export declare class OpenAIRealtime extends BaseMLLM {
56
56
  constructor(options: OpenAIRealtimeOptions);
57
57
  toConfig(): MllmConfig;
58
58
  }
59
+ /** Parameters accepted by Azure OpenAI Realtime. */
60
+ export interface AzureOpenAIRealtimeParams {
61
+ /** System instructions that define agent behavior */
62
+ instructions?: string;
63
+ /** Model or deployment model identifier */
64
+ model?: string;
65
+ /** Voice identifier for audio output */
66
+ voice?: string;
67
+ }
68
+ /** Constructor options for Azure OpenAI Realtime API. */
69
+ export interface AzureOpenAIRealtimeOptions {
70
+ /** Azure OpenAI API key */
71
+ apiKey: string;
72
+ /** Azure OpenAI Realtime WebSocket URL, including deployment routing when required */
73
+ url: string;
74
+ /** Model or deployment model identifier */
75
+ model?: string;
76
+ /** Voice identifier for audio output */
77
+ voice?: string;
78
+ /** System instructions that define agent behavior */
79
+ instructions?: string;
80
+ /** Number of conversation history messages cached by the MLLM */
81
+ maxHistory?: number;
82
+ /** Agent greeting message */
83
+ greetingMessage?: string;
84
+ /** Output modalities (e.g., ['text', 'audio']) */
85
+ outputModalities?: string[];
86
+ /** Conversation messages for short-term memory */
87
+ messages?: Record<string, unknown>[];
88
+ /** Azure Realtime model parameters */
89
+ params?: AzureOpenAIRealtimeParams;
90
+ /** Required MLLM turn detection configuration. Overrides top-level turn_detection. */
91
+ turnDetection: MllmTurnDetectionConfig;
92
+ }
93
+ /**
94
+ * Azure OpenAI Realtime MLLM vendor for global deployments.
95
+ *
96
+ * @example
97
+ * ```typescript
98
+ * const agent = new Agent({ client }).withMllm(new AzureOpenAIRealtime({
99
+ * apiKey: process.env.AZURE_OPENAI_API_KEY,
100
+ * url: 'wss://example.openai.azure.com/openai/realtime',
101
+ * model: 'gpt-4o-realtime-preview',
102
+ * maxHistory: 32,
103
+ * turnDetection: { mode: 'server_vad' },
104
+ * }));
105
+ * ```
106
+ */
107
+ export declare class AzureOpenAIRealtime extends BaseMLLM {
108
+ private readonly options;
109
+ constructor(options: AzureOpenAIRealtimeOptions);
110
+ toConfig(): MllmConfig;
111
+ }
59
112
  /**
60
113
  * Constructor options for Google Gemini Live (direct API, non-Vertex AI).
61
114
  */
@@ -225,3 +278,48 @@ export declare class XaiGrok extends BaseMLLM {
225
278
  constructor(options: XaiGrokOptions);
226
279
  toConfig(): MllmConfig;
227
280
  }
281
+ /** Constructor options for Alibaba Cloud Qwen Omni Realtime. */
282
+ export interface QwenOmniOptions {
283
+ /** Alibaba Cloud DashScope API key */
284
+ apiKey: string;
285
+ /** Qwen Omni model identifier */
286
+ model: string;
287
+ /** Qwen Omni Realtime WebSocket URL */
288
+ url: string;
289
+ /** Voice identifier for audio output */
290
+ voice?: string;
291
+ /** System instructions that define agent behavior */
292
+ instructions?: string;
293
+ /** Agent greeting message */
294
+ greetingMessage?: string;
295
+ /** Message played on failure */
296
+ failureMessage?: string;
297
+ /** Input modalities (e.g., ['audio'], ['audio', 'text']) */
298
+ inputModalities?: string[];
299
+ /** Output modalities (e.g., ['text', 'audio']) */
300
+ outputModalities?: string[];
301
+ /** Conversation messages for short-term memory */
302
+ messages?: Record<string, unknown>[];
303
+ /** Additional Qwen Omni parameters */
304
+ params?: Record<string, unknown>;
305
+ /** MLLM turn detection configuration. Overrides top-level turn_detection. */
306
+ turnDetection?: MllmTurnDetectionConfig;
307
+ }
308
+ /**
309
+ * Alibaba Cloud Qwen Omni Realtime MLLM vendor for Chinese mainland deployments.
310
+ *
311
+ * @example
312
+ * ```typescript
313
+ * const agent = new Agent({ client }).withMllm(new QwenOmni({
314
+ * apiKey: process.env.DASHSCOPE_API_KEY,
315
+ * model: 'qwen3.5-omni-plus-realtime',
316
+ * url: 'wss://dashscope.aliyuncs.com/api-ws/v1/realtime',
317
+ * greetingMessage: '你好,有什么可以帮你?',
318
+ * }));
319
+ * ```
320
+ */
321
+ export declare class QwenOmni extends BaseCNMLLM {
322
+ private readonly options;
323
+ constructor(options: QwenOmniOptions);
324
+ toConfig(): MllmConfig;
325
+ }
@@ -5,7 +5,17 @@
5
5
  * ASR → LLM → TTS pipeline. Calling `agent.withMllm(vendor)` automatically
6
6
  * sets `mllm.enable: true`.
7
7
  */
8
- import { BaseMLLM } from "./base.mjs";
8
+ import { BaseCNMLLM, BaseMLLM } from "./base.mjs";
9
+ function requireString(value, field, vendor) {
10
+ if (typeof value !== "string" || value.length === 0) {
11
+ throw new Error(`${vendor} requires ${field}`);
12
+ }
13
+ }
14
+ function requireObject(value, field, vendor) {
15
+ if (value == null || typeof value !== "object" || Array.isArray(value)) {
16
+ throw new Error(`${vendor} requires ${field}`);
17
+ }
18
+ }
9
19
  /**
10
20
  * OpenAI Realtime API MLLM vendor.
11
21
  *
@@ -39,6 +49,35 @@ export class OpenAIRealtime extends BaseMLLM {
39
49
  return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ vendor: "openai", api_key: apiKey, url: url || "wss://api.openai.com/v1/realtime" }, (hasParams && { params: mergedParams })), (greetingMessage && { greeting_message: greetingMessage })), (inputModalities && { input_modalities: inputModalities })), (outputModalities && { output_modalities: outputModalities })), (messages && { messages })), (this.options.failureMessage && { failure_message: this.options.failureMessage })), (turnDetection && { turn_detection: turnDetection }));
40
50
  }
41
51
  }
52
+ /**
53
+ * Azure OpenAI Realtime MLLM vendor for global deployments.
54
+ *
55
+ * @example
56
+ * ```typescript
57
+ * const agent = new Agent({ client }).withMllm(new AzureOpenAIRealtime({
58
+ * apiKey: process.env.AZURE_OPENAI_API_KEY,
59
+ * url: 'wss://example.openai.azure.com/openai/realtime',
60
+ * model: 'gpt-4o-realtime-preview',
61
+ * maxHistory: 32,
62
+ * turnDetection: { mode: 'server_vad' },
63
+ * }));
64
+ * ```
65
+ */
66
+ export class AzureOpenAIRealtime extends BaseMLLM {
67
+ constructor(options) {
68
+ super();
69
+ requireString(options.apiKey, "apiKey", "AzureOpenAIRealtime");
70
+ requireString(options.url, "url", "AzureOpenAIRealtime");
71
+ requireObject(options.turnDetection, "turnDetection", "AzureOpenAIRealtime");
72
+ this.options = options;
73
+ }
74
+ toConfig() {
75
+ const { apiKey, url, model, voice, instructions, maxHistory, greetingMessage, outputModalities, messages, params, turnDetection, } = this.options;
76
+ const mergedParams = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ((params === null || params === void 0 ? void 0 : params.model) !== undefined && { model: params.model })), ((params === null || params === void 0 ? void 0 : params.voice) !== undefined && { voice: params.voice })), ((params === null || params === void 0 ? void 0 : params.instructions) !== undefined && { instructions: params.instructions })), (model !== undefined && { model })), (voice !== undefined && { voice })), (instructions !== undefined && { instructions }));
77
+ const hasParams = Object.keys(mergedParams).length > 0;
78
+ return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ vendor: "azure", api_key: apiKey, url }, (hasParams && { params: mergedParams })), (maxHistory !== undefined && { max_history: maxHistory })), (greetingMessage && { greeting_message: greetingMessage })), (outputModalities && { output_modalities: outputModalities })), (messages && { messages })), { turn_detection: turnDetection });
79
+ }
80
+ }
42
81
  /**
43
82
  * Google Gemini Live MLLM vendor (direct API, non-Vertex AI).
44
83
  *
@@ -125,3 +164,29 @@ export class XaiGrok extends BaseMLLM {
125
164
  return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ vendor: "xai", api_key: apiKey, url }, (messages && { messages })), { params: Object.assign(Object.assign(Object.assign(Object.assign({}, params), (voice && { voice })), (language && { language })), (sampleRate !== undefined && { sample_rate: sampleRate })) }), (inputModalities && { input_modalities: inputModalities })), (outputModalities && { output_modalities: outputModalities })), (greetingMessage && { greeting_message: greetingMessage })), (failureMessage && { failure_message: failureMessage })), (turnDetection && { turn_detection: turnDetection }));
126
165
  }
127
166
  }
167
+ /**
168
+ * Alibaba Cloud Qwen Omni Realtime MLLM vendor for Chinese mainland deployments.
169
+ *
170
+ * @example
171
+ * ```typescript
172
+ * const agent = new Agent({ client }).withMllm(new QwenOmni({
173
+ * apiKey: process.env.DASHSCOPE_API_KEY,
174
+ * model: 'qwen3.5-omni-plus-realtime',
175
+ * url: 'wss://dashscope.aliyuncs.com/api-ws/v1/realtime',
176
+ * greetingMessage: '你好,有什么可以帮你?',
177
+ * }));
178
+ * ```
179
+ */
180
+ export class QwenOmni extends BaseCNMLLM {
181
+ constructor(options) {
182
+ super();
183
+ requireString(options.apiKey, "apiKey", "QwenOmni");
184
+ requireString(options.model, "model", "QwenOmni");
185
+ requireString(options.url, "url", "QwenOmni");
186
+ this.options = options;
187
+ }
188
+ toConfig() {
189
+ const { apiKey, model, url, voice, instructions, greetingMessage, failureMessage, inputModalities, outputModalities, messages, params, turnDetection, } = this.options;
190
+ return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ vendor: "qwen_omni", api_key: apiKey, url, params: Object.assign(Object.assign(Object.assign(Object.assign({}, params), { model }), (voice !== undefined && { voice })), (instructions !== undefined && { instructions })) }, (greetingMessage && { greeting_message: greetingMessage })), (failureMessage && { failure_message: failureMessage })), (inputModalities && { input_modalities: inputModalities })), (outputModalities && { output_modalities: outputModalities })), (messages && { messages })), (turnDetection && { turn_detection: turnDetection }));
191
+ }
192
+ }
@@ -216,7 +216,7 @@ export interface AssemblyAISTTOptions {
216
216
  /** Language code */
217
217
  language: string;
218
218
  /** AssemblyAI streaming WebSocket URL */
219
- uri?: string;
219
+ ws_url?: string;
220
220
  /** Additional vendor-specific parameters */
221
221
  additionalParams?: Record<string, unknown>;
222
222
  }
@@ -240,6 +240,8 @@ export declare class AssemblyAISTT extends BaseSTT {
240
240
  * Constructor options for Agora ARES STT.
241
241
  */
242
242
  export interface AresSTTOptions {
243
+ /** Hotwords that improve recognition accuracy */
244
+ keywords?: string[];
243
245
  /** Additional vendor-specific parameters */
244
246
  additionalParams?: Record<string, unknown>;
245
247
  }
@@ -188,10 +188,10 @@ export class AssemblyAISTT extends BaseSTT {
188
188
  this.options = options;
189
189
  }
190
190
  toConfig() {
191
- const { apiKey, language, uri, additionalParams } = this.options;
191
+ const { apiKey, language, ws_url, additionalParams } = this.options;
192
192
  return {
193
193
  vendor: "assemblyai",
194
- params: Object.assign(Object.assign(Object.assign(Object.assign({}, additionalParams), { api_key: apiKey }), (language && { language })), (uri && { uri })),
194
+ params: Object.assign(Object.assign(Object.assign(Object.assign({}, additionalParams), { api_key: apiKey }), (language && { language })), (ws_url && { ws_url })),
195
195
  };
196
196
  }
197
197
  }
@@ -209,8 +209,11 @@ export class AresSTT extends BaseSTT {
209
209
  this.options = options;
210
210
  }
211
211
  toConfig() {
212
- const { additionalParams } = this.options;
213
- return Object.assign({ vendor: "ares" }, (additionalParams && Object.keys(additionalParams).length > 0 && { params: additionalParams }));
212
+ const { keywords, additionalParams } = this.options;
213
+ const hasParams = keywords !== undefined || (additionalParams !== undefined && Object.keys(additionalParams).length > 0);
214
+ return Object.assign({ vendor: "ares" }, (hasParams && {
215
+ params: Object.assign(Object.assign({}, additionalParams), (keywords !== undefined && { keywords })),
216
+ }));
214
217
  }
215
218
  }
216
219
  /**
@@ -322,6 +322,25 @@ export declare class MistralTTS extends BaseTTS {
322
322
  constructor(options: MistralTTSOptions);
323
323
  toConfig(): TtsConfig;
324
324
  }
325
+ /** Constructor options for Typecast TTS. */
326
+ export interface TypecastTTSOptions {
327
+ /** Typecast API key */
328
+ apiKey: string;
329
+ /** Typecast voice identifier */
330
+ voiceId: string;
331
+ /** Typecast TTS model name (e.g., 'ssfm-v30') */
332
+ model: string;
333
+ /** Additional vendor-specific parameters */
334
+ additionalParams?: Record<string, unknown>;
335
+ /** Skip patterns for bracketed content */
336
+ skipPatterns?: number[];
337
+ }
338
+ /** Typecast TTS vendor. */
339
+ export declare class TypecastTTS extends BaseTTS {
340
+ private readonly options;
341
+ constructor(options: TypecastTTSOptions);
342
+ toConfig(): TtsConfig;
343
+ }
325
344
  /**
326
345
  * Constructor options for Hume AI TTS.
327
346
  */
@@ -211,6 +211,20 @@ export class MistralTTS extends BaseTTS {
211
211
  return Object.assign({ vendor: "mistral", params: Object.assign(Object.assign(Object.assign(Object.assign({}, additionalParams), { api_key: apiKey }), (model !== undefined && { model })), (voice !== undefined && { voice })) }, (skipPatterns && { skip_patterns: skipPatterns }));
212
212
  }
213
213
  }
214
+ /** Typecast TTS vendor. */
215
+ export class TypecastTTS extends BaseTTS {
216
+ constructor(options) {
217
+ super();
218
+ requireString(options.apiKey, "apiKey", "TypecastTTS");
219
+ requireString(options.voiceId, "voiceId", "TypecastTTS");
220
+ requireString(options.model, "model", "TypecastTTS");
221
+ this.options = options;
222
+ }
223
+ toConfig() {
224
+ const { apiKey, voiceId, model, additionalParams, skipPatterns } = this.options;
225
+ return Object.assign({ vendor: "typecast", params: Object.assign(Object.assign({}, additionalParams), { api_key: apiKey, voice_id: voiceId, model }) }, (skipPatterns && { skip_patterns: skipPatterns }));
226
+ }
227
+ }
214
228
  /**
215
229
  * Hume AI TTS vendor.
216
230
  *
@@ -1,4 +1,9 @@
1
1
  /**
2
2
  * ARES ASR configuration parameters.
3
3
  */
4
- export type AresAsrParams = Record<string, unknown>;
4
+ export interface AresAsrParams {
5
+ /** A list of hotwords to improve ASR accuracy. */
6
+ keywords?: string[];
7
+ /** Accepts any additional properties */
8
+ [key: string]: any;
9
+ }
@@ -7,7 +7,7 @@ export interface AssemblyAiAsrParams {
7
7
  /** Language code for speech recognition */
8
8
  language: string;
9
9
  /** WebSocket URL for AssemblyAI's streaming API */
10
- uri?: string | null;
10
+ ws_url?: string | null;
11
11
  /** Accepts any additional properties */
12
12
  [key: string]: any;
13
13
  }
@@ -4,8 +4,7 @@ import type * as Agora from "../index.mjs";
4
4
  */
5
5
  export interface FengmingAsr {
6
6
  language?: Agora.AsrLanguage;
7
- /** Agora Fengming ASR configuration parameters. */
8
- params?: Record<string, unknown>;
7
+ params?: Agora.FengmingAsrParams;
9
8
  /** Accepts any additional properties */
10
9
  [key: string]: any;
11
10
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Agora Fengming ASR configuration parameters.
3
+ */
4
+ export interface FengmingAsrParams {
5
+ /** A list of hotwords to improve ASR accuracy. */
6
+ keywords?: string[];
7
+ /** Accepts any additional properties */
8
+ [key: string]: any;
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -18,6 +18,8 @@ export interface Mllm {
18
18
  /** Array of conversation items used for short-term memory management. */
19
19
  messages?: Record<string, unknown>[] | null;
20
20
  params?: Agora.MllmParams;
21
+ /** The number of conversation history messages cached in the MLLM. Applicable to Azure OpenAI Realtime API only. */
22
+ max_history?: number;
21
23
  /** MLLM input modalities. */
22
24
  input_modalities?: string[] | null;
23
25
  /** MLLM output modalities. */
@@ -36,9 +38,11 @@ export declare namespace Mllm {
36
38
  /** MLLM provider. */
37
39
  const Vendor: {
38
40
  readonly Openai: "openai";
41
+ readonly Azure: "azure";
39
42
  readonly Gemini: "gemini";
40
43
  readonly Vertexai: "vertexai";
41
44
  readonly Xai: "xai";
45
+ readonly QwenOmni: "qwen_omni";
42
46
  };
43
47
  type Vendor = (typeof Vendor)[keyof typeof Vendor];
44
48
  }
@@ -4,8 +4,10 @@ export var Mllm;
4
4
  /** MLLM provider. */
5
5
  Mllm.Vendor = {
6
6
  Openai: "openai",
7
+ Azure: "azure",
7
8
  Gemini: "gemini",
8
9
  Vertexai: "vertexai",
9
10
  Xai: "xai",
11
+ QwenOmni: "qwen_omni",
10
12
  };
11
13
  })(Mllm || (Mllm = {}));
@@ -1,5 +1,5 @@
1
1
  import type * as Agora from "../index.mjs";
2
- export type Tts = Agora.Tts.Tencent | Agora.Tts.Bytedance | Agora.Tts.Microsoft | Agora.Tts.Elevenlabs | Agora.Tts.Minimax | Agora.Tts.Murf | Agora.Tts.Cartesia | Agora.Tts.Openai | Agora.Tts.Humeai | Agora.Tts.Rime | Agora.Tts.Fishaudio | Agora.Tts.Google | Agora.Tts.Amazon | Agora.Tts.Sarvam | Agora.Tts.GenericHttp | Agora.Tts.Xai | Agora.Tts.Deepgram | Agora.Tts.Cosyvoice | Agora.Tts.BytedanceDuplex | Agora.Tts.Stepfun | Agora.Tts.Gradium | Agora.Tts.Mistral;
2
+ export type Tts = Agora.Tts.Tencent | Agora.Tts.Bytedance | Agora.Tts.Microsoft | Agora.Tts.Elevenlabs | Agora.Tts.Minimax | Agora.Tts.Murf | Agora.Tts.Cartesia | Agora.Tts.Openai | Agora.Tts.Humeai | Agora.Tts.Rime | Agora.Tts.Fishaudio | Agora.Tts.Google | Agora.Tts.Amazon | Agora.Tts.Sarvam | Agora.Tts.GenericHttp | Agora.Tts.Xai | Agora.Tts.Deepgram | Agora.Tts.Cosyvoice | Agora.Tts.BytedanceDuplex | Agora.Tts.Stepfun | Agora.Tts.Gradium | Agora.Tts.Mistral | Agora.Tts.Typecast;
3
3
  export declare namespace Tts {
4
4
  interface Tencent extends Agora.TencentTts {
5
5
  vendor: "tencent";
@@ -67,4 +67,7 @@ export declare namespace Tts {
67
67
  interface Mistral extends Agora.MistralTts {
68
68
  vendor: "mistral";
69
69
  }
70
+ interface Typecast extends Agora.TypecastTts {
71
+ vendor: "typecast";
72
+ }
70
73
  }
@@ -0,0 +1,9 @@
1
+ import type * as Agora from "../index.mjs";
2
+ /**
3
+ * Typecast Text-to-Speech configuration.
4
+ */
5
+ export interface TypecastTts {
6
+ params: Agora.TypecastTtsParams;
7
+ /** Controls whether the TTS module skips bracketed content when reading LLM response text. */
8
+ skip_patterns?: number[];
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Typecast TTS configuration parameters.
3
+ */
4
+ export interface TypecastTtsParams {
5
+ /** Typecast API key. */
6
+ api_key: string;
7
+ /** Typecast voice identifier (for example, "tc_60e5426de8b95f1d3000d7b5"). */
8
+ voice_id: string;
9
+ /** Typecast TTS model name (for example, "ssfm-v30"). */
10
+ model: string;
11
+ /** Accepts any additional properties */
12
+ [key: string]: any;
13
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -26,6 +26,7 @@ export * from "./DeepgramTtsParams.mjs";
26
26
  export * from "./ElevenLabsTts.mjs";
27
27
  export * from "./ElevenLabsTtsParams.mjs";
28
28
  export * from "./FengmingAsr.mjs";
29
+ export * from "./FengmingAsrParams.mjs";
29
30
  export * from "./FishAudioTts.mjs";
30
31
  export * from "./FishAudioTtsParams.mjs";
31
32
  export * from "./GenericHttpTts.mjs";
@@ -80,6 +81,8 @@ export * from "./TencentAsrParams.mjs";
80
81
  export * from "./TencentTts.mjs";
81
82
  export * from "./TencentTtsParams.mjs";
82
83
  export * from "./Tts.mjs";
84
+ export * from "./TypecastTts.mjs";
85
+ export * from "./TypecastTtsParams.mjs";
83
86
  export * from "./XAiAsr.mjs";
84
87
  export * from "./XAiAsrParams.mjs";
85
88
  export * from "./XAiTts.mjs";
@@ -26,6 +26,7 @@ export * from "./DeepgramTtsParams.mjs";
26
26
  export * from "./ElevenLabsTts.mjs";
27
27
  export * from "./ElevenLabsTtsParams.mjs";
28
28
  export * from "./FengmingAsr.mjs";
29
+ export * from "./FengmingAsrParams.mjs";
29
30
  export * from "./FishAudioTts.mjs";
30
31
  export * from "./FishAudioTtsParams.mjs";
31
32
  export * from "./GenericHttpTts.mjs";
@@ -80,6 +81,8 @@ export * from "./TencentAsrParams.mjs";
80
81
  export * from "./TencentTts.mjs";
81
82
  export * from "./TencentTtsParams.mjs";
82
83
  export * from "./Tts.mjs";
84
+ export * from "./TypecastTts.mjs";
85
+ export * from "./TypecastTtsParams.mjs";
83
86
  export * from "./XAiAsr.mjs";
84
87
  export * from "./XAiAsrParams.mjs";
85
88
  export * from "./XAiTts.mjs";
@@ -1,8 +1,8 @@
1
1
  export type { AgoraAuthMode } from "./AgoraPoolClient.mjs";
2
2
  export { AgoraClient } from "./AgoraPoolClient.mjs";
3
3
  export type { AgoraArea, AreaScope, GlobalArea } from "./agentkit/area.mjs";
4
- export type { AdvancedFeatures, AgentConfig, AgentConfigUpdate, AgentOptions, AgentPreset, AgentSessionEvent, AgentSessionEventHandler, AgentSessionOptions, AgentsClient, AkoolAvatarConfig, AkoolAvatarOptions, AkoolSampleRate, AliyunLLMOptions, AmazonBedrockOptions, AmazonSTTOptions, AmazonTTSOptions, AmazonTts, AmazonTtsParams, AnamAvatarConfig, AnamAvatarOptions, AnthropicOptions, AresSTTOptions, AsrConfig, AsrPreset, AsrVendorName, AssemblyAISTTOptions, AvatarConfig, AvatarVendor, AvatarWireVendor, AzureOpenAIOptions, BytedanceDuplexTTSOptions, BytedanceLLMOptions, BytedanceTTSOptions, CartesiaSampleRate, CartesiaTTSOptions, CartesiaTts, CartesiaTtsParams, CNAvatarVendor, CNLlmVendor, CNSttVendor, CNTtsVendor, ConversationHistory, ConversationRole, ConversationSessionTurn, ConversationTurn, ConversationTurns, CustomLLMOptions, DeepgramSTTOptions, DeepgramTTSOptions, DeepSeekLLMOptions, DifyOptions, Eagerness, ElevenLabsSampleRate, ElevenLabsTTSOptions, ElevenLabsTts, ElevenLabsTtsParams, EndOfSpeechConfig, EndOfSpeechMode, EndOfSpeechSemanticConfig, EndOfSpeechVadConfig, FarewellConfig, FillerWordsConfig, FillerWordsContent, FillerWordsContentSelectionRule, FillerWordsContentStaticConfig, FillerWordsTrigger, FillerWordsTriggerFixedTimeConfig, FishAudioTTSOptions, FishAudioTts, FishAudioTtsParams, GeminiLiveOptions, GeminiOptions, GenerateConvoAITokenOptions, GenerateTokenOptions, GenericAvatarConfig, GenericAvatarOptions, GenericTTSOptions, GenericTts, GenericTtsParams, GeofenceArea, GeofenceConfig, GeofenceExcludeArea, GetTurnsOptions, GlobalAvatarVendor, GlobalLlmVendor, GlobalSttVendor, GlobalTtsVendor, GoogleSTTOptions, GoogleTTSOptions, GoogleTts, GoogleTtsParams, GradiumTTSOptions, GradiumTts, GradiumTtsParams, GroqOptions, HeyGenAvatarConfig, HeyGenAvatarOptions, HeyGenSampleRate, HumeAITTSOptions, HumeAiTts, HumeAiTtsParams, InterruptionConfig, InterruptionMode, InterruptMode, Labels, LiveAvatarAvatarConfig, LiveAvatarAvatarOptions, LiveAvatarSampleRate, LlmConfig, LlmGreetingConfigs, LlmGreetingConfigsMode, LlmPreset, LlmStyle, LlmVendor, McpServersItem, MicrosoftCNSampleRate, MicrosoftCNSTTOptions, MicrosoftCNTTSOptions, MicrosoftSampleRate, MicrosoftSTTOptions, MicrosoftTTSOptions, MicrosoftTts, MicrosoftTtsParams, MiniMaxCNTTSOptions, MiniMaxTTSOptions, MinimaxTts, MinimaxTtsParams, MistralTTSOptions, MistralTts, MistralTtsParams, MllmConfig, MllmTurnDetectionConfig, MllmTurnDetectionMode, MllmVendor, MurfTTSOptions, MurfTts, MurfTtsParams, OpenAIOptions, OpenAIRealtimeOptions, OpenAISTTOptions, OpenAITTSOptions, OpenAiTts, OpenAiTtsParams, ParametersAudioScenario, ParametersDataChannel, PresetCategory, PresetInput, RimeTTSOptions, RimeTts, RimeTtsParams, RtcConfig, SalConfig, SalMode, SampleRate, SarvamSTTOptions, SarvamTTSOptions, SarvamTts, SarvamTtsParams, SayOptions, SensetimeAvatarConfig, SensetimeAvatarOptions, SessionInfo, SessionListResponse, SessionOptions, SessionParams, SessionParamsInput, SessionStatus, SessionSummary, SilenceAction, SilenceConfig, SpatiusAvatarConfig, SpatiusAvatarOptions, SpatiusAvatarParams, SpeakPriority, SpeechmaticsSTTOptions, StartOfSpeechConfig, StartOfSpeechDisabledConfig, StartOfSpeechDisabledConfigStrategy, StartOfSpeechKeywordsConfig, StartOfSpeechMode, StartOfSpeechVadConfig, StepFunTTSOptions, StrictAvatarConfig, SttConfig, SttVendor, TencentLLMOptions, TencentSTTOptions, TencentTTSOptions, ThinkOnListeningAction, ThinkOnSpeakingAction, ThinkOnThinkingAction, ThinkOptions, ThinkResponse, TtsConfig, TtsPreset, TtsVendor, TurnDetectionConfig, TurnDetectionLanguage, TurnDetectionNestedConfig, TurnDetectionType, VertexAILLMOptions, VertexAIOptions, XAiAsr, XAiAsrParams, XAiSTTOptions, XAiTTSOptions, XAiTts, XAiTtsParams, XaiGrokOptions, XfyunBigModelSTTOptions, XfyunDialectSTTOptions, XfyunSTTOptions, } from "./agentkit/index.mjs";
5
- export { Agent, AgentPresets, AgentSession, AkoolAvatar, AliyunLLM, AmazonBedrock, AmazonSTT, AmazonTTS, AnamAvatar, Anthropic, AresSTT, AssemblyAISTT, AudioScenario, AzureOpenAI, BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNSTT, BaseCNTTS, BaseLLM, BaseMLLM, BaseSTT, BaseTTS, BytedanceDuplexTTS, BytedanceLLM, BytedanceTTS, CartesiaTTS, CosyVoiceTTS, CredentialMode, CustomLLM, DataChannel, DeepgramSTT, DeepgramTTS, DeepSeekLLM, Dify, ElevenLabsTTS, ExpiresIn, FengmingSTT, FillerWordsSelectionRule, FishAudioTTS, Gemini, GeminiLive, GenericAvatar, GenericTTS, Geofence, GoogleSTT, GoogleTTS, GradiumTTS, Groq, generateConvoAIToken, generateRtcToken, HeyGenAvatar, HumeAITTS, InterruptionDisabledStrategy, InterruptionDisabledStrategyAppend, InterruptionDisabledStrategyIgnore, InterruptionModeKeywords, InterruptionModeStartOfSpeech, InterruptionModeValues, isAkoolAvatar, isAnamAvatar, isAvatarTokenManaged, isGenericAvatar, isHeyGenAvatar, isLiveAvatarAvatar, isSensetimeAvatar, isSpatiusAvatar, LiveAvatarAvatar, MAX_EXPIRY_SECONDS, MicrosoftCNSTT, MicrosoftCNTTS, MicrosoftSTT, MicrosoftTTS, MiniMaxCNTTS, MiniMaxTTS, MistralTTS, MllmTurnDetectionModeAgoraVad, MllmTurnDetectionModeSemanticVad, MllmTurnDetectionModeServerVad, MllmTurnDetectionModeValues, MurfTTS, normalizePresetInput, OpenAI, OpenAIRealtime, OpenAISTT, OpenAITTS, RimeTTS, SalModeValues, SarvamSTT, SarvamTTS, SensetimeAvatar, SilenceActionValues, SpatiusAvatar, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues, SpeechmaticsSTT, StepFunTTS, TencentLLM, TencentSTT, TencentTTS, ThinkOnListeningActionIgnore, ThinkOnListeningActionInject, ThinkOnListeningActionInterrupt, ThinkOnSpeakingActionIgnore, ThinkOnSpeakingActionInterrupt, ThinkOnThinkingActionIgnore, ThinkOnThinkingActionInterrupt, TurnDetectionTypeValues, toBaseAvatarConfig, VertexAI, VertexAILLM, validateAvatarConfig, validateTtsSampleRate, XAiSTT, XAiTTS, XaiGrok, XfyunBigModelSTT, XfyunDialectSTT, XfyunSTT, } from "./agentkit/index.mjs";
4
+ export type { AdvancedFeatures, AgentConfig, AgentConfigUpdate, AgentOptions, AgentPreset, AgentSessionEvent, AgentSessionEventHandler, AgentSessionOptions, AgentsClient, AkoolAvatarConfig, AkoolAvatarOptions, AkoolSampleRate, AliyunLLMOptions, AmazonBedrockOptions, AmazonSTTOptions, AmazonTTSOptions, AmazonTts, AmazonTtsParams, AnamAvatarConfig, AnamAvatarOptions, AnthropicOptions, AresSTTOptions, AsrConfig, AsrPreset, AsrVendorName, AssemblyAISTTOptions, AvatarConfig, AvatarVendor, AvatarWireVendor, AzureOpenAIOptions, AzureOpenAIRealtimeOptions, AzureOpenAIRealtimeParams, BytedanceDuplexTTSOptions, BytedanceLLMOptions, BytedanceTTSOptions, CartesiaSampleRate, CartesiaTTSOptions, CartesiaTts, CartesiaTtsParams, CNAvatarVendor, CNLlmVendor, CNMllmVendor, CNSttVendor, CNTtsVendor, ConversationHistory, ConversationRole, ConversationSessionTurn, ConversationTurn, ConversationTurns, CustomLLMOptions, DeepgramSTTOptions, DeepgramTTSOptions, DeepSeekLLMOptions, DifyOptions, Eagerness, ElevenLabsSampleRate, ElevenLabsTTSOptions, ElevenLabsTts, ElevenLabsTtsParams, EndOfSpeechConfig, EndOfSpeechMode, EndOfSpeechSemanticConfig, EndOfSpeechVadConfig, FarewellConfig, FengmingSTTOptions, FillerWordsConfig, FillerWordsContent, FillerWordsContentSelectionRule, FillerWordsContentStaticConfig, FillerWordsTrigger, FillerWordsTriggerFixedTimeConfig, FishAudioTTSOptions, FishAudioTts, FishAudioTtsParams, GeminiLiveOptions, GeminiOptions, GenerateConvoAITokenOptions, GenerateTokenOptions, GenericAvatarConfig, GenericAvatarOptions, GenericTTSOptions, GenericTts, GenericTtsParams, GeofenceArea, GeofenceConfig, GeofenceExcludeArea, GetTurnsOptions, GlobalAvatarVendor, GlobalLlmVendor, GlobalMllmVendor, GlobalSttVendor, GlobalTtsVendor, GoogleSTTOptions, GoogleTTSOptions, GoogleTts, GoogleTtsParams, GradiumTTSOptions, GradiumTts, GradiumTtsParams, GroqOptions, HeyGenAvatarConfig, HeyGenAvatarOptions, HeyGenSampleRate, HumeAITTSOptions, HumeAiTts, HumeAiTtsParams, InterruptionConfig, InterruptionMode, InterruptMode, Labels, LiveAvatarAvatarConfig, LiveAvatarAvatarOptions, LiveAvatarSampleRate, LlmConfig, LlmGreetingConfigs, LlmGreetingConfigsMode, LlmPreset, LlmStyle, LlmVendor, McpServersItem, MicrosoftCNSampleRate, MicrosoftCNSTTOptions, MicrosoftCNTTSOptions, MicrosoftSampleRate, MicrosoftSTTOptions, MicrosoftTTSOptions, MicrosoftTts, MicrosoftTtsParams, MiniMaxCNTTSOptions, MiniMaxTTSOptions, MinimaxTts, MinimaxTtsParams, MistralTTSOptions, MistralTts, MistralTtsParams, MllmConfig, MllmTurnDetectionConfig, MllmTurnDetectionMode, MllmVendor, MurfTTSOptions, MurfTts, MurfTtsParams, OpenAIOptions, OpenAIRealtimeOptions, OpenAISTTOptions, OpenAITTSOptions, OpenAiTts, OpenAiTtsParams, ParametersAudioScenario, ParametersDataChannel, PresetCategory, PresetInput, QwenOmniOptions, RimeTTSOptions, RimeTts, RimeTtsParams, RtcConfig, SalConfig, SalMode, SampleRate, SarvamSTTOptions, SarvamTTSOptions, SarvamTts, SarvamTtsParams, SayOptions, SensetimeAvatarConfig, SensetimeAvatarOptions, SessionInfo, SessionListResponse, SessionOptions, SessionParams, SessionParamsInput, SessionStatus, SessionSummary, SilenceAction, SilenceConfig, SpatiusAvatarConfig, SpatiusAvatarOptions, SpatiusAvatarParams, SpeakPriority, SpeechmaticsSTTOptions, StartOfSpeechConfig, StartOfSpeechDisabledConfig, StartOfSpeechDisabledConfigStrategy, StartOfSpeechKeywordsConfig, StartOfSpeechMode, StartOfSpeechVadConfig, StepFunTTSOptions, StrictAvatarConfig, SttConfig, SttVendor, TencentLLMOptions, TencentSTTOptions, TencentTTSOptions, ThinkOnListeningAction, ThinkOnSpeakingAction, ThinkOnThinkingAction, ThinkOptions, ThinkResponse, TtsConfig, TtsPreset, TtsVendor, TurnDetectionConfig, TurnDetectionLanguage, TurnDetectionNestedConfig, TurnDetectionType, TypecastTTSOptions, TypecastTts, TypecastTtsParams, VertexAILLMOptions, VertexAIOptions, XAiAsr, XAiAsrParams, XAiSTTOptions, XAiTTSOptions, XAiTts, XAiTtsParams, XaiGrokOptions, XfyunBigModelSTTOptions, XfyunDialectSTTOptions, XfyunSTTOptions, } from "./agentkit/index.mjs";
5
+ export { Agent, AgentPresets, AgentSession, AkoolAvatar, AliyunLLM, AmazonBedrock, AmazonSTT, AmazonTTS, AnamAvatar, Anthropic, AresSTT, AssemblyAISTT, AudioScenario, AzureOpenAI, AzureOpenAIRealtime, BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNMLLM, BaseCNSTT, BaseCNTTS, BaseLLM, BaseMLLM, BaseSTT, BaseTTS, BytedanceDuplexTTS, BytedanceLLM, BytedanceTTS, CartesiaTTS, CosyVoiceTTS, CredentialMode, CustomLLM, DataChannel, DeepgramSTT, DeepgramTTS, DeepSeekLLM, Dify, ElevenLabsTTS, ExpiresIn, FengmingSTT, FillerWordsSelectionRule, FishAudioTTS, Gemini, GeminiLive, GenericAvatar, GenericTTS, Geofence, GoogleSTT, GoogleTTS, GradiumTTS, Groq, generateConvoAIToken, generateRtcToken, HeyGenAvatar, HumeAITTS, InterruptionDisabledStrategy, InterruptionDisabledStrategyAppend, InterruptionDisabledStrategyIgnore, InterruptionModeKeywords, InterruptionModeStartOfSpeech, InterruptionModeValues, isAkoolAvatar, isAnamAvatar, isAvatarTokenManaged, isGenericAvatar, isHeyGenAvatar, isLiveAvatarAvatar, isSensetimeAvatar, isSpatiusAvatar, LiveAvatarAvatar, MAX_EXPIRY_SECONDS, MicrosoftCNSTT, MicrosoftCNTTS, MicrosoftSTT, MicrosoftTTS, MiniMaxCNTTS, MiniMaxTTS, MistralTTS, MllmTurnDetectionModeAgoraVad, MllmTurnDetectionModeSemanticVad, MllmTurnDetectionModeServerVad, MllmTurnDetectionModeValues, MurfTTS, normalizePresetInput, OpenAI, OpenAIRealtime, OpenAISTT, OpenAITTS, QwenOmni, RimeTTS, SalModeValues, SarvamSTT, SarvamTTS, SensetimeAvatar, SilenceActionValues, SpatiusAvatar, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues, SpeechmaticsSTT, StepFunTTS, TencentLLM, TencentSTT, TencentTTS, ThinkOnListeningActionIgnore, ThinkOnListeningActionInject, ThinkOnListeningActionInterrupt, ThinkOnSpeakingActionIgnore, ThinkOnSpeakingActionInterrupt, ThinkOnThinkingActionIgnore, ThinkOnThinkingActionInterrupt, TurnDetectionTypeValues, TypecastTTS, toBaseAvatarConfig, VertexAI, VertexAILLM, validateAvatarConfig, validateTtsSampleRate, XAiSTT, XAiTTS, XaiGrok, XfyunBigModelSTT, XfyunDialectSTT, XfyunSTT, } from "./agentkit/index.mjs";
6
6
  export * as Agora from "./api/index.mjs";
7
7
  export type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.mjs";
8
8
  export { Area } from "./core/domain/index.mjs";