infrastructure
Hook
A small action that an AI tool runs automatically at a set moment, such as before a tool call or when a session starts. A hook can log what happened, add context, or block an action outright. Like a smoke detector wired to the building: it does not ask the agent's permission.
Want to learn more about AI?
Peter Saddington has trained 17,000+ people on agile and AI. Let’s talk.
Work with Peter