Skip to main content

pqagents

Post-quantum cryptographic identity and verification SDK for AI agents.

Secure your AI agents against future quantum computer threats using NIST-approved post-quantum algorithms (ML-DSA-65).

Installation

pip install pqagents

Usage

1. Generating Agent Keys

from pqagents import generate_agent_keys

keys = generate_agent_keys()
print("Public Key:", keys["publicKey"]) # Save to your database
print("Secret Key:", keys["secretKey"]) # Give securely to your agent

2. Signing a Payload

from pqagents import sign_agent_token

payload = {"action": "trade", "amount": 100, "asset": "BTC"}
token = sign_agent_token(payload, keys["secretKey"])

3. Verifying a Signature

from pqagents import verify_agent_token

is_valid = verify_agent_token(token, keys["publicKey"])

if is_valid: print("Cryptographically verified! Action approved.")

Metadata

Release files for pqagents 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pqagents 1.0.0
File Size Uploaded Provenance Actions
pqagents-1.0.0.tar.gz 2.4 kB Without provenance Details for pqagents-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pqagents 1.0.0
File Interpreter ABI Platform Actions
pqagents-1.0.0-py3-none-any.whl Python 3 none any Details for pqagents-1.0.0-py3-none-any.whl

Total release size: 4.9 kB

Release files / pqagents-1.0.0.tar.gz

Download URL pqagents-1.0.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f01f59118e8b4ad2e0d14d4af8dbdb2625627767fc9969b25ae16cfea41d79a3
BLAKE2b-256 checksum
How to use checksums
cfd2f08f14074da8c758bf10e4f84a3a7f22a9ccce29e2ba36b11ac5b9b60cb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.5

Release files / pqagents-1.0.0-py3-none-any.whl

Download URL pqagents-1.0.0-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e522647672e5cba92c76be327cf353b98d4d20fcd905ec4cf8fe26c1c8d80a46
BLAKE2b-256 checksum
How to use checksums
6e35bcb0408bc81ba9af9acea1a02ac88c16822ca7f7ef77c7146b8cc92ce064
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.5

Security for pqagents 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page