Skip to main content

jiaozi-gdid

Python SDK for JIAOZI — register, attest, resolve and verify AI-agent credentials. The underlying protocol is open: specs and reference implementations live in the jiaozi-protocol GitHub org.

pip install jiaozi-gdid

Requires Python 3.11+.

Usage

from jiaozi_gdid import Gdid

gdid = Gdid(
    base_url="https://www.jiaozi.io",   # or https://www.jiaozi.tech (China)
    api_key="your-api-key",             # only needed for write operations
)

gdid.register(name="MyAgent", owner_pubkey="zOwner...")
gdid.attest(summary)                     # local health-check report (jiaozi.attest.v1)
gdid.resolve("JIAOZI-2026-000001")
gdid.verify("did:web:...")               # authenticity + revocation check

Core surface: register / attest / resolve / verify, plus credit-trail helpers (submit_credit / anchor_credit / get_credit_proof).

resolve and verify are public and need no API key; registration, attestation and credit submission require one (get yours at jiaozi.io/integrate).

Related

  • @jiaozi-protocol/sdk — TypeScript SDK, including the requireTrust credential-gated permission helpers.
  • jiaozi-validator — local health-check CLI that produces the jiaozi.attest.v1 summary consumed by attest.
  • jiaozi.status.v1 open spec — verify a credential's revocation freshness offline, no account needed.

License

MIT

Download files

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

Source Distribution

jiaozi_gdid-0.2.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

jiaozi_gdid-0.2.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jiaozi_gdid-0.2.1.tar.gz
Algorithm Hash digest
SHA256 dc06e8c0732f2b29ba820e19df2b8b64467b58c36b6a8630b3bcd3a9e2294018
MD5 ba4a295032e8e2ebae49fe2f3c1949fd
BLAKE2b-256 59ec929af8cbc51f498245d629eb63f008f6d91288925f361e6e0469660322b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jiaozi_gdid-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.2

File hashes

Hashes for jiaozi_gdid-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf2944c2fd7267f99343e2c7c8568128c9de6c2dc060e0484be43117b1c76a52
MD5 d32873fdfd36d2cc2e386283f919ae89
BLAKE2b-256 65cdd150b08542cc0c3f2631298dccbba7fbb43eeeb42300b0793a189aeae931

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