Opsgate

•
2
•

Provide a secure, policy-checked, and audited gateway for AI agents to safely inspect and manage server infrastructure without unrestricted shell access.

Opsgate acts as a dedicated safety gate between AI assistants and production servers, replacing risky, arbitrary shell execution with typed, structured tools for managing systemd, Docker, and system diagnostics. Built on a deny-by-default security model with fine-grained policy controls, it prevents command injection by constructing arguments natively rather than parsing shell strings. Mutating operations pause for explicit human approval, while every action, intent, and policy refusal is recorded into a tamper-evident, hash-chained audit trail to ensure total operational visibility.

Características Principales

011 GitHub stars
02Injection-proof architecture using typed, structured argv arrays rather than concatenated shell strings
03Configurable policy modes (observe, operate, full) with granular host-level and target-level allowlists
04Human-in-the-loop approval workflows that prompt operators with the exact command before execution
05Tamper-evident, hash-chained JSONL audit logging with cryptographic verification for all events and refusals
06Comprehensive built-in toolset for managing systemd services, Docker containers, journal logs, and Nginx configs

Casos de Uso

01Empowering AI agents to safely diagnose production issues, inspect logs, and debug port bindings without root shell access
02Executing controlled, operator-approved service restarts and configuration reloads with automated pre-checks
03Maintaining verifiable compliance and security audit trails for all automated and AI-driven infrastructure tasks