R168 · Infrastructure for agents at scale › Agent session hosting and control planes

LangSmith Tool Gateway: identity, access and audit for every agent tool call

Read the original

Authors LangChain

mcpsecurityhuman-oversightvendoragents-at-scale

Source: LangSmith Tool Gateway: Secure, governed tool use for agents (LangChain blog, Karthic Subramanian, 2026-11-19). Public beta.

The problem it targets

Agents are moving from chat to scheduled and event-triggered work, running long tasks without a person checking each step. Tool use then becomes a governance problem with three parts: which tools an agent may call and with whose credentials (access), what each user may do with it and when a human must approve (control), and a record of what was called as whom (visibility).

The usual shortcut is to hard-code all three per agent: an OAuth flow per provider, tokens stored next to the agent, routing added for each new tool. The post's customer example shows why that breaks: a retailer with 50+ MCP servers exposing over a thousand tools, a store assistant acting with each associate's credentials, and a 3 a.m. inventory agent acting with its own. Handing either agent a whole tool server leaves no deterministic check against the wrong credential or an unapproved tool, and no audit trail.

Architecture

Agents, coding agents and backends call one URL. For each call the gateway resolves identity, applies access and policy, and logs a trace.

Tradeoffs

Failure modes to watch

Review checklist for a tool gateway

Cited in field guides

Connections

See R168 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.