Skip to main content
CrewAI is an open-source AI agent framework for orchestrating role-playing autonomous agents that collaborate to solve complex tasks through structured crews, agents, and task assignments.

How do I install CrewAI?

See the CrewAI documentation for details.

How do I set up OpenAlerts for CrewAI?

AI agents fail silently — LLM errors, stuck sessions, token blowups — nobody knows until a user complains. OpenAlerts watches your agent in real-time and alerts you the moment something goes wrong.

Install

Add openalerts.init before your crew runs — everything is monitored automatically from that point:
The CrewAI adapter uses CrewAI’s native event bus — no monkey-patching. Every crew run, agent execution, task step, tool call, and LLM call is tracked automatically with full session correlation (Crew = session, Agent = subagent, Task = step). Cleanup runs on exit. Events are persisted to ~/.openalerts/ as JSONL. To receive alerts on Slack, Discord, or a custom webhook, pass channels in the init config:
Or set environment variables instead (no code changes needed):

Alert Rules

7 rules run against every event in real-time. All thresholds and cooldowns are configurable. Every rule also accepts enabled (default true) and cooldown_seconds (default 900). To tune rules:
Set "quiet": True for log-only mode (no alerts sent to channels).

Dashboard

A real-time web dashboard starts automatically at http://localhost:9464/openalerts: By default, the dashboard runs in-process and stops when your agent exits. For a persistent dashboard, run openalerts serve in a separate terminal and disable the in-process one with "dashboard": False. Need additional help? Please reach out to us at hello@steadwing.com