AI Models & Platforms
LangChain Adds Engine Goals to Tie Agent Fixes to Business Outcomes

Key PointsEngine Goals shifts agent improvement from passing evaluations to recorded production…
View more
- Engine Goals shifts agent improvement from passing evaluations to recorded production outcomes like merged pull requests.
- LangChain's Content Studio case showed edited videos reached social channels less often despite every revision running successfully.
- Metric selection and instrumentation become central to deployment because the Goal determines which improvements Engine treats as progress.
LangChain launched Engine Goals on December 3, 2026, giving LangSmith Engine users a way to steer agent-improvement work toward business outcomes. Teams can describe objectives such as resolving more support tickets on the first attempt or getting more pull requests merged, and Engine uses them to select investigations and recommendations.
The feature extends the existing LangSmith Engine, a persistent agent that investigates production traces and recommends changes as an agent evolves. Engine already detects and clusters production issues, prioritizes them by severity, writes prompt or code fixes, validates them and can open GitHub pull requests for review. It also monitors resolved issues for recurrences and can recommend production examples for offline evaluation datasets.
Goals Set the Measure of Improvement
A team creates a Goal in LangSmith or through a Slack message, using natural language to describe the desired result. Engine helps clarify that outcome and identify a metric, then checks whether the metric is available in trace data or feedback, or could be produced by an evaluator. If the signal is missing, Engine can help instrument the agent, including opening a pull request that records the outcome as feedback on relevant traces.
Once a Goal is defined, Engine groups relevant existing recommendations under it, uses its metric to guide future investigations and tracks progress as the team makes changes. Teams can define multiple Goals for priorities such as performance and cost. Engine still looks for important findings outside those objectives, but conducts that broader analysis less frequently so most of its effort remains focused on stated priorities.
Its analysis methods include examining tool calls, latency, turn counts and token usage for large behavioral changes; analyzing user messages for dissatisfaction; and grouping execution paths to find complicated or expensive approaches to similar requests. Engine can combine those perspectives as evidence develops. When expected behavior is unclear from the system prompt or application code, it can ask whether a capability should be supported, whether a behavior is intentional or how an outcome should be interpreted.
LangChain’s Content Studio Case Study
LangChain tested Goals on Content Studio, its internal design agent, which creates videos, social graphics, recreated UI images and slide decks from Slack prompts. The team’s primary objective was for generated content to be used in marketing campaigns, measured by the percentage posted to LangChain’s social media channels.
Publication information was initially recorded elsewhere rather than on traces. Engine opened a pull request attaching it to the corresponding traces as feedback, creating a signal for comparing interactions. It then grouped similar requests and examined execution paths that produced published content against those that did not. LangChain reported an association between revisions and publication: edited videos reached its social channels less often, including cases where every revision ran successfully.
One comparison isolated the scope of the revisions. A request limited to the closing slide nevertheless rebuilt the whole video. The requested edit appeared, but scenes, timing or visuals that users had already approved could change with it, setting off another correction cycle or causing the project to be abandoned. Successful execution of each edit therefore did not preserve the user’s progress toward a publishable video.
The generated change kept the current video project intact, limited edits to the scenes involved and reused assets already approved. Engine turned revision requests that exposed the behavior into new regression examples and ran the fix against Content Studio’s complete dataset before release. The checks covered the requested edit, the integrity of unrelated material and the continued passage of existing cases.
Production Outcomes Complement Offline Evaluations
LangChain contrasts these production signals with offline evaluations, which test whether behavior and outputs meet defined criteria before release. A coding agent may solve increasingly difficult benchmark problems while producing pull requests that users rarely merge. A sales agent may draft outreach that passes every evaluation criterion while representatives rewrite or abandon it. The signals serve complementary purposes: evaluations help teams ship changes with confidence, while production outcomes can reveal needs and opportunities that existing tests do not capture.
Engine is available in LangSmith, and LangChain is offering it free to all new LangSmith Plus users through the end of 2026. Outside that offer, Engine consumes LangChain Standard Units, a normalized unit of work covering compute, storage, memory and model usage. Consumption depends on the number of traces analyzed, the depth of analysis and the amount of work Engine performs.
For enterprises, the practical change is the unit of prioritization: a team can assess an agent change against first-attempt ticket resolution, merged pull requests or another recorded production result, rather than treating a successful run or higher evaluation score as sufficient. That makes metric selection and instrumentation central to deployment. Engine can generate and validate fixes, but the Goal determines which improvements it treats as progress.












