Rust Agent Runtime
Agent startup, invite auth options, environment overrides, and deployment recommendations.
Last updated
2026-07-20 · Audience: Engineers + Platform
Runtime startup
cargo build --release
./target/release/sadapp-host-agent --invite-token <token> --endpoint https://<host>/api/v1/agent --interval=30Agent supports invite token and related aliases, then continues authenticated telemetry posts using backend token resolution.
Important flags and env vars
--invite-token / --token / --agent-token
--endpoint
--interval
--register-once
--monitor
--log-level
API_INVITE_TOKEN
API_ENDPOINT
API_INTERVAL_SECONDS
API_REGISTER_ONCE
API_LOG_LEVELDeployment note
For full host-level metrics fidelity, native service deployment is preferred unless container runtime is configured with host-level visibility assumptions.