🤖bot.go×
In [1]:
// ChatOps Intent Handler
func handleMessage(m *tgbotapi.Message) {
  intent := gemini.Analyze(m.Text);
  if intent.IsAction() {
    confirmButton := ui.CreateConfirm(intent.Action);
    bot.Send(confirmButton);
  }
}
Out [1]:

Gopher-Ops

Secure AI SRE bot engineered in Go, utilizing Gemini 2.5 for natural language infrastructure control. Manages Docker environments and host telemetry via Telegram with Zero-Trust identity gating.

Go Gemini 2.5 API Docker SDK Telegram Bot API Terraform GitHub Actions
🧠

AI Intent Parsing

Gemini 2.5 parses natural language (e.g. 'restart my nginx container') into executable Docker commands.

👆

HITL Execution

Human-in-the-loop validation via interactive Telegram buttons for safe remote execution.

🔐

Zero-Trust Gating

Strict Telegram ID verification ensuring only authorized users can query or control the infra.

📈

Telemetry Streaming

Real-time CPU/RAM metrics and container status reported directly to the chat interface.