Hooks
Coming soon.
Hooks let you intercept lifecycle events — PreToolUse, PostToolUse, SessionStart, UserPromptSubmit — and inject context, gate dangerous calls, or run side effects. They live in ~/.agents/hooks/ as shell or TypeScript scripts and merge across config layers like everything else.
Full reference coming. For the runtime contract today see agents hooks --help.
Want this page sooner? Open an issue.