2014-02-08 00:41:03 +00:00
---
layout: "docs"
page_title: "Commands: Agent"
sidebar_current: "docs-commands-agent"
2014-10-19 23:40:10 +00: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-08 00:41:03 +00:00
---
2014-02-19 01:32:13 +00:00
# Consul Agent
2014-02-08 00:41:03 +00:00
2014-02-19 01:32:13 +00:00
The `consul agent` command is the heart of Consul: it runs the agent that
2014-02-08 00:41:03 +00:00
performs the important task of maintaining membership information,
2014-02-19 01:32:13 +00:00
running checks, announcing services, handling queries, etc.
2014-02-08 00:41:03 +00:00
2014-02-19 01:32:13 +00: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-08 00:41:03 +00:00
section for more information on how to use this command and the
options it has.