Klarity
github.com · Open source · Quiet
Open source tool that measures uncertainty in LLM token output
- AI & agents
- Open source
- Python
- Day-7 check
- Day-30 check
- llm
- uncertainty
- interpretability
- entropy
- llm uncertainty analysis
- token entropy
- hallucination detection tool
- llm interpretability
- model confidence analysis
- Stars
- 401
- Forks
- 31
- Open issues
- 0
- Last commit
- Releases
- 2
- Found
- 22 months ago
GitHub figures as of . They are context, not a ranking.
An open source tool that analyzes how a language model chooses each token and where its output is uncertain. It returns structured JSON with uncertainty points, high-confidence steps and risk areas, and can be self-hosted with customizable analysis models. It is an interpretability tool for hallucination detection.
Repository description on GitHub: “Interpretability tool to detect hallucinations”
What it does
- Combines log probabilities and semantic similarity to measure token uncertainty
- Returns structured JSON with uncertainty points and risk areas
- Analyzes reasoning steps in model outputs
- Visual attention analysis for vision-language models
Good for
- Flag low-confidence spans in an LLM answer before shipping
- Inspect where a reasoning model's chain of thought is uncertain
- Check how a vision-language model attends to an image
Suits: ML engineers debugging hallucinations and model uncertainty.
What you can try
Read the README on GitHub and install from source.
Install
pip install klarityConfirmed against the package registry. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw Klarity on , when mrciffa posted it to Show HN. The oldest published release on GitHub is v0.1, dated . Its first tagged release came 6 days after it was found. 2 releases have been published in total; the latest is v0.2 ().
Day-7 and day-30 updates
Day 7 1 release shipped
- 1 release in the first 7 days: v0.1 (9 Feb 2025)
- Show HN discussion at check time: 132 points, 26 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 2 releases shipped
- 2 releases in the first 30 days: v0.1 (9 Feb 2025), v0.2 (13 Feb 2025)
- Show HN discussion at check time: 132 points, 26 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: klara-research/klarity
- Found: mrciffa posted it to Show HN. Show HN
- Release v0.1
- Release v0.2
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was Klarity released?
- Its first tagged release on GitHub is dated 9 Feb 2025. Kip found it on Show HN on 3 Feb 2025.
- Is Klarity open source?
- Its source is public on GitHub at klara-research/klarity under the Apache-2.0 licence.
- What does Klarity run on?
- Library, Self-hosted.
- Is Klarity free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is Klarity still maintained?
- It has had no commit or release for over a year as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | klara-research/klarity REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-42918237. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
- llama3_interpretability_saeArchived
End-to-end sparse autoencoder interpretability pipeline for Llama 3.2
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.