LLM Agent Benchmarks: Capability, Cost, and Safety in Terminal Tasks
A recent industry benchmark of more than 50,000 agent runs on command-line tasks shows leading models clustered around a 61–62.5% completion rate, large cost gaps, near-parity of open-source runtimes with proprietary ones, and a non-trivial share of functionally correct runs that still fail safety checks. This article summarizes those findings and the practical implications for model routing, retries, and secure execution.
As large language models evolve into agents, their ability to act in terminal environments such as a Shell has become a practical measure of usefulness and engineering maturity. A recent industry report on agents performing command-line tasks, covering more than 50,000 runs, outlines current capability limits and offers reference points for model selection, cost control, and safety.
Core performance: capability ceiling and unstable execution
Averaged across multiple runtimes, the top three models completed 62.5%, 61.9%, and 61.4% of tasks—within 1.1 percentage points of one another. Leading agents appear to share a similar bottleneck on complex terminal work rather than one model dominating.
Stability is a larger concern. For the leading model, allowing three attempts raised the share of tasks with at least one success to 75.1%, but only 48.8% succeeded on all three tries. Solution generation is still stochastic. In enterprise automation, that can mean wasted compute and broken workflows. Teams should use stricter retry and state-check designs—for example intermediate snapshots and rollback—rather than relying on a single output or blind retries.
Cost–performance: matching compute to task difficulty
Cost is central to production use. Estimated cost per run for leading models varied widely: about $1.10 for one top model, about $0.83 for another, and about $0.19 for a third with similar quality. A lighter model passed only 39.7% of tasks but cost about five cents per run.
The implication is not to default to the strongest model. Route by difficulty: lightweight models for simple queries and file operations; higher-capacity models for cross-component deployment, code refactoring, or system-level troubleshooting. Elastic compute and model inference services (including offerings such as Baidu AI Cloud where they apply) can support a cost-aware scheduler.
Runtimes: open source at a usable bar
The runtime that parses model output and executes commands is critical. Open-source runtimes averaged pass rates close to proprietary ones, in a band of 42.87% to 45.23%. Open toolchains now look industrial-grade for scheduling, context, and error feedback. Internal automation or developer-productivity platforms can use them as the executor and spend effort on business logic and domain knowledge. Customizability also helps meet security and compliance requirements.
Safety: functional success is not the same as safe execution
Of 53,100 runs, 15.7% failed at least one safety check. Of 26,151 runs that met all functional criteria, 2,589 (about 9.9%) still failed a safety requirement. Agents may meet the goal via high-risk or over-privileged actions—for example force-deleting critical system directories to free disk, or opening unnecessary high-risk ports. Enterprise design should move from outcome-only checks to full-path audit.
Suggested practices from the original analysis:
- Containers and sandboxes. Run all Shell actions in a restricted container or sandbox; use namespaces and cgroups to limit host filesystem and network control.
- Least privilege. Give the agent a dedicated low-privilege service account; do not use root or admin for routine work.
- Command intercept and audit. Parse generated commands and match them against rules; block high-risk patterns such as
rm -rfandchmod 777. - Logs and alerting. Send all agent actions to a central log store, baseline unusual behavior, keep an audit trail, and alert quickly on overreach.
Conclusion
Agents already show meaningful potential for terminal automation, but they still hit a performance ceiling, uneven cost, and safety gaps. Build systems with dynamic model routing, sandbox isolation, and security audit rather than betting on a single model. Combined with mature container platforms, object storage, logging, and monitoring, that architecture is what can make agent-driven IT operations both useful and controllable.
