惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
罗磊的独立博客
雷峰网
雷峰网
量子位
V
Visual Studio Blog
Vercel News
Vercel News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The Cloudflare Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
宝玉的分享
宝玉的分享
月光博客
月光博客
Martin Fowler
Martin Fowler
aimingoo的专栏
aimingoo的专栏
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Microsoft Security Blog
Microsoft Security Blog
博客园 - 叶小钗
腾讯CDC
Engineering at Meta
Engineering at Meta
博客园 - Franky
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
Jina AI
Jina AI
A
About on SuperTechFans

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Ten 95% Reliable Agents Chained Together Give You a 60% S...
Kavin Kim · 2026-06-18 · via DEV Community

The math is unforgiving. Ten agents, each 95% reliable individually, chained sequentially: 0.95^10 = 0.598. Your system succeeds 60% of the time. Add five more agents and you are at 46%.

This is not a theoretical concern. A landmark study analyzing over 1,600 execution traces across seven popular multi-agent frameworks found failure rates between 41% and 87%. Carnegie Mellon put leading agent systems at 30-35% task completion on multi-step benchmarks. Gartner predicts 40% of agentic AI projects will be cancelled by 2027.

The pattern is familiar. Microservices hit the same wall in 2015. The solution was the service mesh: a dedicated infrastructure layer for service-to-service communication with built-in reliability, observability, and traffic management.

AI agents in 2026 have no equivalent.

The Reliability Compounding Penalty

Every handoff between agents introduces failure probability. Not because agents are unreliable individually. Because the chain amplifies every small failure into system-level collapse:

# The reliability compounding math:

def system_reliability(agent_count, individual_reliability):
    return individual_reliability  agent_count

# Real-world scenarios:
scenarios = {
    "3_agents_99%": system_reliability(3, 0.99),   # 97.0% - acceptable
    "5_agents_95%": system_reliability(5, 0.95),   # 77.4% - concerning
    "10_agents_95%": system_reliability(10, 0.95), # 59.8% - unacceptable
    "10_agents_99%": system_reliability(10, 0.99), # 90.4% - barely ok
    "15_agents_95%": system_reliability(15, 0.95), # 46.3% - broken
}

# The problem: most agent failures happen at HANDOFF POINTS
# Not inside the agent. Between agents.
# - Message not received (network, queue full, timeout)
# - Message misinterpreted (schema mismatch, stale context)
# - Response ignored (sender moved on, retry exhausted)
# - Cascade triggered (one failure propagates to all downstream)

# Microservices solution: service mesh (Istio, Linkerd)
# - Automatic retries with exponential backoff
# - Circuit breakers to prevent cascade
# - Load balancing across replicas
# - Mutual TLS for identity
# - Observability built into every call

# Agent equivalent: does not exist in standard tooling

What Service Mesh Solved for Microservices

In 2015, microservices teams discovered that service-to-service communication reliability was not an application concern. It was an infrastructure concern. Asking every developer to implement retries, circuit breakers, timeouts, and observability in every service was unsustainable.

The service mesh moved communication reliability into a dedicated layer:

# Microservices before service mesh (2014):
# Every service implements its own:
# - Retry logic (inconsistent across teams)
# - Timeout handling (some services: 5s, others: 60s, nobody knows)
# - Circuit breaking (most services: none)
# - Load balancing (hardcoded IPs in config)
# - Observability (some teams log, most don't)
# Result: cascading failures, 3 AM pages, blame games

# Microservices after service mesh (2017+):
# Infrastructure handles:
# - Automatic retries (configurable, consistent)
# - Timeouts (enforced at mesh level)
# - Circuit breaking (automatic, per-service)
# - Load balancing (intelligent, health-aware)
# - Observability (every call traced automatically)
# Result: 99.9% reliability, self-healing, observable

# AI agents in 2026: STILL IN THE "BEFORE" STATE
# Every agent framework implements its own:
# - Retry logic (LangChain: yes, CrewAI: different, custom: maybe)
# - Timeout handling (per-framework, inconsistent)
# - Circuit breaking (almost nobody)
# - Load balancing (not applicable? actually yes: agent replicas)
# - Observability (framework-specific, not standardized)
# Result: 41-87% failure rates. Exactly where microservices were in 2014.

The Agent Service Mesh Pattern

fast.io defined the concept: "An AI agent service mesh is an infrastructure layer that automates the observability, routing, and security of communication between AI agents. Unlike a traditional service mesh that manages traffic between microservices, an agent mesh manages the intent and state shared between autonomous actors."

The key difference: microservice meshes route bytes. Agent meshes route intent.

from rosud_call import AgentMesh, ReliabilityPolicy

# The service mesh equivalent for AI agents:
mesh = AgentMesh.configure(
    reliability=ReliabilityPolicy(
        # Automatic retries (not left to each agent)
        retry={
            "max_attempts": 3,
            "backoff": "exponential",
            "retry_on": ["timeout", "stale_context", "quality_below_threshold"]
        },

        # Circuit breaker (prevent cascade)
        circuit_breaker={
            "failure_threshold": 0.3,  # Trip at 30% failure rate
            "recovery_timeout_s": 30,
            "half_open_requests": 3
        },

        # Timeout enforcement (consistent across all agents)
        timeout={
            "per_message_ms": 5000,
            "per_workflow_ms": 30000,
            "on_timeout": "escalate_or_fallback"
        },

        # Health checking (know which agents are degraded)
        health_check={
            "interval_ms": 10000,
            "criteria": ["response_time", "output_quality", "context_freshness"]
        }
    )
)

# System reliability with mesh:
# 10 agents at 95% individual + mesh retry/circuit breaker:
# Effective per-handoff reliability: 99.7% (retries catch transient failures)
# System reliability: 0.997^10 = 97.0%
# vs without mesh: 59.8%
# Improvement: 59.8% → 97.0% (from 4 out of 10 failing to 3 out of 100)

Why Framework-Level Solutions Do Not Scale

LangChain has retries. CrewAI has error handling. AutoGen has conversation management. But each implements reliability differently, within its own boundary. The moment you mix frameworks, connect to external agents, or scale beyond a single deployment, you need infrastructure-level reliability.

DZone documented the pattern: "AI agents expose a design gap in microservices resilience." The agents themselves stress-test the communication infrastructure in ways that services never did, because agents make dynamic routing decisions that services cannot.

Red Hat confirmed the parallel: "Agentic AI is driving a shift similar to microservices: small components, explicit contracts, independent scaling, and a serious focus on reliability and observability."

The Bottom Line

Microservices went from 2014 (cascading failures, manual reliability) to 2017 (service mesh, self-healing) in three years. AI agents are in the 2014 phase right now. The failure rates prove it. The math proves it. The pattern is identical.

rosud-call is the service mesh for AI agents. Automatic retries at the communication layer. Circuit breakers to prevent cascade. Health-aware routing. Observability on every message. The reliability infrastructure that turns 60% systems into 97% systems.

The agents are reliable enough. The communication between them is not. That is an infrastructure problem, not an AI problem.


Add reliability infrastructure: rosud.com/docs