Repository navigation
v0.0.17
For an agent left running for months: backups you can restore in one step, alerts when something goes wrong, and its logs from one command.
Backup and restore
autobot backupwrites the whole agent (config, personas, skills, conversations, memory, recall index, every bot) to one.tar.gzwith a checksum for every file. Tokens, passwords and keys stay out unless you add--include-secrets.autobot restore FILEchecks every file first, shows what will be new, changed or gone, and asks. Your current home is kept beside it as<home>.before-restore-<time>, and nothing changes if the restore fails. It works even whenconfig.tomlis broken.[backup] every = "1d"makes backups on a schedule whileautobot serveruns and keeps the newestkeep.
Alerts to your chat
[alerts]sends a message to your home channel (orto = [...]) whenautobot servecrashed and restarted, the gateway or a model stops answering, the disk runs low, a scheduled task, heartbeat or backup fails, or an update is available or was applied. A message follows when the problem is gone.- At most
per_houralerts an hour, and none twice withinrepeat. Duringquiet_hoursthey wait and arrive together. An alert no channel accepted is not counted as sent: it is tried again. autobot alertsshows where they go and the latest ones;autobot alerts testsends one now.
Logs
autobot logs [agent|gateway|update] [-n N] [--grep TEXT] [--follow]reads a service's log from the end and follows it across rotation.
Verify
echo 'invincible-release ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII/0fXPq1j51BcfGY0Jp9QfPGy6kHVQQ+W282VFPR/Qo' > allowed_signers
ssh-keygen -Y verify -f allowed_signers -I invincible-release -n invincible-release -s SHA256SUMS.sig < SHA256SUMS
shasum -a 256 -c SHA256SUMS