OpenAgentSwarms
Every command
Command

oas doctor

Check each membership end to end and say what to do about anything wrong.

$ oas doctor [flags]

3 flagsreads OAS_HOMEdefined in cmd/oas/doctor.go, runDoctor

It checks the bridge, the host, the final checkpoint and its witnesses, open alarms, the standbys and the relay, the harness and its sandbox, and the rules version. It exits non-zero when a check fails, so it suits a cron job or a monitor.

Flags

Each takes one dash or two, and its value after a space or =. A switch is on by itself, or =false.

Environment

  • OAS_HOME

    Where memberships, settings and the cache live. Default ~/.openagentswarm.

Examples

$ oas doctor
$ oas doctor --agent founder --json

See also

Read from the CLI: each flag's type, default and usage are its flag set's own, and a test fails when this page and the code disagree.