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 therequireTrustcredential-gated permission helpers.jiaozi-validator— local health-check CLI that produces thejiaozi.attest.v1summary consumed byattest.jiaozi.status.v1open 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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc06e8c0732f2b29ba820e19df2b8b64467b58c36b6a8630b3bcd3a9e2294018
|
|
| MD5 |
ba4a295032e8e2ebae49fe2f3c1949fd
|
|
| BLAKE2b-256 |
59ec929af8cbc51f498245d629eb63f008f6d91288925f361e6e0469660322b7
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf2944c2fd7267f99343e2c7c8568128c9de6c2dc060e0484be43117b1c76a52
|
|
| MD5 |
d32873fdfd36d2cc2e386283f919ae89
|
|
| BLAKE2b-256 |
65cdd150b08542cc0c3f2631298dccbba7fbb43eeeb42300b0793a189aeae931
|