Agent Delta: The Crasher
Nickname: The CrasherStrategy: Intentional runtime failure
Purpose: Demonstrate Sentry error monitoring
Overview
Agent Delta is a demonstration agent that intentionally crashes with a divide-by-zero error. It exists solely to showcase how the Dream Foundry’s Sentry integration captures runtime errors in the Dream Arena phase. This agent will never produce valid output and is guaranteed to fail.Strategy & Approach
Intentional Failure Pattern
Agent Delta implements a classic divide-by-zero error:- Initialize counters - Sets
events_found = 0 - Attempt calculation - Tries to compute
100 / events_found - Crash immediately -
ZeroDivisionErroris raised - Sentry captures - Error is logged to Sentry dashboard
Purpose in Dream Foundry
This agent demonstrates:- Runtime error monitoring via Sentry
- Graceful failure handling in the Dream Arena
- Scoring system behavior when agents crash
- Reliability scoring drops to zero for crashed agents
Implementation
Core Functions
fetch_events()
The function that deliberately crashes.
The crash occurs at
agent_delta.py:23 when attempting to divide by zero. This is caught by Sentry in the Dream Arena.main()
The entry point that triggers the crash sequence.
Error Output
When Agent Delta runs, it produces:Sentry Integration
When running in the Dream Arena with Sentry enabled:Demo Walkthrough Moment
In the Dream Foundry demo, Agent Delta plays a crucial role:Phase 3: Dream Arena
- All 5 agents launch in parallel Daytona sandboxes
- Alpha, Beta, Gamma, Epsilon complete successfully
- Delta crashes with divide-by-zero error
- Sentry notification appears in real-time
- Arena dashboard shows Delta with red “CRASHED” status
- Scoring continues for other agents
- Delta is eliminated from advancing to Dream Podium
Key Demo Moment
Presenter: “Notice that Agent Delta has crashed with a divide-by-zero error. Sentry immediately captured this and sent it to our monitoring dashboard. The Dream Arena’s scoring system automatically gives Delta a reliability score of zero, preventing it from advancing to the Podium phase. This is how the Foundry ensures only working solutions move forward.”
Performance Characteristics
Speed Metrics
- Execution Time: Less than 1 second (crashes immediately)
- Network Requests: 0 (crashes before any network calls)
- Timeout: N/A (error occurs synchronously)
Quality Metrics
- Reliability: 0 (guaranteed crash)
- Quality: 0 (no output produced)
- Speed: 0 (failure despite fast crash)
- Format: 0 (no output to format)
- Event Coverage: 0 events
Source Code Location
File:/candidates/agent_delta.pyLines: 48 total
Key Functions:
fetch_events()-agent_delta.py:14-25⚠️ Crashes here!main()-agent_delta.py:28-44
Scoring in Dream Arena
Agent Delta receives:- Speed: ⭐ (2x weight - ZERO - crashed)
- Reliability: ⭐ (3x weight - ZERO - crashed)
- Quality: ⭐ (3x weight - ZERO - no output)
- Format: ⭐ (1x weight - ZERO - no output)
When to Use Agent Delta
Use Cases
- Demonstrating error monitoring with Sentry
- Testing Dream Arena crash handling
- Showing scoring system behavior on failures
- Educational/demo purposes only
Never Use For
- Any production workload
- Actual event discovery
- Performance benchmarking
- Anything requiring valid output
Related Documentation
- Sentry Integration - Learn how errors are captured
- Dream Arena Scoring - Understand reliability scoring
- Five Phases - How the Foundry handles crashes
Educational Value
Agent Delta teaches important lessons:- Error monitoring matters - Sentry catches issues immediately
- Reliability is weighted - Crashed agents can’t win (3x weight)
- Graceful degradation - System continues despite one agent failing
- Observable systems - Real-time monitoring enables quick response
- Safety nets work - Bad agents are automatically eliminated