
What happened
LangChain laid out a four-level loop stack for agents — the core agent loop, a verification loop with graders, an event-driven loop for background runs, and a hill-climbing loop that feeds traces to a LangSmith Engine analysis agent.
Why it matters
The post argues value compounds in the third and fourth loops, so teams should pivot from just getting work done to embedding agents that continuously improve against their criteria, with humans reviewing sensitive actions.
Summaries like this, every morning.
The post builds its argument from a concrete internal case: a docs agent that receives a request for a documentation improvement, plans and drafts changes, and uses tools to clone repos, read files, write docs, and open a pull request. That single example runs through all four levels, which makes the stack easier to picture than an abstract framework.
The verification level adds a grader — deterministic or LLM-as-judge — that checks output against a rubric and sends feedback back when it falls short. For the docs agent, tests check that links resolve, CI checks pass, and the diff is scoped to what was requested. LangChain is candid that this adds latency and cost per run, and frames the tradeoff as quality over speed for most production cases.
The higher levels shift the agent from something you invoke to a component running inside a larger system. Event triggers come from cron schedules and webhooks via LangSmith Deployment, or from Fleet channels and schedules; the docs agent fires whenever a message lands in a #docs-plz Slack channel. The fourth loop is where LangChain makes its strongest claim: traces contain signal about what is working, and an analysis agent can rewrite the harness — prompt, tool, or grader tweaks — with the return arrow reaching inside the agent loop rather than just restarting it. Looking ahead, the post suggests the same loop could feed RL fine-tuning for teams on open-weight models, and improve memory and retrieved skills, with the caveat that what the loop optimizes is up to the team.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
At the Android Dev Summit, Google launched Android Studio Rabbit 2 with a 'Bring Your Own Agent' feature

Asked who won recent US presidential elections, Google's AI Mode gave only outside links rather than a direct…

Will Knight fed Codex research papers and had it build a harness of news-reading, results-analyzing, model-run…

Microsoft is ending Copilot functionality on all TVs, including LG's, with the feature "scheduled for disconti…

Two OpenAI managers published an essay arguing AI will reorganize firms in three ways — a new AI labor layer b…

Jedify Inc. formally launched Data Agents, letting business teams set up autonomous AI analysts by describing…