> 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/modules/module-configuration.md).

# Module Configuration

Each module defines:

* **Options**: Required and optional parameters exposed to the operator.
* **Language**: The runtime environment the agent must support (PowerShell, Python, C#, etc.).
* **Opsec notes**: Guidance on how noisy the module may be or what artifacts it leaves behind.
* **Background execution**: Whether the module runs synchronously or can be queued for later execution.

Reading the module description and options carefully helps avoid failed tasks and reduces unnecessary network or disk activity.

#### Dynamic Options

Some modules populate or reveal option values dynamically based on other option selections. When you open a module, Empire evaluates these relationships so the UI only shows the options that are relevant to the current configuration. This keeps the option list shorter and helps avoid invalid combinations.

Options can be **conditionally required** — marked `required: true` with a `depends_on` field — so they are only validated when their dependency is met. For example, lateral movement modules like `Invoke-PsExec` require a `Listener` when using the Empire payload, but require a `Command` when using a manual payload.

For detailed, YAML-backed examples of dynamic options (including `depends_on`, `suggested_values`, and `internal`), see the module development documentation in Module Development.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://bc-security.gitbook.io/empire-wiki/modules/module-configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
