{"id":"src_UGWFk_DrhtiAXEVPT_9q2","slug":"elevenlabs-agents-sdk-typescript","name":"Agents SDK (TypeScript)","type":"github","url":"https://github.com/elevenlabs/packages","orgId":"org_bL4F7oNaEtnASmH-CtFHR","productId":null,"productSlug":null,"org":{"id":"org_bL4F7oNaEtnASmH-CtFHR","slug":"elevenlabs","name":"ElevenLabs"},"isPrimary":false,"isHidden":false,"discovery":"curated","fetchPriority":"normal","metadata":"{\"evaluatedMethod\":\"github\",\"evaluatedAt\":\"2026-04-07T17:18:44.810Z\",\"changelogDetectedAt\":\"2026-04-07T17:27:47.756Z\",\"changelogPaths\":[\"packages/client/CHANGELOG.md\",\"packages/react/CHANGELOG.md\",\"packages/react-native/CHANGELOG.md\"],\"wellKnownSweptAt\":\"2026-10-31T06:00:36.365Z\"}","notice":null,"kind":"sdk","stars":118,"starsFetchedAt":"2026-11-06T19:24:53.781Z","releaseCount":245,"releasesLast30Days":37,"avgReleasesPerWeek":5.1,"latestVersion":"@elevenlabs/convai-widget-core@0.25.1","latestDate":"2026-11-06T17:44:47.000Z","changelogUrl":null,"hasChangelogFile":true,"lastFetchedAt":"2026-11-06T19:24:53.781Z","lastPolledAt":"2026-11-06T19:24:42.442Z","changeDetectedAt":null,"trackingSince":"2025-12-10T13:46:06.000Z","releases":[{"id":"rel_ui1D7WISEF621GfWbv1CR","version":"@elevenlabs/convai-widget-core@0.25.1","type":"feature","title":"@elevenlabs/convai-widget-core@0.25.1","summary":"The widget carousel now displays up to 10 cards instead of 5.","titleGenerated":"ElevenLabs convai-widget-core 0.25.1 shows up to 10 carousel cards","titleShort":"Carousel shows up to 10 cards, up from 5","breaking":"none","importance":1,"content":"### Patch Changes\n\n-   b3bf0e4: Show up to 10 cards in a carousel, up from 5.\n","publishedAt":"2026-11-06T17:44:47.000Z","fetchedAt":"2026-11-06T19:24:44.488Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/convai-widget-core%400.25.1","media":[],"coverageCount":0},{"id":"rel_WIrpFVDSpJIfR14GxOPKB","version":"@elevenlabs/convai-widget-embed@0.25.1","type":"feature","title":"@elevenlabs/convai-widget-embed@0.25.1","summary":"","titleGenerated":null,"titleShort":null,"breaking":"unknown","importance":null,"content":"\n","publishedAt":"2026-11-06T17:44:44.000Z","fetchedAt":"2026-11-06T19:24:44.488Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/convai-widget-embed%400.25.1","media":[],"coverageCount":0},{"id":"rel_atxPxVRaw6HYDhfj-hCbe","version":"@elevenlabs/convai-widget-core@0.25.0","type":"feature","title":"@elevenlabs/convai-widget-core@0.25.0","summary":"A default-size attribute sets whether the widget's chat opens compact or expanded, and a new messages button with a count appears when messages arrive while the transcript is scrolled up. The voice/text mode toggle is now a Voice/Text segmented control, with voice_mode_label and text_mode_label text contents for its labels.","titleGenerated":"ElevenLabs convai-widget-core 0.25.0 adds default-size attribute and new-messages button","titleShort":"Widget gets default-size attribute; new-messages button added","breaking":"none","importance":2,"content":"### Minor Changes\n\n-   5dc3299: Redesign the voice/text mode toggle as a Voice/Text segmented control, labeled in the expanded widget and icon-only in the compact widget, and add `voice_mode_label` and `text_mode_label` text contents for its labels.\n-   3c69b6f: Add a `default-size` attribute (`compact` or `expanded`) that sets the size the widget's chat opens at.\n-   131ddb9: Show a \"new messages\" button with a count when messages, like product carousels, arrive while the transcript is scrolled up. The labels can be customized with the `new_message` and `new_messages` text content keys, where `{count}` is replaced with the number of messages.\n\n### Patch Changes\n\n-   81afd10: Keep the transcript scrolling to new messages, like product carousels, after a scroll or swipe that didn't move it.\n-   Updated dependencies [3d1c8ef]\n    -   @elevenlabs/client@1.35.0\n","publishedAt":"2026-11-04T20:48:25.000Z","fetchedAt":"2026-11-04T23:24:35.703Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/convai-widget-core%400.25.0","media":[],"coverageCount":0},{"id":"rel_WrZbS0UKYPhfw8tqACG7H","version":"@elevenlabs/convai-widget-embed@0.25.0","type":"feature","title":"@elevenlabs/convai-widget-embed@0.25.0","summary":"","titleGenerated":null,"titleShort":null,"breaking":"unknown","importance":null,"content":"\n","publishedAt":"2026-11-04T20:48:16.000Z","fetchedAt":"2026-11-04T23:24:35.703Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/convai-widget-embed%400.25.0","media":[],"coverageCount":0},{"id":"rel_i02Etiesi2KgdHSV32czR","version":"@elevenlabs/client@1.35.0","type":"feature","title":"@elevenlabs/client@1.35.0","summary":"ConversationConfigOverrideTtsModelId now declares the documented ElevenAgents TTS models, and the client suggests them when setting overrides.tts.modelId. Other strings are still accepted by the compiler, and model_id is only sent in conversation_config_override.tts when modelId is provided.","titleGenerated":"ElevenLabs Agents SDK TypeScript 1.35.0 types the TTS modelId override","titleShort":"TTS modelId override gets typed model suggestions","breaking":"none","importance":2,"content":"### Minor Changes\n\n-   3d1c8ef: Type the existing `overrides.tts.modelId` from the spec. `@elevenlabs/types` now declares the documented ElevenAgents TTS models (`eleven_turbo_v2`, `eleven_turbo_v2_5`, `eleven_flash_v2`, `eleven_flash_v2_5`, `eleven_multilingual_v2`, `eleven_v3_conversational`, `eleven_v4`, `eleven_v4_turbo`) as `ConversationConfigOverrideTtsModelId`, and `@elevenlabs/client` suggests them when setting `modelId`. Any other string is still accepted so that newly released or deprecated models are never rejected by the compiler, but the API may reject ids outside the documented list at runtime. `model_id` is only added to `conversation_config_override.tts` when `modelId` is provided.\n\n### Patch Changes\n\n-   Updated dependencies [3d1c8ef]\n    -   @elevenlabs/types@0.29.0\n","publishedAt":"2026-11-04T20:48:13.000Z","fetchedAt":"2026-11-04T23:24:35.957Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/client%401.35.0","media":[],"coverageCount":3},{"id":"rel_dYTxMPUIdYFVH_l9SN744","version":"@elevenlabs/client@1.34.0","type":"feature","title":"@elevenlabs/client@1.34.0","summary":"Scribe.connect() accepts entityRedaction and entityRedactionMode options and dispatches a new redacted_transcript message with the committed text and its redacted_text. stripAudioTags now removes audio tags written in any language, not only English letters.","titleGenerated":"ElevenLabs client 1.34.0 adds entity redaction to Scribe transcripts","titleShort":"Scribe transcripts can now redact entities","breaking":"none","importance":3,"content":"### Minor Changes\n\n-   29f9b8e: Add the `entityRedaction` and `entityRedactionMode` options to `Scribe.connect()` and dispatch the new `redacted_transcript` server message:\n    -   `entityRedaction`: redact entities from committed transcripts. Accepts the same values as `entityDetection` (`\"all\"`, a category, a specific entity type, or a list), sent as repeated `entity_redaction` query params. Cannot be combined with `transcriptEdit`.\n    -   `entityRedactionMode` (`EntityRedactionMode`): how redacted entities are marked, `\"redacted\"` (`{REDACTED}`), `\"entity_type\"` (`{NAME}`) or `\"enumerated_entity_type\"` (`{NAME_0}`, the server default). Sent as the `entity_redaction_mode` query param only when set.\n    -   `redacted_transcript` (`RealtimeEvents.REDACTED_TRANSCRIPT`), carrying the committed `text` and its `redacted_text` (`RedactedTranscriptMessage`). It is sent after its committed transcript, in commit order; partial and committed transcripts stay unredacted.\n    -   `useScribe()` accepts the same `entityRedaction` and `entityRedactionMode` options, exposes an `onRedactedTranscript` callback and attaches the redacted text to the matching entry in `committedTranscripts` as `redactedText`.\n\n-   6dab091: `stripAudioTags` now removes audio tags written in any language, such as `[차분]` or `[穏やかに]`, not only tags made of English letters.\n\n### Patch Changes\n\n-   Updated dependencies [29f9b8e]\n    -   @elevenlabs/types@0.28.0\n","publishedAt":"2026-11-04T09:03:49.000Z","fetchedAt":"2026-11-04T11:24:33.509Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/client%401.34.0","media":[],"coverageCount":4},{"id":"rel_o5uqH6uOA5GZYOMphfROu","version":"@elevenlabs/convai-widget-embed@0.24.1","type":"feature","title":"@elevenlabs/convai-widget-embed@0.24.1","summary":"","titleGenerated":null,"titleShort":null,"breaking":"unknown","importance":null,"content":"\n","publishedAt":"2026-11-04T09:03:43.000Z","fetchedAt":"2026-11-04T11:24:33.509Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/convai-widget-embed%400.24.1","media":[],"coverageCount":0},{"id":"rel_HQ4pbdFCjfrIg9Tc45Y7k","version":"@elevenlabs/convai-widget-core@0.24.0","type":"feature","title":"@elevenlabs/convai-widget-core@0.24.0","summary":"With persistent-session enabled, the widget shows the conversation so far on the next page with a \"Resume talking?\" prompt. Resuming starts a new conversation continuing from those turns and skips the greeting if the agent allows first message overrides.","titleGenerated":"ElevenLabs convai-widget-core 0.24.0 resumes voice calls across page navigation","titleShort":"Voice calls resume after page navigation","breaking":"none","importance":3,"content":"### Minor Changes\n\n-   a141a02: With `persistent-session` enabled, a voice call can be resumed after a page navigation: the next page shows the conversation so far with \"Resume talking?\". Resuming starts a new conversation that continues from those turns, and skips the greeting if the agent allows first message overrides.\n","publishedAt":"2026-11-03T14:24:44.000Z","fetchedAt":"2026-11-03T15:24:27.615Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/convai-widget-core%400.24.0","media":[],"coverageCount":0},{"id":"rel_liMXZkF_t9yhj_nFoaNlw","version":"@elevenlabs/convai-widget-embed@0.24.0","type":"feature","title":"@elevenlabs/convai-widget-embed@0.24.0","summary":"","titleGenerated":null,"titleShort":null,"breaking":"unknown","importance":null,"content":"\n","publishedAt":"2026-11-03T14:24:42.000Z","fetchedAt":"2026-11-03T15:24:27.615Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/convai-widget-embed%400.24.0","media":[],"coverageCount":0},{"id":"rel_sSPcGi_DqkS9u8HkPeBY4","version":"@elevenlabs/convai-widget-core@0.23.0","type":"feature","title":"@elevenlabs/convai-widget-core@0.23.0","summary":"Adds a cloneStrength TTS override to the client and an override-clone-strength attribute to the widget, and persistent text conversations now replay the rich content an agent showed when the conversation resumes, with history rows able to carry rich_content.","titleGenerated":"ElevenLabs convai-widget-core 0.23.0 adds cloneStrength TTS override","titleShort":"cloneStrength TTS override; rich content replays on resume","breaking":"none","importance":2,"content":"### Minor Changes\n\n-   23e10c4: Add a `cloneStrength` TTS override to the client and an `override-clone-strength` attribute to the widget.\n\n### Patch Changes\n\n-   4b2b8e5: Replay the rich content an agent showed when a persistent text conversation resumes. History rows can now carry `rich_content`.\n-   Updated dependencies [23e10c4]\n    -   @elevenlabs/client@1.33.0\n","publishedAt":"2026-11-02T14:23:29.000Z","fetchedAt":"2026-11-02T15:24:23.325Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/convai-widget-core%400.23.0","media":[],"coverageCount":3},{"id":"rel_d96HM8uXhBJPfRfRdvCqo","version":"@elevenlabs/convai-widget-embed@0.23.0","type":"feature","title":"@elevenlabs/convai-widget-embed@0.23.0","summary":"","titleGenerated":null,"titleShort":null,"breaking":"unknown","importance":null,"content":"\n","publishedAt":"2026-11-02T14:23:17.000Z","fetchedAt":"2026-11-02T15:24:23.325Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/convai-widget-embed%400.23.0","media":[],"coverageCount":0},{"id":"rel_7tdazw4hGAIqpx5DqaKjM","version":"@elevenlabs/react@1.20.3","type":"feature","title":"@elevenlabs/react@1.20.3","summary":"Fixed useScribe so autoConnect maintains a single open session under React StrictMode. Includes an updated @elevenlabs/client dependency at 1.33.0.","titleGenerated":"ElevenLabs React SDK 1.20.3 fixes useScribe autoConnect under StrictMode","titleShort":"useScribe autoConnect keeps one session under StrictMode","breaking":"none","importance":1,"content":"### Patch Changes\n\n-   37bdc21: Fix `useScribe` so `autoConnect` keeps one open session under React StrictMode.\n-   Updated dependencies [23e10c4]\n    -   @elevenlabs/client@1.33.0\n","publishedAt":"2026-11-02T14:23:14.000Z","fetchedAt":"2026-11-02T15:24:22.863Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/react%401.20.3","media":[],"coverageCount":0},{"id":"rel_EjBEnDXNTE8aZrQjZsn3A","version":"@elevenlabs/convai-widget-core@0.22.2","type":"feature","title":"@elevenlabs/convai-widget-core@0.22.2","summary":"Carousel card images use a 4:5 ratio again so tall products aren't cropped, and cards are 288px wide, or 240px on touch screens.","titleGenerated":"ElevenLabs convai-widget-core 0.22.2 restores 4:5 carousel card image ratio","titleShort":"Carousel images back to 4:5; taller cards at 288px","breaking":"none","importance":1,"content":"### Patch Changes\n\n-   507b082: Carousel card images use a 4:5 ratio again so tall products aren't cropped, and cards are 288px wide (240px on touch screens).\n","publishedAt":"2026-10-29T17:07:20.000Z","fetchedAt":"2026-10-29T19:24:03.084Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/convai-widget-core%400.22.2","media":[],"coverageCount":0},{"id":"rel_F6gIWQQWf4sNzfNbKiKUR","version":"@elevenlabs/convai-widget-embed@0.22.2","type":"feature","title":"@elevenlabs/convai-widget-embed@0.22.2","summary":"","titleGenerated":null,"titleShort":null,"breaking":"unknown","importance":null,"content":"\n","publishedAt":"2026-10-29T17:07:17.000Z","fetchedAt":"2026-10-29T19:24:02.724Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/convai-widget-embed%400.22.2","media":[],"coverageCount":0},{"id":"rel_lXzrr9-msOM51hu-z-2Az","version":"@elevenlabs/client@1.32.1","type":"feature","title":"@elevenlabs/client@1.32.1","summary":"Fixed the agent's first message playing too fast and too high when the browser can't use the agent's sample rate. Starting a voice session now waits for the output resampler to be ready and closes the microphone with an error if it can't be created, instead of playing audio at the wrong rate.","titleGenerated":"ElevenLabs Agents SDK TypeScript 1.32.1 fixes first agent message playing too fast","titleShort":"First agent message no longer plays fast or high-pitched","breaking":"none","importance":2,"content":"### Patch Changes\n\n-   e92f62e: Fix the start of the agent's first message playing too fast and too high when the browser can't use the agent's sample rate. Starting a voice session now waits for the output resampler to be ready, and fails with an error (closing the microphone) if it can't be created, instead of playing audio at the wrong rate.\n","publishedAt":"2026-10-29T14:29:47.000Z","fetchedAt":"2026-10-29T15:24:03.599Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/client%401.32.1","media":[],"coverageCount":3},{"id":"rel_foos8WnO_zCarW8vf22RK","version":"@elevenlabs/convai-widget-embed@0.22.1","type":"feature","title":"@elevenlabs/convai-widget-embed@0.22.1","summary":"","titleGenerated":null,"titleShort":null,"breaking":"unknown","importance":null,"content":"\n","publishedAt":"2026-10-29T14:29:41.000Z","fetchedAt":"2026-10-29T15:24:03.077Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/convai-widget-embed%400.22.1","media":[],"coverageCount":0},{"id":"rel_crt828QHTkdedoDIXIUrr","version":"@elevenlabs/convai-widget-core@0.22.0","type":"feature","title":"@elevenlabs/convai-widget-core@0.22.0","summary":"A new transcript-speech-sync attribute set to false shows the agent's full message at once in voice calls instead of revealing it as the agent speaks. Carousel cards are smaller on desktop with square images like on touch screens, and accept an optional rating from 0 to 5 plus review_count shown under the subtitle.","titleGenerated":"ElevenLabs ConvAI Widget Core 0.22.0 adds transcript speech sync attribute","titleShort":"Transcript speech sync opt-out; carousel cards get star ratings","breaking":"none","importance":2,"content":"### Minor Changes\n\n-   e86b63c: Add a `transcript-speech-sync` attribute. Set it to `false` to show the agent's full message at once in voice calls instead of revealing it as the agent speaks.\n\n### Patch Changes\n\n-   2bbd8c2: Make carousel cards smaller on desktop, with square images like on touch screens, and add an optional star rating to each card. Cards accept a `rating` from 0 to 5 and an optional `review_count`, shown under the subtitle, for example ★★★★★ 4.7 (1,284).\n","publishedAt":"2026-10-27T21:13:59.000Z","fetchedAt":"2026-10-27T23:23:53.018Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/convai-widget-core%400.22.0","media":[],"coverageCount":0},{"id":"rel_Wnz7UXKwbLeblvotMu0qi","version":"@elevenlabs/convai-widget-embed@0.22.0","type":"feature","title":"@elevenlabs/convai-widget-embed@0.22.0","summary":"","titleGenerated":null,"titleShort":null,"breaking":"unknown","importance":null,"content":"\n","publishedAt":"2026-10-27T21:13:56.000Z","fetchedAt":"2026-10-27T23:23:52.641Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/convai-widget-embed%400.22.0","media":[],"coverageCount":0},{"id":"rel_LW5L0FQ0vIsHNPQMGE15Q","version":"@elevenlabs/convai-widget-embed@0.21.6","type":"feature","title":"@elevenlabs/convai-widget-embed@0.21.6","summary":"","titleGenerated":null,"titleShort":null,"breaking":"unknown","importance":null,"content":"\n","publishedAt":"2026-10-27T08:25:39.000Z","fetchedAt":"2026-10-27T11:23:50.102Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/convai-widget-embed%400.21.6","media":[],"coverageCount":0},{"id":"rel_TGCnffHp2CQcCHnu2WyyS","version":"@elevenlabs/client@1.32.0","type":"feature","title":"@elevenlabs/client@1.32.0","summary":"Self-hosted worklets (`workletPaths`) are now checked against the installed client version: each worklet registers its processor under a name that includes a hash of its source, so a copy from another release fails at session start with an error naming the worklet and path instead of running mismatched audio code. Re-copy the files from `@elevenlabs/client/worklets/*` when upgrading.","titleGenerated":"ElevenLabs Agents SDK TypeScript 1.32.0 versions self-hosted worklets to catch mismatches at session start","titleShort":"Self-hosted worklets now fail fast on version mismatch","breaking":"minor","importance":2,"content":"### Minor Changes\n\n-   695dadc: Self-hosted worklets (`workletPaths`) are now checked against the installed version of the client. Each worklet registers its processor under a name that includes a hash of its source, so a copy from another release now fails at session start with an error naming the worklet and path, instead of running mismatched audio code. Because self-hosted worklets are deployed separately from the client, this ensures the worklet that loads matches what the client expects of it; previously a mismatched copy could load and play audio while silently misbehaving. Re-copy the files from `@elevenlabs/client/worklets/*` when upgrading.\n","publishedAt":"2026-10-27T08:25:30.000Z","fetchedAt":"2026-10-27T11:23:50.613Z","url":"https://github.com/elevenlabs/packages/releases/tag/%40elevenlabs/client%401.32.0","media":[],"coverageCount":2}],"pagination":{"nextCursor":"2026-10-27T08:25:30.000Z|2026-10-27T11:23:50.613Z|rel_TGCnffHp2CQcCHnu2WyyS","limit":20},"summaries":{"rolling":{"windowDays":90,"summary":"The SDK shipped three major versions in quick succession, fundamentally reshaping the API surface. In late March, `@elevenlabs/client` and `@elevenlabs/react` introduced breaking changes: the `Input` class disappeared in favor of methods like `getInputByteFrequencyData()` and `setMicMuted()` on the conversation object, while `useConversation` now requires a `ConversationProvider` ancestor and exposes granular hooks (`useConversationControls`, `useConversationStatus`, etc.) instead of a monolithic return shape. `@elevenlabs/react-native` underwent a complete rewrite, ditching its custom LiveKit-based provider to re-export the React package's API, with side-effects on import to polyfill WebRTC and configure native audio. After stabilization in early April, the SDK focused on multimodal and feature refinement: `sendMultimodalMessage` surfaced in hook controls, tool response mocking landed in the client, and the widget gained intelligent language auto-selection from localStorage and browser preferences. A late-April fix addressed Node.js ESM compatibility by switching to explicit `.js` file extensions in imports.","releaseCount":50,"generatedAt":"2026-04-07T17:27:54.033Z"},"monthly":[{"year":2026,"month":3,"summary":"March delivered two major API overhauls. Early in the month, guardrail detection arrived via `onGuardrailTriggered` callback and type discriminants for `TextConversation` and `VoiceConversation`, letting developers distinguish conversation modes at compile time. Mid-month, v1.0.0 releases rewrote the React and React Native packages: `useConversation` now requires `ConversationProvider` context, the `Input` class was removed in favor of conversation methods like `getInputByteFrequencyData()` and `setMicMuted()`, and `@elevenlabs/react` now re-exports all of `@elevenlabs/client` to unify the surface. By month-end, tool response mocking shipped in the client, enabling agents to validate integrations without live backend calls.","releaseCount":37,"generatedAt":"2026-04-07T17:27:57.504Z"}]}}