A Context Engineering Framework for Improving Enterprise AI Agents based on Digital-Twin MDP

Xi Yang, Aurelie Lozano, Naoki Abe, Bhavya, Saurabh Jha +4 more
3/23/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Despite rapid progress in AI agents for enterprise automation and decision-making, their real-world deployment and further performance gains remain constrained by limited data quality and quantity, complex real-world reasoning demands, difficulties with self-play, and the lack of reliable feedback signals. To address these challenges, we propose a lightweight, model-agnostic framework for improving LLM-based enterprise agents via offline reinforcement learning (RL). The proposed Context Engineering via DT-MDP (DT-MDP-CE) framework comprises three key components: (1) A Digital-Twin Markov Decision Process (DT-MDP), which abstracts the agent's reasoning behavior as a finite MDP; (2) A robust contrastive inverse RL, which, armed with the DT-MDP, to efficiently estimate a well-founded reward function and induces policies from mixed-quality offline trajectories; and (3) RL-guided context engineering, which uses the policy obtained from the integrated process of (1) and (2), to improve the agent's decision-making behavior. As a case study, we apply the framework to a representative task in the enterprise-oriented domain of IT automation. Extensive experimental results demonstrate consistent and significant improvements over baseline agents across a wide range of evaluation settings, suggesting that the framework can generalize to other agents sharing similar characteristics in enterprise environments.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2026context,
  title  = {A Context Engineering Framework for Improving Enterprise AI Agents based on Digital-Twin MDP},
  author = {Xi Yang and Aurelie Lozano and Naoki Abe and Bhavya and Saurabh Jha and Noah Zheutlin and Rohan R. Arora and Yu Deng and Daby M. Sow},
  year   = {2026},
  eprint = {2603.22083},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.22083v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.22083.svg)](https://codeofpaper.com/paper/2603.22083)

Discussion