Know what broke.
Fix it fast.

Ravn captures errors, tracks performance, and tells you exactly what went wrong — with AI-powered root cause analysis. Two lines of code. Nothing else needed.

import ravn

ravn.init(api_key="your_api_key")

# That's it. Errors are captured automatically.

Everything you need.
Nothing you don't.

Automatic Exception Capture

Unhandled exceptions are captured and reported the moment they happen. No try/except wrappers needed.

Manual Capture

Send specific exceptions or log messages with custom metadata whenever you need fine-grained control.

Performance Monitoring

Decorate any function with @ravn.measure to track execution time and flag slow operations automatically.

AI Root Cause Analysis

Get a concrete diagnosis for every error — root cause, explanation, and actionable fix steps. No generic advice.

Team & Projects

Organize errors by project, invite team members, and control access with role-based permissions.

Alerts & Notifications

Get notified via email when new errors are detected or error rates spike. Configurable thresholds per project.

Up and running in under a minute.

1

Install the SDK

pip install ravn
2

Initialize with your API key

import ravn
ravn.init(api_key="your_key")
3

Errors are captured automatically

Every unhandled exception is sent to your Ravn dashboard with full stacktrace and metadata.

Built for developers.

Lightweight Python SDK. No dependencies you don't need. Python 3.8+.

Capture exceptions manually
try:
    risky_operation()
except Exception as e:
    ravn.capture_exception(
        e,
        metadata={"user_id": 42}
    )
Log messages at any level
ravn.capture_message(
    "Payment processed",
    level="info",
    metadata={"amount": 99.99}
)
Track slow functions
@ravn.measure
def slow_database_query():
    # Warns if execution > 1000ms
    ...

Start monitoring in 30 seconds.

Free to get started. No credit card required.

Get Started