Undergrads Build Safety-Gated Self-Healing Agent for Dockerized Apps
ExpressionOne8668 · reddit · 2026-11-22
A team of undergrads is building MendAgent for their final-year project: an external self-healing loop beside a Dockerized FastAPI/PostgreSQL/Redis app, monitored by Prometheus/Grafana and orchestrated with LangGraph, Qwen2.5 via Ollama, and ChromaDB.
- Monitor: deterministic Prometheus alert rules fire on errors/latency and group correlated alerts via a service dependency graph
- Diagnose: an LLM planner inspects logs, metrics and dependencies to rank root-cause hypotheses with evidence, escalating when evidence is weak
- Safety gate: hard-coded allowlist limited to restarting stateless containers, rolling back config, flushing cache; volumes, databases and networks are blocked, with retry rate limits and maintenance locks
- Verifier & memory: post-fix synthetic user-flow and baseline stability checks with auto-rollback; verified fixes stored by fault signature and app version
They ask for advice on: the smartest build/learn order, recurring Docker/backend faults where containers stay "Up" but users still fail, whether LangGraph + pretrained Qwen2.5 with structured tool calling suffices or fine-tuning is needed, and where such a lightweight safety-gated healer fits in real teams (small SaaS without 24/7 SREs, staging).
More from coding & agent
- Open-source Claude Code plugin cuts complete music videos from a single song, now at v1.7 — AIandDesign · 2026-11-22
- Watch a full AAA Batman Glider game being built from scratch in Spawn — majidmanzarpour · 2026-11-22
- Karpathy's Coding Rules Packed Into One CLAUDE.md Hit 232K GitHub Stars — blaizedsouza · 2026-11-22
- Dev builds jepad: a 0.24ms proprioceptive JEPA sidecar for the Microduck robot — victormustar · 2026-11-22
- LangChain's Chase: don't let subagents edit the wiki, use a dedicated curator agent — hwchase17 · 2026-11-22
- Coders build with language, but the masses want visual building tools for each other — mrjonfinger · 2026-11-22