How Generative AI Apps Use APIs
summary
Argues that mastering APIs beats generic ML fluff and demonstrates four concrete API patterns: serving LLMs via standard SDKs (Anthropic-style), RAG with embeddings and vector stores pulling enterprise docs into prompts, agentic tool-calls via LangChain-like frameworks, and MCP servers. Shows a live fastMCP server with a get_counts tool that calls a public sample API for fantasy football, returns results in ~2 seconds, and formats JSON for the LLM. Notes billing is token-based — an example call uses 40 input tokens, 24 output tokens.
AI-written summary · about
chapters (15)
- 0:00Generative AI and APIs
- 1:25Mastering APIs for AI success
- 2:29APIs and generative AI overlap
- 3:13Serving LLM models via APIs
- 4:36RAG apps with APIs
- 6:21AI agents and real-time APIs
- 7:49Model Context Protocol
- 8:52AI API skills
- 11:21API to serve LLM
- 12:44Billing for LLM APIs
- 14:09Consuming LLM APIs
- 15:12RAG with Copilot
- 16:57Fast MCP demo
- 21:17AI app API design
- 22:42Q&A
related talks
26mAPIs in the world of Generative AI
28mAPIs and GenAI : Your Perfect Combo with LLM-Powered Frameworks.
24mAgentic API - the only API you will ever need
01h 10mPractical Applications of Generative AI: How to Sprinkle a Little AI in Your App
26mAPIs in Agentic world
01h 10mPractical Applications of Generative AI: How to Sprinkle a Little AI in Your App
29mAPI Integration augmented by GenAI
31mThe Impact of AI on APIs: Can AI replace the API Architect?
