AI NewsModels & agentsAnnouncement

LangSmith Engine takes goals in plain words, then measures them

LangSmith Engine now asks the user to state a business outcome in plain words. It then helps instrument the agent for that metric and tracks progress.

AI News

Editorial2 min read

LinkedInX
Screenshot of the Goal definition interface in LangSmith Engine, with a plain-language outcome for a content agent

Image: LangChain

Why it mattersA green test run tells you the agent did not break. It tells you nothing about whether the work it did reached a customer or a feed.

A dashboard of green test runs tells an engineer that the agent did not break. It does not say whether the work reached a feed, a ticket, or a customer. LangChain released a change that asks the user to close that gap in plain words.

The new feature is called Goals. A team writes the outcome it wants in natural language. The input happens in LangSmith or in Slack. LangChain's blog post, by Ben Tannyhill, gives one example. The Goal is "resolve more support tickets on the first try." Engine then clarifies the outcome with the user. It picks the metric that measures the outcome. It helps instrument the agent to record that signal on each trace. Engine groups its recommendations under the Goal. It uses the metric to decide where to investigate next. It tracks progress as the team makes changes.

What changes in the review

Before this, Engine could sort recommendations by how often each failed. That answers one question: where is the agent breaking. Engine Goals answers a different question. Is the agent falling short of what the team is trying to do? The two can be far apart. A trace can pass every check the engineer wrote. The work it produced can still go unused.

Engine also writes the plumbing when it is missing. LangChain's internal design agent is called Content Studio. The Goal says: "Generated content gets used in marketing campaigns." The metric is the share of agent-made content posted to social. The traces carried no signal about whether anything was ever posted. LangChain writes that Engine "opened a PR to attach it to the corresponding traces." A reviewer merges that PR. From then on, the metric exists.

A worked finding

Engine then used the Goal to find a cause on the same agent. Videos sent back for several revisions published less often. Each revision regenerated the whole video. Already approved scenes were lost each time. Engine recommended keeping the project. It said to edit only the relevant scenes. The fault sat in how the agent handled revisions, which is a design choice. It showed up only once the publishing metric sat on the trace.

What LangChain does not say

The post sets no numeric lift for the Content Studio agent after the change. It names the recommendation and stops there. The post gives no measurement of the publishing rate before or after. LangChain opened the feature free to new LangSmith Plus users through year-end. Beyond that, the post gives no price.

For a team already running agents in production, Goals change the review meeting. The question stops being "which traces failed this week". It becomes "are we closer to the thing we said we wanted". The second question can only be answered when the metric sits on the trace. The harder work is still to agree on the outcome. The harder work is also to decide how it gets measured. A tool can prompt for both. The team has to choose them.

Source

LangChain, Toward goal-oriented agent improvement with LangSmith Engine, by Ben Tannyhill.

SourceLangChain

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project