█

AI/TLDR

Buy me a coffee
Buy me a coffee

Ongrid

A self-hosted ops agent that investigates alerts and finds the root cause from chat

AI SDLC AutomationOpen source
Latest
v0.17.6
Updated
30 Sep 2026
Language
Go
License
AGPL-3.0

What's new

v0.17.630 Sep 2026

Patch release that completes inline approval and result continuation for MCP tool calls, tidies the web UI's device and tool layouts, and reduces tunnel telemetry bandwidth.

IN SHORT

What is Ongrid?

Ongrid is an open-source operations agent for SRE and DevOps teams. You install it on your own Linux server, connect your hosts through a small edge agent, and then ask it questions or let it react to alerts. It sits in the AI SDLC Automation category of the AI Coding tools and is open-source, written in Go and licensed AGPL-3.0.

Updated Markdown version ↗

Overview

Ongrid is an open-source operations agent for SRE and DevOps teams. You install it on your own Linux server, connect your hosts through a small edge agent, and then ask it questions or let it react to alerts. It gathers metrics, logs, traces and topology context, works out a root cause with supporting evidence, and replies in the chat tool your team already uses — Slack, Telegram, Larksuite, DingTalk or WeCom.

An Ongrid alert page for a swap_high warning with a root cause report: tempo memory spike as the cause, five evidence items from metrics and the audit log, three suggested read-only actions, and the alert timeline below
A root cause report attached to a firing alert, with the evidence and suggested next steps the agent collected.Ongrid README ↗
An Ongrid chat session where the agent calls query_devices and get_topology, delegates to a disk specialist, and returns a 7-day disk growth analysis table per device
A chat session: the agent queries the fleet, hands off to a disk specialist and reports per-device growth.Ongrid README ↗

Under the hood a coordinator agent hands work to specialist sub-agents for SRE, network and database questions. When an alert fires, an investigator spawns a root-cause worker that walks the service topology, correlates metrics, logs and traces, and writes the cause back to the chat; the project says it can pin the "why" to a line of source code. Host access goes through read-only inspection tools and a bash sandbox, every call is audited, and risky actions sit behind an approval and write gate before anything changes production.

The server installer brings up the whole stack with Docker Compose — the Ongrid manager plus Prometheus, Loki, Tempo, Grafana and Qdrant — so the observability backend comes wired in and the agent writes the queries itself. Edges dial out to the manager, so hosts need no inbound ports, and a browser SSH session reaches any enrolled host over a reverse tunnel. You bring your own model (Anthropic, OpenAI, GLM, DeepSeek, Gemini, Kimi or any OpenAI-compatible endpoint). Ongrid is written in Go with a TypeScript and React web UI and is licensed AGPL-3.0; the Ongrid brand assets are excluded from that licence.

What it does

  • Coordinator agent that dispatches to SRE, network and database specialist sub-agents
  • Alert-driven auto-investigation: an RCA worker walks topology, correlates metrics, logs and traces, and posts an evidence-backed root cause to chat
  • Bundled observability stack (Prometheus, Loki, Tempo, Grafana) plus a topology map that shows dependencies and blast radius
  • Zero-inbound-port edges, audited read-only host tools, browser SSH, and an approval gate in front of risky changes
  • Workflow builder, skills catalogue, MCP server registry and a knowledge vault that indexes runbooks, incident history and repositories
  • Kubernetes cluster enrolment and network device discovery via SNMP, both mirrored into the topology
Ongrid's topology graph linking apps, services, clusters, devices and racks with depends_on, routes_to, deployed_on and member_of relations
The topology map used to trace blast radius.
Ongrid's workflow editor with core nodes and a tools list on the left and a flow of Collect evidence, Retrieve context, Explain impact and a Risk gate branching to Publish report or Notify owners
The workflow builder wiring triggers, agents, tools and conditions.

Getting started

The server runs on Ubuntu 22.04+, Debian 12+ or RHEL/Rocky 9 with Docker and Docker Compose v2; the quickstart asks for 4 GB RAM minimum (8 GB recommended) and TCP 443 and 40012 reachable from the hosts that will run edges.

Download a release and run the installer

Each release tarball is self-contained (Docker images, edge binaries, config). Pick the archive for your architecture (linux-amd64 or linux-arm64); this is the v0.17.6 command from the README. The installer brings the stack up and prints the web URL and a one-time bootstrap admin password — record it.

bashbash
wget https://github.com/ongridio/ongrid/releases/download/v0.17.6/ongrid-v0.17.6-linux-amd64.tar.xz
tar -xf ongrid-v0.17.6-linux-amd64.tar.xz && cd ongrid-v0.17.6-linux-amd64
sudo ./install.sh

Log in and pick a model

Open https://<your-host>/, accept the self-signed certificate warning and sign in as the bootstrap admin. Under Settings → Models choose a provider (OpenAI, Anthropic, Zhipu, DeepSeek, Gemini, Kimi or a custom OpenAI-compatible one), paste the API key and make it the default provider.

Enroll a host with an edge

Create an edge under Edges → New edge; the UI gives you an install command with that edge's keys. Run it as root on the target host.

bashbash
curl -k -sSL https://203.0.113.10/install.sh | sudo bash -s -- \
    --access-key=AK_xxxxxxxxxxxxxxxx \
    --secret-key=SK_yyyyyyyyyyyyyyyy \
    --server-edge-addr=203.0.113.10:40012 \
    --server-http-addr=203.0.113.10:443

Check the edge is online

The edge shows as online in Edges, and the Monitor page starts drawing CPU, memory, disk, load and network charts for it.

Ongrid's Monitor page with fleet-wide CPU, memory, disk, network throughput and top-process charts per device
The Monitor page once edges are online and shipping metrics.Ongrid README ↗

Connect a chat channel

Configure Slack, Telegram, Larksuite, DingTalk or WeCom so the agent can take questions and post alert investigations where your team works.

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Have every firing alert investigated automatically, with the probable root cause and evidence posted to the team's chat
  • Ask fleet questions in Slack or Telegram (disk growth, a slow checkout service) and let the agent run the Prometheus, Loki and Tempo queries
  • Give an agent audited, read-only access to production hosts without opening SSH or other inbound ports
  • Build repeatable ops automations, such as a scheduled review that gathers evidence and notifies owners, in a visual workflow editor

How Ongrid compares

Ongrid alongside other open-source ai sdlc automation tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Multica★ 58.5kSelf-hostable workspace where coding agents are assigned issues like teammates: 26 agent CLIs, runtimes you own, a replayable execution log per run, and review gates before anything ships.
oh-my-codex (OMX)★ 33.9kA workflow layer for the OpenAI Codex CLI that adds agent teams, git-worktree isolation, hooks and HUDs behind a set of canonical plan, code-review and QA commands.
GPT-Pilot★ 33.6kAutonomous AI developer that breaks down an app description into tasks, writes and runs code incrementally, and asks clarifying questions to produce a working production application.
Beads★ 29.3kA Dolt-backed dependency-graph issue tracker for coding agents: hash IDs avoid multi-agent collisions, `bd ready` surfaces unblocked work, and `bd remember` keeps durable project memory.
Vibe Kanban★ 28.9kVibe Kanban lets you plan tasks on a kanban board, run coding agents like Claude Code and Codex in isolated workspaces, then review their diffs and ship pull requests.
Archon★ 24kA workflow engine for AI coding agents: describe plan, implement, validate, review and PR phases as YAML, and every run repeats them in its own git worktree.
Keploy★ 20kAn API testing tool that records real traffic with eBPF — including database and queue calls — and replays it as deterministic tests and data mocks, with no SDK to import and no code changes.
Ongrid★ 1.3kA self-hosted ops agent that investigates alerts and finds the root cause from chat