Designed for tablet+. View on a tablet or larger screen for the intended layout.
CORE_WORKSHOP_v1.0
SPEAKER NOTES MODE — press s to hide
BLOCK 4 · AI GATEWAY (PRODUCTION) 2:45 – 2:55 · 10 min · Lecture + boot

TOPIC 4.1 / 10

Gateway landscape + why a gateway

Set the scene: this morning you wrote a prompt; this block you ship infrastructure. Walk five gateways briefly, name the five concerns Vue shouldn't carry, then boot Bifrost together.

4.1.1

Opening hook

2 min Lecture 2:45 – 2:47
Slide 1 / 2 · Title

Block 4 — AI Gateway (Production)

The infrastructure altitude.

135 min · 50% hands-on · Q&A floor at 4:45 PM

Slide 2 / 2 · From skill to fleet

From "your skill works" to "your fleet works"

  • This morning: one skill, benchmarked and optimized
  • After lunch: how engineers compose skills daily (Sam)
  • Now: how fleets of skills survive production
  • The gateway is where infrastructure concerns live
4.1.2

The gateway landscape

5 min Lecture 2:47 – 2:52
Slide 1 / 3 · Pre-emptive framing

Bifrost is not the answer

"Bifrost is the concrete instantiation. The pattern transfers."

Workshop teaches the pattern. Pick the gateway that fits your stack.

Slide 2 / 3 · The landscape

Where you might land

Gateway Shape When to reach for it
Bifrost Self-hosted · Go · Open-core (Apache 2.0 → Enterprise) Today's tool. OSS teaches the model; production teams run Enterprise (clustering, SSO, Vault, RBAC, in-VPC).
PortKey Self-hosted or SaaS · Open-core Strong A/B + conditional routing; lots of plugins.
LiteLLM Self-hosted · Python · OSS Python-shop default; provider-shape unification.
OpenRouter SaaS Cheap multi-provider access; less governance focus.
AWS Bedrock Managed cloud, multi-model One AWS config → Claude, Llama, Mistral, Cohere, Nova. Enterprise AWS shops land here.
Slide 3 / 3 · How to choose

Decision questions

  1. Is your stack Python? → LiteLLM is the path of least resistance
  2. Already AWS-heavy? → Bedrock fits without new infra
  3. Need rich governance + SaaS option? → PortKey
  4. Cost-driven, low-governance? → OpenRouter
  5. Self-host + open-core + want OSS depth? → Bifrost (today)
4.1.3

Why a gateway? + Boot Bifrost

3 min 2L / 1HO 2:52 – 2:55 ★ LOAD-BEARING (boot moment)
Slide 1 / 2 · Five concerns

What the gateway handles

Concern Why it doesn't belong in Vue
Multi-LLM routingYour app shouldn't know whether it's Anthropic or OpenAI
Failover + retriesProviders go down; the gateway routes around
Cost controlBudgets enforced at the policy layer, not in app code
ObservabilityLogs, dashboards, attribution — once, in one place
Safety (guardrails, RBAC, audit)Production hardening, not sprinkled through your app
Slide 2 / 2 · Boot the gateway

One command. Two open tabs.

"Let's set one up."

# from the workshop repo root
npm run bifrost
  • Wraps npx -y @maximhq/bifrost --app-dir ./bifrost
  • --app-dir tells Bifrost to store all state (config.json, config.db, logs.db) in ./bifrost/workshop-local, not in ~/.config/bifrost/
  • Bifrost boots on http://localhost:8080API + dashboard, same URL
  • Leave the terminal running · open a browser tab on localhost:8080
  • Eighty minutes of HO from here. You leave with a configured Bifrost and a Vue app calling it.