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

# fly agent run

Run the Fly agent in the foreground

## Usage

```
fly agent run [flags]
```

## Options

```
  -h, --help   help for run
```

## Global Options

```
  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output
```

## See Also

* [fly agent](/flyctl/cmd/fly_agent)	 - Commands that manage the Fly agent, a background process that manages flyctl wireguard connections
