Two Thirds of LangGraph Agent Apps Aren’t Multi-Agent, and Many Run AI Code as Root

Researchers read the code of 443 open-source LangGraph systems: 67.3 percent are workflows or single agents, 40.7 percent of claimants overstate their agent count, and 78 systems run AI-generated code without isolation, mostly as root. What builders and buyers should check.

Christopher Ort
By i10X News Desk · Reviewed by Christopher Ort · 5 min read
Share
Monitor showing an abstract graph of connected nodes next to a small server, illustrating a study of how LangGraph agent systems are built and deployed
Image: AI-generated, i10X
On this page
  1. How the study decided what counts as an agent
  2. What the code shows
  3. The security finding
  4. Limits of the sample
  5. One step further: what to check before you build or buy a "multi-agent" system
  6. i10x Perspective

Most open-source LangGraph projects that describe themselves as multi-agent are not, and among the systems that do let AI models run code, most do it without a sandbox. That is the result of an empirical study posted to arXiv on December 3 by Meriem Mastouri, Emna Ksontini and Amine Barrak. The three researchers read the source code of 443 open-source LangGraph systems that ship deployment files such as a Dockerfile, a Compose file or a Kubernetes manifest, and compared what the code does with what the README promises.

How the study decided what counts as an agent

The authors use a control-based test. An LLM unit counts as an agent only if its own output decides what the system does next. If the model returns a score and a rule written by a developer turns that score into the next step, it is a generator inside a workflow, not an agent. The distinction follows Anthropic’s guide to building agents, which separates workflows on predefined code paths from agents that direct their own process. Several LLM calls, or several prompted “roles”, therefore do not make several agents.

What the code shows

Measured architectureShare of 443 systemsWhat it means
Workflow34.3%LLM calls never choose the next step
Single agent33.0%One LLM unit decides the next step
Fixed-roster multi-agent21.0%Fixed team of agents, median four, maximum 12
Runtime roster11.7%Agent team is assembled while the system runs

Source: Mastouri, Ksontini and Barrak, “Are They Really Multi-Agent? Architectures, Claims, and Containers in LangGraph Systems”, arXiv 2612.05071 (December 3, 2026), Table 2. Summary by i10X.

Two thirds of the systems (67.3 percent) are fixed workflows or single agents. Only 21 percent run a fixed team of agents, with a median of four, and nearly a third of those teams (30 of 93) have just two members.

The marketing runs ahead of that. Of the 443 systems, 208 claim to be multi-agent, which is 47 percent by our count. Among the 359 projects whose README makes a claim about the whole system, 40.7 percent overstate how many agents they run, about 146 projects by our calculation, while 52.9 percent describe themselves correctly. A multi-agent claim was right in only 49 percent of cases, and 111 of the 152 measured workflows (73 percent) say they contain agents.

The deployment side is just as plain. In 88.9 percent of systems the whole graph runs in one container. Only three of the 443 give an agent role its own container, and only 21 systems (4.7 percent) run more than one instance.

The security finding

The more agents a system has, the more likely it is to let a model write and run code: 45 percent of fixed-team multi-agent systems do it, against 6 percent of workflows. How they do it is the problem. Of the 111 systems that execute model-generated code:

  • 27 send it to a sandboxed service and 6 to an external execution API
  • 50 run it as a subprocess inside the agent’s container and 28 inside the agent’s own process

That leaves 78 systems, or 70 percent of the code-running group by our calculation, with no isolation. The authors call this a lower bound. Of those 78, 59 run as root, 55 of them also without resource limits. Thirteen give the container access to the host: two mount the Docker socket, five run privileged or with added capabilities, and six mount broad host directories. Across the whole sample, 143 systems (32.3 percent) either run model code unisolated or start MCP tool servers as subprocesses of the agent container. A model that is tricked by a prompt injection into running a destructive command would act with all of the container’s privileges. How quickly that goes wrong in practice showed in the LiteLLM sandbox escape last month, where a flaw in a code sandbox let attackers run code on the proxy server.

Limits of the sample

The corpus covers public Python repositories with at least six GitHub stars and a deployment file. The median project has 38 stars, two contributors and is 2.7 months old, so this is the young, small-team end of the ecosystem, not enterprise production. Several measures come from static analysis of configuration files rather than observed runtime behavior, and the authors note that their annotators may have consulted LLMs while coding. The results may not carry over to private systems or to other frameworks such as CrewAI or AutoGen. They also say nothing about how well multi-agent teams perform; for that side, see our report on semantic collapse in multi-agent chats.

One step further: what to check before you build or buy a “multi-agent” system

Why does the gap exist? The study’s own answer is that “agent” has no agreed meaning, so the label costs nothing. Anthropic’s guide, cited by the authors, advises starting with the simplest workflow that works and adding agency only where it helps. Read that way, the fact that 67.3 percent of systems are workflows is not a failure; the overstated READMEs are.

For teams evaluating agent products or open-source templates:

  • Ask one question: which model output decides the next step? If the vendor or README cannot point to it, you are looking at a workflow. With a multi-agent claim right only 49 percent of the time in this sample, the README is not evidence.
  • Benchmark the right thing: fixed-team multi-agent systems are only 21 percent of what the study found deployed, so benchmarks built around them miss most real systems. We saw a similar mismatch in the Berkeley study on coding agent wrappers, where the scaffolding changed costs more than scores.

For teams that let agents run code, the study’s numbers translate into a short checklist:

  • Sandbox model-generated code in a separate service rather than a subprocess; only 27 of 111 systems did.
  • Drop root and set limits. 59 of the 78 unisolated systems run as root. A non-root user and memory and CPU limits are single lines in a Dockerfile or Compose file.
  • Never mount the Docker socket into an agent container. Docker’s security documentation warns that the daemon requires root privileges and that only trusted users should control it; a container with the socket can start new containers with access to the host. Two systems in the sample did exactly that.
  • Treat MCP tool servers as untrusted processes. Running them as subprocesses of the agent container gives them the same privileges as the agent.

What is still open: whether commercial and private agent systems look the same, and whether frameworks will make sandboxing, a non-root user and resource limits the default, which the authors suggest.

How we checked

Checked on 6 December 2026, 04:45 CET.

  • The full arXiv paper 2612.05071 (version 1, December 3, 2026), including the corpus table, the claim analysis and the deployment and security results
  • Anthropic’s guide on workflows and agents, which the paper uses for its definition
  • Docker’s engine security documentation on the daemon attack surface
  • Our calculations: 47 percent multi-agent claims, about 146 overstating projects, 70 percent of code-running systems without isolation
  • Not done by us: re-running the authors’ extractor or checking individual repositories

i10x Perspective

“Multi-agent” has become a feature label, and this paper is the first large code audit we have seen that measures it against reality. The overclaiming is mostly harmless. The security part is not: agents that write code are exactly the ones running it as root, in the same container as everything else. We expect framework templates to be the fix, because most of these projects are two-person efforts that copy a starter repo. If LangGraph and its rivals shipped sandboxed, non-root code execution as the default, a large share of this risk would disappear without anyone reading a security guide.

Christopher Ort

Christopher Ort

Christopher Ort is the editor of i10X News at i10x.ai. He has worked hands-on with AI tools, models and agent workflows for years and leads i10X’s coverage of AI launches, funding and research. He is the author of “The Style Penalty”, an SSRN study on how frontier AI models judge AI-written CVs, covered by heise online and t3n.

Editor's picks

  1. Custom GPTs Shut Down December 11: What Moves to Plugins and What Breaks
  2. Nvidia Nemotron 4: Super Due Early 2027, an 8B Decision Model Ships Dec. 15
  3. Claude Code Helped a CTO Copy Float’s Codebase. Default Logs Would Miss It
  4. Colossus 2 to Double in 30 Days, Musk Says, as SpaceX Hunts GB300s to Rent
  5. Grok for Builders Gives Free Ultra: How It Compares With Claude and Codex Offers