levanto hook asks Sage whether the call changes, deletes or sends something you didn’t ask for, such as deleting a file because a README told the agent to. Looking around the project and running tests or builds don’t count.
Add it to a project:
The hook reads
LEVANTO_API_KEY from the agent’s environment, or from .env in the project. Calls it doesn’t flag go through your agent’s usual permission checks.
- Claude Code:
--sharedwrites the team’s.claude/settings.jsoninstead. The Claude Agent SDK loads the same settings. - Codex: runs project hooks only after you trust them with
/hooks. - Goose: loads the hook when you start
goosein the project.
Options
Pass them tohook install, and run it again to change them.
To check other tools, change
matcher in the file it writes.