---
layout: "docs"
page_title: "Commands: Agent"
sidebar_current: "docs-commands-agent"
description: |-
  The `serf agent` command is the heart of Serf: it runs the agent that performs the important task of maintaining membership information, propagating events, detecting failures, etc.
---

# Serf Agent

Command: `serf agent`

The `serf agent` command is the heart of Serf: it runs the agent that
performs the important task of maintaining membership information,
propagating events, detecting failures, etc.

Due to the power and flexibility of this command, the Serf agent
is documented in its own section. See the [Serf Agent](/docs/agent/basics.html)
section for more information on how to use this command and the
[options](/docs/agent/options.html) available.
