Skip to main content

LangChain tool for ChronoVerify: verify when a photo was taken and its provenance (C2PA Content Credentials, EXIF, pixel forensics).

Project description

langchain-chronoverify

LangChain tool for ChronoVerify: verify when a photo was taken and its provenance. It reads EXIF and XMP, cryptographically validates C2PA Content Credentials against the official trust lists, and runs classical pixel forensics, returning one plain-language verdict with a confidence score.

Provenance validation, not a deepfake or AI-generation detector. Verdicts are investigative triage to support human review, not proof.

Install

pip install langchain-chronoverify

Use

from langchain_chronoverify import ChronoVerifyTool

tool = ChronoVerifyTool()  # keyless: free, rate-limited public path

result = tool.invoke({"url": "https://example.com/photo.jpg"})
print(result["verdict"], result["confidence"])
# verdict is one of: provenance_confirmed, consistent, inconclusive,
# metadata_anomaly, manipulation_indicated

With an agent:

from langchain.agents import create_agent  # or your agent constructor

agent = create_agent(model, tools=[ChronoVerifyTool()])

API key (optional)

The keyless path is free and rate limited per IP. For your own quota, pass api_key="cv_live_..." or set CHRONOVERIFY_API_KEY. A free key (no card, 100 verifications per month):

curl -X POST https://chronoverify.com/v1/keys/free \
  -H "Content-Type: application/json" -d '{"email": "you@example.com"}'

Links

Project details


Download files

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

Source Distribution

langchain_chronoverify-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

langchain_chronoverify-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file langchain_chronoverify-0.1.0.tar.gz.

File metadata

  • Download URL: langchain_chronoverify-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for langchain_chronoverify-0.1.0.tar.gz
Algorithm Hash digest
SHA256 69c241f7c7b3d4caaefd7e1b3c45aedf7b5bde9cd10f66fb0a21b89f58aa40da
MD5 35f4fec9b669eb09bd1d208bd3852360
BLAKE2b-256 f081c80f9790701fada813cf4258e00b394d7204398eb24ebf438a94751c1eef

See more details on using hashes here.

File details

Details for the file langchain_chronoverify-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_chronoverify-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 392e277e44644e7f7f52ac32131ab2f380b48256382103fc70b1d9aa06353022
MD5 583bedb3fc79b1f60685a6093009e6da
BLAKE2b-256 a3319d0fb7eb75c57fc1daf91b4e31e3f1433306379dce7fbe46c5fd1e88db66

See more details on using hashes here.

Supported by

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