Skip to main content

jiaozi-validator

Local health-check CLI for AI agents. Scans your agent directory, computes a software gene hash, and produces a jiaozi.attest.v1 summary — optionally submitting it to JIAOZI for credential issuance.

Your code never leaves your machine: only hashes and check results are submitted.

pip install jiaozi-validator

# Print the attestation summary only (nothing is sent anywhere)
jiaozi-validator --agent-name MyAgent --path ./my-agent --dry-run

# Submit for issuance (requires an API key)
export JIAOZI_API_KEY=your-key
jiaozi-validator --agent-name MyAgent --path ./my-agent \
  --api-url https://www.jiaozi.io/api/verify

China deployment: use --api-url https://www.jiaozi.tech/api/verify.

What it checks

  • Software gene hash (deterministic digest of your agent's code)
  • Secret-leak scan (common credential patterns)
  • Structure and metadata sanity

The output schema jiaozi.attest.v1 is part of the open protocol (jiaozi-protocol GitHub org); the credential's live revocation status is verifiable by anyone via the jiaozi.status.v1 spec.

Development

cd packages/validator
python3 -m venv .venv && source .venv/bin/activate   # Windows: .venv\Scripts\activate
pip install -e .

MIT License.

Download files

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

Source Distribution

jiaozi_validator-0.3.1.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

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

jiaozi_validator-0.3.1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file jiaozi_validator-0.3.1.tar.gz.

File metadata

  • Download URL: jiaozi_validator-0.3.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.2

File hashes

Hashes for jiaozi_validator-0.3.1.tar.gz
Algorithm Hash digest
SHA256 fd5f0c47f5a390ec94f8804bfe9b302a8b75e0b2c423dc03b8cfa166cb69359f
MD5 336adbab4a120405ca912ea6c55f21fd
BLAKE2b-256 8a839484417a73f10dc097870eeaaff57318f8f4b0c83b81f217fb55f62b2c74

See more details on using hashes here.

File details

Details for the file jiaozi_validator-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jiaozi_validator-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e4e861232f862affde6d89289e2242472cc2b8b3fd6e3c19807162575275cc21
MD5 c572ac0f4e4de2604221e0d285468cb2
BLAKE2b-256 b21ce4f83e94924401cd825a8db1348236b0dc2ec6d06ef5d569cec35c8d17e0

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 Sentry Error logging StatusPage Status page