When the agent is started in a terminal, then (along with starting the agent process) the script starts the agent command prompt. The agent prompt can be used to managed the agent by checking configuration, executing some tasks, or editing the agent setup.
6.2.1. Opening the Agent Command Prompt
The agent command prompt opens when the agent start script is run.