OpsSquad
CLI Reference

CLI Overview

Professional deployment tool for installing and managing AI-powered autonomous nodes

The OpsSquad CLI is a professional deployment tool designed for installing and managing AI-powered autonomous nodes on your servers. It allows you to deploy intelligent monitoring and troubleshooting capabilities in minutes, transforming how you manage server health and incidents.

Key Features

FeatureDescription
AI-PoweredDeploys autonomous nodes that connect to intelligent agent squads that understand natural language requests and can investigate issues intelligently.
Security FirstOpsSquad is built from the ground up to meet the most stringent security and compliance requirements of modern enterprises. We don't just monitor your infrastructure; we protect it.
Real-time MonitoringProvides instant access to system metrics, logs, and health status.
Cross-PlatformFully supported on Linux, macOS, and Windows architectures.
Zero DependenciesDistributed as a single binary, requiring no external libraries or complex prerequisites.
Easy ManagementA simple, intuitive CLI interface for all agent operations.

Security Features

TLS Encrypted Sockets All communications use TLS encrypted sockets to prevent data leaking. Your data remains secure in transit and at rest, ensuring complete confidentiality.

Proprietary SLM AI Guardrails A proprietary SLM AI model classifies and blocks dangerous terminal commands instantly. The system proactively filters intent to prevent unauthorized actions.

Permission-Based Execution The system requires explicit user permission to execute non-read-only commands. This human-in-the-loop approach prevents misaligned automated operations.

Continuous Security Layering Continuous addition of security layers ensures a safe experience and prevents hallucinations, keeping your operational environment stable and predictable.

Use Cases

The OpsSquad CLI is built for:

RoleUse Case
DevOps TeamsAutomate server diagnostics and streamline troubleshooting workflows
SREsEnhance incident response with intelligent root cause analysis
MonitoringGain deep insights into system health beyond standard metrics
SupportEnable natural language investigation of server issues
CompliancePerform automated security and configuration auditing

Quick Start

# Install the CLI
curl -fsSL https://install.opssquad.ai/install.sh | bash

# Deploy a node
opssquad node install --node-id="your-id" --token="your-token"

# Check status
opssquad node status

CLI Sections

SectionDescription
InstallationQuick install, manual installation, and building from source.
CommandsComplete reference for all CLI commands.
ConfigurationConfiguration files, paths, and parameters.
Platform SupportSupported operating systems and architectures.
TroubleshootingCommon issues and solutions.

Architecture

The CLI manages the OpsSquad Connectivity Layer (the node binary) that runs on your servers:

┌─────────────────────────────────────────────────────────────┐
│                     Your Server                              │
│  ┌─────────────────┐     ┌─────────────────────────────┐    │
│  │  OpsSquad CLI   │────▶│  Connectivity Layer Node    │    │
│  │  (Management)   │     │  (Persistent TCP Connection)│    │
│  └─────────────────┘     └──────────────┬──────────────┘    │
└─────────────────────────────────────────│───────────────────┘


                              ┌───────────────────────┐
                              │  OpsSquad Platform    │
                              │  socket.opssquad.ai   │
                              └───────────────────────┘

The node maintains a persistent connection to the OpsSquad.ai platform, enabling:

  • Real-time command execution
  • Heartbeat monitoring
  • Secure, authenticated communication

On this page