Putting It All into Context: Simplifying Agents with LCLMs
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
Recent advances in language model (LM) agents have demonstrated significant potential for automating complex real-world tasks. To make progress on these difficult tasks, LM agent architectures have become increasingly complex, often incorporating multi-step retrieval tools, multiple agents, and scaffolding adapted to the underlying LM. In this work, we investigate whether all of this complexity is necessary, or if parts of these scaffolds can be removed on challenging tasks like SWE-bench. We show that in the case of SWE-bench, simply putting the entire environment into the context of a long context language model (LCLM) and properly prompting the model makes it competitive with carefully tuned, complex agent scaffolds. We show that a Gemini-1.5-Pro model without any scaffolding or tools achieves 38% on SWE-Bench-Verified, comparable with approaches using carefully tuned agent scaffolds (32%). While the unscaffolded approach with Gemini-1.5-Pro falls short of the strongest agentic architectures, we demonstrate that the more capable Gemini-2.5-Pro using the same unscaffolded approach directly attains a 50.8% solve rate. Additionally, a two-stage approach combining Gemini-1.5-Pro with Claude-3.7 achieves a competitive 48.6% solve rate.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 21 of its 64 references that are in the map. First posted on arXiv 12 May 2025.
Builds on
21 of 64 references.
References · 21
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,302
- 2023PaLM-E: An Embodied Multimodal Language Modelcited by 2,037
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
9 more
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 329
- 2024LLM Agents Grounded in Self-Reports Enable General-Purpose Simulation of Individualscited by 235
- 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
- 2024Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approachcited by 117
- 2024SpecRover: Code Intent Extraction via LLMscited by 71
- 2025CodeMonkeys: Scaling Test-Time Compute for Software Engineeringcited by 46
Built on by
Citing papers per year: 2025: 7; 2026: 2.
9 papers.
- 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 349
- 2025SWE-Exp: Experience-Driven Software Issue Resolutioncited by 64
- 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolutioncited by 52
- 2025Retrieval-Augmented Code Generation: A Survey with Focus on Repository-Level Approachescited by 20
- 2026Coding Agents are Effective Long-Context Processorscited by 11
- 2025Distributional AGI Safetycited by 8
- 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
- 2026SkillForge: Self-Distilling Agents for Project-Specific Issue Resolutioncited by 2
- 2025Infherno: End-to-end Agent-based FHIR Resource Synthesis from Free-form Clinical Notescited by 1
- 2026SkillForge: Self-Distilling Agents for Project-Specific Issue Resolution19 Aug 2026
- 2026Coding Agents are Effective Long-Context Processors20 Mar 2026
- 2025Agentic Software Issue Resolution with Large Language Models: A Survey24 Dec 2025
- 2025Distributional AGI Safety18 Dec 2025
- 2025Retrieval-Augmented Code Generation: A Survey with Focus on Repository-Level Approaches6 Oct 2025
- 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models6 Oct 2025
- 2025SWE-Exp: Experience-Driven Software Issue Resolution31 Jul 2025
- 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution31 Jul 2025
- 2025Infherno: End-to-end Agent-based FHIR Resource Synthesis from Free-form Clinical Notes16 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2026AgentGym2: Benchmarking Large Language Model Agents in De-Idealized Real-World Environments
- 2023AgentTuning: Enabling Generalized Agent Abilities for LLMs
- 2024Chain of Agents: Large Language Models Collaborating on Long-Context Tasks
- 2025LMR-BENCH: Evaluating LLM Agent's Ability on Reproducing Language Modeling Research
- 2024Middleware for LLMs: Tools Are Instrumental for Language Agents in Complex Environments
- 2025Towards more Contextual Agents: An extractor-Generator Optimization Framework
- 2024Agent-FLAN: Designing Data and Methods of Effective Agent Tuning for Large Language Models
- 2025A Survey of Context Engineering for Large Language Models