Video · Agentic AI Deep Dives | Longform System Design & Hands-On Builds
Your LLM Request Failed. What Happens Next? | Portkey AI Gateway @portkeyai
About this video
LLM Tutorial | Free notes, slides & related videos: resources.nachiketh.in/videos/your-llm-request-failed-what-happens-next-portkey-ai-gateway-portkeyai/
Your Python app calls an LLM, and the request fails. Where should retries happen,
how should a backup model be selected, and how do you verify which model answered?
Repo - github.com/manifoldailearning/manifold-incident-brief
In this Portkey AI Gateway hands-on, we use Manifold Incident Brief to connect a
Python application to model providers through a saved routing policy. We walk
through a normal request, a controlled timeout drill, and the gateway trace you
need to inspect to verify fallback.
You will see:
• Control-plane configuration versus data-plane request execution.
• Provider setup, saved configs and the Python HTTP request.
• Trace IDs connecting the app result to gateway logs.
• Target timeouts, bounded retries and backup-model quality checks.
• What the application still owns around the gateway.
The incident notes are synthetic. The timeout drill deliberately uses a tiny
primary timeout; it is not evidence of a real provider outage. The slide animation
is explanatory only. Check account-specific behavior against the live trace.
Download the Manifold Incident Brief project:
github.com/manifoldailearning/manifold-incident-brief
Explore the Agentic AI Enterprise Mastery Bootcamp:
manifoldailearning.com/services/agenticaibootcamp
Official references:
Portkey configurations: portkey.ai/docs/product/ai-gateway/configs
Fallbacks: portkey.ai/docs/product/ai-gateway/fallbacks
Request timeouts: portkey.ai/docs/product/ai-gateway/request-timeouts
Automatic retries: portkey.ai/docs/product/ai-gateway/automatic-retries
Traces: portkey.ai/docs/product/observability/traces
#Portkey #AIGateway #AIEngineering
────────────
🎓 AI Architect System Design: manifoldailearning.com/services/ai-system-design?utm_source=youtube&utm_medium=description&utm_campaign=ai-architect&utm_content=pJbTzWNIePI
🤝 Free Agentic AI community: community.nachiketh.in
What this video covers
- System Design — How to design agentic and LLM systems that hold up in production: architecture trade-offs, failure boundaries, cost and latency budgets, and design walkthroughs for real use cases. All System Design videos →
- GenAI & LLMs — Generative AI and large language model fundamentals — transformers, embeddings, prompting, fine-tuning and how LLM APIs behave as distributed systems. All GenAI & LLMs videos →
- Production Agents — Moving agents from POC to production: deployment choices, guardrails, reliability, cost control, incident stories and the engineering practices that separate shipped systems from demos. All Production Agents videos →
Go deeper on System Design