# Agent

## Usage  <a href="#usage" id="usage"></a>

ALM-agent is a very simple and easy-to-use tool. It can be used like a CLI (not a Daemon).

Executing ALM-agent will start the containers, the code will be deployed, and the command will be terminated.

To view a list of the available options and commands at any time, just run `alm-agent` with `--help, -h` arguments:

```bash
$ alm-agent --help
NAME:
   alm-agent

USAGE:
   alm-agent [global options] command [command options] [arguments...]

VERSION:
   v0.3.1504270893

COMMANDS:
     register  initialize alm-agent and start containers
     ensure    start or update containers
     stop      stop active container
     noop      run without container actions.
     help, h   Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --autoupdate, -U                  auto update before run
   --disablereport, -N               Do not send crash report to rollbar.
   --provider Provider, -P Provider  set Provider (default: "aws")
   --verbose, -V                     show debug logs
   --help, -h                        show help
   --version, -v                     print the version
```

## Global Options  <a href="#global-options" id="global-options"></a>

* *--autoupdate,  -U*   Before running, ALM-agent checks the new version and updates the agent itself  if there is a new version. (self-update)&#x20;
* *--disablereport, -N*  We are using rollbar for error monitoring. If you do not want to send crash report to rollbar,   use this option.&#x20;
* *--provider Provider, -P Provider*  set Provider (default: "aws", available providers: "aws", "alicloud", "k5", "localtest")&#x20;
* *--verbose, -V*  show debug logs&#x20;
* *--help, -h*  show help&#x20;
* *--version, -v*  print the version


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.alphaus.cloud/v3.0-english/alm-agent/agent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
