AgentCgroup: Understanding and Controlling OS Resources of AI Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
AI agents are increasingly deployed in multi-tenant cloud environments, where they execute diverse tool calls within sandboxed containers, each call with distinct resource demands and rapid fluctuations. We present a systematic characterization of OS-level resource dynamics in sandboxed AI coding agents, analyzing 144 software engineering tasks from the SWE-rebench benchmark across two LLM models. Our measurements reveal that (1) OS-level execution (tool calls, container and agent initialization) accounts for 55-60% of end-to-end task latency; (2) memory, not CPU, is the concurrency bottleneck; (3) memory spikes are tool-call-driven with a up to 15.4x peak-to-average ratio; and (4) resource demands are highly unpredictable across tasks, runs, and models. Comparing these characteristics against serverless, microservice, and batch workloads, we identify three mismatches in existing resource controls: a granularity mismatch (container-level policies vs. tool-call-level dynamics), a responsiveness mismatch (user-space reaction vs. sub-second unpredictable bursts), and an adaptability mismatch (history-based prediction vs. non-deterministic stateful execution). We propose AgentCgroup, an intent-driven eBPF-based resource controller that exploits agents ability to declare resource needs and reconstruct execution strategies, using hierarchical cgroup structures aligned with tool-call boundaries, in-kernel enforcement via sched_ext and memcg_bpf_ops, and runtime-adaptive policies. Preliminary evaluation demonstrates improved multi-tenant isolation and reduced resource waste. AgentCgroup is open-source at https://github.com/eunomia-bpf/agentcgroup
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 9 of its 39 references that are in the map. First posted on arXiv 10 Feb 2026.
Builds on
9 of 39 references.
Closest ancestors · 2
Same direction, newest first
- 2025Continuum: Efficient and Robust Multi-Turn LLM Agent Scheduling with KV Cache Time-to-Live4 Nov
- 2025Efficient and Scalable Agentic AI with Heterogeneous Systems25 Jul
Other references · 7
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2025The Cost of Dynamic Reasoning: Demystifying AI Agents and Test-Time Scaling from an AI Infrastructure Perspectivecited by 38
- 2025AgentSight: System-Level Observability for AI Agents Using eBPFcited by 18
- 2025Kairos: Low-latency Multi-Agent Serving with Shared LLMs and Excessive Loads in the Public Cloudcited by 11
- 2025Trusted AI Agents in the Cloudcited by 4
Built on by
Citing papers per year: 2026: 13.
13 papers.
Sort:
By area:
- 2026Crab: A Semantics-Aware Checkpoint/Restore Runtime for Agent Sandboxescited by 11
- 2026VIGIL: Runtime Enforcement of Behavioral Specifications in AI Agent Skillscited by 8
- 2026Right to History: A Sovereignty Kernel for Verifiable AI Agent Executioncited by 7
- 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agentscited by 5
- 2026FAVA: Formal Authorization for Verified Agents with Evidence-Backed Permission Graphscited by 2
- 2026Sandlock: Confining AI Agent Code with Unprivileged Linux Primitivescited by 1
- 2026Agents in the Large: Perception-Centered Architecture for Persistent Agentscited by 1
- 2026Towards an Agent Operating System - Lessons from Classical and Cloud OScited by 0
- 2026SkillEffect: Checked Lowering for Memory-Bounded Agent Toolscited by 0
- 2026AgentDecarbonizer: Carbon-Aware Execution for AI Agentscited by 0
- 2026Not All AI Agents Are Equal: Characterizing Resource and Performance Dynamicscited by 0
- 2026LeaseGuard: Incumbent-Preserving Admission Control for Privileged LLM Agentscited by 0
- 2026CUA-Sandbox: Efficient Environments for Computer-Use Agent Reinforcement Learning26 Sep 2026
- 2026LeaseGuard: Incumbent-Preserving Admission Control for Privileged LLM Agents21 Sep 2026
- 2026Not All AI Agents Are Equal: Characterizing Resource and Performance Dynamics17 Sep 2026
- 2026Agents in the Large: Perception-Centered Architecture for Persistent Agents31 Aug 2026
- 2026AgentDecarbonizer: Carbon-Aware Execution for AI Agents20 Aug 2026
- 2026SkillEffect: Checked Lowering for Memory-Bounded Agent Tools17 Aug 2026
- 2026FAVA: Formal Authorization for Verified Agents with Evidence-Backed Permission Graphs29 Jul 2026
- 2026Towards an Agent Operating System - Lessons from Classical and Cloud OS27 Jul 2026
- 2026VIGIL: Runtime Enforcement of Behavioral Specifications in AI Agent Skills25 Jun 2026
- 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agents21 Jun 2026
- 2026Sandlock: Confining AI Agent Code with Unprivileged Linux Primitives25 May 2026
- 2026Crab: A Semantics-Aware Checkpoint/Restore Runtime for Agent Sandboxes30 Apr 2026
1 more
- 2026Crab: A Semantics-Aware Checkpoint/Restore Runtime for Agent Sandboxescited by 11
- 2026VIGIL: Runtime Enforcement of Behavioral Specifications in AI Agent Skillscited by 8
- 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agentscited by 5
- 2026Sandlock: Confining AI Agent Code with Unprivileged Linux Primitivescited by 1
- 2026Agents in the Large: Perception-Centered Architecture for Persistent Agentscited by 1
- 2026Towards an Agent Operating System - Lessons from Classical and Cloud OScited by 0
- 2026SkillEffect: Checked Lowering for Memory-Bounded Agent Toolscited by 0
- 2026AgentDecarbonizer: Carbon-Aware Execution for AI Agentscited by 0
- 2026Not All AI Agents Are Equal: Characterizing Resource and Performance Dynamicscited by 0
- 2026LeaseGuard: Incumbent-Preserving Admission Control for Privileged LLM Agentscited by 0
- 2026CUA-Sandbox: Efficient Environments for Computer-Use Agent Reinforcement Learningcited by 0
- 2026CUA-Sandbox: Efficient Environments for Computer-Use Agent Reinforcement Learning26 Sep 2026
- 2026LeaseGuard: Incumbent-Preserving Admission Control for Privileged LLM Agents21 Sep 2026
- 2026Not All AI Agents Are Equal: Characterizing Resource and Performance Dynamics17 Sep 2026
- 2026Agents in the Large: Perception-Centered Architecture for Persistent Agents31 Aug 2026
- 2026AgentDecarbonizer: Carbon-Aware Execution for AI Agents20 Aug 2026
- 2026SkillEffect: Checked Lowering for Memory-Bounded Agent Tools17 Aug 2026
- 2026Towards an Agent Operating System - Lessons from Classical and Cloud OS27 Jul 2026
- 2026VIGIL: Runtime Enforcement of Behavioral Specifications in AI Agent Skills25 Jun 2026
- 2026Lingering Authority: Revocable Resource-and-Effect Capabilities for Coding Agents21 Jun 2026
- 2026Sandlock: Confining AI Agent Code with Unprivileged Linux Primitives25 May 2026
- 2026Crab: A Semantics-Aware Checkpoint/Restore Runtime for Agent Sandboxes30 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2026Agentic AI Workload Characteristics
- 2026From LLM Inference to Agentic Workloads: Characterization and Implications for Serving Systems
- 2026Rethinking AI Cloud Infrastructure for Agentic Serving Systems with the Aries Experimentation Framework
- 2026Architectural Implications of Agentic AI Workflows
- 2026Memory Compression for High-Fanout Agent Sandboxes
- 2026TraceLab: Characterizing Coding Agent Workloads for LLM Serving
- 2026AgentSLABench: Evaluating and Benchmarking Agentic Systems Under Resource Constraints
- 2026SWE-Marathon: Can Agents Autonomously Complete Ultra-Long-Horizon Software Work?