Reactive routines fire in response to events rather than a schedule. Agents use them to automate workflows that should happen when something occurs — a file is created, a webhook fires, or an internal agent event is raised.Documentation Index
Fetch the complete documentation index at: https://docs.ironclaw.com/llms.txt
Use this file to discover all available pages before exploring further.
Trigger Types
Event Triggers
Internal agent events that reactive routines can listen for:| Event | When It Fires |
|---|---|
job.completed | Any job finishes successfully |
job.failed | Any job reaches the Failed state |
memory.write | A memory document is created or updated |
routine.run | Another routine completes a run |
heartbeat | The heartbeat system fires |
memory.write on a specific path:
Webhook Triggers
Reactive routines can expose an HTTP endpoint that fires the routine when called:Webhook trigger endpoints are not yet exposed in the web gateway UI. Create webhook routines via the
routine_create tool or via direct chat until UI support is added.Example Webhook Request
Trigger a deploy-complete routine from a CI/CD pipeline:Guardrails
Guardrails are constraints that limit what a reactive routine can do during a single run. They are especially important for reactive routines because the trigger is external — you cannot predict how frequently events will fire.| Guardrail | Description |
|---|---|
max_tokens | Stop the job if cumulative LLM token usage exceeds this value |
max_tool_calls | Stop after this many tool calls |
allowed_tools | Whitelist of tools the routine may use (empty = all tools allowed) |
timeout_secs | Hard kill the job after this many seconds |
rate_limit.max_runs | Maximum runs within the time window |
rate_limit.window_secs | Time window for rate limiting (seconds) |