| Hey HN! I built this because I got tired of waking up to read Docker logs. OnCallMate is an autonomous AI agent that:
- Monitors your Docker containers (proactive scheduler)
- Detects anomalies (crashes, OOM, restarts)
- Autonomously investigates using OpenAI function calling
- Performs RCA and suggests fixes Example workflow:
User: "any issues?"
→ AI calls docker_list, docker_inspect (4x), docker_stats (3x), docker_logs
→ Returns: " CRITICAL nginx - OOMKilled. Memory hit 512MB limit.
Recommend: docker update --memory=1g nginx" Security-first design:
- not SaaS/self-hosted
- Docker socket proxy (read-only by default, no direct socket exposure)
- Admin-only access (Telegram ID allowlist) AI provider options:
- OpenAI/Claude API (you choose what to send)
- OpenRouter free tier (cost-effective)
- Bring your own model (extensible architecture) Built in 3 days using:
- OpenAI function calling (multi-turn tool loops)
- Universal tool architecture (Docker now, K8s and cloud providers later)
- TypeScript + Dockerode + Telegram (Slack etc. later) Open source (MIT), runs entirely in your network. GitHub: https://github.com/ismailperim/oncallmate What features would make this more useful for you? |
One thing I've seen bite teams hard at this stage: the investigation agent needs read-only access to work, but most setups end up giving it broader Docker socket permissions "temporarily" and that never gets cleaned up. That's a real blast radius problem if the agent itself gets exploited or misbehaves.
What does your permission model for the agent look like right now?