Hooks

Python functions and classes of your own that the agent server calls at set points: when it starts and stops, around every agent run, at publishing, before LLM and API calls, and to store conversation state, read secrets and supply encryption keys.