Releases: Crashlens/crashlens
CrashLens v2.2.1
Release Date: August 10, 2025
Version: 2.2.1
Status: Production Ready
๐ Introducing CrashLens v2.0
The complete open-source platform for LLM cost monitoring and policy enforcement is here!
CrashLens v2.0 delivers a production-ready solution for organizations to monitor, control, and optimize their AI/LLM usage across all major platforms.
โญ What's New in v2.0
๐ Multi-Source Plugin System
Connect to any LLM platform with one command:
crashlens scan --source=langfuse --simulate # Langfuse traces
crashlens scan --source=helicone --hours-back=24 # Helicone analytics
crashlens scan --source=openai --org=org-123 # OpenAI usage API
๐ฆ Community Rule Pack Library
Ready-to-deploy policy templates:
- Block expensive models for simple tasks
- Detect and prevent retry storms
- Enforce per-trace cost limits
- Monitor model fallback patterns
- CI/CD-friendly validation rules
๐ก๏ธ Production-Grade Policy Engine
- YAML-based rule configuration
- Environment scoping and inheritance
- Cost threshold enforcement
- Simulation mode for safe testing
- Slack/webhook notifications
๐ Get Started in 5 Minutes
# Install CrashLens v2.0
pip install crashlens
# Quick start with simulation
crashlens scan logs.jsonl --simulate
# Use community templates
crashlens scan --source=langfuse --policy policies/langfuse/retry-loop-detector.yaml
# Generate custom policies
crashlens init --template basic-safety --output my-policy.yaml
๐ Complete Feature Set
โ OSS v1 Features (100% Complete)
- YAML-based rule configuration
- Policy evaluation engine
- Schema-aware matching
- CLI with CI-friendly output
- Dry-run simulation mode
โ OSS v2 Features (100% Complete)
- Rule scoping by environment/metadata
- Cost threshold and budget controls
- Rule inheritance and suppression
- Multi-source plugin architecture
- Slack/webhook integrations
๐ Enterprise Foundation (75% Complete)
- Extensible plugin system
- Community template library
- Runtime enforcement SDK (coming in v2.1)
- Analytics dashboard (coming in v2.2)
๐ฏ Perfect For
๐ฅ Development Teams - Prevent cost overruns and enforce best practices
๐ข Organizations - Governance and compliance across AI usage
๐ง DevOps Engineers - CI/CD integration and automated monitoring
๐ Platform Teams - Multi-cloud LLM cost consolidation
๐ Open Source Community - Extensible platform for custom policies
๐ Resources
- Installation:
pip install crashlens
- Documentation: [Complete Status Report](https://www.notion.so/CRASHLENS_STATUS_REPORT.md)
- Quick Start: [Usage Guide](https://www.notion.so/docs/USAGE.md)
- Community Rules: [Rule Pack Library](https://www.notion.so/policies/langfuse/)
- Examples: [CI/CD Integration](https://www.notion.so/examples/)
๐ Community & Contributions
CrashLens v2.0 is built for community contribution:
- Plugin Development - Add support for new LLM platforms
- Rule Pack Creation - Share policy templates for common use cases
- Feature Requests - Shape the roadmap for enterprise features
- Bug Reports - Help improve stability and compatibility
๐ Thank You
CrashLens v2.0 represents a major milestone in open-source AI cost monitoring. With complete OSS functionality, plugin ecosystem, and enterprise-ready architecture, we're excited to see how the community adopts and extends the platform.
Ready to optimize your LLM costs?
pip install crashlens
crashlens scan --source=langfuse --simulate
๐ CrashLens v2.0 - Complete. Production-Ready. Community-Driven.
Full Changelog: v1.1.7...v2.2.1
CrashLens v1.1.7 โ Grouped Reports, Cleaner Output, and Critical Fixes
๐ CrashLens v1.1.7 is here with a powerful revamp to the --detailed
reporting system and key bug fixes! Say goodbye to scattered trace files and hello to clean, grouped issue summaries ready for automation, collaboration, and real-time action.
โจ What's New
๐๏ธ Grouped Category Reports (NEW!)
The --detailed
flag now generates one JSON file per detector type, each containing:
- โ A clear summary of affected traces and estimated waste
- ๐ All relevant issues grouped by category (e.g.,
retry_loop.json
) - ๐ก Targeted fix suggestions
- ๐ Embedded metadata for scripting/automation
detailed_output/
โโโ fallback_failure.json
โโโ retry_loop.json
โโโ fallback_storm.json
โโโ overkill_model.json
๐ Bug Fixes
-
Fixed:
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'
- ๐ Cause: Missing/null cost values in logs
- โ
Fix: All formatters now safely handle
None
costs
๐งน Cleanup & Improvements
- ๐งฝ Removed the
--include-empty
flag to simplify CLI usage - ๐ Updated README with full CLI reference and pro tips
- ๐งช Improved
--demo
guidance and usage examples
๐ Updated CLI Cheatsheet
# ๐ Scan log file
crashlens scan logs.jsonl
# ๐ฏ Grouped report by waste type
crashlens scan --detailed
# ๐ฐ Cost summaries
crashlens scan --summary
crashlens scan --summary-only
# ๐จ Output formats
crashlens scan --format json
crashlens scan --format markdown
crashlens scan --format human
# ๐งพ Input sources
crashlens scan --stdin
crashlens scan --paste
crashlens scan --demo
๐ฎ Coming Soon
- Visual dashboards for grouped output
- More detectors (e.g., long prompt spam, unused response tokens)
- SDK + GitHub Action support
๐ง Tip
Use the grouped JSONs to create your own dashboards, auto-alerts, or cost heatmaps. One file per category = easy integrations!
๐ฆ Install / Upgrade
pip install --upgrade crashlens
# or
pip install crashlens==1.1.7
๐ฌ Feedback
Let us know how the new --detailed
feels! We built it to make your GPT cost debugging actionable, team-friendly, and automatable.