Skip to content
Powered by BridgeApp

Hooks

Coming soon. Hooks are not yet available.

Hooks will let you wire shell commands to Magic Coder lifecycle events — for example, run a formatter after every edit, send a notification when a session ends, refuse a tool call if a precondition fails, or capture an audit log of every shell command before it runs.

The intended shape is a small set of hook points (session start, before tool call, after tool call, before edit, after edit, session end), configured per-workspace and per-user. Each hook runs an external command and the agent reacts to its exit code and stdout.

This page will be filled in with the schema, examples, and recipes when hooks ship.