Hook Events
hooks.yaml Config
Hook Script Format
stdin (JSON input):Programmatic Hooks (SDK)
SDK hooks run before script hooks — if an SDK hook blocks, the script hook is never called. Both can run independently when the SDK hook allows.
Tools
Built-in and declarative tools the agent uses to act
Skills
Reusable task modules the agent learns and crystallizes over time
Workflows
Chain skills into deterministic, repeatable pipelines
SDK Reference
Embed GitAgent programmatically, including hook callbacks