# PQ Shift > Free, MIT-licensed tools and an agent protocol to find RSA, elliptic-curve and classic Diffie-Hellman use in your own code, configs, > keys and servers, rank it, move approved items to the NIST post-quantum standards (FIPS 203/204/205) in hybrid mode, and prove each move. **What happened.** On 2 December 2026 Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle said they support US government guidance urging organizations to move to NIST's post-quantum algorithms "as soon as possible"; the agencies behind that guidance (ONCD, NSA and CISA) said the recent advances in AI models that prompted it "do not present an immediate and widespread threat" to the cryptography concerned, and the details have not been published. **What this does.** PQ Shift inventories recognizable uses of classic public-key cryptography. Its recipes cover hybrid key exchange and a separate transition to post-quantum signatures. Agents apply approved changes and gather evidence appropriate to each one. **What it does not claim.** Nobody has published proof that RSA or elliptic-curve cryptography is broken, and this project does not say it is; a finding means "uses an algorithm the guidance says to migrate", not "exploitable today", and a clean scan is not an audit or a guarantee. Not affiliated with any signatory or agency. ## Start here - [agent.md](https://zirkomirko.com/tools/pq-shift/agent.md): the protocol an AI coding agent follows (inventory, triage, plan, migrate in hybrid mode, prove, guard, hand over) - [pqshift.py](https://zirkomirko.com/tools/pq-shift/pqshift.py): the tool, one file, Python 3.8+, standard library only, offline except `probe` - [prove.md](https://zirkomirko.com/tools/pq-shift/prove.md): what counts as proof - [rules.json](https://zirkomirko.com/tools/pq-shift/rules.json): the 43 rules (id, severity, exposure, why, replacement) - [support.json](https://zirkomirko.com/tools/pq-shift/support.json): which runtimes and libraries support ML-KEM / ML-DSA, with sources and checked dates - [test-results.md](https://zirkomirko.com/tools/pq-shift/test-results.md): what was tested and what the numbers do not prove - [glossary.json](https://zirkomirko.com/tools/pq-shift/glossary.json): 37 terms in plain language, for explaining findings to people who are not cryptographers ## Tools - `pqshift.py scan PATH --json FILE`: read-only static inventory (code in 12 language families, server/SSH/VPN/IaC configs, keys and certificates, dependencies). `--sarif FILE` also writes SARIF 2.1.0 for code-scanning tools. - `pqshift.py probe HOST:PORT --authorized`: which TLS 1.3 group (or SSH key exchange) an endpoint selects, via HelloRetryRequest; own systems only - `pqshift.py report findings.json --plan plan.md --cbom cbom.json`: waves 0-4, plan, CycloneDX 1.6 CBOM (validated against the official schema), before/after diff - `pqshift.py guard --staged`: pre-commit/CI gate against new classic-only key exchange (git hook, pre-commit framework, GitHub and GitLab jobs in `guard/`) - `pqshift.py mcp`: the same tools as an MCP server on stdio - `pqshift.py explain RULE-ID`: why a rule matters and what to replace it with ## Exit codes (every command) - 0: finished, and no check you asked for failed - 1: finished, and a check failed (`scan --fail-on`, `guard`, `report --expect-closed`) - 2: could not run (wrong arguments, a missing or unreadable file, git not available, probe not authorized or unreachable) - 130: stopped with Ctrl+C ## Words - [Glossary](https://zirkomirko.com/tools/pq-shift/#glossary): RSA, ECDH, KEM, ML-KEM, ML-DSA, SLH-DSA, hybrid, X25519MLKEM768, HelloRetryRequest, CBOM, horizon and the rest, in a sentence or two each. The same text as data: glossary.json. ## Scope limits - Your own systems only. The probe refuses public addresses without --authorized. - Never prints, copies or moves private key material. Symmetric ciphers and hashes are out of scope. - A finding means "uses an algorithm the guidance says to migrate", not "exploitable today". A clean scan is not an audit.