Skip to content

Self-healing Microservice Architecture Using Autonomous AI Agents for Cloud Applications

Sep 2026 · Asian Journal of Research in Computer Science · Vol 19, pp. 29-43
Software System Performance and Reliability

Abstract

Cloud-native microservice applications provide scalability and deployment flexibility but remain susceptible to service failures, cascading faults, and delayed recovery. This study presents a Self-Healing Microservice Architecture (SHMA) that combines Kubernetes-based container orchestration, autonomous AI agents, a binary failure-prediction component, and reinforcement-learning-based recovery selection. The prototype was implemented with Spring Boot, Docker, Kubernetes, TensorFlow, Prometheus, Grafana, and PostgreSQL. Evaluation considered Mean Time to Recovery (MTTR), availability, recovery accuracy, response time, throughput, transaction success, and failure-prediction metrics. In the reported controlled testbed, MTTR decreased from 240 s to 48 s, availability increased from 98.2% to 99.8%, recovery accuracy increased from 84% to 98%, and service downtime decreased from 12 min to 2 min. The reported 1,000-observation confusion matrix yielded 95.7% accuracy, 96.5% precision, 95.2% recall, and 95.8% F1-score for failure prediction. In the increasing-workload experiment, response time remained at or below 1.18 s through 1,200 concurrent users, peak observed throughput reached 1,620 requests/s, and the successful transaction rate was 99.9%. These findings provide descriptive evidence that combining predictive monitoring with policy-driven recovery can improve fault-management responsiveness in a controlled Kubernetes environment. The results are interpreted within the limits of a single-cluster evaluation and aggregate point estimates, and broader generalisation requires repeated and multi-environment validation.

View source

Similar papers

#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54
#machine learning Review Open access Jun 2014

Why Early-Stage Software Startups Fail: A Behavioral Framework

This state-of-practice investigation was performed using a literature review followed by a multiple-case study approach and presents how inconsistency between managerial strategies and execution can lead to failure by means of a behavioral framework.

Carmine Giardino, Xiaofeng Wang, P. Abrahamsson · 175 citations · ⚡19
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#machine learning Review Open access May 2016

Key Challenges in Software Startups Across Life Cycle Stages

It is found that what perceived as biggest challenges by software startups do vary across different life cycle stages, even though its significance decreases when the learning focuses of the startups move from problem to solution and their products mature.

Xiaofeng Wang, Henry Edison, Sohaib Shahid Bajwa et al. · 62 citations · ⚡6

Related blog posts

MIT News · Artificial Intelligence Oct 7, 2026

Discovering the value of humanistic inquiry

Students in MIT’s Concourse program delve deeply into the human condition, debate challenging questions, and learn to develop judgment about issues that can’t be quantified.

Microsoft Research Blog Oct 7, 2026

Agent Lightning v1.0: A 3,500-Line Lightweight Agentic RL Framework for Training Agents with Real Harnesses

Training AI agents with reinforcement learning can be challenging because their tools, context, and decision-making are managed by complex frameworks. Agent Lightning connects existing agents to RL training, making it easier to improve them without rebuilding them. The post Agent Lightning v1.0: A 3,500-Line Lightweight Agentic RL Framework for Training Agents with Real Harnesses appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.