Skip to main content

Agent Identity Protocol - Hub Verification Library

Project description

aip-identity-verify

Agent Identity Protocol verification library — for hubs and services to verify AI agent JWT tokens.

Installation

pip install aip-identity-verify

Quick Start

from aip_identity_verify import AIPVerifier

verifier = AIPVerifier(
    trusted_providers=["copaw.ai"],
    audience="https://my-hub.example.com",
)

# In your request handler:
agent = await verifier.verify(request.headers["Authorization"])
print(f"Agent: {agent.agent_id}, Principal: {agent.principal}")

Documentation

See the Agent Identity Protocol repository for full documentation.

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

aip_identity_verify-0.1.1.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

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

aip_identity_verify-0.1.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file aip_identity_verify-0.1.1.tar.gz.

File metadata

  • Download URL: aip_identity_verify-0.1.1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.14

File hashes

Hashes for aip_identity_verify-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b1090abe9fc7c2951b03f75faa1c31bed1b29433608f467d631aa89031b328ce
MD5 6777c6abe4514bbaecd848cf7b3ca1a7
BLAKE2b-256 1fd58012611b9b44beecea82dc8b38ee6119cc1e6440b7eb6f45315bb3e39eef

See more details on using hashes here.

File details

Details for the file aip_identity_verify-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aip_identity_verify-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f3d0db1ab1c5afd81d52f02bb27da499ab42317e071fab522e686a08e8b1c928
MD5 b24fc86fb36e15ebbb7f733abdf8f258
BLAKE2b-256 6769f801f45098bc3723f5cf56029c90fda3823d1112b1766c257b8edbe15bf4

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