Skip to content
AI News HubLIVE
More
Original source1 min read

Toward goal-oriented agent improvement with LangSmith Engine

Summary

LangChain introduces Goals in LangSmith Engine, letting users describe desired outcomes in natural language so Engine can decide where to investigate and which improvements to pursue.

Toward goal-oriented agent improvement with LangSmith Engine
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

Modern agents are increasingly taking on work directly tied to business outcomes, from resolving customer requests to producing and shipping code. Improving the agent’s ability to execute those tasks requires investigating production traces, identifying what’s getting in the way, and determining whether changes to the agent helped.

We built LangSmith Engine as a persistent agent to pursue those improvements on your behalf. It investigates production traces, identifies gaps and opportunities, and recommends changes to your agent. Engine works continuously, making suggestions as your agent evolves.

Today we're launching Engine Goals, which enables Engine to work on higher order objectives on your behalf. With Goals, you tell Engine what you want to achieve, such as "resolve more support tickets on the first try" or "get more PRs merged." Engine uses that objective to decide where to investigate and which improvements to pursue.

Engine helps you define how to measure progress, focuses its investigations on that objective, and tracks progress as your team makes changes. You get recommendations connected to the outcomes you care about, with less time spent sorting through findings to decide what matters.

How to define Goals

To get started creating a Goal, you just describe your desired outcome in natural language. You can create a Goal in LangSmith, or by sending Engine a Slack message. Engine then helps you clarify the outcome you want and identify a metric to track it. Recording the Goal's metric on individual traces connects your agent's behavior to the outcomes your team cares about, helping Engine understand what success looks like and measure progress over time.

Key points and analysis

Article intelligence

EngineersIntermediate

Key points

  • Goals enables users to define business outcomes in natural language, guiding Engine's investigation and improvement priorities.
  • Engine helps clarify the goal and identify a metric, then tracks progress by recording that metric on individual traces.
  • Users can create Goals in LangSmith or via Slack, and Engine continuously suggests improvements aligned with the objective.

Highlights and analysis are generated automatically and may contain errors. Check the original source.