Error Tracking
Give Claude eyes into your errors. AI investigates, diagnoses, and resolves—while you sleep.
Before
You
There's an error spike in production. Can you check what's happening?
Claude
I'd like to help, but I don't have access to your error tracking system.
I can't see what errors are occurring, how many users are affected, or what's causing them.
Could you check Sentry and share the stack trace with me?
You
*Opens laptop at 3am, logs into Sentry, copies stack trace...*
After
You
There's an error spike in production. Can you check what's happening?
Claude
Let me check the errors...
Using reflex.get_errors
reflex.get_errors(last: "1h", sort: "frequency")
Response
NoMethodError in UsersController#show
undefined method 'name' for nil:NilClass
247 occurrences · 89 users affected · HIGH
Found it. There's a nil user record causing 247 errors in the last hour. Let me get more context...
Using reflex.get_error_details
reflex.get_error_details(id: "err_abc123")
The error started right after the last deploy. It's affecting users created before the migration ran. The new_user_flow feature flag is the culprit.
Using cortex.disable_flag
cortex.disable_flag("new_user_flow")
Done. Flag disabled. Error rate is dropping.
I'll create a ticket to fix the underlying data issue and re-enable the flag safely.
Resolution time: 3 minutes
Without Reflex
With Reflex
Reflex captures it automatically. No code changes needed.
Same bug, different entry points? Same group. No duplicate noise.
NoMethodError in UsersController
Grouped from 3 different stack traces
Signal routes the alert to FORGE, your AI developer.
Using MCP tools, AI investigates, diagnoses, and resolves.
Available via MCP (Model Context Protocol)
reflex.get_errors()
"Show me recent errors"
reflex.get_error_details(id)
"What caused this error?"
reflex.resolve_error(id)
"Mark this as fixed"
reflex.get_trends()
"Are errors increasing?"
One gem. Zero config. Works in 30 seconds.
# Add to your Gemfile
gem 'brainzlab'
# Run bundle
$ bundle install
# That's it. Errors are being captured.
We're building Reflex right now. Follow along to get early access and help shape the features.