LangChain Launches Engine Goals for Production-Focused Agent Improvement

LangChain BlogLangChain Blog·Original
Operator Bae ChangHyun

Key point

LangChain launched Engine Goals, letting LangSmith Engine investigate agent traces and track progress against production outcomes teams define.

1 / 8

Details

  • LangChain launched Engine Goals, which lets teams give LangSmith Engine production objectives to guide ongoing trace investigations, recommendations, and progress tracking.
  • Teams describe a goal in natural language in LangSmith or Slack; Engine helps define a metric from trace data, feedback, or evaluators, and can help capture missing signals.
  • Goals focus Engine’s investigations, while it continues broader, less frequent searches; Engine can combine analyses of tool use, user feedback, and execution paths.
  • Engine is available to try in LangSmith and is free for all new LangSmith Plus users through the end of the year.

Goals improving our internal agents

  • For LangChain’s Content Studio agent, the team set a goal of getting generated content used in marketing campaigns, measured by the share of content posted to social channels.
  • Engine found that small video-edit requests could regenerate the whole video, changing approved scenes and prompting more revisions; it generated a fix to revise only relevant scenes and tested it against the existing regression dataset.

Goals change how Engine investigates traces

  • With outcome signals attached to traces, Engine can compare similar requests that did and did not meet a goal, then investigate where their execution paths differ.
  • LangChain says defining analysis methods helps it evaluate and improve Engine, while Engine remains free to choose and combine methods as investigations develop.

Why benchmarks fall short

  • Passing offline evaluations does not guarantee production outcomes, such as users merging a coding agent’s pull requests or sales teams using its outreach drafts.
  • LangChain presents offline evaluations and production goals as complementary: evaluations check defined tasks before release, while goals track outcomes teams care about in production.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.