News

LangChain adds trace access controls to LangSmith Enterprise

LangSmith Enterprise users who can open a trace can still see an agent’s steps, latency and cost when its recorded inputs and outputs are hidden, LangChain says.

D
Nov 26, 2026 · 2 min read

LangChain says its controls for sensitive trace data are available on LangSmith Enterprise. Administrators can manage access to recorded inputs and outputs separately, assign roles to user groups by workspace and use metadata to restrict access to entire traces.

A trace records an agent’s execution. LangChain says engineers who can still open a trace can see the steps the agent took in the run tree, along with latency, cost, token usage and metadata. The company says this data can help engineers spot slow or repeated tool calls even when the recorded inputs and outputs are hidden.

LangChain says Workspace Admin, Workspace Editor and Workspace Viewer all have permission to read inputs and outputs by default. Users also need permission to read the run itself, and a matching deny policy can hide either field. The message and trajectory views require both content permissions.

LangSmith lets administrators give a user group a different role in each workspace. The role selector defaults to Workspace Viewer. A manual grant gives the role to group members who already belong to the workspace. Syncing the group with an identity provider can add members to the workspace.

An organization-level group policy normally applies across the workspaces the group can access. LangChain says administrators can scope it to one workspace through the API. Policies can also use project tags to hide inputs, outputs or both.

When root-run metadata conditions are enabled, LangChain says a rule can check for an exact, case-sensitive match on a top-level field such as a customer ID. The rule reads that field from the trace’s top-level run, known as the root run, and applies to the entire trace, including its child runs. LangSmith locks the root run’s metadata after ingesting the trace.

A matching deny takes precedence over role grants and allow policies. An allow rule grants access to matching traces. Users with broader read permissions can still open other traces unless a deny rule applies.

LangChain says LangSmith can store the full trace it receives while restricting who can see its contents. The LangSmith SDK separately supports masking data before it is sent. LangChain lists custom pricing for Enterprise.

More news