Skip to content

Updating from the network

update is the only command that touches the network. It polls marketplaces, refreshes the local cache, and recomputes version pins — without touching any agent config. apply then renders from that cache, so it’s always fast, offline, and reproducible.

Terminal window
agentsync update # refresh cache + show pending plugin bumps
agentsync update --apply # refresh, then apply
agentsync update --apply --auto-safe # same, auto-resolving only safe changes
flowchart LR
    NET["marketplaces<br/>+ npm registry"] -->|update (network)| CACHE[".state/cache/"]
    CACHE -->|apply (offline)| AGENTS["agent configs"]

Separating “fetch” from “render” means:

  • apply is deterministic — same cache in, same config out, no surprise network changes mid-apply.
  • apply works offline — on a plane, in a locked-down CI runner, anywhere.
  • Upgrades are intentional — you see pending plugin bumps from update before they take effect.

agentsync ships no daemon. Want nightly refreshes? Wire the one-liner into your own scheduler:

Terminal window
agentsync update --apply --auto-safe
PlatformMechanism
macOSlaunchd agent
Linuxcron or a systemd timer
WindowsTask Scheduler