Cursor 1.7 Adds Hooks for Agent Lifecycle Control

Wait 5 sec.

Cursor has introduced a Hooks system in version 1.7 that allows developers to intercept and modify agent behavior at defined lifecycle events. Hooks can be used to block shell commands, run formatters after edits, or observe agent actions in real time. By Matt Foster