Convert to latex: ## The Promise of General Agents In all machine learning tasks, simple…
- User
Convert to latex: ## The Promise of General Agents In all machine learning tasks, simple and effective solutions are better than their specialized counterparts. Such solutions generalize better, are more robust, and less prone to overfitting . Specifically, unlike domain agents that can be over-specialized and tailored to a specific task or domain, general agents work with different environments, forcing them to generalize. They receive diverse signals from a wide range of environments, requiring them to be robust. As a result, they tend to be more cost-effective. Next, we examine two concrete examples of SWE and scientific agents that demonstrate that even simple versions of general agents have a lower cost of development and are more cost-effective. To quantify these qualities, we measure lines of code (LOC) and agent average cost per task. ### Case 1: Scientific Agents ASTA Bench , an effort towards benchmarking deep scientific research agents, provides a clear test. As shown in Table 1, the specialized ASTA-v0 system scores 55% at $3.40 per task and contains subsystems exceeding 13,000 lines of code (LOC)[^asta-loc]. Yet the second-best system is a 300-line ReAct general agent scoring 44% at just $0.31. On the literature-understanding subtask, ReAct scores 53%; although still below the Asta agent (62%) it is still outperforming both the specialized ASTA Paper Finder (21%) and OpenAI Deep Research (19%). --- | Agent | LLMs used | ASTA score | Cost per task | LOC | |---------|-----------|------------|---------------|-----| | ASTA-v0 | Claude 4 Sonnet, Gemini 2.5 Flash, O3, GPT 4.1, GPT-4o | 53% | $3.40 | >13,768[^asta-loc] | | ReAct | GPT-5 | 44% | $0.31 | 358[^react-code] | > Table 1: In scientific tasks, a tiny general agent (ReAct) approaches the performance of a large specialized system (ASTA-v0) at a fraction of the cost and complexity. --- [^asta-loc]: Based on the python files in https://github.com/allenai/asta-paper-XXX. [^react-code]: Source: https://github.com/allenai/asta-bench/blob/XXX/astabench/solvers/react/basic_agent.py. ### Case 2: SWE Agents In SWE-Bench , the specialized SWE-Agent scores 67%, but the tiny, domain-agnostic Mini SWE-Agent scores 65% while being 30 times smaller and about 7 times cheaper per run (Table 2). Across both scientific and SWE settings, small general agents of a few hundred lines consistently achieve 70% to 95% of the performance of systems that are thousands of lines. --- | Agent | LLM | SWE-Bench score | Cost per task | LOC | |-------|-----|-----------------|---------------|-----| | SWE-Agent | Claude 4 Sonnet | 67% | ~$2.50 | 4,161 | | Mini SWE-Agent | Claude 4 Sonnet | 65% | $0.37 | 131 | > Table 2: In software engineering tasks, a minimal general agent nearly matches a specialized SWE agent while being far smaller and cheaper.
Assistant