Metadata-Version: 2.4
Name: opsairlock
Version: 0.1.0
Summary: 60-second zero-trust access airlock, OS sandbox, and Slack-first control plane for AI Agents and freelancers.
License: Apache-2.0
Project-URL: Homepage, https://opsairlock.com
Project-URL: Repository, https://github.com/opsairlock/opsairlock
Keywords: ssh,bastion,ai-agent,mcp,zero-trust,security,devops,slack
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Dynamic: license-file

# OpsAirlock

**Run one command on your VPS (`opsairlock install`), close SSH forever, and manage AI Agents & freelancers from Slack — OS sandboxing, 1-tap approvals, TTL auto-revoke, and video replay.**

> **100% Glass-Box Trust**: Pure Python 3 standard library (`dependencies = []`), zero hidden telemetry, and 100% unmodified official Apache-2.0 bastion engine ([Warpgate](https://github.com/warp-tech/warpgate) `0.30.0`). Copy any file in this repo into your favorite AI and audit it line by line.

## 1-Step VPS Install (The Only Command You Run on Your Server)

```bash
# Option 1: Install via pipx / uv (PEP-668 safe)
pipx install opsairlock && opsairlock install

# Option 2: Zero-dependency shell installer (from cloned repo)
./install.sh && opsairlock install
```

In 60 seconds, `opsairlock install` initializes the single-port bastion, pairs your **Slack** (or Telegram) via 1-click link / QR code, and registers the background `opsairlock-daemon.service`. **Close your SSH terminal — manage everything from Slack:**

- `/airlock grant human --profile deploy --workdir /srv/n8n --ttl 4h` → Slack outputs a ready-to-share Web SSH pass.
- `/airlock grant agent --profile readonly --ttl 2h` → Slack outputs a ready-to-paste `uvx --from opsairlock opsairlock-mcp` snippet for Claude Code / Cursor.
- High-risk commands pause and pop **`[Approve] / [Deny]`** directly in Slack (or fail closed offline).
- `/airlock audit` & `/airlock revoke` → 3-second Red/Yellow/Green risk summary + video replay link + instant kill switch.

## Free Direct HTTPS vs. Pro Zero-Port Tunnel

- **Free (Default)**: Management control plane converges 100% over outbound HTTPS to Slack (Admin UI stays local-only); open 1 HTTPS port on your VPS/firewall for third-party Web SSH.
- **Pro Zero-Port Mode (`opsairlock tunnel`)**: Zero inbound ports on your VPS—end-to-end encrypted TLS/SSH passthrough via the hosted OpsAirlock Approval Router (zero decryption, GDPR-friendly).

## How OpsAirlock Compares

| Solution | Best For | Why Teams Pick OpsAirlock Instead |
| :--- | :--- | :--- |
| **[Teleport](https://goteleport.com/use-cases/agentic-ai/) / [Hoop.dev](https://github.com/hoophq/hoop)** | Enterprise platform teams | Heavy multi-component clusters; OpsAirlock deploys on a single VPS in 60 seconds |
| **[ssh-mcp](https://github.com/tufantunc/ssh-mcp) / MCP plugins** | Local MCP clients only | No server-side OS sandbox, no contractor browser Web SSH, no video replay |
| **Raw SSH / Root Keys** | Solo hobby servers | Standing root keys, no sandbox isolation, no kill switch, no audit trail |
| **OpsAirlock** | **1–50 person SMBs, AI agencies, indie founders** | **1-Step `install` • Slack Control Plane • 3 OS Sandbox Profiles • TTL Kill Switch** |

## Attribution & License

Licensed under the Apache-2.0 License. Powered by the unmodified upstream [Warpgate](https://github.com/warp-tech/warpgate) (Apache-2.0) bastion engine. See [`LICENSE`](./LICENSE), [`NOTICE`](./NOTICE).
