---
description: Autonomous agent lifecycle (install/start/status)
argument-hint: "<verb>"
allowed-tools:
  - Read
  - Bash(openlife:*)
  - Grep
  - Glob
  - Agent
  - AskUserQuestion
---

Run the OpenLife `agent` command via the CLI.

> **Destructive command.** Confirm the exact action with the user before running it — this can install, restart, redeploy, or rebuild the system.

1. If `$ARGUMENTS` is empty and this command has subcommands, run `openlife agent --help` first, present the available subcommands to the user, and ask which to run (AskUserQuestion).
2. Otherwise run `openlife agent $ARGUMENTS` and present the result clearly (summarize JSON output; quote key lines).
3. On error, quote the message and suggest `openlife doctor` to diagnose.
