Generation fact-checker for the attune-* family. Verifies named entities in LLM output actually exist — imports import, CLI flags are real, links resolve, counts match source.
Project description
attune-verify
Generation fact-checker for the attune-* family. Verifies named entities in LLM-generated content actually exist — imports import, CLI flags are real, links resolve, counts match source — so hallucinations that pass unit tests are caught before they reach a reader.
Install
pip install attune-verify
With the optional LLM semantic layer (requires attune-rag):
pip install 'attune-verify[rag]'
Quick start
from attune_verify import verify, VerifyContext
from pathlib import Path
ctx = VerifyContext(
project_root=Path("."),
allowed_help_cmds=frozenset(["attune"]),
)
result = verify(generated_content, ctx)
if not result.ok:
for f in result.findings:
print(f"{f.kind}: {f.detail}")
Part of the attune family
- attune-rag grounds generation in accurate retrieved sources (input-side)
- attune-verify checks that named entities in the output actually exist (output-side)
Together they bracket generation: rag verifies "is this claim supported?"; verify checks "does this named thing exist?"
Status
Pre-alpha — spec complete, implementation in progress.
License
Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file attune_verify-0.2.0.tar.gz.
File metadata
- Download URL: attune_verify-0.2.0.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99c40e21ee073a603ef93e45d14c0426518944a69a651030b2cf2195e4f4b84d
|
|
| MD5 |
cb7f86fb70b76011a68f211bf8352985
|
|
| BLAKE2b-256 |
d82ba2d6760bbcabe2e5650104dbe78d05780355fd73a3dd71ea1551944bbcb1
|
Provenance
The following attestation bundles were made for attune_verify-0.2.0.tar.gz:
Publisher:
publish-pypi.yml on Smart-AI-Memory/attune-verify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
attune_verify-0.2.0.tar.gz -
Subject digest:
99c40e21ee073a603ef93e45d14c0426518944a69a651030b2cf2195e4f4b84d - Sigstore transparency entry: 1768869019
- Sigstore integration time:
-
Permalink:
Smart-AI-Memory/attune-verify@32f955fd3a91e177e3d90b575ddc305756e0683d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Smart-AI-Memory
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@32f955fd3a91e177e3d90b575ddc305756e0683d -
Trigger Event:
release
-
Statement type:
File details
Details for the file attune_verify-0.2.0-py3-none-any.whl.
File metadata
- Download URL: attune_verify-0.2.0-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
254251bb1d05ab0c7f09fb20446bc0c495286b871397190d96e576c88ec5f295
|
|
| MD5 |
c4c75315efb509262b2d35c7b5ab7c7f
|
|
| BLAKE2b-256 |
c64efb981eacea35ac80defabb66bb1972f75bc556774fe7517dc69074ff261c
|
Provenance
The following attestation bundles were made for attune_verify-0.2.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on Smart-AI-Memory/attune-verify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
attune_verify-0.2.0-py3-none-any.whl -
Subject digest:
254251bb1d05ab0c7f09fb20446bc0c495286b871397190d96e576c88ec5f295 - Sigstore transparency entry: 1768869711
- Sigstore integration time:
-
Permalink:
Smart-AI-Memory/attune-verify@32f955fd3a91e177e3d90b575ddc305756e0683d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Smart-AI-Memory
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@32f955fd3a91e177e3d90b575ddc305756e0683d -
Trigger Event:
release
-
Statement type: