Skip to main content

agents/anchor-edge-agent/README.md

Imported Content

anchor-edge-agent

Single-binary telemetry and automation edge agent for client systems.

Features in this scaffold

  • Host heartbeat collection (extensible collector package)
  • Multi-signal collection profiles (heartbeat, patch, backup, service)
  • Durable local JSONL buffering
  • mTLS-capable HTTPS transport
  • Offline-safe replay on next successful flush

Build

go build -o anchor-edge-agent ./cmd/anchor-edge-agent

Run

./anchor-edge-agent \
--workspace-id <uuid> \
--client-id <uuid> \
--asset-id <uuid> \
--collect heartbeat,patch,backup,service \
--endpoint https://gateway.example.com/api/v1/events/ingest \
--token <token>