More Podcasts by InfoQ episodes

APIs in the Age of AI: What Changes, What Remains, and What Comes Next? thumbnail

APIs in the Age of AI: What Changes, What Remains, and What Comes Next?

Published 2 Dec 2026

Duration: 00:49:28

AI agents require outcome-focused APIs, strict consistency, and robust discoverability, moving beyond traditional documentation reliance to ensure reliable integration and reduced token costs.

Episode Description

In this episode of InfoQ's Domain by Domain podcast, Shweta Vohra speaks with Emmanuel Paraskakis, an API product leader and contributor to Swagger, A...

Overview

The podcast explores how the API landscape is shifting as AI agents and LLMs become primary consumers of APIs. Emmanuel Paraskakis, an API product manager and OpenAPI initiative member, argues that foundational practices - consistency, naming, standards adherence, governance, and security - remain essential and are becoming more important. However, long-held assumptions about developer experience are breaking down: the belief that comprehensive documentation alone suffices for agents to understand an API no longer holds, since agents often skip or partially read documentation due to token constraints and context limitations.

A central tension discussed is the move from granular CRUD APIs toward outcome-oriented workflow APIs. Paraskakis illustrates this with a hotel reservation example requiring eleven API calls to book one room, suggesting compression into one or two calls reduces failure paths and token usage. He recommends keeping the 300-operation CRUD layer internal while exposing curated workflow or experience APIs through MCP servers and command-line tools for agent consumption.

The conversation also addresses enterprise readiness, distinguishing greenfield teams who should adopt agent-first, headless interfaces from day one, from brownfield organizations that must treat agent-friendliness as a top-three priority, invest in self-serve operations, and run repeated evals against stochastic models. Gateway strategy, open-source preference, and the emerging discipline of agent experience (AX) and discoverability round out the discussion.

What If

  • What if you compress your most-used API sequence into a single workflow endpoint and expose it via MCP?

    • Move: Identify the top three outcomes your users (or their agents) repeatedly assemble from multiple CRUD calls. Build one workflow API per outcome that accepts a single request and returns a final result. Wrap it in an MCP server with code examples rather than prose descriptions.
    • Why Now?: Paraskakis notes that agents assembling many small operations encounter "so many mistakes, so many paths to go down," and that a hotel booking taking eleven calls could be compressed to one or two, reducing tokens and failure probability.
    • Expected Upside: A proposed reduction in agent failure rate and token spend for the most common use cases, plus a simpler MCP surface that non-technical users can consume without a coding agent.
  • What if you run a stochastic eval suite against your MCP server using your customers' actual golden prompts?

    • Move: Collect the top ten prompts your customers delegate to agents. Write an eval harness that fires each prompt ten times against your MCP server using the cheaper, older models your customers actually use. Log every failure and classify it (wrong tool selected, wrong parameters, hallucinated response).
    • Why Now?: Paraskakis warns that "you can't just run the test once" because models are stochastic, and that most deployments rely on older, cheaper models rather than frontier ones, making reliability testing essential before release.
    • Expected Upside: A proposed baseline reliability metric per prompt and a prioritized fix list, reducing the chance that a customer's agent silently falls back to an outdated API version.
  • What if you audit your developer portal and llms.txt for agent readability this week?

    • Move: Open your developer portal in a headless browser and confirm no critical content is rendered only via JavaScript. Verify your llms.txt lists every current API and MCP server with correct version pointers. Submit your MCP server to at least two directories (e.g., ChatGPT, Claude) and confirm an agent can discover it without falling back to an old version.
    • Why Now?: Paraskakis reports seeing agents "fall back to a very old version of an API" because discoverability signals are broken, and identifies managing distribution across directories as a growing job function.
    • Expected Upside: A proposed elimination of silent version-mismatch failures and a clearer path for agents to select your current tool over a competitor's or stale training-data knowledge.

Takeaway

  • Test your API documentation against a coding agent today: paste your full spec into a tool like Claude Code, ask it to use the API, then ask whether it actually read the whole document. Fix gaps where it skips or misreads sections.
  • Compose one workflow API per top customer outcome, collapsing multi-step CRUD sequences into a single call, and expose only those through your MCP server while keeping granular operations internal.
  • Adopt RFC 9457 for error responses and enforce a single date format across every endpoint; run a consistency audit to catch the kind of multi-format drift Paraskakis describes.
  • Exclude destructive and admin operations (bulk deletes, tenancy drops) from any MCP or CLI surface intended for non-technical agent users; gate them behind a coding-agent workflow instead.
  • Build an eval harness that replays your top ten customer prompts ten times each against your MCP server using the cheaper models your customers actually deploy, and track pass/fail rates per prompt before shipping.

Recent Episodes of Podcasts by InfoQ

More Podcasts by InfoQ episodes

APIs in the Age of AI: What Changes, What | Podcast Summarizer · wphx