> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentlinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# agentlinkops agent recover

> Recover an interrupted installer transaction from its recorded backups.

```bash theme={null}
agentlinkops agent recover [--scope project|user] [--apply] [--json]
```

## Behavior and output

Validates the transaction and current file state before recovery. It refuses unsafe paths, corrupt receipts and changes that conflict with recovery. No account credential is read or written.

## Arguments

\--scope defaults to project. Without --apply, prints the proposed actions. --apply performs the validated operation. --json prints machine-readable output.

## Exit status

0 on success; 2 on usage, configuration, input or request failure.

Read [configuration and file ownership](/reference/local/configuration) before automating this command. Read [local file contracts](/reference/local/artifacts) for artifact fields. Browse the [local command index](/reference/local/index) for related commands.

<Note>Check the selected environment and workspace access before calling hosted operations. See [capability status](/capability-status).</Note>
