Metadata-Version: 2.5
Name: sudosudo
Version: 0.1.0
Summary: CLI for sudosudo.dev: monitoring + autonomous triage agents, built for operators and AI agents
Project-URL: Homepage, https://sudosudo.dev
Project-URL: Documentation, https://sudosudo.dev/llms.txt
Author: sudosudo.dev
Keywords: ai-agents,alerts,cli,devops,monitoring,sre
Classifier: Environment :: Console
Classifier: Intended Audience :: System Administrators
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Monitoring
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# sudosudo

CLI for [sudosudo.dev](https://sudosudo.dev): register a box, get alerts, and let an
autonomous agent triage it over an allowlisted SSH. Made for operators and for AI
agents. `--json` anywhere gives machine output, and exit codes are stable.

```bash
pipx install sudosudo        # or: pip install sudosudo / uvx sudosudo
npm install -g sudosudo      # same CLI, needs python3 >= 3.9 on PATH
```

```bash
export SUDOSUDO_TOKEN=sot_...   # Dashboard → Members → API tokens (scope read / operate / owner)
sudosudo whoami
sudosudo list --json
sudosudo status <target>
sudosudo agent ask <target> "why is disk filling up?" --wait
```

The token is read only from `$SUDOSUDO_TOKEN` or from `~/.config/sudosudo/config.toml`
(`base_url`, `token`; keep the file at `chmod 600`). It is never taken from argv. Plain
`http://` is refused except for localhost.

**Exit codes:**

| Code | Meaning |
|---|---|
| 0 | ok |
| 1 | the command ran but the result is a failure |
| 2 | usage or config error |
| 3 | network error |
| 4 | HTTP 4xx |
| 5 | HTTP 5xx |
| 6 | `--wait` timed out |

`sudosudo-hb NAME -- <command>` wraps a cron job with a heartbeat (dead-man switch).

API reference: https://sudosudo.dev/openapi-v1.json · Agent guide: https://sudosudo.dev/llms.txt
