2014-02-07 16:41:03 -08:00
---
layout: "docs"
page_title: "Commands: Agent"
sidebar_current: "docs-commands-agent"
2014-10-19 19:40:10 -04:00
description: |-
The `consul agent` command is the heart of Consul: it runs the agent that performs the important task of maintaining membership information, running checks, announcing services, handling queries, etc.
2014-02-07 16:41:03 -08:00
---
2014-02-18 17:32:13 -08:00
# Consul Agent
2014-02-07 16:41:03 -08:00
2014-02-18 17:32:13 -08:00
The `consul agent` command is the heart of Consul: it runs the agent that
2014-02-07 16:41:03 -08:00
performs the important task of maintaining membership information,
2014-02-18 17:32:13 -08:00
running checks, announcing services, handling queries, etc.
2014-02-07 16:41:03 -08:00
2014-02-18 17:32:13 -08:00
Due to the power and flexibility of this command, the Consul agent
is documented in its own section. See the [Consul Agent ](/docs/agent/basics.html )
2014-02-07 16:41:03 -08:00
section for more information on how to use this command and the
options it has.