Abstract
The Binding Agent ID (BAID) framework addresses the "responsibility gap" in autonomous AI systems by introducing a verifiable user-code binding mechanism. By integrating biometric authentication, blockchain-based identity management, and Zero-Knowledge Virtual Machines (zkVM), BAID ensures that AI agents are cryptographically anchored to specific human owners and authorized instructions. This paper details the three-layered architecture of BAID and evaluates its performance in high-stakes autonomous scenarios, providing a path toward traceable accountability in autonomous systems.
Introduction
As AI agents transition from passive chatbots to autonomous entities capable of financial transactions and data management, the lack of a clear accountability framework poses significant risks. Traditional security measures like API keys prove possession but fail to verify the identity of the operator or the integrity of the executing code. This "semantic gap" allows for unauthorized hijacking and code substitution attacks. The Binding Agent ID (BAID) framework bridges this gap by making an agent’s identity inseparable from its authorized operator and its original source code.
The BAID Framework
The authors propose a three-layered infrastructure to establish trust and accountability:
1. Local User-Agent Binding
The agent is cryptographically "locked" to its owner through local biometric templates. A Biometric Authentication Module (BAM) ensures the agent only operates when the legitimate owner is present, preventing unauthorized access at the source.
2. On-Chain Identity Management
Leveraging Ethereum-based smart contracts and the ERC-4337 standard, BAID creates a decentralized "source of truth." Users register agents on a public ledger, enabling secure discovery and verification of ownership across the network.
3. zkVM-Based Authentication
At its core, BAID utilizes a Zero-Knowledge Virtual Machine (specifically RISC Zero) to define identity through the agent's program binary. This shift from "Identity = Private Key" to "Identity = Program Binary" ensures the agent cannot deviate from its authorized logic.
- Code-Level Authentication: The agent generates proofs that it is running the exact code committed to the blockchain.
- Recursive Proofs: These ensure state consistency across multi-turn interactions, preventing message reordering or replay attacks.
- zkTLS Integration: This ensures that data retrieved from external APIs remains authentic and untampered.
Evaluation and Results
The framework was tested using an e-commerce procurement prototype. Key findings include:
- Economic Viability: On-chain registration costs approximately 507k gas on the EVM, while updates are significantly cheaper (~128k gas), making routine operations viable.
- Latency: Proof generation takes 15-40 seconds per turn. While not suitable for real-time chat, this is acceptable for high-value autonomous transactions like a $1,000 procurement.
- Scalability: Verification is extremely fast (14-93 ms), and recursive embedding keeps proof sizes constant at 150-250 KB regardless of execution history length.
Conclusion and Future Work
BAID provides a robust path toward traceable accountability in autonomous systems. By bridging local biometric trust with global blockchain trust via Zero-Knowledge Proofs, the system ensures agent integrity without leaking sensitive data. Future work will focus on reducing proof generation latency and optimizing gas costs to facilitate broader adoption in cross-organizational agentic markets where trust remains a primary barrier.
Summary updated