# How to Run the Agent

## Background

{% content-ref url="../core-concepts/agent" %}
[agent](https://docs.stoobly.com/core-concepts/agent)
{% endcontent-ref %}

## Prerequisite

{% content-ref url="../getting-started/install-and-run" %}
[install-and-run](https://docs.stoobly.com/getting-started/install-and-run)
{% endcontent-ref %}

## Getting Started

The agent can be started either from the CLI or with Docker

{% content-ref url="how-to-run-the-agent/run-with-cli" %}
[run-with-cli](https://docs.stoobly.com/guides/how-to-run-the-agent/run-with-cli)
{% endcontent-ref %}

{% content-ref url="how-to-run-the-agent/run-with-docker" %}
[run-with-docker](https://docs.stoobly.com/guides/how-to-run-the-agent/run-with-docker)
{% endcontent-ref %}

## Next Step

{% content-ref url="how-to-record-requests" %}
[how-to-record-requests](https://docs.stoobly.com/guides/how-to-record-requests)
{% endcontent-ref %}
