ChatGPT SearchOct 12, 2026
Data as of Oct 12, 2026A topic in LLM Agent Frameworks and Tooling.
Reviewed by Dimitry Apollonsky
AI summary
LangChain LangGraph holds a wide lead for orchestrating multi-step stateful tasks with persistence and fine-grained control. However, LangChain is the usual answer when buyers ask broadly about tool usage and human approval steps.
fine-grained control over execution flow and stateful task persistence
multi-agent task orchestration across autonomous agents
evaluating complex agent-based workflows alongside active frameworks
complex production workflows requiring tool-use and human approval steps
building agentic workflows that integrate tools and multiple agents
Mentioned in Β· Jul 6 β Oct 12, 2026
ChatGPT SearchOct 12, 2026
For complex LLM agent workflows involving loops, tool calls, conditional branching, retries, multi-agent coordination, and systematic evaluation, I'd start with LangGraph for orchestration and LangSmith or Arize Phoenix for evaluation and tracing.
The key distinction is that you need two capabilities: a framework that controls how the agent executes, and an evaluation system that measures whether the entire execution succeededβnot just whether the final answer looks good. LangGraph explicitly supports customizable agent workflows, while evaluation platforms can inspect execution traces, tool calls, and intermediate decisions.
(Best for complex orchestration)
Build stateful workflows as graphs, with cycles, conditional edges, checkpoints, human approval, and single- or multi-agent execution. It's a strong fit when your agent must repeatedly call tools, inspect results, recover from errors, and decide what to do next.
Best paired with: LangSmith or Phoenix.
Official site and documentation
(Best for Python-first testing)
A code-first approach to building agents and evaluating both final answers and execution trajectories, including which tools were called and their arguments. Useful if you want evaluation cases and scoring logic defined in Python and integrated into your test workflow.
(Best open-source observability)
Trace agent execution, inspect tool calls and intermediate steps, run evaluations, annotate failures, and compare experiments. It's particularly attractive when you want an open-source, self-hostable evaluation and observability layer that isn't tied to one agent framework.
Best if you want an integrated development and evaluation platform for LangGraph-based agents. It supports offline datasets, online evaluations, human review, trajectory-level analysis, and regression checks in CI/CD.
Official evaluation documentation
| If your priority is⦠| Recommended stack |
|---|---|
| Arbitrary loops and branching | LangGraph |
| Python-native agent testing | Pydantic AI + Pydantic Evals |
| Open-source tracing and evaluation | LangGraph + Phoenix |
| Integrated agent development and regression testing | LangGraph + LangSmith |
| Framework-agnostic evaluation and experiments | Your agent framework + |
Braintrust supports scoring individual agent steps and complete runs, while Langfuse provides hierarchical traces, datasets, experiments, and custom evaluations.
For complex, iterative workflows, I'd build an evaluation suite around these six dimensions:
One important design choice: evaluate the execution trace as well as the final output. A workflow can produce the correct answer by luck after taking an expensive or unsafe path. Conversely, multiple different tool-call sequences may be valid ways to solve the same task. Your evaluators should distinguish acceptable alternative trajectories from actual failures.
Agent orchestration
LangGraph: state, loops, branches, tools, retries
Execution traces
Inputs, outputs, tool arguments, errors, timing, tokens
Evaluation harness
Deterministic assertions + task-specific scorers + LLM judges
Regression and optimization
Datasets, repeated runs, score comparisons, CI release gates
Start with a fixed set of representative tasks, record every run, score both task outcomes and execution traces, and turn failures into regression cases. Add online evaluation once the workflow is running in production.
Are you primarily looking for a framework to implement the agent workflow, or a benchmarking/evaluation harness to test complex workflows you already have?
1. Main goal
Build and orchestrate agents
Evaluate and benchmark existing agents
Both: a complete development and evaluation stack
2. Preferred language
Python
TypeScript / JavaScript
Language-agnostic
3. Deployment preference
Open-source / self-hosted
Managed cloud is fine
Either
[Find the best-fit stack]
Google AI ModeOct 2, 2026
Building and evaluating complex LLM agent workflows with loops and tool calls requires a robust engineering framework . Because loops introduce non-determinism, infinite execution risks, and cascading errors, your framework needs a clear separation of concerns across orchestration, state management, observability, and evaluation.
Here is a comprehensive framework for building and evaluating these systems:
I need to orchestrate AI agents with external API integration capabilities. What are the top frameworks for this?
Which LLM agent frameworks excel at maintaining state across multi-step operations when integrating multiple external tools and APIs?
Google AI ModeOct 3, 2026
For managing multi-step, stateful tasks with complex control flows, cycles (loops), and robust error recovery, LangGraph is widely considered the gold standard.[](https://pecollective.com/blog/ai-agent-frameworks-compared/)[[2](https://www.langchain.com/resources/ai-agent-frameworks)](https://www.langchain.com/resources/ai-agent-frameworks)[[3](https://www.youtube.com/watch?v=VwARqtdk56U&t=6)](https://www.youtube.com/watch?v=VwARqtdk56U&t=6)
When building production-grade agents that need to remember state across turns, pause for human approval, and dynamically choose API paths based on intermediate outputs, different frameworks stack up as follows:
ChatGPT SearchOct 3, 2026
Which agent framework suits tool-use and human approval steps?
We are struggling to orchestrate multi-step tasks across different autonomous agents. Who offers a "multi-agent orchestration" framework?
| Open-source LLMOps and self-hosting | Your agent framework + Langfuse |
Would you like to dive deeper into any specific part of this framework, such as:
To help narrow down the exact right fit, tell me:
For the system you describedβcomplex, multi-step, stateful agents that call many tools/APIsβIβd put LangGraph at the top of the shortlist, with Microsoft Agent Framework and OpenAI Agents SDK as strong alternatives depending on your stack.
| Framework | Stateful workflows | Complex branching | Multi-agent | Tool/API integration | Durable execution | Best fit |
|---|---|---|---|---|---|---|
| LangGraph | β β β β β | β β β β β | β β β β β | β β β β β | β β β β β | Complex production agents |
| Microsoft Agent Framework | β β β β β | β β β β β | β β β β β | β β β β β | β β β β β | Enterprise / Azure / .NET |
The important distinction is that you don't really want an "agent framework" that simply lets an LLM call tools. You want an orchestration/runtime layer.
For example, your workflow might look like:
User request
β
βΌ
βββββββββββββββ
β Planner β
ββββββββ¬βββββββ
β
ββββββββΊ Search APIs
β
ββββββββΊ Database
β
ββββββββΊ Specialist Agent
β β
β βΌ
β External API
β
βΌ
βββββββββββββββ
β Validator β
ββββββββ¬βββββββ
β
failure?
/ \
yes no
β β
retry βΌ
β Human approval
β β
ββββββ βΌ
ββΊ Execute
β
βΌ
Persist
β
βΌ
ResultFor something like this, explicit state + graph/workflow semantics + checkpointing + resumability become much more important than simply having good tool-calling abstractions.
Microsoft Agent Framework has become particularly interesting for this exact use case. Its workflow system explicitly supports graph-based execution, shared/run-scoped state, checkpoints, resuming, human-in-the-loop, fan-out/fan-in, and multiple multi-agent orchestration patterns.
It can also run workflows on Durable Task infrastructure so execution can survive failures and resume across distributed workers.
So if you're building an enterprise Azure/.NET/Python system, I'd seriously consider it alongside LangGraph.
The OpenAI Agents SDK is attractive if you're primarily using OpenAI models and want a comparatively lightweight Python/TypeScript abstraction. It provides tools, MCP, sessions, handoffs, agents-as-tools, guardrails, human-in-the-loop mechanisms, and tracing.
Its orchestration model deliberately lets you mix LLM-driven decisions with code-driven orchestration, which is a useful architecture for complex agents.
Its persistent sessions handle conversational state across runs, including resuming interrupted runs in the JS SDK.
I'd choose it when you want something like:
manager
β
βββ research_agent
βββ coding_agent
βββ database_tools
βββ web_tools
βββ api_toolswithout wanting to build a large explicit workflow engine.
Choose LangGraph if:
Choose Microsoft Agent Framework if:
Choose OpenAI Agents SDK if:
One architectural principle I'd strongly recommend regardless of framework: don't let the LLM control everything. Let the model decide where reasoning is useful, while deterministic code/workflows control things like retries, transactions, permissions, API calls with side effects, state transitions, and approval gates.
If you're building something genuinely complex, I'd start with LangGraph and evaluate Microsoft Agent Framework against it, rather than starting with a purely conversational agent framework.
| β β β β β |
| β β β β β |
| β β β β β |
| β β β β β |
| β β β β β |
| Python + OpenAI-centric systems |
| CrewAI | β β β β β | β β β β β | β β β β β | β β β β β | β β β ββ | Role-based multi-agent systems |