DevOps Sentinel Next
Agent-accessible SRE operations platform for health checks, incident operations, evidence-backed response plans, and postmortems.
This is next-generation distribution of DevOps Sentinel. It keeps Python as canonical runtime while adding a secure MCP interface and a typed npm client.
Why use it?
- Fast signal: check one or many endpoints with latency, status, SSL, and suggestions.
- Incident memory: preserve incidents, event timelines, response plans, and postmortems.
- Agent-ready: expose operational context to Claude, Cursor, and other MCP hosts.
- API-first: CLI, web console, MCP, and npm client use shared contracts.
- Safe by default: remediation is not exposed as an unapproved shell; destructive runbook steps require approval.
- Self-hostable: Supabase persistence, optional AI, no telemetry, MIT licensed.
Architecture
CLI / FastAPI / MCP / npm client
↓
Sentinel application
↓
Supabase + optional AI
Install
pip install devops-sentinel-next
# Optional MCP server
pip install "devops-sentinel-next[mcp]"
The CLI command remains sentinel:
sentinel doctor
sentinel health https://api.example.com/health
sentinel services list
MCP
Run local stdio server:
devops-sentinel-mcp
Read-only tools include health_check, health_check_batch, doctor, list_incidents, get_incident, get_incident_events, analyze_anomaly, and generate_postmortem. Account-scoped tools require CLI authentication and Supabase configuration. Remote MCP deployment needs an authentication and audit layer; do not expose it directly to the public internet.
npm client
A separate package lives in packages/client:
cd packages/client
npm install
npm run build
Publish target: @devops-sentinel/client. It calls the HTTP API; it does not duplicate Python monitoring logic.
How it works
- Register service endpoint.
- Run health checks on schedule or on demand.
- Store health-check evidence and latest service state.
- Open incidents after failure policy evaluation.
- Record detection, investigation, resolution, and postmortem events.
- Generate fallback or optional AI-assisted postmortems.
- Let humans approve any destructive remediation.
Configuration
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_ANON_KEY=your_key
SENTINEL_WEB_URL=https://your-console.example.com
LLM_PROVIDER=openrouter
OPENROUTER_API_KEY=your_key
Run sentinel doctor before operating.
Security and privacy
- No telemetry or external data collection.
- Data stays in your Supabase project.
- Credentials are stored under
~/.sentinel. - Destructive runbook actions require approval.
- Arbitrary commands and script checks are disabled unless explicitly enabled.
- Review SSRF, authentication, and authorization controls before public deployment.
New PyPI package release
This repository now builds distribution devops-sentinel-next; import path and CLI remain compatible. Create or use new PyPI account, verify name ownership, then:
python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*
python -m twine upload dist/*
Use a PyPI API token, not account password. Configure trusted publishing from GitHub Actions before automation.
Development
python -m pip install -e ".[dev,mcp]"
pytest -q -o addopts=""
python -m ruff check sentinel tests
MIT License.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file devops_sentinel_next-0.1.0.tar.gz.
File metadata
- Download URL: devops_sentinel_next-0.1.0.tar.gz
- Upload date:
- Size: 139.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee02dcd88e83813e3d8d2044f1ab2b998918c82dd8ac5dd7aa58b2d46ff25ad7
|
|
| MD5 |
4a6d42bdb19148bc413cc6bcbab0999f
|
|
| BLAKE2b-256 |
ab68b7ea78254bf80e56f526c4770c5abcde8b738973777e2c0472e6fb267f2c
|
File details
Details for the file devops_sentinel_next-0.1.0-py3-none-any.whl.
File metadata
- Download URL: devops_sentinel_next-0.1.0-py3-none-any.whl
- Upload date:
- Size: 151.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6fef4dc3c5ee0b1d283259d965ea6488fc37562b4868d5ebe7c34e12729606d
|
|
| MD5 |
abf0383b2cb3a627b31eb2e507a30579
|
|
| BLAKE2b-256 |
cdb33300d44acb2a3d60faf8f57d444a70ecfa19a656fa886c1d663eb40cc1e2
|