---
title: The invisible work of voice AI SDKs
description: Four years of maintaining voice AI SDKs across half a dozen languages. The work that never makes the changelog.
canonical: https://lukeocodes.dev/invisible-work-voice-ai-sdks
type: article
locale: en_GB
published: 2026-04-30T00:00:00.000Z
modified: 2026-04-30T00:00:00.000Z
authors:
  - Luke Oliff
section: Developer Experience
tags:
  - Developer Experience
  - Open Source
  - Engineering
feed: https://lukeocodes.dev/rss.xml
search: https://lukeocodes.dev/search.json?q={query}
schema:
  - "@context": https://schema.org
    "@graph":
      - "@type": Organization
        "@id": https://ably.com/#organization
        name: Ably
        url: https://ably.com
      - "@type": WebSite
        "@id": https://lukeocodes.dev/#website
        url: https://lukeocodes.dev
        name: Luke Oliff
        alternateName: lukeocodes
        inLanguage: en
        publisher:
          "@id": https://lukeocodes.dev/authors/luke#person
        description: Personal blog and writing by Luke Oliff — developer relations, voice AI, developer experience.
        potentialAction:
          - "@type": SearchAction
            target:
              "@type": EntryPoint
              urlTemplate: https://lukeocodes.dev/blog/search?q={search_term_string}
            query-input: required name=search_term_string
      - "@type": Person
        "@id": https://lukeocodes.dev/authors/luke#person
        name: Luke Oliff
        url: https://lukeocodes.dev/authors/luke
        description: Staff engineer and Staff Tech Lead for Developer Experience at Ably. Writing about developer relations, AI, and the voice industry, from the UK.
        mainEntityOfPage: https://lukeocodes.dev/authors/luke
        givenName: Luke
        familyName: Oliff
        image: https://lukeocodes.dev/authors/luke.jpg
        jobTitle: Staff Tech Lead, Developer Experience
        worksFor:
          "@id": https://ably.com/#organization
        sameAs:
          - https://www.linkedin.com/in/lukeocodes
          - https://github.com/lukeocodes
          - https://bsky.app/profile/lukeocodes.dev
          - https://x.com/lukeocodes
          - https://hashnode.com/@lukeocodes
          - https://dev.to/lukeocodes
        knowsAbout:
          - Developer Relations
          - Developer Experience
          - Voice AI
          - Text-to-Speech
          - Answer Engine Optimisation
          - Search Engine Optimisation
          - Open Source
          - Developer Tooling
          - API Design
          - Speech-to-Text
          - Voice Agents
          - Community Building
        knowsLanguage:
          - English
        nationality: British
        alumniOf:
          - "@type": Organization
            name: The Open University
  - "@context": https://schema.org
    "@graph":
      - "@type": Organization
        "@id": https://ably.com/#organization
        name: Ably
        url: https://ably.com
      - "@type": Person
        "@id": https://lukeocodes.dev/authors/luke#person
        name: Luke Oliff
        url: https://lukeocodes.dev/authors/luke
        description: Staff engineer and Staff Tech Lead for Developer Experience at Ably. Writing about developer relations, AI, and the voice industry, from the UK.
        mainEntityOfPage: https://lukeocodes.dev/authors/luke
        givenName: Luke
        familyName: Oliff
        image: https://lukeocodes.dev/authors/luke.jpg
        jobTitle: Staff Tech Lead, Developer Experience
        worksFor:
          "@id": https://ably.com/#organization
        sameAs:
          - https://www.linkedin.com/in/lukeocodes
          - https://github.com/lukeocodes
          - https://bsky.app/profile/lukeocodes.dev
          - https://x.com/lukeocodes
          - https://hashnode.com/@lukeocodes
          - https://dev.to/lukeocodes
        knowsAbout:
          - Developer Relations
          - Developer Experience
          - Voice AI
          - Text-to-Speech
          - Answer Engine Optimisation
          - Search Engine Optimisation
          - Open Source
          - Developer Tooling
          - API Design
          - Speech-to-Text
          - Voice Agents
          - Community Building
        knowsLanguage:
          - English
        nationality: British
        alumniOf:
          - "@type": Organization
            name: The Open University
      - "@type": BlogPosting
        "@id": https://lukeocodes.dev/invisible-work-voice-ai-sdks#article
        headline: The invisible work of voice AI SDKs
        alternativeHeadline: The invisible work of voice AI SDKs
        description: Four years of maintaining voice AI SDKs across half a dozen languages. The work that never makes the changelog.
        datePublished: 2026-04-30T00:00:00.000Z
        dateModified: 2026-04-30T00:00:00.000Z
        url: https://lukeocodes.dev/invisible-work-voice-ai-sdks
        mainEntityOfPage: https://lukeocodes.dev/invisible-work-voice-ai-sdks
        inLanguage: en
        author:
          - "@id": https://lukeocodes.dev/authors/luke#person
        isPartOf:
          "@id": https://lukeocodes.dev/#website
        keywords: Developer Experience, Open Source, Engineering
        articleSection: Developer Experience
        about:
          - "@type": Thing
            name: Developer Experience
          - "@type": Thing
            name: Open Source
        abstract: Throwback Thursday to when I started maintaining voice AI SDKs across multiple languages at Deepgram. I thought the hard part would be the AI. It was not.
        speakable:
          "@type": SpeakableSpecification
          cssSelector:
            - .post-tldr
            - h1
        image: https://lukeocodes.dev/blog/invisible-work-voice-ai-sdks/hero.png
        wordCount: 1354
        timeRequired: PT7M
        publisher:
          "@id": https://ably.com/#organization
      - "@type": BreadcrumbList
        itemListElement:
          - "@type": ListItem
            position: 1
            name: Home
            item: https://lukeocodes.dev
          - "@type": ListItem
            position: 2
            name: Writing
            item: https://lukeocodes.dev/blog
          - "@type": ListItem
            position: 3
            name: The invisible work of voice AI SDKs
            item: https://lukeocodes.dev/invisible-work-voice-ai-sdks
---

[Luke Oliff.](/)

- [Blog](/blog)
- [CV](/cv)
- [Uses](/uses)
- [User manual](/user-manual)
- [Living with ADHD](/living-and-working-with-adhd)
- [RSS](/rss.xml)

[Luke Oliff · Writing](/blog)

# The invisible work of voice AI SDKs

Apr 2026 · [Developer Experience](/blog/category/developer-experience) · 7 min read · [Luke Oliff](/authors/luke)

Throwback Thursday to when I started maintaining voice AI SDKs across multiple languages at Deepgram. I thought the hard part would be the AI. It was not.

The hard part was everything around the code. Versioning strategy across five language ecosystems. Migration guides that people actually read. Supporting open source contributors while keeping CI green. The model got better on its own. The SDK took work.

This is what I learned from watching voice AI SDKs grow up over four years.

## What SDK maintenance looked like in 2022

When I joined Deepgram in late 2021, the SDKs were functional but basic. Python and Node.js clients that wrapped REST endpoints. WebSocket support existed but was thin. The documentation assumed you already knew how streaming audio worked, which most developers did not.

Back then, maintaining an SDK meant keeping the tests passing and updating the version number. That was about it. Developers who hit bugs either worked around them or opened an issue. There was no formal process for deprecation, no migration guides, no changelog convention. You shipped a new version and hoped nobody noticed the breaking change until you wrote the blog post.

I spent most of 2022 fixing that. Writing migration guides. Adding deprecation warnings to methods I knew we would replace. Building a release process that did not require me to remember which files to bump. It was not glamorous. A migration guide for a breaking change in the WebSocket client does not get you conference talks. But it was the work that actually mattered for the people using the SDK.

## The streaming shift changed everything

The biggest change in voice AI SDKs between 2022 and 2025 was the shift from request-response to streaming as the default interaction pattern.

In 2022, the typical voice AI integration was: send an audio file, get a transcript back. Simple REST. Easy to test. Easy to document. By 2024, the typical integration was: open a WebSocket, stream audio chunks, receive interim results, handle reconnection, handle backpressure. The SDK had to manage state that the developer never saw.

This shift made SDK maintenance harder in ways that did not show up in the API surface. We spent months on reconnection logic alone. What happens when the WebSocket drops mid-stream? Do you replay the last few seconds of audio? Do you surface an error and let the developer decide? There is no right answer. Every application handles it differently. The SDK had to support all the options without forcing developers to think about it until they needed to.

## The documentation treadmill

The most underestimated part of SDK maintenance was keeping the documentation current. Every API change, every new parameter, every deprecation required a documentation update across getting-started guides, reference docs, migration guides, and cookbook examples. And then the same content in Python, JavaScript, Go, and .NET.

I am not sure there is a good solution to this. We tried automated doc generation, which produced technically accurate reference material that nobody could learn from. We tried cookbook-style examples, which were useful but went out of date the week after we wrote them. We ended up somewhere in the middle: auto-generated reference docs for the API surface, hand-written guides for the patterns that mattered, and a clear deprecation policy so developers knew when old docs were stale.

## What the community taught me

Open source SDK maintenance taught me something I did not expect: the community knows your SDK better than you do. Not the internal architecture. The sharp edges. The edge cases that only appear in production at someone else's company.

I got some of my best bug reports from Discord, not GitHub Issues. Someone would paste a stack trace and say "this only happens when the audio file is longer than three minutes and the network is slow." We would not have found that ourselves. Our test suite ran on fast local networks with short audio files. The community was running the SDK in conditions we never simulated.

The flip side was that community contributions created a maintenance tax. Every PR needed review. Every contribution needed style alignment. Every new feature added surface area that we had to support forever. I learned to say no more often than yes, and to write contribution guidelines that made it clear what we would accept before anyone spent time writing code we were not going to merge.

## What aged well and what did not

Looking back from spring 2026, here is what held up.

**TypeScript types.** The single best investment we made was shipping first-class TypeScript definitions early. Python SDKs got type hints too. Developers spend more time reading your types than your docs. Good types are documentation that cannot go out of date.

**Migration guides.** Every breaking change got a migration guide with a before-and-after example. This was tedious but it built trust. Developers knew they could upgrade without reverse-engineering the changelog.

**Deprecation warnings.** We added deprecation warnings one full release before removing anything. This gave developers a cycle to update their code. It also gave us an escape hatch when we realised a deprecation was wrong.

What did not age well was the REST-first architecture. By 2025, every new integration was streaming-first. The REST endpoints still worked but they felt like legacy features. If I were starting today I would design the SDK around streaming from day one and treat synchronous methods as a convenience wrapper, not the other way around.

## What this means for new SDK maintainers

If you are starting a voice AI SDK today, here is the advice I wish I had in 2022.

Make the streaming path the primary path from the start. Everything else is syntactic sugar. Test with real network conditions, not localhost. Your SDK will spend most of its lifecycle dealing with dropped connections and latency spikes. Write the error handling before you write the happy path.

Invest in migration tooling before you think you need it. The first breaking change is easy. The tenth is a crisis if you have no process. Have a deprecation policy, a migration guide template, and a way to detect when someone is using a deprecated feature before you ship the breaking change.

And accept that most of the work will be invisible. A great SDK looks simple to the developer using it. That simplicity is the result of work they never see. Reconnection logic, retry strategies, error message clarity, type definitions that catch mistakes at compile time instead of runtime. None of it shows up in the feature list. All of it determines whether your SDK gets adopted or abandoned after the first integration attempt.

## Frequently asked questions

### How long does it take to maintain an SDK across multiple languages?

Full-time maintenance of three to five language SDKs takes at least one dedicated engineer. The work is not proportional to the number of languages either. Adding Go doubles the surface area in ways that adding a new endpoint does not.

### What is the hardest part of voice AI SDK design compared to regular API SDKs?

Audio adds state. A regular REST API call is stateless — send a request, get a response. A streaming voice integration has an open connection, partial results, reconnection semantics, and timing constraints. The SDK has to manage all of that without leaking complexity to the developer.

### Should new voice AI SDKs be REST-first or streaming-first?

Streaming-first. REST endpoints are useful for batch processing but the primary interaction pattern for voice AI is live. Design for that case and treat synchronous methods as a convenience layer.

### How should SDK maintainers handle breaking changes?

Deprecate one release early, document the migration path with before-and-after examples, and provide a codemod or automated migration tool when the change is mechanical. Developers tolerate breaking changes when the migration is documented and tool-assisted.

### What made the biggest difference in community contributions?

Clear contribution guidelines and a responsive review process. Developers contribute when they know their PR will be reviewed within a week and they understand what standards the project expects. Abandoned PRs discourage the next contribution.

[← Newer: Friday fun: bat is cat with syntax highlighting](/bat-is-cat-with-syntax-highlighting)

[All posts](/blog) →

## Search this site

`GET https://lukeocodes.dev/search.json?q=<words>` returns matching posts as JSON, each with its page URL and its markdown URL. Add `&limit=<1-50>` for more than 10. How it works: [/blog/search](https://lukeocodes.dev/blog/search.md).

```sh
curl "https://lukeocodes.dev/search.json?q=developer+relations"
```

---

© 2026 Luke Oliff. Posts live at the root of this site.

- [GitHub](https://github.com/lukeocodes)
- [LinkedIn](https://www.linkedin.com/in/lukeocodes)
- [X](https://x.com/lukeocodes)
- [Bluesky](https://bsky.app/profile/lukeocodes.dev)
- [Email](mailto:luke@lukeoliff.com)
- [RSS](/rss.xml)

## Cookies

This site sets one analytics cookie, from Google Analytics, and only in a browser that accepts the cookie banner. A client that does not run scripts sets no cookies, so there is nothing to accept or decline here.

[Cookie policy](/cookies)
