MAGIQ: A Post-Quantum Multi-Agentic AI Governance System with Provable Security

Sepideh Avizheh, Tushin Mallick, Alina Oprea, Cristina Nita-Rotaru, Reihaneh Safavi-NainiarXiv 2026

TL;DR

As autonomous AI agents increasingly collaborate to execute complex tasks, they require secure governance frameworks to ensure they follow user policies and remain accountable. However, upcoming quantum computing advancements threaten to break the classical public-key cryptography these systems rely on. MAGIQ is the first post-quantum secure governance framework for multi-agent AI systems, utilizing highly efficient quantum-resistant primitives to provide provably secure policy enforcement and message attribution with negligible real-world latency.

What Problem Does This Paper Address?

Multi-agent AI frameworks (like AutoGen or MetaGPT) allow autonomous agents to plan and execute multi-step tasks collaboratively. However, this autonomy introduces severe security risks: agents can go rogue, execute malicious actions, or become vectors for Denial-of-Service (DoS) attacks. To mitigate this, users need a way to enforce strict communication policies—such as restricting who an agent can talk to and setting strict interaction "budgets."

While state-of-the-art governance systems like SAGA handle some of these issues, they rely on classical public-key cryptography (like RSA and ECC). According to NIST guidelines, these algorithms must be deprecated by 2030 and fully retired by 2035 due to the threat of quantum computers running Shor’s algorithm. Simply swapping classical primitives for post-quantum counterparts in existing architectures introduces massive computational and communication overhead without providing formal security guarantees for policy enforcement. MAGIQ bridges this gap by designing a post-quantum governance system from the ground up with provable security.

Figure 1: Example of a multi-agent coordination.

Methods

MAGIQ introduces two application-level communication abstractions to capture agent interactions:

  • A-sessions: One-to-one communication channels between two agents.
  • C-sessions: One-to-many composed sessions managed by an orchestrator agent.

The fundamental unit of communication is a task-msg, which encapsulates intent, payload, context, and agent identity.

To enforce interaction budgets without incurring the heavy computational cost of signing every single message with post-quantum signatures, MAGIQ elegantly adapts digitally signed hash chains. An agent generates a hash chain where the root is signed by the user. For every message sent, the agent reveals the next pre-image in the chain. The receiver can instantly verify that the message is within budget by hashing the token and checking it against the previous state.

For one-to-many C-sessions, MAGIQ uses Merkle trees to aggregate the roots of multiple hash chains. This allows an orchestrator to authenticate an entire multi-agent workflow with a single user signature, drastically cutting down cryptographic overhead.

For underlying security, MAGIQ utilizes stateful hash-based signatures (XMSS) for long-term identity keys and post-quantum mutually authenticated TLS (PQ-mTLS) featuring ML-KEM for key exchange and ML-DSA for certificates. The entire architecture is formally modeled and proven secure using Canetti’s Universal Composability (UC) framework.

Datasets

As a cryptographic and architectural governance framework, this paper does not introduce or train on machine learning datasets. For empirical evaluation, the authors benchmarked MAGIQ using three standard agentic workflows derived from prior literature: Calendar, Email, and Writing. These tasks were executed using the AutoGen framework across various LLM backends, including GPT-4, GPT-5, and Qwen models.

Key Insights and Ideas

  • Decoupling Transport from Semantics: Network-level security (like PQ-TLS) is insufficient for AI governance because it doesn't understand what the agents are doing. MAGIQ successfully decouples transport security from application-level task semantics (task-msg).
  • Lightweight Cryptographic Counting: Using hash chains as a mechanism for counting message budgets is a major efficiency win. It replaces expensive public-key signature verifications on a per-message basis with ultra-fast cryptographic hash evaluations.
  • The Latency Illusion: Although post-quantum cryptographic keys and signatures are significantly larger than classical ones, MAGIQ demonstrates that in real-world deployments, this overhead is completely dwarfed by geographic network latency and LLM inference times.

Key Results

The authors evaluated MAGIQ against the classical SAGA baseline on modern hardware (including NVIDIA H100 and RTX 4090 GPUs):

  • Micro-benchmarks: Per-session recurring cryptographic costs remained uniformly under 5 ms across all operations. Remarkably, data transfer overhead during interactions dropped to just 0.03 ms in MAGIQ compared to 1.44 ms in SAGA.
  • End-to-End Task Overhead: MAGIQ introduced a modest 1.07× increase in protocol overhead compared to classical cryptography. However, this overhead constitutes less than 2% of the total execution time, which is overwhelmingly dominated by LLM inference.
  • Bandwidth Trade-off: Due to the large size of post-quantum certificates and signatures, session establishment bandwidth increased from 2.12 KB (SAGA) to 88.65 KB (MAGIQ). However, per-request data transfer remained highly efficient at 0.56 KB.
Figure 5: A-session establishment

Limitations and Future Work

  • Setup Costs: Due to the pre-computation of the XMSS key tree, user and agent registration takes roughly 36 seconds. While this is a one-time cost paid at deployment, it represents a noticeable initial delay.
  • Static vs. Dynamic Workflows: The primary implementation focuses on static workflows where the orchestrator knows the target agents in advance. While the authors outline a dynamic workflow solution using One-Time Signatures (OTS), its full empirical evaluation is left for future work.
  • Forward Security Formalization: While the protocol inherently supports forward security for A-sessions, fully integrating and proving this property within the formal UC security model remains an open objective.

Summary updated

Abstract

Our computing ecosystem is being transformed by two emerging paradigms: the increased deployment of agentic AI systems and advancements in quantum computing. With respect to agentic AI systems, one of the most critical problems is creating secure governing architectures that ensure agents follow their owners' communication and interaction policies and can be held accountable for the messages they exchange with other agents. With respect to quantum computing, existing systems must be retrofitted and new cryptographic mechanisms must be designed to ensure long-term security and quantum resistance. In fact, NIST recommends that standard public-key cryptographic algorithms, including RSA, Diffie-Hellman (DH), and elliptic-curve constructions (ECC), be deprecated starting in 2030 and disallowed after 2035. In this paper, we present MAGIQ, a framework for policy definition and enforcement in multi-agent AI systems using novel, highly efficient, quantum-resistant cryptographic protocols with proven security guarantees. MAGIQ (i) allows users to define rich communication and access-control policy budgets for agent-to-agent sessions and tasks, including global budgets for one-to-many agent sessions; (ii) enforces such policies using post-quantum cryptographic primitives; (iii) supports session-based enforcement of policies for agent-to-agent and one-to-many agent sessions; and (iv) provides accountability of agents to their users through message attribution. We formally model and prove the correctness and security of the system using the Universal Composability (UC) framework. We evaluate the computation and communication overhead of our framework and compare it with the state-of-the-art agentic AI framework SAGA. MAGIQ is a first step toward post-quantum-secure solutions for agentic AI systems.
BibTeX
@misc{avizheh2026magiq,
  author = {Sepideh Avizheh and Tushin Mallick and Alina Oprea and Cristina Nita-Rotaru and Reihaneh Safavi-Naini},
  title = {{MAGIQ: A Post-Quantum Multi-Agentic AI Governance System with Provable Security}},
  year = {2026},
  eprint = {2605.06933},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.06933},
}
Figure