> ## Documentation Index
> Fetch the complete documentation index at: https://ctrlrun.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AcsControlHook

> Answer ACS `steps/*` hooks with CTRLRun's decisions and outcomes.

`ctrlrun.acs.AcsControlHook` — class, defined at `src/ctrlrun/acs.py:84`

```python theme={null}
from ctrlrun.acs import AcsControlHook
```

Needs the `gateway` extra: `pip install "ctrlrun[gateway]"`. Importing it without that raises `MissingDependency` carrying the install command.

```python theme={null}
class AcsControlHook
    def __init__(control: Control, *, prefix: str = 'acs', approver_id: str = 'cli:local', ask_timeout_seconds: int = DEFAULT_ASK_TIMEOUT_SECONDS, identity: IdentityProvider | None = None)
```

Answer ACS `steps/*` hooks with CTRLRun's decisions and outcomes.

One `Control`, one prefix. `prefix` names the tool namespace in the action name, the way
the gateway's `--alias` does: `<prefix>.<provider>.<tool>` — so a policy addresses one
stable string and two providers exposing the same tool name stay distinguishable.

## Next

* [Python API index](/reference/api/index).
* [Get started](/get-started/quickstart) · [Why](/why).


## Related topics

- [The Agent Control Standard](/ACS.md)
- [Threat model](/THREAT_MODEL.md)
- [Roadmap](/ROADMAP.md)
- [Python API](/reference/api/index.md)
- [Control](/reference/api/Control.md)
