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.0.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.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aip_identity_verify-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 02efea27f04feb3bdcdd9bedfcae6fa2748346ca80cd010bd590525390b8768c
MD5 311621ad583306b0a3e18745b559d9ea
BLAKE2b-256 d03a3efced0bd2959162b12be00d43748f6a9a7534a43253b3a0461ee08272c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aip_identity_verify-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e734109d013def3cc78ba3ab397ef70cc9d7e7292b715996027283f89c2e6a0d
MD5 87636ee8c0d45f200da7b1909294120b
BLAKE2b-256 f529577475ead9b90a9451f274f6903f2765475909bc594b094ba81913a13332

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