Designing CLIs for Agents, Not Humans — Pedro Lopez, Airbyte
Source
youtube.com
Author
AI Engineer
Date
Why it matters
Gives concrete design rules for exposing a product to agents, including when a JSON-in/JSON-out CLI with shipped skills beats an MCP server, and the OAuth and session issues MCP clients still have.
Key takeaways · AI-distilled
Airbyte's MCPThe Model Context Protocol — an open standard that lets any AI assistant plug into any tool or data source without custom integration code.Full definition → server and CLI are both thin interfaces built from OpenAPI specs over one platform, its context windowThe maximum amount of text a model can consider at once — its working memory for the current conversation or task.Full definition → Store, a search-optimized index of tools like Zendesk, Stripe and HubSpot.
For the MCP server, Lopez recommends keeping the tool count small with progressive discovery, calls OAuth the only realistic sign-in, notes users expect long-lived sessions, and says URL elicitation isn't ready across clients.
For the AI agentAn AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.Full definition →-facing CLI: JSON in and JSON out, consistent noun-verb commands, skills that ship with the tool, and no interactive prompts, including for authentication.
Terms in this piece · Glossary
MCP — The Model Context Protocol — an open standard that lets any AI assistant plug into any tool or data source without custom integration code.
AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
context window — The maximum amount of text a model can consider at once — its working memory for the current conversation or task.