Skip to content
echo_

echo_

Predict the worst.Ship the fix.Protect the uptime.

Created on 10th May 2026

•

echo_

echo_

Predict the worst.Ship the fix.Protect the uptime.

The problem echo_ solves

What is Echo?

Echo is an autonomous Site Reliability Engineering (SRE) agent that predicts microservice failures before they occur and resolves them automatically, without waking up your on-call engineer at 3 AM.


The Problem with Traditional SRE

Modern distributed systems don’t fail in isolation they fail in cascades. A single degraded service high latency can silently ripple through the dependency graph until the entire platform collapses. By the time alerts trigger, the damage is already done.

Traditional observability tools tell you what broke.
Echo tells you what’s about to break.


What Echo Makes Possible

TaskWithout EchoWith Echo
Detecting cascade failuresPost-incident analysisPredicted 2–5 minutes in advance
Alert responseOn-call engineer woken at 3 AMFully autonomous remediation
Root cause tracingManual log-divingInstant cascade path visibility
Incident documentationManual Notion/Slack updatesAutomatic cross-channel updates
Chaos engineeringRequires separate toolingBuilt-in fault injection lab

Who Uses It

  • Platform/SRE teams that require sub-2-second failure prediction across complex microservice graphs
  • Startups without dedicated NOC teams, needing autonomous reliability coverage
  • Hackathon teams deploying on Kubernetes who want zero-downtime demos
  • Engineering managers seeking MTTR visibility without constant dashboard monitoring

The Full Loop

  1. Ingest : Every 2 seconds, collect latency, error rates, CPU usage, and RPS per service node
  2. Predict : A GNN encodes system topology while an LSTM models temporal patterns → outputs calibrated failure probability + cascade path
  3. Plan : A policy engine maps severity levels to concrete actions (scale up, circuit break, alert)
  4. Execute : The action executor applies decisions (or logs them in DRY-RUN mode) and broadcasts updates to all dashboard clients via WebSocket
  5. Notify : Slack, Notion, and GitHub Issues are updated automatically

Challenges we ran into

Challenges & Engineering Hurdles

1.Solving Circular Import Deadlocks

Problem: The Orchestrator singleton shared dependencies with the policy_engine and action_executor, creating a classic circular import crash on server startup.
The Fix: I restructured the module boundaries by moving type annotations behind TYPE_CHECKING guards and implemented dependency injection. The action_executor now receives a callback hook instead of importing the orchestrator directly, decoupling the architecture.

  1. Maintaining the Strict 2s Inference Tick

Problem:The ML pipeline (GCN + LSTM) occasionally exceeded the 2-second tick window due to PyTorch’s JIT overhead, leading to "drifting" timestamps and stale telemetry.
The Fix: I developed a dedicated inference_wrapper.py using thread-safe tensor cloning. By offloading inference to an asyncio.run_in_executor thread pool, the main loop remains non-blocking. If a tick is missed, the system intelligently uses the previous prediction and marks confidence as degraded.

3.Optimizing WebSocket Fan-out

Problem: Broadcasting the full graph state to 20+ simultaneous clients caused JSON serialization lag, slowing down the live dashboard.
The Fix: I implemented pre-serialization. The tick payload is serialized exactly once using orjson, and the resulting bytes are broadcast via asyncio.gather. This reduced per-client overhead by ~85%.

4.Resolving Vite HMR Conflicts

Problem: Vite’s Hot Module Replacement (HMR) and our API used the same port, causing the frontend to accidentally try and parse HMR signals as Echo telemetry data.
The Fix: I isolated the communication channels by explicitly defining a VITE_WS_URL and adding URL validation guards in the useWebSocket hook to silently drop any traffic not originating from our /ws endpoint.

Tracks Applied (1)

AI & ML

AI/ML at the Core, Not a Wrapper Echo doesn't call an LLM and display its response. The AI is the product. Every remedi...Read More

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio