Scoring-Driven Context Memory and Token Optimization for Rapid Prototyping of Scalable Multimodal Intelligent Agents: The MERIT Framework

Frameworks such as AutoGen and CrewAI make it fast to assemble multi-agent systems built on large language models (LLMs), yet as a prototype scales the binding constraint shifts from reasoning quality to how context is selected, retained, and emitted under a finite token budget. This article extends a prior conference study that compared two prototyping frameworks and catalogued the open challenges of LLM-based agents. The conference work observed that coarse controls such as fixed conversation rounds and agent iteration limits bound context quantity without judging its value. We turn that observation into a design. We introduce MERIT, a scoring-driven framework with four components: Multi-Signal Value Scoring (MSVS), which scores each context item from recency, relevance, task criticality, provenance, and redundancy; Budget-Aware Retention Optimization (BARO), which selects a high-value subset under a token budget through a value-density knapsack; Stable-Prefix Emission (SPE), which orders retained items so that low-churn content forms a cache-reusable prefix; and a Prototype Scoring Loop (PSL), which ranks candidate configurations on a joint quality, cost, and latency objective using a successive-halving schedule. We provide the scoring model, pseudocode, complexity bounds, an integration design for existing substrates, an evaluation protocol, and a controlled synthetic study in which value-density retention holds about four times the ground-truth utility per token of recency truncation while stable-prefix emission recovers cross-turn cache reuse. MERIT replaces fixed round and iteration limits with a value-driven stopping rule and layers onto existing frameworks without changing their agent abstractions. Because MERIT reads each context item only through its token cost and its embedding, the same mechanisms apply to multimodal context such as images, audio, and document pages.

Authors

Institutions

Publication Details

Journal
Journal of Engineering Research and Sciences
Published
2026-11-19
DOI
https://doi.org/10.55708/js0511005
Primary Topic
Multi-Agent Systems and Negotiation
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Scoring-Driven Context Memory and Token Optimization for Rapid Prototyping of Scalable Multimodal Intelligent Agents: The MERIT Framework

Muthukumarapandian Chandrasekaran
Journal of Engineering Research and Sciences
Multi-Agent Systems and Negotiation
article

Scoring-Driven Context Memory and Token Optimization for Rapid Prototyping of Scalable Multimodal Intelligent Agents: The MERIT Framework

Muthukumarapandian Chandrasekaran
article en

Abstract

Frameworks such as AutoGen and CrewAI make it fast to assemble multi-agent systems built on large language models (LLMs), yet as a prototype scales the binding constraint shifts from reasoning quality to how context is selected, retained, and emitted under a finite token budget. This article extends a prior conference study that compared two prototyping frameworks and catalogued the open challenges of LLM-based agents. The conference work observed that coarse controls such as fixed conversation rounds and agent iteration limits bound context quantity without judging its value. We turn that observation into a design. We introduce MERIT, a scoring-driven framework with four components: Multi-Signal Value Scoring (MSVS), which scores each context item from recency, relevance, task criticality, provenance, and redundancy; Budget-Aware Retention Optimization (BARO), which selects a high-value subset under a token budget through a value-density knapsack; Stable-Prefix Emission (SPE), which orders retained items so that low-churn content forms a cache-reusable prefix; and a Prototype Scoring Loop (PSL), which ranks candidate configurations on a joint quality, cost, and latency objective using a successive-halving schedule. We provide the scoring model, pseudocode, complexity bounds, an integration design for existing substrates, an evaluation protocol, and a controlled synthetic study in which value-density retention holds about four times the ground-truth utility per token of recency truncation while stable-prefix emission recovers cross-turn cache reuse. MERIT replaces fixed round and iteration limits with a value-driven stopping rule and layers onto existing frameworks without changing their agent abstractions. Because MERIT reads each context item only through its token cost and its embedding, the same mechanisms apply to multimodal context such as images, audio, and document pages.

Journal of Engineering Research and SciencesVol. 5(11)
Language Technology Centre (GB)
Multi-Agent Systems and Negotiation
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.

Laika access coming soon