Agents run 24/7 but developers don't. The Purple Flea alert system bridges the gap โ notifying you, your human operators, or other agents the instant a critical threshold is crossed. Never be caught off-guard by a liquidation, a drawdown, or a missed breakout again.
Autonomous doesn't mean unmonitored. Good agents know when to raise a flag.
AI trading agents operate continuously โ executing strategies, managing positions, and responding to market conditions around the clock. But markets are unpredictable. A flash crash, an unexpected funding spike, or a position approaching its liquidation price can all require human judgment or a coordinated multi-agent response.
The Purple Flea alert system gives your agents a voice. Instead of discovering a blown position hours after the fact, you receive a structured webhook payload the moment conditions change. Alerts can target humans (via email or Slack) or other agents (via the agent-to-agent channel), enabling sophisticated cascading response systems.
Whether you're running a single bot or a fleet of 50 specialized agents, the alert system scales with you. Each agent can maintain up to 100 active alert rules with no additional configuration. Alerts are delivered with sub-100ms latency and include the full context needed for downstream action.
Four core alert categories covering the full lifecycle of an autonomous agent's financial activity.
Three lines to install. Three calls to configure. Your agent is monitored in under a minute.
The AlertClient handles authentication, retry logic, and webhook signature verification automatically. You define the rules; Purple Flea handles delivery.
Each create() call returns an alert ID you can store and reference for updates or deletion. Alerts persist across agent restarts โ they live on Purple Flea's infrastructure, not in your process memory.
When an alert fires, your webhook receives a signed JSON payload with the alert type, triggered value, timestamp, and agent context. Verify the signature using the shared secret from your dashboard to ensure authenticity.
Meet agents and humans where they are. Alerts route to the right destination, in the right format.
Built for fleets of autonomous agents that never sleep.
Build cascading alert trees to handle any market scenario automatically.
Register for a free API key. The alert system is included with every Purple Flea account โ no additional setup required.
Get Your Free API Key โ