> 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.md).

# AI Agent Security

- [AI Governance](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance.md)
- [Choosing a control](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/choosing-a-control.md): When to use Claude Inference Hooks, IDE hooks, the Claude Compliance API, and the MCP Gateway, and what each one can and cannot stop.
- [Hook policy recommendations](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/hook-policy-recommendations.md): Recommended AI Agent Security policies for coding agents, Claude Enterprise Inference Hooks, and remote MCP servers.
- [MCP Server Visibility](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/mcp-server-visibility.md)
- [MCP Gateway](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/mcp-gateway.md)
- [MCP Gateway End-User FAQs](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/mcp-gateway/mcp-gateway-end-user-faqs.md)
- [Auditability and Control](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/auditability-and-control.md)
- [Setup & Installation](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/auditability-and-control/setup-and-installation.md)
- [Connect Inference Hooks](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/auditability-and-control/setup-and-installation/connect-inference-hooks.md): Connect Nightfall as the Claude Enterprise Inference Hooks server. No endpoint agent and no MDM.
- [Nightfall Hooks for Cursor](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/auditability-and-control/setup-and-installation/nightfall-hooks-for-cursor.md)
- [Nightfall Hooks for Claude Code](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/auditability-and-control/setup-and-installation/nightfall-hooks-for-claude-code.md)
- [Nightfall Hooks for VS Code Copilot](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/auditability-and-control/setup-and-installation/nightfall-hooks-for-vs-code-copilot.md): Deploy Nightfall hooks for VS Code and GitHub Copilot by copying a hook file into each user's Copilot hooks folder.
- [Claude Cowork (OpenTelemetry)](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/auditability-and-control/setup-and-installation/claude-cowork-opentelemetry.md)
- [Hooks vs. Open Telemetry](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/auditability-and-control/hooks-vs.-open-telemetry.md)
- [Creating an AI Agent Security Policy](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/auditability-and-control/creating-an-ai-agent-security-policy.md)
- [Investigating AI Agent Security Incidents](https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security/ai-governance/auditability-and-control/investigating-ai-agent-security-incidents.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.nightfall.ai/data-exfiltration-prevention/ai-agent-security.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
