Klarity

Latest version: v0.1.0

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1

**Klarity: Now with Reasoning Model Support!**
We're excited to introduce reasoning model support to Klarity, our toolkit for LLM behavior analysis. This update brings Chain-of-Thought entropy analysis to gain insights to improve RL performances.

**New Features:**
- Identify where your model's reasoning goes off track with step-by-step entropy analysis
- Get actionable scores for coherence and confidence at each reasoning step
- Training data insights: Identify which reasoning data lead to high-quality outputs

**Structured JSON output:**
- steps: array of {step_number, content, entropy_score, semantic_score, top_tokens[]}
- quality_metrics: array of {step, coherence, relevance, confidence}
- reasoning_insights: array of {step, type, pattern, suggestions[]}
- training_targets: array of {aspect, current_issue, improvement}

Join our Discord community for discussions and support!

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.