LLM-Agent+: A Modular Framework for Intelligent Agents with Reasoning Trace Compression and Tool-Augmented Memory

We present LLM-Agent+, a modular and extensible framework for building intelligent agents poweredby Large Language Models (LLMs). Designed for both research and real-world deployment, LLM-Agent+integrates natural language understanding (NLU), a dual-layer memory system, a chain-of-thought (CoT)reasoning engine, and a standardized tool interface—enabling flexible and scalable agent development.A key innovation is the Reasoning Trace Compression (RTC) mechanism, which dynamically condensesintermediate reasoning steps to improve memory efficiency, reduce prompt overhead, and enhanceinterpretability in long-context tasks. Unlike existing frameworks, RTC adapts to context windowconstraints, making LLM-Agent+ particularly effective in multi-step reasoning scenarios. The frameworksupports both command-line and web-based interfaces, emphasizing high modularity to facilitaterapid prototyping of alternative memory and reasoning strategies. We evaluated LLM-Agent+ across arange of tasks, including software debugging, multi-step planning, and research synthesis. The resultsdemonstrate competitive performance with a significantly reduced memory footprint, improved tasksuccess rates through enhanced reasoning transparency, and up to 40% reduction in token usagecompared to baseline methods. The dual-layer memory system further contributes to effective longcontextmanagement. To promote reproducibility and community collaboration, the full source codehas been released under a permissive open-source license. LLM-Agent+ bridges modular reasoningwith efficient context management, offering a unified platform for developing scalable and transparentLLM-based agents. Its balance of performance, flexibility, and interpretability positions it as a strongfoundation for future research in intelligent agent systems.Keywords: Intelligent Agents, Reasoning Trace Compression (RTC).

Authors

Institutions

Publication Details

Journal
SHILAP Revista de lepidopterología
Published
2025-12-25
DOI
https://doi.org/10.5281/zenodo.18054017
Primary Topic
Multimodal Machine Learning Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

LLM-Agent+: A Modular Framework for Intelligent Agents with Reasoning Trace Compression and Tool-Augmented Memory

Amjad Alloush
SHILAP Revista de lepidopterología
Multimodal Machine Learning Applications
article

LLM-Agent+: A Modular Framework for Intelligent Agents with Reasoning Trace Compression and Tool-Augmented Memory

Amjad Alloush
article en

Abstract

We present LLM-Agent+, a modular and extensible framework for building intelligent agents poweredby Large Language Models (LLMs). Designed for both research and real-world deployment, LLM-Agent+integrates natural language understanding (NLU), a dual-layer memory system, a chain-of-thought (CoT)reasoning engine, and a standardized tool interface—enabling flexible and scalable agent development.A key innovation is the Reasoning Trace Compression (RTC) mechanism, which dynamically condensesintermediate reasoning steps to improve memory efficiency, reduce prompt overhead, and enhanceinterpretability in long-context tasks. Unlike existing frameworks, RTC adapts to context windowconstraints, making LLM-Agent+ particularly effective in multi-step reasoning scenarios. The frameworksupports both command-line and web-based interfaces, emphasizing high modularity to facilitaterapid prototyping of alternative memory and reasoning strategies. We evaluated LLM-Agent+ across arange of tasks, including software debugging, multi-step planning, and research synthesis. The resultsdemonstrate competitive performance with a significantly reduced memory footprint, improved tasksuccess rates through enhanced reasoning transparency, and up to 40% reduction in token usagecompared to baseline methods. The dual-layer memory system further contributes to effective longcontextmanagement. To promote reproducibility and community collaboration, the full source codehas been released under a permissive open-source license. LLM-Agent+ bridges modular reasoningwith efficient context management, offering a unified platform for developing scalable and transparentLLM-based agents. Its balance of performance, flexibility, and interpretability positions it as a strongfoundation for future research in intelligent agent systems.Keywords: Intelligent Agents, Reasoning Trace Compression (RTC).

SHILAP Revista de lepidopterología
Damascus University (SY)
Industry, innovation and infrastructure
Openalex Percentile: Top 36%
Multimodal Machine Learning Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.