Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

attune_verify-0.2.1.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

attune_verify-0.2.1-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file attune_verify-0.2.1.tar.gz.

File metadata

  • Download URL: attune_verify-0.2.1.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for attune_verify-0.2.1.tar.gz
Algorithm Hash digest
SHA256 1f241743f13d05726ac3ccb821b65b393da01336cd01fdd16c075c951dbd4dfe
MD5 6364dea99a699da7b609b0977617fbe0
BLAKE2b-256 de83c6df30632add2dfc0961081a49284cd02bd64e9037a58ddd8893d8e7d571

See more details on using hashes here.

Provenance

The following attestation bundles were made for attune_verify-0.2.1.tar.gz:

Publisher: publish-pypi.yml on Smart-AI-Memory/attune-verify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file attune_verify-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: attune_verify-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for attune_verify-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 12053b653c6ffe501bcdf707145b2f6515330848b2ed33bec37443b9ee5b9710
MD5 6c2dac1cbead61b13429c4cf816f7f42
BLAKE2b-256 c1568e0fae29093eb3730dbd7502e451b83c9991b9077cb1930cac5741ac4bcb

See more details on using hashes here.

Provenance

The following attestation bundles were made for attune_verify-0.2.1-py3-none-any.whl:

Publisher: publish-pypi.yml on Smart-AI-Memory/attune-verify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page