Make Your LangSmith Deployment Multi-Tenant

LangChain · Intermediate ·🤖 AI Agents & Automation ·7h ago
When you deploy an agent on LangSmith, you get a full agent server with 30+ API endpoints out of the box — threads, runs, assistants, a built-in store, A2A and MCP protocol support. But by default, everything is scoped to the API key. Any user can see every thread, every conversation. In this video, I show you how to add custom authentication to your deployment so that every user gets their own scoped threads, runs, and conversation history — enforced by the deployment itself. We'll use Supabase for auth, but you can plug in any provider (Auth0, Clerk, etc.). What we cover: - Why multi-tenan…
Watch on YouTube ↗ (saves to browser)

Chapters (7)

Intro
0:20 Agent Server with Basic Auth
2:38 Custom Authentication
3:28 Implementing Multi-Tenant Auth
9:48 Testing Locally
10:41 Deploying on LangSmith Deployment
12:15 Multi-Tenant Demo
AI Agent Orchestration and Scaling
Next Up
AI Agent Orchestration and Scaling
Coursera