Countdown to 2035: Why Autonomous AI Agents Need Post-Quantum Armor and How MAGIQ Proves It’s Possible

24.11.2026

A research paper on the intersection of two paradigms: agent-based AI and quantum computing. It centers on the preprint ”  MAGIQ: A Post-Quantum Multi-Agentic AI Governance System with Provable Security”  (arXiv:2605.06933v2, 2026) and the testable question: can autonomous agents be formally guaranteed not to violate their owner’s policies in a world where the cryptographic foundation of these policies can be broken by a quantum computer?

How to read an article.  We consistently separate proven formal assertions, authors’ stated results without access to numerical data, the hypothesis (what needs to be tested), and the constraint (the clearly defined boundaries of the model). This framework is taken from the “75 Questions for a Research Article” methodological constructor (sections 1–12).

1. Intrigue: two fronts are advancing simultaneously

⚙️ Detailed research option

Imagine you task an AI agent with organizing a meeting: it finds the right people, schedules the time, sends invitations, and reports back to you. This is precisely the scene depicted in Figure 1 of the MAGIQ preprint: the orchestrator Bob coordinates the calendar agents Alice and Mallory, and a system of LLM, scheduler, memory, tools, and a RAG server accomplishes the task.

The problem is that this idyll faces two attack fronts.  First  , agents can get out of control: they can contact the wrong agent, exceed their message budget, become involved in a Sybil attack, or act against the owner’s interests.  Second  , by 2030–2035, classical algorithms (RSA, Diffie–Hellman, ECC) will no longer be reliable: NIST explicitly recommends their deprecation and ban. A quantum adversary with Shor and Grover’s algorithms breaks the very foundation of authentication and privacy today.

The paradox driving this research is  that autonomous agents must be trusted with ever-increasing tasks, yet the cryptographic foundation of this trust has an expiration date. Is it possible to build a system where agent security is not only “by design” but also  formally provable , yet effective enough for real-world deployment?

2. Problem statement: what is governance for agent systems?

⚙️ Detailed research option

An agent-based AI system is a collection of autonomous agents that perceive, reason, and act individually or collaboratively to solve problems with minimal human intervention. Multi-agent frameworks (AutoGen, MetaGPT) introduce an orchestrator that breaks down the task and distributes it among agents with the appropriate capabilities.

A key aspect is  discovery : how agents find each other. This requires identities and a registry. The registry can be centralized (SAGA) or distributed (AGNTCY). Expanding agent functionality also expands the attack surface: malicious tools, untrusted data, and hostile agents.

What should a user control? Not just “who can find my agent.” They need:

  • identities cryptographically linked to users;
  • policies on contacts and interaction budgets;
  • protection against various forms of DoS;
  • Attribution  of each request – to prevent a malicious agent from shifting responsibility to the victim.

This is where the watershed lies. TLS protects the transport, but  it doesn’t define the semantics of the task : it doesn’t understand what a “request for an article review” or a “30-minute calendar slot” is. Therefore, MAGIQ introduces application-specific abstractions on top of PQ-TLS.

3. Why classics don’t save: physics and mathematics

⚙️ Detailed research option

Shor’s algorithm solves factorization and discrete logarithm in polynomial time on a quantum computer—enough to break RSA, DH, and ECC. Grover’s algorithm provides a quadratic speedup, effectively requiring a doubling of the symmetric key length. NIST IR 8547 (Transition to Post-Quantum Cryptography Standards) recommends deprecation of vulnerable algorithms by 2030 and complete decommissioning after 2035. FIPS 203 (ML-KEM), FIPS 204 (ML-DSA), and FIPS 205 (SLH-DSA) were approved in August 2024; drafts for FALCON and HQC are expected in 2026.

The naive solution of “taking SAGA and replacing the primitives with post-quantum ones” doesn’t work for three reasons:

  1. Overhead : PQ signatures and KEM are significantly heavier than classic ones; signing each message is too expensive.
  2. No policy security model : SAGA only provides ProVerif proofs of basic message properties, not a formal model for defining and enforcing policies.
  3. No attribution : SAGA does not associate each task-msg with a one-time token tied to the sender.

This is where the architectural idea behind MAGIQ comes from: not to “replace everything,” but to design the protocol so that post-quantum primitives are used  selectively and sparingly .

4. MAGIQ architecture: A-session and C-session

⚙️ Detailed research option

MAGIQ introduces two application abstractions:

  • An A-session  is a one-to-one session between the initiator  A_I and responder  A_R. It can span multiple PQ-TLS sessions.
  • C-session  is a one-to-many session: the orchestrator initiates a single shared session consisting of several A-sessions (sequentially or in parallel) and treats it as a single policy-executable unit.

The unit of communication is  task-msga structured message that combines  intent ,  data (payload) ,  context  , and  agent identity . This is crucial: the recipient must not simply decode the bytes but understand, validate, and fulfill the request.

Four types of policies

⚙️ Detailed research option

PolicyWhat setsWho performs
ACL_AAuthorized  A_R (who can be contacted) and Authorized  A_I (who can respond to) listsProvider upon discovery
A-session participation budgetThe maximum number of A-sessions an agent can initiate or acceptActive session counters
task-msg budget Q_AMaximum task-msg from an agent in an A-session (in role  A_I or  A_R)Signed hash chains
Time budget Δ_AHow long can an agent remain active?Receiving agent + external clock

The effective policy  for an A-session is defined as follows: if both are honest,  Q_{I,R} = min{Q_I, Q_R} and  Δ_{I,R} = min{Δ_I, Δ_R}; if only one is honest, the message budget remains minimal, and the time is limited by the honest party’s budget. For a C-session, the budgets are aggregated: the total task-msg for all A-sessions ≤ the C-session budget, and all component time budgets are within the C-session’s time budget.

5. Mechanism: From hash chains to Merkle trees

⚙️ Detailed research option

The core of MAGIQ’s efficiency is  hash chains , inspired by micropayment systems. The idea is simple: starting with a random seed  s_0, an agent computes a hash  s_i = H(s_{i-1}) for  1 ≤ i ≤ n and publishes it  s_n as a commitment. Each message “spends” one element of the chain, revealing the preimage of the currently committed value. Verification is applied  H to the revealed value and verified against the previously committed one.

Subtlety: the chain must be  authorized by the user  and  tied to a specific A-session , otherwise a compromised party  A_I can reuse it in other sessions. The authors delineate the session-specific chain definition in Appendix C.

For a C-session, the direct solution—  m separate signatures for  m chains—is too expensive. MAGIQ uses  a Merkle tree : terminals  s^1_n, …, s^m_n are aggregated into a single one  Mroot, which is signed  once . The initial token of the j-th A-session contains this aggregated token, the terminal of the j-th chain, and the Merkle proof. The length of each chain  n satisfies  [ Q*_tot = m × n]. The savings are that  m signatures are reduced to a single one.

Additionally, HMAC ensures the integrity of the A-session transcript, which can span multiple PQ-TLS sessions; PQ-TLS (ML-KEM + ML-DSA) protects transport; XMSS (RFC 8391) provides stateful hash-based signatures that are resistant to a quantum adversary.

The key engineering idea is  that expensive post-quantum signatures are applied not to each message, but to  commitments  (chain terminals and the Merkle tree root). The cost of a signature is amortized over the task-message budget. This is precisely what allows the authors to claim practicality.

6. Provable Security: The UC Model

⚙️ Detailed research option

MAGIQ formally models and proves correctness and security within  Universal Composability (UC)  , a framework where a protocol is secure if it is indistinguishable from ideal functionality in the presence of its environment. This is stronger than SAGA’s ProVerif proofs, which only cover basic message properties but not the policy definition and enforcement model.

Threat model  (section 3): the adversary is a quantum polynomial-time (QPT) monolithic (coordinates all compromised agents), statically corrupts agents, and can clone them (Sybil attacks). The network is fully controllable, except for what is prevented by cryptographic primitives. Network-level DoS is out of scope.

Assumptions : CA and Users are trusted; Provider is honest-but-curious (follows protocol but can make inferences about interactions); honest entities protect keys and local state; there are trusted synchronized clocks; user policy checks and signatures are performed on trusted hardware.

Model limitation.  Information leakage to the Provider  is not explicitly modeled  —the authors merely “minimize information where possible.” This is significant: the Provider sees discovery requests and can construct a contact graph. For regulatory scenarios, this is a separate open question (Q69).

7. Honest comparison with SAGA

⚙️ Detailed research option

SAGA is the only practical system focused on agent compliance with user policies. It uses an access control token, a centralized provider, and classical cryptography. A comparison is in essence:

CriterionSAGAMAGIQ
CryptographyClassic (RSA/ECC)Post-quantum (XMSS, hash chains, PQ-TLS)
Security modelProVerif, Basic Message PropertiesUC model, policies + correctness
PoliticiansACL + incoming request budgetsACL + A-session + task-msg + time
Abstractionsagent-to-agentA-session, C-session
AttributionNoYes, one-time token for each task-msg
EfficiencyClassic crypto, cheapAmortization of signatures across chains/Merkle

What’s stated:  “practical when compared to SAGA.”  What we haven’t verified:  the numerical overheads from Section 6 (Evaluation) are not provided in the accessible fragment. According to the constructor’s rules (Q43, Q44, Q45), this should be marked as  a stated result, not a reproduced one  . A full version with computation/communication overhead tables is required for a fair conclusion.

Competing explanation (Q42) : perhaps an improved  classical  protocol with the same hash chains + Merkle + HMAC would have been equally effective without PQ. This doesn’t negate the value of MAGIQ (it solves  the quantum  threat), but it does mean that the overhead gain is due to  the architecture , not the PQ primitives themselves. This is an important distinction for future work.

8. Limitations: What’s Left Behind the Scenes

⚙️ Detailed research option

  • Provider honest-but-curious : leakage is not modeled (Q69).
  • Trust in CA and Users : Compromising a CA breaks the identity binding.
  • External clock : Timing policies rely on a trusted network clock.
  • XMSS is stateful : one-time key reuse is disastrous; state management in a multi-agent environment is a separate engineering problem.
  • Static corruption : adaptive corruption is not covered.
  • Network DoS  is out of scope – although budgets are intended to mitigate precisely such attacks.
  • Numerical evaluation  requires the full version of the article.

9. Practical value and economics

⚙️ Detailed research option

Who needs this (Q63):  Users deploying agents in finance, medicine, support, and software development; agent platform providers; regulators who need attribution of agent actions; enterprises planning to migrate before the NIST deadline.

Minimal demonstration (Q64):  “orchestrator + 2-5 agents” scenario with task-msg budget exhaustion and attempt to contact an agent outside the ACL, with verification that the system blocks the violation and preserves attribution.

Cost of ownership (Q65):  consists of PQ-TLS handshakes, XMSS signatures on commitments, HMAC chains, and Merkle proofs. The key economic argument is amortization: one signature per C-session instead of  m signatures. Without this optimization, the PQ path would be prohibitively expensive.

Obstacles from prototype to production (Q66):  standardization of stateful signatures in multi-agent APIs, XMSS state management, integration with existing A2A/MCP, lack of public benchmarks, privacy issues for Provider.

10. The Future: Open Questions and the Next Experiment

⚙️ Detailed research option

  • Q69 : How can I formally limit leakage to the Provider?
  • Q70 : The decisive test – comparison of MAGIQ and “classic SAGA + hash chains + Merkle” on the same set of loads.
  • Q71 : Measurable milestones – public overhead benchmark, independent verification of UC proof, adaptive corruption.
  • Q72 : Under conservative assumptions (short sessions, many agents, weak hours), the conclusions about practicality may change – this needs to be explicitly tested.
  • Q73–Q75 : MAGIQ aligns well with work on NIST PQC, SAGA, A2A/MCP, and AGNTCY. A new question to test: Is it possible to build  cross-framework  task-to-msg attribution on top of different agent protocols?

The next experiment will differentiate between the explanations.  Implement MAGIQ and “MAGIQ-classic” (the same chains and Merkle, but ECDSA signatures and classic TLS) and run them under three workloads: (a) few agents, short sessions; (b) orchestrator + 10 agents; (c) long C-session with budget exhaustion. Metrics: computation time, communication bytes, number of signatures, discovery latency. This will answer Q42 and Q44 simultaneously.

11. Map of selected questions

⚙️ Detailed research option

Of the 75 questions in the constructor, those relevant to this work were selected; those that are not applicable are clearly marked.

No.Question (briefly)Where in the article
Q1What problem does the technology solve and for whom?§1–2
Q2A paradox that can be verified§1 (key-box)
Q5Research boundaries§8
Q7Physical/mathematical mechanism§3, §5
Q11Model assumptions§6
Q16Unfulfilled expectations§3 (naive replacement for SAGA)
Q18Connection with previous works§2, §7 (SAGA)
Q37Comparison with the best classical method§7
Q39Theoretical vs. Practical Advantage§7 (fair comment)
Q40Accounting for all costs§9
Q42Can an improved classic change the conclusions?§7, §10
Q44Control experiments§10 (keybox)
Q45Independent launches and statistics§7 (requirement for the full version)
Q49What is the crypto problem?§3 (factorization, discrete log.)
Q50What is the quantum algorithm?§3 (Shore, Grover)
Q52What is available to an attacker?§6
Q53QKD vs. PQC§3, §9 (MAGIQ — PQC)
Q54Bitcoin scenarioNot relevant to this work
Q55Migration, standards, cost§3, §9
Q56Assessing Future Risk vs. Today’s Experiment§7, §8
Q65Cost of ownership and operation§9
Q69Open issues§10
Q72Optimistic vs. Conservative Assumptions§10
Q75New test question from synthesis§10

12. Sources

⚙️ Detailed research option

  1. S. Avizheh, T. Mallick, A. Oprea, C. Nita-Rotaru, R. Safavi-Naini.  MAGIQ: A Post-Quantum Multi-Agentic AI Governance System with Provable Security . arXiv:2605.06933v2 [cs.LG], 18 May 2026.
  2. NIST IR 8547 (draft):  Transition to Post-Quantum Cryptography Standards  — deprecate RSA/ECDSA/EdDSA/DH/ECDH by 2030, decommission after 2035.
  3. NIST FIPS 203 (ML-KEM), FIPS 204 (ML-DSA), FIPS 205 (SLH-DSA), August 2024.
  4. RFC 8391:  XMSS: eXtended Merkle Signature Scheme .
  5. SAGA is a practical agent-based policy enforcement system with classical cryptography and ProVerif proofs.
  6. Methodological designer “Quantum technologies: 75 questions for a research article” (Russian, 2026) – sections 1–12.