Cursor Launches Agent Autocomplete and Hooks Feature to Give Developers Greater Control Over AI Coding Assistance
Summary
Cursor unveils Agent Autocomplete that suggests prompts based on recent code changes and launches beta Hooks feature allowing developers to control AI behavior through custom scripts, while teams can now set global rules across all projects in secure sandboxed environments.
Key Points
- Cursor introduces Agent Autocomplete that provides prompt suggestions based on recent changes, allowing users to tab to accept and attach files to context
- New Hooks feature in beta enables developers to observe, control, and extend Agent behavior using custom scripts for auditing usage, blocking commands, or redacting secrets
- Teams can now define global rules from the dashboard that apply to all projects, while commands execute in secure sandboxed environments with workspace access but no internet connectivity