Most governance tools live in their own consoles or dashboards. LLM Gateway lives in LangSmith. When requests are blocked or info is redacted, you get traceable events. See what your agents do, update system prompts or tool configs, re-evaluate against existing test sets, all in one place.
LangChain Launches LLM Gateway for Agent Runtime Governance
LangChainLangChain launched LangSmith LLM Gateway, a runtime governance layer for AI agents. This gateway enforces cost limits and redacts sensitive data before requests reach LLM providers, integrating policy violations as traceable events directly within LangSmith for unified management.
- Spend limit levels
- Organization, workspace, user, API key
- PII redaction types
- Names, places, nationality, religion, political affiliation, ages
- Secrets redaction types
- US phone numbers, US SSNs, API keys, tokens, credentials
- Setup
- One-line base_url change
- Supported providers
- Anthropic, AWS Bedrock, Google Gemini, and others
- Availability
- Private beta
Running autonomous agents in production often leads to challenges like unexpected costs from runaway loops or the exposure of sensitive data to LLM providers. Existing solutions typically require integrating separate gateways and guardrails platforms, making it difficult to correlate policy enforcement with agent behavior. This update unifies governance with the agent development lifecycle, similar to how Vercel AI Gateway and OpenRouter offer centralized controls.
LangSmith LLM Gateway is available in private beta, with setup involving a one-line base_url change and policy configuration in the LangSmith UI. This allows teams to manage agent behavior, update system prompts, and re-evaluate against existing test sets without switching tools, providing real-time cost visibility and audit logging.
Still wondering? A few quick answers below.
Every HeadsUpAI update is written based on its original source and reviewed before it's published. Read our editorial standards →




