topology-anomaly-detector
Real-time anomaly detection on fleet coordination topology. Computes running TE, CSD, source counts, null multiplier against PLATO data and alerts on coordination failures.
Dependencies
coordination-topology (algorithm dependency)
Usage
python3 topology_anomaly_detector.py
Listens on port 8080 by default.
Anomaly Types Detected
| Type | Threshold | What It Means |
|---|---|---|
| TE collapse | SI-TE < 0.1 bits | Coordination structure lost |
| TE spike | SI-TE > 5.0 bits | Suspicious surge in predictability |
| CSD anomaly | τ | |
| Null multiplier spike | null_mult > 3.0 | Structure far beyond random chance |
| Source burst | >2 new sources in 5 min | Fleet composition changing |
| TE shock | ΔTE > 0.5 in 30s | Coordination topology regime shift |
Alerts
Publishes anomaly events to PLATO room topology-anomalies as tiles with:
type: anomaly type stringvalue: current metric valuethreshold: threshold exceededsources: active sources at time of eventconfidence: statistical confidence (1 - p-value)
API
GET /health— server statusGET /anomalies— recent anomaly historyGET /status— current coordination metrics
Shell Loading
from plato_shell_bridge import PlatoShell
shell = PlatoShell("agent-shell")
shell.load_tool("topology-anomaly-detector")
License
MIT — Part of the Cocapn Fleet Intelligence System
Metadata
Release files for topology-anomaly-detector 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| topology_anomaly_detector-0.1.0.tar.gz | 6.5 kB | Without provenance | Details for topology_anomaly_detector-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| topology_anomaly_detector-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for topology_anomaly_detector-0.1.0-py3-none-any.whl |
Total release size: 13.6 kB
Release files / topology_anomaly_detector-0.1.0.tar.gz
| Download URL | topology_anomaly_detector-0.1.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d33bf614925bdf613f2b6b44908346b6a23988ed875dce8899c9b6b3217dca37
|
|
BLAKE2b-256 checksum How to use checksums |
9f5943a9c706a4d7fafb84cc0efb0d083f0f8fa20b11d6cafab8bc5df87176b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / topology_anomaly_detector-0.1.0-py3-none-any.whl
| Download URL | topology_anomaly_detector-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
081b65d1bfb78eaa620ba983edc60bc64ba25ddc9690ee3943dc256e2f669573
|
|
BLAKE2b-256 checksum How to use checksums |
85af9807d2af0fb99ee4cf8fc4a6fea28acc04e3a3fc3d3c1c1c512d88c3ffac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for topology-anomaly-detector 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.