LangChain frames goal engineering as the next phase of AI agents
LangChain argues that AI agents are moving beyond text generation, tool use, and decision-making toward pursuing open-ended goals, with Hone presented as an early example of this direction. It recommends defining optimization metrics and scoping each agent around goals that make high-quality human feedback easy to provide. In Actively AI’s case study, goal-oriented agents were reorganized from one agent per customer account into reusable sales “motions” built on Deep Agents, allowing context-gathering agents to assemble account information separately.
LangChain’s framework places human feedback and review workflows at the center of agent design, arguing that agents pursuing subjective, long-horizon work must make expert corrections easy to collect and reuse.
The scope of tasks that agents can take on has increased drastically over the past few years. They have gone from simple text generation to tool calling and decision making to executing full tasks. The future of agents is them taking on open ended goals and driving towards completion of those goals. Launches like that of Hone give us a glimpse into that future.
In this world, designing the scope of agents is crucial. Point them in the wrong direction, and you’ll get a lot of wasted tokens. A key part of the Hone agent set up is defining metrics for them to optimize.
How to design goals
As we’ve worked on similar styles of agents, we’ve realized something about designing the scope for agents: you want to design the scope of an agent such that it makes it as easy as possible to give feedback as the agent operates within that scope.
Why is this?
When agents mess up, a big reason they mess up is lack of right context. In order to fix this, you need to give the agent the right context. There are different types of context. Some types of context are things like access to the right documents or APIs - that is relatively easy to fix. The trickiest context to give the agent is context that is not written down anywhere already. This context needs to be given to the agent as feedback from a human expert.