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.
Unhandled exceptions are captured and reported the moment they happen. No try/except wrappers needed.
Send specific exceptions or log messages with custom metadata whenever you need fine-grained control.
Decorate any function with @ravn.measure to track execution time and flag slow operations automatically.
Get a concrete diagnosis for every error — root cause, explanation, and actionable fix steps. No generic advice.
Organize errors by project, invite team members, and control access with role-based permissions.
Get notified via email when new errors are detected or error rates spike. Configurable thresholds per project.
pip install ravn
import ravn
ravn.init(api_key="your_key")
Every unhandled exception is sent to your Ravn dashboard with full stacktrace and metadata.
Lightweight Python SDK. No dependencies you don't need. Python 3.8+.
try:
risky_operation()
except Exception as e:
ravn.capture_exception(
e,
metadata={"user_id": 42}
)
ravn.capture_message(
"Payment processed",
level="info",
metadata={"amount": 99.99}
)
@ravn.measure
def slow_database_query():
# Warns if execution > 1000ms
...