Hardened single-node registry service for Agent Auth identities
Project description
Agent Auth Registry
verifiable-agent-auth-registry 是 Agent Auth 的中心身份 Registry,提供 developer namespace、Agent metadata 发布、公钥解析、密钥生命周期、原子 nonce 防重放和审计。
当前版本:0.2.0b1。Registry v1 只支持单节点、单 worker SQLite,并且必须放在 HTTPS 反向代理之后。
安装
python -m venv .venv
source .venv/bin/activate
pip install "verifiable-agent-auth-registry==0.2.0b1"
本地测试:
export AGENT_REGISTRY_DB_PATH="$PWD/runtime/registry.sqlite3"
export AGENT_REGISTRY_PATH="$PWD/runtime/.well-known/agent.json"
export AGENT_REGISTRY_STRICT_IDENTITIES=0
agent-auth-registry --host 127.0.0.1 --port 8008 --workers 1
STRICT_IDENTITIES=0 允许 IP/localhost identity,只能用于本机测试。
管理员初始化
agent-auth-registry-admin create-developer --client-id developer-a
agent-auth-registry-admin grant-namespace \
--client-id developer-a \
--domain agents.example.com \
--path-prefix /team-a
agent-auth-registry-admin list-namespaces --client-id developer-a
API key 只在创建和轮换时显示一次。admin CLI 必须读取与服务相同的 AGENT_REGISTRY_DB_PATH。
HTTP 端点
GET /healthzGET /.well-known/agent.jsonGET /v1/agents/resolve?agent_id=...POST /v1/agents/publishPOST /v1/agents/rotate-keyPOST /v1/agents/add-keyPOST /v1/agents/revoke-keyPOST /v1/agents/revoke
应用应使用 SDK RegistryClient 调用签名写端点,不应自行拼装 canonical 请求。
完整文档
License
MIT
Project details
Release history Release notifications | RSS feed
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 verifiable_agent_auth_registry-0.2.0b1.tar.gz.
File metadata
- Download URL: verifiable_agent_auth_registry-0.2.0b1.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8696a6c8b9a3d2b88c163903fc68fd7ffccbaab044da69a39132634a9e101fb
|
|
| MD5 |
bfce281c1a79f48fce6b6e70b0f9f090
|
|
| BLAKE2b-256 |
2d5cc1e606e798b77a22bd7b989aba9397ef92776286d9c3af9ede85a30a8106
|
Provenance
The following attestation bundles were made for verifiable_agent_auth_registry-0.2.0b1.tar.gz:
Publisher:
publish.yml on YiheHuang/agent_auth_sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
verifiable_agent_auth_registry-0.2.0b1.tar.gz -
Subject digest:
d8696a6c8b9a3d2b88c163903fc68fd7ffccbaab044da69a39132634a9e101fb - Sigstore transparency entry: 2144333878
- Sigstore integration time:
-
Permalink:
YiheHuang/agent_auth_sdk@f1349c1e5d89d44cad6cc29cfb80b306982e715e -
Branch / Tag:
refs/tags/v0.2.0b1 - Owner: https://github.com/YiheHuang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f1349c1e5d89d44cad6cc29cfb80b306982e715e -
Trigger Event:
release
-
Statement type:
File details
Details for the file verifiable_agent_auth_registry-0.2.0b1-py3-none-any.whl.
File metadata
- Download URL: verifiable_agent_auth_registry-0.2.0b1-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a08ac63fd2b865aa22bd763185fa57a0ebc175dc2c9c7c3de75fa26729e9b097
|
|
| MD5 |
c95d1d54e78f1340cd17e92d04c4c192
|
|
| BLAKE2b-256 |
263fcd0d7c1f4cf1be7c19c61329cebad3e8c8e32aaafa2097e0062c91fc34e0
|
Provenance
The following attestation bundles were made for verifiable_agent_auth_registry-0.2.0b1-py3-none-any.whl:
Publisher:
publish.yml on YiheHuang/agent_auth_sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
verifiable_agent_auth_registry-0.2.0b1-py3-none-any.whl -
Subject digest:
a08ac63fd2b865aa22bd763185fa57a0ebc175dc2c9c7c3de75fa26729e9b097 - Sigstore transparency entry: 2144333998
- Sigstore integration time:
-
Permalink:
YiheHuang/agent_auth_sdk@f1349c1e5d89d44cad6cc29cfb80b306982e715e -
Branch / Tag:
refs/tags/v0.2.0b1 - Owner: https://github.com/YiheHuang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f1349c1e5d89d44cad6cc29cfb80b306982e715e -
Trigger Event:
release
-
Statement type: