> For the complete documentation index, see [llms.txt](https://bc-security.gitbook.io/empire-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bc-security.gitbook.io/empire-wiki/starkiller/agents/agent-tasks.md).

# Agent Tasks

Agent tasks in Empire are managed through a series of status updates that reflect the lifecycle of a task from creation to completion. These statuses help users understand the current state of tasks assigned to agents.

## The Tasks page

The **Tasks** tab lists every tasking issued to the agent, newest first, in a searchable, filterable table.

A **Search** box filters the list by content. Three filters narrow it further: **Agents** (shown only on the global tasks view, i.e. when the table isn't already scoped to a single agent's workspace), **Users**, and **Tags**. On the per-agent Tasks tab, refreshing is controlled by the workspace toolbar's **Auto-refresh Tasks** toggle (see [Agents](/empire-wiki/starkiller/agents.md)) rather than a control on the table itself.

The default columns are **Status**, **Task Name**, **Agent**, **User**, **Updated At**, and **Tags**, plus an **Actions** menu for each row. Status renders as an icon matching the statuses described below. The raw Task Input column is hidden by default but can be turned on from the column picker above the table; Task ID is not offered as a column on this page at all. The Actions menu offers Rerun Task and Stop Task, copy/download for the task's input and output, and links to any files the task produced.

Clicking a row's expand arrow reveals the task's output and an input preview inline. Task Input starts truncated, with a **See Full Input** control to load and show the rest; Task Output renders ANSI colour, and for tasks that produced image downloads, a **View Images** control loads inline previews. A Dark Mode Output switch controls the background used for both panes.

![](https://1910080187-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MM2c5FycSJH9sASPLaA%2Fuploads%2Fgit-blob-d43b29dd9bf998d16e7cc09c0382acabc52eecd3%2Fagent_tasks_page.png?alt=media)

## Task statuses

Below are the possible statuses for agent taskings along with descriptions and representative icons.

### Queued

* **Description**: The task is queued for the agent. This status indicates that the task has been created and is waiting to be pulled by the agent.

<figure><img src="https://1910080187-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MM2c5FycSJH9sASPLaA%2Fuploads%2Fgit-blob-b83df919b4c7944513866d7557176d420dd72fc7%2Fqueued.svg?alt=media" alt="" width="128"><figcaption></figcaption></figure>

### Pulled

* **Description**: The agent has successfully pulled the tasking. This status signifies that the agent has received the task and is either processing it or about to start processing.

<figure><img src="https://1910080187-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MM2c5FycSJH9sASPLaA%2Fuploads%2Fgit-blob-1cee414099b1b0a087ed44951b13434c649eed0b%2Fpulled.svg?alt=media" alt="" width="128"><figcaption></figcaption></figure>

### Completed

* **Description**: The task has returned data successfully. This indicates that the agent has finished executing the task and has returned the output.

<figure><img src="https://1910080187-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MM2c5FycSJH9sASPLaA%2Fuploads%2Fgit-blob-c1e479646637fb430187ad377c294fe09678ec19%2Fcompleted.svg?alt=media" alt="" width="128"><figcaption></figcaption></figure>

### Error

* **Description**: If an agent reports an error for a task, it will return an ERROR status. This status allows users to identify tasks that did not execute as expected.

<figure><img src="https://1910080187-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MM2c5FycSJH9sASPLaA%2Fuploads%2Fgit-blob-0930b899271f29a88f5672ada63de5078fb243bf%2Ferror.svg?alt=media" alt="" width="128"><figcaption></figcaption></figure>

### Continuous

* **Description**: A special class for modules like keylogging, since they are handled differently on the server due to their continuous nature. These tasks do not have a definite end and run continuously until stopped.

<figure><img src="https://1910080187-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MM2c5FycSJH9sASPLaA%2Fuploads%2Fgit-blob-49bf18a93e3607f09279519a3f5c25d783622367%2FContinuous.svg?alt=media" alt="" width="128"><figcaption></figcaption></figure>
