New every Friday: the week's best founder lessons in one email. Subscribe free
Back to All Episodes
S10 E1: Building SDKs and MCP Servers for APIs with Sagar Batchu of Speakeasy
Sep 03, 2024 26:51 S10 E1

S10 E1: Building SDKs and MCP Servers for APIs with Sagar Batchu of Speakeasy

0:00 / 26:51

About this episode

SDKs and MCP servers for APIs, generated: Sagar Batchu of Speakeasy on turning OpenAPI specs into production-ready client libraries and AI agent integrations automatically.

———

Sagar Batchu was born in Sacramento, but moved to Bangalore after a decade. He has always been interested in how things work, and majored in Physic at his University. Towards the end of his studies, he crammed in a ton of CS classes and fell in love with the craft. He's worked on firmware, enterprise software, and eventually went to LiveRamp, building new experiences for them. Outside of tech, he loves pickleball, enjoys growing coffee and loves readying about historical events.

In his past, Sagar and his team took on API initiative to invest in internal API experience. Through this project, he spent a lot of time thinking about how to make this happen. He immediately saw the need across the industry, with the absence of time and money to fill the need. He decided to take it on and start a company.

This is the creation story of Speakeasy.

Sponsors

Links

Times are from the episode recording; ad breaks in your player may shift them a bit later.

Read the key answers from this episode, with quotes and timestamps from Sagar Batchu from Speakeasy: https://www.codestory.co/episodes/s10-e1-the-api-to-agent-translation-layer-building-governing-and-securing-mcp-servers-for-the-ai-ecosystem-with-sagar-batchu-co-founder-ceo-of-speakeasy/



Current Sponsors:

Checkout our Substack

Checkout our Stacklist!

Checkout our Patreon!

Hosted by Noah Labhart.



Our Sponsors:
* Check out Granola and use my code granola.ai/CODESTORY for a great deal: https://granola.ai
* Check out Perplexity: https://pplx.ai/codestory


Advertising Inquiries: https://redcircle.com/brands

Privacy & Opt-Out: https://redcircle.com/privacy

Chapters

Featured Guest

Latest Season of the Podcast is Sponsored By

Key Takeaways

  • Right Product, Wrong Phasing: Speakeasy first built developer portal components for API onboarding, but selling them meant catching companies the week they launched an API. The team pivoted to SDKs, which every API could benefit from right away.
  • Self-Hosting Slowed Early Reach: Making the first product self-hostable from day one added technical debt and extra work. Sagar calls it a mistake, since the priority should have been getting it to as many customers as quickly as possible.
  • Great Defaults, Then Control: Deterministic config plus some LLM help on the OpenAPI spec gets customers to a 90 to 95% great SDK out of the box. Knobs and configs then let them make the last-mile decisions.
  • Contract-to-Hire Early Engineers: Facing a tough 2022 hiring market, Speakeasy had contractors work for four to six weeks as an interview. The first five or six engineers joined this way, and all proved a great fit.
  • Recovering From a Docs Detour: After committing customers to a docs product it couldn't deliver, Speakeasy partnered with other companies, took on support work and committed to an integration so those customers weren't left hanging.

Frequently Asked Questions

What is Speakeasy and what does it do?

Speakeasy is a platform for distributing APIs to customers and supporting both onboarding and long-term usage. Co-founder and CEO Sagar Batchu describes it this way: "Speakeasy is a platform that really helps you take your API to market." [02:48]

Why did Speakeasy pivot from developer portals to SDKs?

Sagar Batchu explains that scaling the portal product required catching companies right as they were about to launch an API, a tough go-to-market problem. Of the original product, he said "I don't think it was the wrong product," [07:03] but he believes the phasing was wrong, so the team turned to SDKs.

How does Speakeasy balance SDK defaults with customization?

Speakeasy combines deterministic config with LLM assistance on the OpenAPI spec to produce strong out-of-the-box SDKs. Sagar says that from there "it's really important to invert control at that point" [16:15] so customers can tune the SDK for their end users.

How did Speakeasy hire its first engineers?

Sagar Batchu's team worked with contractors for four to six weeks under a contract-to-hire policy. In his words, "we use that contract work as an interview to come on full time." [13:29]

What is next for Speakeasy's API platform?

Sagar sees the API lifecycle as three phases: "It's build, it's test, and it's run." [20:53] Having made inroads on building and distribution, Speakeasy plans to address testing next and is exploring with customers what running APIs on the edge could look like.

Media List 5000, Podcasts, Fall 2026