paper-with-me

Papers

SAGAI-MID: A Generative AI-Driven Middleware for Dynamic Runtime Interoperability

2026-03-30 · Oliver Aleksander Larsen, Mahyar T. Moghaddam arxiv

Modern distributed systems integrate heterogeneous services, REST APIs with different schema versions, GraphQL endpoints, and IoT devices with proprietary payloads that suffer from persistent schema mismatches. Traditional static adapters require manual coding for every schema pair and cannot handle novel combinations at runtime. We present SAGAI-MID, a FastAPI-based middleware that uses large language models (LLMs) to dynamically detect and resolve schema mismatches at runtime. The system employs a five-layer pipeline: hybrid detection (structural diff plus LLM semantic analysis), dual resolution strategies (per-request LLM transformation and LLM-generated reusable adapter code), and a three-tier safeguard stack (validation, ensemble voting, rule-based fallback). We frame the architecture through Bass et al.'s interoperability tactics, transforming them from design-time artifacts into runtime capabilities. We evaluate SAGAI-MID on 10 interoperability scenarios spanning REST version migration, IoT-to-analytics bridging, and GraphQL protocol conversion across six LLMs from two providers. The best-performing configuration achieves 0.90 pass@1 accuracy. The CODEGEN strategy consistently outperforms DIRECT (0.83 vs 0.77 mean pass@1), while cost varies by over 30x across models with no proportional accuracy gain; the most accurate model is also the cheapest. We discuss implications for software architects adopting LLMs as runtime architectural components.

📄 PDF Abstract BibTeX arXiv:2603.28731

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Context Oriented Software Middleware

2019-01-13 · Basel Magableh

Our middleware approach, Context-Oriented Software Middleware (COSM), supports context-dependent software with self-adaptability and dependability in a mobile computing environment. The COSM-middleware is a generic and p…

On the Behavioural Formalization of the Cognitive Middleware AWDRAT

2014-12-07 · Muhammad Taimoor Khan, Dimitrios Serpanos, Howard Shrobe

We present our ongoing work and initial results towards the (behavioral) correctness analysis of the cognitive middleware AWDRAT. Since, the (provable) behavioral correctness of a software system is a fundamental pre-req…

RoboNeuron: A Middle-Layer Infrastructure for Agent-Driven Orchestration in Embodied AI

2025-12-11 · Weifan Guan, Qinghao Hu, Huasen Xi, Chenxiao Zhang 외 arxiv

Vision-language-action (VLA) models and LLM agents have advanced rapidly, yet reliable deployment on physical robots is often hindered by an interface mismatch between agent tool APIs and robot middleware. Current implem…

Dynamic Prompt Middleware: Contextual Prompt Refinement Controls for Comprehension Tasks

2024-12-03 · Ian Drosos, Jack Williams, Advait Sarkar, Nicholas Wilson

Effective prompting of generative AI is challenging for many users, particularly in expressing context for comprehension tasks such as explaining spreadsheet formulas, Python code, and text passages. Prompt middleware ai…

Beyond Prompts: Measuring and Optimizing LLM Tool-Agent Harnesses

2026-09-04 · Cen Mia Zhao, Haibo Ruan, Wenjie Chen, Pei-fen Tu 외 arxiv

LLM tool agents can be improved without retraining by modifying the runtime harness around a fixed model: prompts, tool interfaces, middleware, state handling, and recovery logic. We study this setting as resource-bounde…