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

Published: 2024-09-03
Duration: 1611s
Audio: https://pdst.fm/e/pscrb.fm/rss/p/audio4.redcircle.com/episodes/b4d80c9b-a99a-4fd4-9a26-ac47c6848b46/stream.mp3

## 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.

**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](https://speakeasy.com/codestory).

Sponsors

- [Speakeasy](https://speakeasy.com/codestory)

Links

- [https://www.speakeasy.com/](https://speakeasy.com/codestory)
- [https://www.linkedin.com/in/sagar-batchu-981b3738/](https://www.linkedin.com/in/sagar-batchu-981b3738/)

  

Timestamps

00:00 – Intro

05:16 – Building the Speakeasy MVP

07:23 – Early Tradeoffs and Tech Debt

09:50 – Shaping the Speakeasy Roadmap

12:20 – Building the Speakeasy Team

15:12 – Scaling Opinionated SDKs

16:54 – Proudest Moment

18:23 – A Mistake and Response

20:20 – The Future of Speakeasy

23:17 – Influences on Sagar

24:41 – Advice for Young Entrepreneurs

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/](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:

- [Tiger Data](https://tigerdata.com/)

- [Protected Harbor](http://protectedharbor.com/codestory)

- [Render](https://render.com/)

- [Fitnexa](https://www.fitnexa.com/)

- [Perplexity](https://pplx.ai/codestory)

- [Entelligence](https://entelligence.ai/)

Checkout our [Substack](https://news.codestory.co/subscribe)

Checkout our [Stacklist!](https://stacks.codestory.co/)

Checkout our [Patreon!](https://www.patreon.com/cw/codestory)

Hosted by  [Noah Labhart.](https://noahlabhart.com/)

  
  
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](https://redcircle.com/brands)  
  
Privacy & Opt-Out: [https://redcircle.com/privacy](https://redcircle.com/privacy)

## Chapters
- 0:00 — Intro
- 5:16 — Building the Speakeasy MVP
- 7:23 — Early Tradeoffs and Tech Debt
- 9:50 — Shaping the Speakeasy Roadmap
- 12:20 — Building the Speakeasy Team
- 15:12 — Scaling Opinionated SDKs
- 16:54 — Proudest Moment
- 18:23 — A Mistake and Response
- 20:20 — The Future of Speakeasy
- 23:17 — Influences on Sagar
- 24:41 — Advice for Young Entrepreneurs

## Frequently Asked Questions
- **Q:** What is Speakeasy and what does it do? — **A:** 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]
- **Q:** Why did Speakeasy pivot from developer portals to SDKs? — **A:** 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.
- **Q:** How does Speakeasy balance SDK defaults with customization? — **A:** 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.
- **Q:** How did Speakeasy hire its first engineers? — **A:** 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]
- **Q:** What is next for Speakeasy's API platform? — **A:** 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.
