Metrics
CPU per core, memory, load, disks, filesystems, network and the top processes, every 15 seconds, under OpenTelemetry names.
The watcher of the Proteus family
It sees every host.
It strikes what breaks.
An agent on every machine. A mothership that swallows a million records a second. An AI you talk to that hunts the fault down and fixes it, the moment a human signs off.
Click the dark. It bites.
01 The agent 200 m · twilight
leviathan-agent is a single static binary that tears everything it can off a machine (metrics, logs, events) and ships it home over OTLP. If the mothership goes dark, it holds the line on disk and delivers when it comes back.
CPU per core, memory, load, disks, filesystems, network and the top processes, every 15 seconds, under OpenTelemetry names.
Tails files by glob, keeps multi-line stack traces whole, and reads journald from a saved cursor, so a restart never loses or repeats a line.
Services dying, OOM kills, failed logins, reboots, and config files changing under you, with the file's hash before and after.
At least once. Every batch lands in a 512 MiB on-disk queue before the first send, and leaves only when the mothership answers 200.
listener:
url: https://mothership.internal:4318
token: ${LEVIATHAN_TOKEN}
logs:
- name: nginx
type: file
paths: [/var/log/nginx/*.log]
- name: journal
type: journald
events:
service_state: true
oom_kills: true
logins: true
file_watch:
- /etc/nginx/nginx.conf
Linux today. The Windows agent (Event Log, performance counters, services) is next.
02 The mothership 1,000 m · midnight
leviathan-listener takes OTLP from every agent, or from any OpenTelemetry SDK or Collector. It writes everything durably to EBS, keeps the last fifteen minutes searchable in memory, and answers questions about it.
Retry-After: agents slow down instead of the mothership falling over./api/v1/logs, /metrics, /agents, /stats) behind its own read token.03 Strike 4,000 m · abyss
Leviathan's MCP endpoint runs on Amazon Bedrock AgentCore Gateway. Claude Code, or Strike, the AI in the Leviathan app, connects to one URL and gets sixteen tools: six that see everything the mothership knows, and ten that diagnose, fix, undo, and write down what they learned.
list_agents get_host_health search_logs query_metrics list_events get_ingest_stats
run_diagnostic list_reachable_hosts get_fix_policy propose_fix apply_fix rollback get_changes get_command_result write_runbook_entry search_runbook
Every fix it learns goes into the Depths, a runbook wiki the AI writes and a human reviews.
04 The leash 6,000 m · hadal
AI gets things wrong, and tokens leak. So every layer assumes the one above it has already failed.
Three pinned Systems Manager documents, sent only to hosts tagged leviathan:managed=true. No shell, no Session Manager, no other document.
The plan pins the document's version and SHA-256 and is sealed with a KMS HMAC. Change one byte after approval and it refuses to run.
Approvals are KMS signatures. Every role the AI runs as is explicitly denied kms:Sign. It can carry a token. It can never mint one.
A token binds the exact plan, expires within 15 minutes, and spends its nonce in the same transaction that starts the change.
Every step lands in an Object Lock bucket before the next one runs, and nothing written there can ever be replaced.
Three hosts per fix at most, one at a time, stopping at the first failure. sshd, the SSM Agent, systemd and Leviathan's own agent are never touched.
Read-only mode. Zero concurrency on the act function. Untag a host. Remove yourself as an approver. Any one of them stops it cold.
It ships read-only. Fixes stay off until you turn them on.
05 Feed it 8,000 m · trench
From measurements, not guesses. Pick a fleet.
Planning figures from the capacity study: measured on a shared desktop, then doubled for cloud vCPUs. Run the benchmark on your instance before you buy.
06 The family 10,935 m · challenger deep
Builds a distributed system that doesn't exist, then makes it behave like production: metrics, logs, traces, RUM and real-looking failures, injected into Amazon CloudWatch.
proteus.jeremyfhall.com →Watches real systems, finds what's wrong, and fixes it with an AI you talk to, on a leash a human holds.
you are hereNext: the proving ground. Point Proteus at the mothership and every fault it invents becomes a drill Leviathan has to catch.