> For the complete documentation index, see [llms.txt](https://help.nightfall.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/auditability-and-control/setup-and-installation.md).

# Setup & Installation

### Prerequisites

Both of the following must be in place before AI Agent Security can function:

1. Nightfall endpoint agent v1.2.12.11+ installed and running on the endpoint; The agent auto-installs and keeps `nightfall-hook-relay` updated, and adds it to the system `PATH`. The hooks call the binary by name, so without the agent the hooks resolve to nothing.
2. MDM configuration profile v3+ deployed via your MDM provider (Jamf, Mosyle, Kandji, etc.)
3. MDM scope selected - the device group / Blueprint / Smart Group / assignment that will receive the deployment.
4. Claude Code is reasonably current on managed devices.
5. You have the three pieces from this package: the payload (`payloads/nightfall-hooks.json`) and the scripts for your platform (`scripts/macos/` or `scripts/windows/`).

If the MDM profile has not been deployed, the agent will show a missing permissions error and you will not see any local or remote MCP servers across installed devices.


---

# 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:

```
GET https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/auditability-and-control/setup-and-installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
