argus-scout
Homelab intelligence for the Argus suite. Scout reads your telemetry, reasons about it, and reports back with briefings and recommendations.
- It never acts. Scout proposes; a person decides and carries it out. A standing approval can move a
recommendation to
approvedand no further, and nothing in scout deploys, dispatches or executes anything. - Prometheus is the source of truth. Scout asks Prometheus over PromQL and reads the status events producers send it. It never scrapes or connects to the hosts it reports on.
- A bad edit never silences it. The policy files reload while it runs, and a broken one falls back to defaults.
Part of the Argus suite. Where argus-herald broadcasts out to the public, scout reports in to you.
Status: pre-alpha. Everything below is built and tested; see the development epic in this repo's issues for what's left before v0.1.
Quickstart
Scout, Prometheus, a node exporter and Ollama with a small model, with text delivery working out of the box:
git clone https://github.com/smk762/argus-scout && cd argus-scout/deploy/quickstart
docker compose up -d --build # or: podman compose up -d --build
docker compose exec scout tail -f /config/scout-reports.log # the first briefing, a minute or so in
curl -s localhost:8400/wall # the latest report and open items
docker compose down -v # stop and delete the volumes
GPU, model choice, turning on writes, adding an event source and cleanup: deploy/quickstart/README.md.
How it fits together
Prometheus ── PromQL, read-only ──▶ signal rules ──▶ recommendation engine ──▶ proposed ──▶ approved
threshold dedup, expiry, │ by a person, or a
tariff_shift rejection memory │ standing rule; never
tariff_plan │ further
status events ──▶ inbox ──▶ heartbeat policy │
webhook, json_poll, report, voice, │
plugins quiet and rest hours │
│ │
▼ ▼
tariff, notes, persona ──▶ narrative: morning, evening, status reports
(a model via argus-cortex, or a plain template)
│
▼
store ──▶ channels: text · webhook · Snapcast · argus-mask
(speech from argus-echo, synthesised once per message)
Features
- Signal rules in YAML: a PromQL query, a threshold, how long it must hold, escalation steps and a recommendation template, with safe placeholders. Tariff-aware kinds suggest shifting load to a cheaper period and compare plans against your real usage. Signals
- A recommendation engine that refreshes rather than duplicates, retires what went stale, remembers what you rejected (and why), and reads a Prometheus outage as "unknown", never "all clear".
- Standing approvals for recurring low-risk advice, which can never approve a high-impact or critical one.
- Status events from anywhere: producers push JSON to a webhook, or scout polls any JSON endpoint and maps its fields, with per-source tokens. Other kinds are plugins. Sources
- A heartbeat policy that decides what is worth interrupting for, and explains every decision.
- Briefings and status updates written by a local or hosted model from scout's facts only, with prompts sized for small models, under a GPU lease when the GPU is shared, and from a plain template whenever the model can't: a briefing is never skipped. Narrative
- Delivery channels: a text file, signed webhooks, Snapcast speakers and argus-mask faces, each message at most once per channel, retried when a channel fails. Other kinds are plugins. Channels
- An HTTP API that is closed by default, a plain-text
/wall, a policy explainer and/metrics. API - Daily usage caps for model calls and speech that a crash loop can't reset, and a store that survives restarts. Operations
Install
pip install "argus-scout[server]" # the CLI and the server: what most installs want
| Extra | Adds |
|---|---|
| (none) | the library and the CLI: check, analyze, brief, deliver, poll, init |
server |
argus-scout serve: the HTTP API, the scheduler and /metrics |
snapcast |
the snapcast voice channel |
mask |
the mask voice channel |
cli |
rich, for nicer --help |
The container image is ghcr.io/smk762/argus-scout; to try everything at once, use the Quickstart
above.
Configure
One file, scout.yaml, names every other file scout reads and every service it talks to. Secrets never go in it:
it names an environment variable, and the value lives in a .env beside it or in the real environment.
argus-scout init config/ # a commented config/scout.yaml and config/.env.example
cp config/.env.example config/.env
argus-scout check config config/scout.yaml # validates it and every file it names
argus-scout serve --config config/scout.yaml
Each policy file has a commented example in examples/: heartbeat.yaml, approvals.yaml,
tariff.yaml, signals.yaml and persona.yaml.
Docs
| Guide | Covers |
|---|---|
| Config reference | every scout.yaml key: type, default, constraints, example (generated from the schema) |
| Sources | the status event envelope, webhook pushes, JSON polling, writing a source plugin |
| Signals | threshold and tariff rules, templates, how the engine decides, standing approvals |
| Narrative | report kinds, model backends, caps and fallback, GPU leases, persona, memory |
| Channels | text, webhook, argus-echo speech, Snapcast, argus-mask, redelivery, writing a channel plugin |
| HTTP API | routes, the auth model, /wall, /api/policy/explain, /metrics |
| Operations | the store, backups and pruning, usage caps, the scheduler, upgrading, troubleshooting |
| CLI reference | every command and option (generated) |
| Quickstart | Prometheus, Ollama and scout in one compose file |
Develop
make install # venv + editable install with the "dev" extras
make test
make lint
make docs # regenerate docs/cli.md and docs/config.md after changing the CLI or the config schema
Versions come from git tags (hatch-vcs). CI runs the shared argus-ci
workflows, and a v* tag publishes to PyPI and GHCR. Scaffolded from
argus-pkg-template; copier update pulls template changes.
License
MIT
Metadata
Release files for argus-scout 0.1.3
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 |
|---|---|---|---|---|
| argus_scout-0.1.3.tar.gz | 407.6 kB | With provenance | Details for argus_scout-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| argus_scout-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for argus_scout-0.1.3-py3-none-any.whl |
Total release size: 640.2 kB
Release files / argus_scout-0.1.3.tar.gz
| Download URL | argus_scout-0.1.3.tar.gz |
|---|---|
| Size | 407.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2996dc784400c3e2a05610e693a686cccc90ca87b33b77fc9abea211479ede78
|
|
BLAKE2b-256 checksum How to use checksums |
29b52d605b94f99a5a45d97ff28bf7feb85ba769dee543ce8d1490f37b518960
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logRelease files / argus_scout-0.1.3-py3-none-any.whl
| Download URL | argus_scout-0.1.3-py3-none-any.whl |
|---|---|
| Size | 232.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
53ad3781ed0ae794890baf09878110a86f0f4d125ab792972583ea731a47321a
|
|
BLAKE2b-256 checksum How to use checksums |
1dd60179744436bfa67cb1dd6784e16e146f572ac8d0c44f07787e95fe91a1f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logSecurity for argus-scout 0.1.3
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for argus_scout-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logA 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.