---
title: 'Are They Really Multi-Agent? Architectures, Claims, and Containers in LangGraph Systems'
authors: ['Meriem Mastouri', 'Emna Ksontini', 'Amine Barrak']
date: 2026-12-04
categories: ['cs.SE', 'cs.AI']
tags: ['multi_agent', 'system_design']
source_id: '2612.05071'
source_url: 'https://arxiv.org/abs/2612.05071'
description: 'Large language model (LLM) agents are increasingly shaping software frameworks, benchmarks, and deployment platforms. However, the distinction between workflows and agents remains inconsistent, and...'
keywords: ['cs.SE', 'cs.AI', 'They', 'Really', 'Multi-Agent']
canonical: 'https://dailyreading.cc/records/arxiv_2612.05071'
---
# **Are They Really Multi-Agent? Architectures, Claims, and Containers in LangGraph Systems**
#### **Meriem Mastouri**1 **, Emna Ksontini**1 **, Amine Barrak**2
1University of North Carolina Wilmington, USA 2Oakland University, USA aminebarrak@oakland.edu
#### **Abstract**
Large language model (LLM) agents are increasingly shaping software frameworks, benchmarks, and deployment platforms. However, the distinction between workflows and agents remains inconsistent, and little is known about how multiagent systems are actually implemented, described, and deployed. In this paper, we conduct an empirical study of 443 open-source LangGraph systems that ship deployment artifacts. We examine their source-level architectures, compare implemented architectures with repository claims, and investigate how logical agents map to container deployments. Our findings reveal substantial gaps between claims and implementations. We find that 67.3% of systems are fixed workflows or single-agent applications, while 40.7% of systems making architectural claims overstate their agent multiplicity. Two-thirds of fixed-roster multi-agent systems hide agents beyond the outer graph, and only three systems assign an agent role its own container. Moreover, multi-agent systems are substantially more likely to execute model-generated code, often without isolation. These findings help researchers develop more representative benchmarks and datasets, practitioners assess agent architectures beyond advertised claims, and tool and platform developers design analysis and deployment solutions that better reflect real-world agentic systems.
## **1 Introduction**
LLM agents are becoming building blocks of software systems, and research increasingly builds for them: failure taxonomies are derived from multi-agent traces (Cemri et al. 2025), agent operating systems schedule many agents at once (Mei et al. 2025), and agent-to-agent protocols assume agents deployed as separate services (Linux Foundation 2026). All of this rests on knowing what an agent is and how agents are implemented, composed and deployed in practice.
Yet "agent" has no agreed meaning. Surveys characterize agents by their roles, capabilities or internal components (Xi et al. 2025; Guo et al. 2024; Sumers et al. 2024), while Anthropic separates them from workflows by who controls execution: "Workflows are systems where LLMs and tools are orchestrated through predefined code paths," whereas agents "are systems where LLMs dynamically direct their own processes and tool usage" (Anthropic 2024). Several
Copyright © 2027, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.


Figure 1: Code-directed (a, workflow) versus model-directed (b, agent) execution.
LLM calls are therefore not necessarily several agents. To identify agents in source code, we adopt this definition:
**Definition 1 (Agent).** *An agent is a logically distinct LLMdriven unit whose output selects the next action the system executes, rather than providing content that a developerdefined rule evaluates.*
Figure 1 illustrates the difference. In (a) the LLM returns a score that a developer's threshold turns into the next step; in (b) the LLM names the next step and the code dispatches it. Both contain an LLM and a branch; they differ in which decision is delegated to the model. The number of LLM calls or prompted roles is thus not the number of agents.
Identifying agents is only the first step, because a system's architecture can be read in four places that need not agree: the *claimed* architecture in its README, the *outer graph* its framework exposes, the *execution closure* it actually runs, including agents nested in subgraphs, nodes and tools, and the *deployment* architecture in its packaging. A "multi-agent" README may describe a pipeline of role-prompted calls, one node may hide several agents, and several agents may share one container.
These gaps matter for software engineering. Mining studies that sample by claims may study the wrong architecture; architecture-recovery, testing and tracing tools that read the outer graph may miss agents; and platforms that run agents as one unit cannot isolate, scale or restart them individually. Recent empirical studies have examined the source-level scaffolds of coding agents (Rombaut 2026), agent configuration practices (Galster et al. 2026), and production agents through interviews and practitioner surveys (Pan et al. 2026). These studies provide complementary perspectives on agentic software systems, while the relationships between their documented architectures, graph representations, source-level implementations and deployment configurations remain poorly understood.
We investigate these relationships through an empirical study of 443 open-source LangGraph (LangChain 2024) systems that ship deployment artifacts. We characterize agent architectures based on execution control, examine their composition beyond the outer graph, compare documented architectural claims against their implementations, and investigate how logical agent boundaries map to deployment configurations. This paper makes the following contributions:
- a source-level characterization of agentic architectures based on execution control, distinguishing the outer graph from the execution closure;
- a large-scale empirical investigation of agent composition, coordination patterns, and the correspondence between claimed and implemented architectures;
- an empirical analysis of the relationship between agent architectures, deployment boundaries, execution capabilities and protection mechanisms, with implications for agentic software engineering.
The dataset, codebooks and analysis scripts are available in our replication package (Mastouri, Ksontini, and Barrak 2026).
## **2 Study Design**
Figure 2 gives the workflow. Throughout, bracketed ranges are Wilson 95% intervals; associations are tested with Fisher's exact or permutation tests, Holm-corrected within each family, and measured by bias-corrected Cramér's V , with a bootstrap interval where we claim no difference.
**Corpus.** We harvested GitHub by repository search (name, description, topics, README) and by code search for Lang-Graph imports, bisecting by creation date to get past the 1,000-result cap. We kept non-fork Python repositories with LangGraph evidence, at least six stars, and a deployment artifact: a Dockerfile, a Compose file, a Kubernetes or Helm manifest, or a platform descriptor. The star floor is the only popularity filter. Of the 579 repositories harvested, each pinned to a commit, 574 had code to read. A repository is in scope if an artifact it ships containerizes and runs a LangGraph graph defined in it; 72 (12.5%) do not, and 59 are *collections* of unrelated graphs rather than one system. Both groups are excluded, leaving 443 systems. Table 1 describes them. Code measures are taken at the pinned commit (LOC counts non-blank, non-comment lines); stars, forks and contributors were fetched on 2026-10-08; stack rows are extractor facts. The median system has 38 stars, two contributors and 5.7k lines of Python, and is 2.7 months old from creation to its pinned commit (commits dated February 2024 to July 2026). The typical system builds one image, runs a three-service Compose stack and integrates four LLM
| | Q1 | median | Q3 | max |
|--------------------------|-------|--------|--------------|-----------|
| Size and activity | | | | |
| Stars | 19 | 38 | 110 | 110k |
| Forks | 3 | 8.5 | 28 | 21k |
| Contributors | 1 | 2 | 5 | 237 |
| Commits at the pin | 16 | 54 | 171 | 7,116 |
| Age at the pin (months) | 0.4 | 2.7 | 7.8 | 95 |
| Created in 2025 or 2026 | | | 84.0% (368) | |
| Python files | 23 | 51 | 136 | 1,886 |
| Python LOC | 1,874 | 5,736 | 23,221 | 1.1M |
| All source LOC | 2,634 | 7,844 | 28,390 | 1.4M |
| Stack | | | | |
| Dockerfiles | 1 | 1 | 2 | 30 |
| Compose services | 2 | 3 | 5 | 28 |
| LLM provider SDKs | 2 | 4 | 5 | 11 |
| Python 3.11/3.12/3.13+ | | | | 43/30/11% |
| Uses uv | | | 45.6% (202) | |
| Lockfile committed | | | 47.2% (209) | |
| OpenAI SDK present | | | 90.1% (399) | |
| Vector database | | | 45.1% (200) | |
| PostgreSQL / Redis | | | 37.0 / 37.0% | |
| LangGraph ≥1.0 (n = 195) | | | 63.1% (123) | |
| Practices | | | | |
| CI workflow at the pin | | | 47.7% (209) | |
| Tests at the pin | | | 40.0% (175) | |
| Licence declared | | | 65.3% (286) | |
| At least one release | | | 25.6% (112) | |
Table 1: Characteristics of the 443 LangGraph systems.
provider SDKs, almost always including OpenAI's; these are integrations in the code, not necessarily providers used in production. Of the systems whose committed lockfiles fix a LangGraph version, 63% already use LangGraph 1.x. The corpus is young and mostly small-team, as the ecosystem is.
**What counts as an agent.** A LangGraph application is a graph whose nodes are Python functions, prebuilt agents or nested subgraphs, sharing a state object (LangChain 2024); control moves along static edges, conditional edges or transfers issued by a node. We apply Definition 1 to every LLM unit: it is an *agent* if its own output decides what runs next (Figure 1b) and otherwise a *generator*. Agent roles are counted after de-duplication (a ReAct loop is one agent, and so are a producer and its critic), and the count gives the class: a *workflow* has none, a *single-agent* system one, a *multiagent* system two or more coordinated by a hub, a handoff or a shared dispatch, and a *runtime-built roster* creates its agents (or some of them) at run time. Because agents are often built inside a node rather than appearing as one, we record class and agent count twice: over the outer graph (the *frame*), which visualizers and most static tools read, and over the *execution closure*, the primary deployed graph with every subgraph and agent that runs within one invocation. We call a system *divergent* when its class or count differs between the two.
**Codebook.** We built the codebook with a taxonomydevelopment method (Nickerson, Varshney, and Muntermann 2013) from seven sources that name and define

Figure 2: Overview of the study workflow.
patterns: LangGraph and LangChain documentation, Anthropic's guidance, Microsoft's orchestration patterns and a peer-reviewed survey (LangChain 2026b; Anthropic 2024; Guo et al. 2024); the replication package lists all seven. A term was admitted only if its source both names and defines it, and synonyms were merged by control mechanism rather than by label: Anthropic's *orchestrator–workers*, LangGraph's *supervisor* and Guo et al.'s *centralized* structure are one hub pattern. Topology is the control shape of the primary graph, assigned most-specific-first from hierarchical, supervisor, orchestrator, network, reflection, loop, router, parallel and sequential, with *custom* as the residual. Three flags record handoff between agents, nesting, and a roster built at run time. Each label is linked to its supporting source location. The codebook's decision rules were applied during independent annotation and reconciliation; the full codebook is in the replication package.
**Annotation and reliability.** The architecture was coded by hand from the source at the pinned commit. Authors 1 and 2 independently annotated a pilot block of 150 repositories using the shared codebook. Disagreements were resolved through discussion between the two annotators, followed by one codebook revision. The remaining 428 repositories were divided between them, with a random 10% (43 repositories) independently annotated by both to assess consistency; disagreements in this overlap were resolved using the same procedure. Four repositories whose checkout was empty when labelled were later excluded, leaving the 574 with readable code. On the two annotators' independent labels, before reconciliation, Cohen's κ for the effective class was .85 in the pilot and .74 in the main-block overlap; for whether frame and closure differ, .94 in both (per-field tables in the replication package). The pilot and main blocks do not differ in class mix (permutation p = .81) or topology (p = .76), so we pool them. A static fact extractor recovers mechanical facts such as interrupts (96%) but only 43% of classes (κ = .24), which is why the architecture is coded by hand.
Two further passes refine the labels. All 42 systems first labelled *custom* were re-read against a contrast sample (blind second coder on 12, κ = .84), and 21 moved into named shapes by the codebook's own rules. Every divergent system was re-read in a *divergence pass* that codes the mechanism hiding its agents; both annotators coded the 18 divergent pilot systems (κ = .78 [.55–1.00], above a pre-set gate of .70) and one annotator the 88 in the main block.
## **3 RQ1: How Are Agent Systems Built?**
#### **Motivation**
Frameworks offer multi-agent coordination designs (Wu et al. 2024; Hong et al. 2024), and benchmarks, failure taxonomies and agent runtimes are increasingly built for multi-agent systems (Cemri et al. 2025; Mei et al. 2025), yet how many deployed systems contain agents at all, and how they combine them, has not been measured. It also matters *where* agents sit: tools that read only the top-level graph can see a system only if its agents appear there.
#### **Approach**
We label each system's class over the execution closure and over the outer graph (Section 2), its topology and its interaction flags. We relate topology and class to four behaviours (holding a conversation, pausing for a human, run-
| | n | % 95% CI |
|---------------------------------------------------|-----|------------------|
| Class, over the closure | | |
| workflow | 152 | 34.3 [30.0–38.9] |
| single-agent | 146 | 33.0 [28.7–37.5] |
| multi-agent | 93 | 21.0 [17.5–25.0] |
| runtime-built roster | 52 | 11.7 [9.1–15.1] |
| Interaction | | |
| nested agent or subgraph | 137 | 30.9 [26.8–35.4] |
| handoff between agents | 16 | 3.6 [2.2–5.8] |
| MCP / agent-to-agent protocol 186 / 16 42.0 / 3.6 | | |
Table 2: Architecture of the 443 analysed systems. Topologies are in Table 3.
| | | | % of systems with | | |
|---------------|-----|---------------------|-------------------|---------------|-----|
| topology | n | multi-turn
conv. | human
pause | model
code | MCP |
| sequential | 147 | 35 | 7 | 10 | 30 |
| parallel | 25 | 16 | 12 | 4 | 36 |
| reflection | 24 | 38 | 8 | 12 | 21 |
| loop | 93 | 72 | 8 | 30 | 41 |
| router | 21 | 76 | 24 | 10 | 29 |
| supervisor | 21 | 71 | 24 | 38 | 43 |
| hierarchical | 42 | 79 | 43 | 64 | 67 |
| custom | 21 | 62 | 52 | 33 | 62 |
| none (roster) | 45 | 58 | 31 | 47 | 73 |
| V (topology) | | .38 | .35 | .40 | .29 |
| V (class) | | .28 | .26 | .38 | .29 |
Table 3: Capabilities by control-flow topology.
ning model-generated code, and MCP use) with Cramér's V . For every system whose class or agent count differs between frame and closure, a divergence pass codes the mechanism that hides its agents and whether they run on every invocation. MCP and agent-to-agent protocol use come from the static extractor.
### **Results**
**Two-thirds of LangGraph systems implement workflows or single-agent architectures.** Of the 443 systems (Table 2), 34.3% are classified as workflows, in which LLM calls never choose the path, and 33.0% as single-agent systems, together accounting for 67.3% of the corpus [62.8–71.5]. Only 21.0% implement fixed-roster multi-agent architectures, with a median of four agents (maximum 12), and a third of these (30 of 93) have exactly two; 11.7% construct their agent roster at run time. Benchmarks and failure taxonomies focused on fixed-roster multi-agent architectures thus represent only a subset of deployed agentic systems, and would benefit from stratifying by the measured rather than the claimed class.
**Multi-agent systems predominantly adopt centralized coordination architectures.** Each class favours its own control shapes. Two class–topology pairs cover 47.2% of systems: a workflow wired as a fixed sequence (122) and a single agent looping over its tools (87). Beyond these, workflows fan out in parallel (20), single agents reflect with a critic (24)

Figure 3: Class over the outer graph (frame) against class over the execution closure. Coloured ribbons are the 93 systems whose class changes.
or route once (14), and runtime rosters mostly have no fixed shape (45 of 52). Of the 93 multi-agent systems, 42 are hierarchical and 21 supervisor-shaped, against 14 sequential, 7 router-shaped and 7 custom. Most of them (74.2%) nest subgraphs or in-node agents, 17.2% hand control from one agent to another, and a single system, a five-agent swarm, is peer-to-peer.
**Control-flow topology is more strongly associated with conversational and human-interruption capabilities than agent multiplicity.** Table 3 relates shape to behaviour (human pauses are extractor-detected interrupts; the orchestrator (3) and network (1) shapes are omitted). Pipelines resemble batch jobs: sequential and parallel graphs hold a conversation in 35% and 16% of cases and rarely run model code (10% and 4%), and generator–critic reflection loops converse in 38%. Loops, routers, supervisors and hierarchies, in which a model picks the next step for each request, converse in 71–79%, and hierarchies combine the most capabilities, running model-generated code in 64% of cases and pausing for a human in 43%. For conversation and human pauses, the topology separates systems more sharply than the class (V = .38 vs. .28 and .35 vs. .26; every topology association has Holm-adjusted p ≤ .002 over the four), whereas for model code and MCP the two are comparable. Reporting the control shape (pipeline, loop, hub, hierarchy) thus describes a system better than its agent count alone.
**Two-thirds of fixed-roster multi-agent systems cannot be identified as such from their outer graph alone.** The outer graph shows 32 multi-agent systems where the closure shows 93 (Figure 3): 62 of the 93 (66.7% [56.6–75.4]) are not multi-agent at the outer graph. Overall, 93 systems (21.0%) change class between frame and closure, all but one towards more agents. We re-examined 88 main-block systems and confirmed divergence in 86. In one case, the outer graph showed more agents than the execution closure. Among the 85 systems with hidden agents, the hidden agents are mostly deep-agent subagents behind a task tool (24 systems), agents built inside a node (18), compiled agent graphs added as a node (12), separate graphs invoked from a node (10) and agents behind an ordinary tool (7); 69.4% used prebuilt constructors. Hidden agents ran when selected by the model in
65.9% of systems, depending on the input in 17.6%, and on every invocation in 16.5%. A test or trace with fixed inputs may therefore never exercise them. Visualizers, static analyzers and tracers that read only the compiled top-level graph would report a workflow where a supervisor and its subagents run; following the execution closure, and measuring test coverage over the agents a model can reach, would avoid this blind spot.
**Tool-protocol integration is substantially more prevalent than agent-to-agent protocol integration.** 42.0% of systems integrate MCP, against 3.6% for an agent-to-agent protocol. MCP use increases with the class, from 28% of workflows and 38% of single agents to 55% of multi-agent systems and 73% of runtime rosters (V = .29, p < .001). Of the 145 multi-agent or runtime-roster systems, at most 14 (9.7% [5.8–15.6]) call an agent deployed elsewhere, an upper bound from a code scan that excludes SDK clients.
**Findings.** (1) **Most systems do not contain multiple agents**: 34% are fixed workflows, where code controls execution, and 33% contain only one agent. Another 21% have multiple predefined agents, while 12% create their agents at runtime. (2) Multiagent systems mostly use centralized coordination, and **the arrangement of agents is more closely associated with system capabilities than the number of agents**. (3) **Two-thirds of fixedroster multi-agent systems hide agents**inside nodes, subgraphs, or tools, making them invisible in the outer graph. (4) Tool integration through MCP is common (42%), but **agent-to-agent protocol integration is rare** (3.6%).
## **4 RQ2: Are Systems Described Accurately? Motivation**
READMEs are how users choose systems and how researchers sample them. If "multi-agent" in a README does not mean multi-agent in the code, keyword-sampled studies and evaluations inherit the error. Checking software's selfdescription against its behaviour has a long line (Gorla et al. 2014; Liesenfeld and Dingemanse 2024), and README content has been coded systematically (Prana et al. 2019), but not for agent architecture.
#### **Approach**
To compare the measured class with how each system describes itself, we coded each repository's *claimed* architecture (multi-agent, single-agent, agentic-unspecified, or no agent claim), its scope (the system itself, or a framework, example or roadmap) and strength (explicit or implied), from its name, GitHub description, topics and the README at the pinned commit, blind to the measured class. Only systemscoped claims enter the comparison: a template that lets users "build multi-agent pipelines" makes a capability claim, not a claim about itself. Two human annotators coded the claims with a shared codebook, in two rounds. On the original 150 repositories, both independently coded a 15-repository pilot to refine the codebook and then a 50-repository validation set (class κ = .97, scope κ = .93, above a pre-set gate of .70); Annotator 2 then coded the remaining 85. When the corpus was extended, Annotator 2 coded the 429 added repositories, and Annotator 1 blindly re-coded a random 30 of them

Figure 4: README claim against measured class for the 443 systems; percentages are of each row. The top three rows are the 359 system-scoped claimants. The outlined cell: 71 multi-agent claims describe a fixed workflow.
(κ = .80 [.62–.95]). Annotator 2 recorded a confidence for each label, and both annotators jointly reviewed the 137 labels below 0.7, 92 of them among the 443 analysed systems. Claimed levels map to agent counts as none (no claim), one (single-agent or unspecified) and two or more (multi-agent); measured multi-agent and runtime-roster systems both count as two or more. A system *over-states* its architecture when it claims more agents than measured and *under-states* it when it claims fewer. We test the gap under seven robustness variants and, exploratorily, over repository creation date with a permutation trend test.
#### **Results**
**Four in five systems claim to implement agents, and nearly half claim to be multi-agent.** Of the 443 systems, 208 claim to be multi-agent, 106 single-agent and 45 agentic without saying how many, while 84 make no system-scoped claim. The mix is similar across all 579 harvested repositories (262, 45.3%, claim to be multi-agent), so it does not result from our scoping.
**Two in five systems making architectural claims overstate their agent multiplicity under our definition.** Of the 359 claimants (Figure 4), 52.9% are consistent, 40.7% [35.7– 45.8] over-state their architecture and 6.4% under-state it (exact binomial p < 10−22). A multi-agent claim identifies four in five multi-agent systems (75 of 93) but is correct in only 49.0% of cases [42.3–55.8], describing a fixed workflow almost as often as a multi-agent system (71 vs. 75). Single-agent claims are correct in 68.9% of cases [59.5– 76.9] (Fisher's exact p = .0011, Holm-adjusted .0045), and 111 of the 152 measured workflows (73.0%) claim to contain agents.
**The discrepancy between claimed and implemented architectures persists across all seven robustness variants.** the over-claim rate is 40.5% for explicit claims only, 45.2% with runtime rosters excluded, 43.1% with reviewed lowconfidence labels excluded, 41.5% on double-coded labels only, 35.0% on double-coded or reviewed labels (n = 117), and 41.6% and 40.4% in the pilot and main blocks. It is also unlikely to be a marketing effect of popular projects, as it does not vary with stars (44.8%, 40.5% and 36.2% by thirds, Holm-adjusted p = 1.00), nor does the accuracy of

Figure 5: Share of systems that claim to be multi-agent against the share measured with two or more agents, by repository creation date (n per period in brackets; 5 systems have no creation date).
multi-agent claims (43%, 51%, 53%). The over-claim rate also stays close under alternative agent definitions: 43.2% [38.2–48.3] when single LLM routers count as workflows, and 37.6% [32.7–42.7] when a producer and its critic count as two agents.
**Multi-agent claims are increasingly prevalent across newer repository cohorts, without a corresponding statistically significant increase in measured multi-agent architectures.** By repository creation date, the share of systems claiming to be multi-agent rose from 31.4% of those created by 2024 to 38.4% in the first half of 2025, 50.0% in the second half and 55.1% in 2026 (Figure 5; permutation trend test p < .001, n = 438), whereas the share measured with two or more agents did not rise (40.0%, 27.9%, 29.8%, 34.8%; p = .14). The over-claim rate rose with the claims, from 26.5% to 43.9% of claimants, although this rise alone does not survive correction across the time comparisons we explored. The analysis is exploratory, since creation date is not the date of the pinned commit.
**Architectural discrepancies appear to reflect different interpretations of what constitutes an agent.** In the overclaiming READMEs, "agent" mostly names a role-prompted LLM step (a "Researcher Agent," a "Writer Agent") rather than a unit that decides what runs next: the community uses the word for what a step *does*, whereas the control-based definition, shared by framework vendors, uses it for what a step *decides*. A study that selects "multi-agent" repositories by README keyword would therefore start from a population that is about half workflows and single agents, and mining studies should validate the class against the code before drawing conclusions about multi-agent behaviour.
**Findings.** (1) **Most systems describe themselves as agentbased** (81%), and nearly half claim to be multi-agent (47%). (2) Of the systems making architectural claims, **41% claim more agents than their code implements**. Only 49% of multi-agent claims are correct; 71 of the 208 systems making such claims are actually fixed workflows. (3) **The mismatch remains across all seven robustness analyses** and does not significantly vary with repository popularity. (4) **Multi-agent claims have become more common in newer repositories**, but the measured prevalence of multi-agent architectures has not increased significantly.

Figure 6: Deployment unit of the 443 systems (one value per system). Only three give an agent role its own container.
## **5 RQ3: How Are Agent Systems Shipped, and What Do Agents Change?**
#### **Motivation**
Developers report deployment as a leading pain point of agent frameworks (Asgari et al. 2025). Two visions of multiagent deployment coexist. In one, agents are independent services: the A2A protocol describes "independent, potentially opaque AI agent systems" (Linux Foundation 2026), Lang-Graph proposes embedding remotely deployed graphs as subgraphs (LangChain 2026a), and Kubernetes-native runtimes give each agent its own Pod (Sun 2026). In the other, agents are modules of one application behind a central API (Microsoft 2026). Which vision practice follows, and whether adding agents changes the deployment, decides what agent runtimes, protocols and operations tooling should support.
#### **Approach**
A static extractor records 91 facts per repository from deployment descriptors and source (substrate, services and their roles, replicas, restart policy, probes, volumes, limits, user, base image), each with file and line; annotators code the deployment unit and how graphs map to containers, and a replica pass (n = 136 stateful systems, pilot κ = .83) decides whether containers started from one image are replicas or one image in several roles. We relate class to 21 deployment and content fields with permutation tests, Holm-corrected over 21 (Table 4), and report bias-corrected Cramér's V with bootstrap intervals where we claim no difference.
#### **Results**
**Agentic systems predominantly use conventional Python container images.** Of the 443 systems, 434 (98.0%) ship a Dockerfile; two in three (67.3%) start from the official Python image, 83.7% use a slim variant and 44.5% a multi-stage build. Base images are pinned by tag in 82.6% of systems, left at :latest or untagged in 14.4%, and pinned by digest in one, and 5.0% copy a secret into the image. Nearly half (44.9%) ship two or more Dockerfiles, most often for a separate frontend image (27.1%). These figures come from the extractor and were not validated by hand.
**Nearly nine in ten systems package the entire graph within a single application container.** The whole graph runs in one container in 88.9% of systems. By deployment unit (Figure 6), 45.6% run one application container beside infrastructure containers such as a database and 36.6% a single container, together 82.2%; a further 10.6% start one image as several containers.
| | | by class | | | | |
|------------------------|------|----------|---------|--------|---------|----------|
| | | work- | single- | multi- | runtime | Cramér's |
| | All | flow | agent | agent | roster | V |
| n | 443 | 152 | 146 | 93 | 52 | |
| No difference by class | | | | | | |
| 2+ app images | 66.6 | 61 | 66 | 71 | 79 | .09 |
| database or cache | 37.7 | 40 | 31 | 37 | 52 | .10 |
| health check/probe | 54.9 | 51 | 51 | 59 | 69 | .09 |
| runs as root | 70.7 | 78 | 67 | 67 | 65 | .09 |
| resource limits | 15.1 | 15 | 10 | 18 | 25 | .11 |
| observability | 37.0 | 35 | 38 | 32 | 48 | .05 |
| Differs by class | | | | | | |
| model-generated code | 25.1 | 6 | 23 | 45 | 50 | .38* |
| unisolated | 17.6 | 5 | 18 | 31 | 31 | .27* |
| MCP subprocesses | 22.3 | 14 | 21 | 26 | 46 | .22* |
| human pause | 13.1 | 9 | 7 | 22 | 27 | .20* |
| queue worker | 19.6 | 16 | 14 | 19 | 46 | .23* |
| long-term store | 13.5 | 8 | 12 | 24 | 17 | .15* |
Table 4: Deployment features by architecture class (% of systems). \* Holm p < .05.
**Logical agent boundaries rarely correspond to independent deployment boundaries.** Only three of the 443 systems give an agent role its own container, two of them cloud-vendor samples, and service boundaries follow agent roles in one of the 93 multi-agent systems. Systems with several application containers partition them by software function instead: 37 start one image as API, worker and scheduler, and 13 ship a separate image per function. Few systems scale out: only 21 (4.7% [3.1–7.1]) are multi-instance, 12 by replication and 9 by spawning containers at run time. Practice thus largely follows the second vision, in which agents are modules rather than services, and the platform restarts, replaces and scales the whole application, not each agent.
Agentic systems are provisioned similarly to conventional web applications. Two in three systems deploy with Compose (68.6%) and 8.1% ship Kubernetes manifests; 72.0% serve the graph from their own FastAPI server, and only 5.6% run on LangGraph's Agent Server, although 16.9% ship its configuration file. Half set a restart policy (51.9%) or a health check or probe (54.9%), few set resource limits (15.1%), 70.7% run as root, and 63.0% ship no observability.
Deployment configurations exhibit limited variation across agent architecture classes. The class shows almost no association with packaging ( $V=.04,\,p=.28$ ), and hidden agents ship in the same application image as everything else (93.2% of divergent systems vs. 92.4% of the rest). The number of application images (median two in every class; agents against images $\rho=.10$ ), the store, the probes, the privileges and the observability all differ by $V\leq.11$ , none significantly after Holm correction, with every bootstrap upper limit below .25. Only recovery and provisioning settings vary: runtime-roster systems set a restart policy more often (73% vs. 40–56%, V=.18, Holm p=.006), and declared volumes, CI image builds and multi-instance deployment differ weakly ( $V\leq.16$ ).
Multi-agent systems support model-generated code execution substantially more frequently than workflows. Multi-agent and runtime-roster systems run model-generated
code seven to eight times as often as workflows (45% and 50% vs. 6%; V=.38, bootstrap interval [.31, .47]), host MCP tool servers as subprocesses up to three times as often (V=.22), and more often add human pauses and queue workers (V=.20 and .23). They also keep more memory beyond a single conversation, with a long-term store in 24% of multi-agent systems against 8% of workflows (V=.15), whereas dedicated agent memory libraries remain rare in every class (23 systems, 5.2%, 20 of them using mem0).
Three-quarters of systems supporting unisolated model-generated code execution are configured to run as root. Of the 111 systems that run model-generated code, only 27 send it to a sandboxed service and 6 to an external execution API, while 50 run it as a subprocess in the agent's container and 28 in the agent's process (the unisolated row of Table 4, a lower bound). Of these 78, 59 (75.6% [65.1–83.8]) run as root, 55 as root without resource limits. Thirteen also give the container access to the host: two mount the Docker socket, which lets the container control the host; five run privileged or with added capabilities; and six mount broad host directories, giving read and write access to host files. More broadly, 143 systems (32.3% [28.1-36.8]) run model-generated code without isolation or MCP tool servers as subprocesses of the agent container; 71.3% of them run as root and 80.4% set no resource limits. Unisolated model code becomes more frequent with more agents (workflows 5%, multi-agent 31%), while root execution and missing limits do not. A model that is prompt-injected into a destructive command would act with the container's full privileges, and in the systems that mount the Docker socket with control of the host. Frameworks and templates that make it easy to add a code-executing agent could make sandboxing, a non-root user and resource limits the default.
Findings. (1) Agents are usually deployed together, not as separate services: 82% of systems use a single application container, either alone or alongside infrastructure services. Only three of 443 systems assign an agent role its own container. (2) Systems with more agents do not have substantially different container configurations, resource limits, or monitoring practices. (3) They do support different capabilities: 45% of fixed-roster multi-agent systems execute model-generated code, compared with 6% of workflows. (4) Security protections are often missing: 32% of systems run model-generated code without isolation or launch MCP tools as local subprocesses, and most of these systems run as root.
#### **6** Threats to Validity
Construct. Our classification relies on a control-based definition of an agent; alternative definitions based on prompted roles or LLM calls could yield different architectures. Topology is the least reliable label (main-block $\kappa=.68$ ), particularly at the boundary between a coordinating agent and a dispatching step. For RQ2, we map agentic claims that do not specify multiplicity to the one-agent level, although these claims do not explicitly state an agent count; likewise, the codebook records any use of "agent" as a singular noun naming the system as a single-agent claim, which need not be a deliberate statement about multiplicity.
**Internal.** Architecture labels were independently coded in the pilot and the 10% main-block overlap. One annotator coded each remaining repository and most divergence cases. We report agreement before reconciliation. Annotators may have consulted LLMs during coding, potentially introducing shared biases. Both annotators independently coded README claims in the pilot and validation sets, followed by a blind re-check of 30 repositories and joint review of low-confidence labels. High-confidence errors may remain undetected. Several deployment and capability indicators come from static extraction and may miss runtime behaviour. Our estimate of unisolated model-code execution is a lower bound, while that of remotely deployed agents is an upper bound. Temporal trends use repository creation dates, and some repositories may be copies of the same project.
**External.** Our corpus is limited to public Python-based LangGraph repositories with at least six stars and deployment artifacts. The systems are relatively young (median age 2.7 months), and our analysis captures shipped configurations rather than observed production deployments. Findings may therefore not generalize to private, less popular, or other agent-framework systems.
#### **7 Conclusion**
We empirically studied 443 open-source LangGraph systems to understand how agents are implemented, described, and deployed. Our findings challenge common assumptions about multi-agent software: most systems are workflows or single-agent applications, architectural claims frequently overstate the number of agents, and multiple agents are typically packaged within the same application container. Moreover, agents are often hidden beyond the outer graph, while multi-agent architectures are associated with greater use of model-generated code, frequently without isolation.
These results provide an empirical foundation for researchers to develop more representative agent benchmarks and datasets, practitioners to evaluate agent architectures beyond repository claims, and tool developers to improve architecture analysis and deployment support. More broadly, our study highlights the importance of examining source-level execution control and deployment configurations to understand how agentic systems are built and shipped in practice.
## **References**
Anthropic. 2024. Building Effective Agents. https://www. anthropic.com/engineering/building-effective-agents.
Asgari, A.; Panichella, A.; Derakhshanfar, P.; and Olsthoorn, M. 2025. What Challenges Do Developers Face in AI Agent Systems? An Empirical Study on Stack Overflow and GitHub Issues. arXiv:2510.25423.
Cemri, M.; Pan, M. Z.; Yang, S.; Agrawal, L. A.; Chopra, B.; Tiwari, R.; Keutzer, K.; Parameswaran, A.; Klein, D.; Ramchandran, K.; Zaharia, M.; Gonzalez, J. E.; and Stoica, I. 2025. Why Do Multi-Agent LLM Systems Fail? In *NeurIPS Datasets and Benchmarks Track*.
Galster, M.; Mohsenimofidi, S.; Lulla, J. L.; Abubakar, M. A.; Treude, C.; and Baltes, S. 2026. Configuring Agentic AI Coding Tools: An Exploratory Study. In *AIware*.
Gorla, A.; Tavecchia, I.; Gross, F.; and Zeller, A. 2014. Checking App Behavior Against App Descriptions. In *ICSE*. Guo, T.; Chen, X.; Wang, Y.; Chang, R.; Pei, S.; Chawla, N. V.; Wiest, O.; and Zhang, X. 2024. Large Language Model Based Multi-Agents: A Survey of Progress and Challenges.
Hong, S.; Zhuge, M.; Chen, J.; Zheng, X.; Cheng, Y.; Zhang, C.; Wang, J.; Wang, Z.; Yau, S. K. S.; Lin, Z.; et al. 2024. MetaGPT: Meta Programming for a Multi-Agent Collaborative Framework. In *ICLR*.
In *IJCAI*.
LangChain. 2024. LangGraph. https://github.com/ langchain-ai/langgraph.
LangChain. 2026a. Interact with a Deployment Using RemoteGraph. https://docs.langchain.com/langsmith/useremote-graph.
LangChain. 2026b. Workflows and Agents. https://docs. langchain.com/oss/python/langgraph/workflows-agents.
Liesenfeld, A.; and Dingemanse, M. 2024. Rethinking Open Source Generative AI: Open-Washing and the EU AI Act. In *FAccT*.
Linux Foundation. 2026. Agent2Agent (A2A) Protocol Specification. https://a2a-protocol.org/latest/specification/.
Mastouri, M.; Ksontini, E.; and Barrak, A. 2026. Replication Package for "Are They Really Multi-Agent? Architectures, Claims, and Containers in LangGraph Systems". Zenodo, https://doi.org/10.5281/zenodo.24770819.
Mei, K.; Zhu, X.; Xu, W.; Hua, W.; Jin, M.; Li, Z.; Xu, S.; Ye, R.; Ge, Y.; and Zhang, Y. 2025. AIOS: LLM Agent Operating System. In *COLM*.
Microsoft. 2026. Multiple-Agent Workflow Automation with Microsoft Agent Framework. Azure Architecture Center.
Nickerson, R. C.; Varshney, U.; and Muntermann, J. 2013. A Method for Taxonomy Development and Its Application in Information Systems. *European Journal of Information Systems*.
Pan, M.; et al. 2026. Measuring Agents in Production. In *ICML*.
Prana, G. A. A.; Treude, C.; Thung, F.; Atapattu, T.; and Lo, D. 2019. Categorizing the Content of GitHub README Files. *Empirical Software Engineering*.
Rombaut, B. 2026. Inside the Scaffold: A Source-Code Taxonomy of Coding Agent Architectures. arXiv:2604.03515.
Sumers, T. R.; Yao, S.; Narasimhan, K.; and Griffiths, T. L. 2024. Cognitive Architectures for Language Agents. *TMLR*.
Sun, L. 2026. Is a Pod the Right Deployment Unit for an AI Agent? CNCF Blog.
Wu, Q.; Bansal, G.; Zhang, J.; Wu, Y.; Li, B.; Zhu, E.; Jiang, L.; Zhang, X.; Zhang, S.; Liu, J.; Awadallah, A.; White, R. W.; Burger, D.; and Wang, C. 2024. AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation. In *COLM*.
Xi, Z.; Chen, W.; Guo, X.; He, W.; Ding, Y.; Hong, B.; Zhang, M.; Wang, J.; Jin, S.; Zhou, E.; et al. 2025. The Rise and Potential of Large Language Model Based Agents: A Survey. *Science China Information Sciences*.