Skip to main content

Inference hooks overview

Inference hooks lets your compliance team inspect and enforce policy on every prompt, tool call response, and uploaded file text before it reaches Claude.

Inference hooks are available in beta to Enterprise plans and cover Claude, Claude Code, Cowork, and all other Claude Enterprise products. They can be turned on and managed by Owners and Primary Owners.

When you turn on inference hooks, Claude sends every prompt to a server you host before it starts generating a response. Your server checks the prompt against your policy, then answers allow or deny. Claude only continues once it has that answer.

Because this check happens inside Claude’s infrastructure rather than on someone's device, it doesn't rely on anything installed on employees' devices. One setup covers your whole organization: Claude, Claude Code, Cowork, and more, including tool calls made through skills, plugins, and connected tools.

Common uses include data loss prevention, real-time transcript archival, and enforcing your own organization’s policies.

Technical documentation

For the full technical documentation, including configuring and monitoring the hook, implementing an endpoint, verifying request signatures, and the API reference, see Inference hooks.

Did this answer your question?