Vitalik Buterin Builds AI Privacy Mode Using Tor and zkAPI

Ethereum co-founder Vitalik Buterin has developed a privacy-focused configuration for AI agents that attempts to prevent external model providers from connecting a user's payment activity, network identity and conversations.
- Buterin combines zkAPI, Tor and local AI models to protect agent privacy.
- Separate privacy layers conceal payments, network activity and prompt details.
- Timing attacks and increased latency remain significant challenges.
- Cheaper zkAPI deposits and withdrawals are coming to Ethereum mainnet.
In an October 16 post on X, Buterin described integrating zkAPI, Tor, randomized cover traffic and local language-model rewriting into an OpenAI-compatible daemon. The software operates around his pi agent harness, allowing it to use external AI models while applying additional privacy controls.
Wrapped zkAPI + Tor + extra cover traffic + local LLM prompt rewriting in an open-AI compatible daemon, and made a “paranoid mode” wrapper for my agent harness (pi):
Each conversation gets assigned a separate Tor circuit, your requests are masked with random cover traffic, zkAPI ensures you don’t leak your identity through payments, and all prompts are locally rewritten (bring-your-own-local-model; I’m using qwen3.8-flash-next)
https://t.co/MepCFCrLv1
My agent harness is wrapped with a bwrap sandbox (also experimenting with MicroVM) and wrapped again with torsocks, so everything it does goes through Tor.
Here’s what me asking it to do a simple research task looks like.
It’s getting quite usable! Though you definitely still pay quite a bit in increased latency, especially when starting a new conversation.
Also, Tor is far from optimal here for privacy; the cover traffic mechanism is okay against passive adversaries but much weaker if the LLM provider is colluding with the guard and actively manipulating timing. This kind of task really requires a more specialized mixnet, probably take the tradeoff of a higher bandwidth multiplier and built-in constant cover traffic.
Also also, much cheaper zkAPI deposit and withdraw gas costs are coming to mainnet soon.
— vitalik.eth (@VitalikButerin) October 16, 2026
The project addresses a weakness in conventional AI services: removing identifying payment information does not prevent providers from recognizing users through their IP addresses, conversation histories or distinctive communication patterns.
Buterin’s implementation tackles those exposures separately. It also introduces considerable latency and remains vulnerable to more sophisticated traffic analysis, limitations he acknowledged in the demonstration.
Why Buterin’s AI Agent Needs Several Privacy Layers
The configuration combines existing technologies rather than introducing an entirely new cryptographic protocol.
Its payment component, zkAPI, was introduced on October 1 by the Ethereum Foundation and the Open Anonymity Project. Buterin’s latest work adds network anonymity, local prompt processing and agent isolation around that infrastructure.
Each conversation receives a separate Tor circuit, while additional network traffic is generated to make genuine requests harder to identify. Before prompts reach an external model, they are rewritten locally using a Qwen model that Buterin identified as qwen3.8-flash-next.
The agent also runs inside a bwrap sandbox, with torsocks used to route supported network connections through Tor. Buterin is experimenting with MicroVM isolation as an additional security measure.
These protections serve different purposes. Tor attempts to conceal network origins, local rewriting reduces sensitive information sent to external providers, and sandboxing restricts the agent’s operating environment.
The architecture below illustrates the separation between these functions and the payment system.
Vitalik Buterin, October 16, 2026;
Ethereum Foundation;
GitHub repository.
Conceptual illustration, not a verified deployment diagram.
How zkAPI Separates Payments From AI Requests
The Ethereum Foundation’s technical announcement explains that zkAPI allows users to fund metered API access through an Ethereum smart contract without associating each request with a conventional billing identity.
Users deposit funds into a vault, receiving a private note representing their spending rights. When requesting API access, software generates a zero-knowledge proof demonstrating that the balance can cover the authorized spending.
The proof does not disclose which original deposit funded the request.
Cryptographic commitments are stored in a Merkle tree, allowing the system to verify that a note belongs to the set of valid balances.
Nullifiers prevent the same funds from being spent twice.
Importantly, zkAPI supports two operating arrangements.
In runtime-key mode, the payment server verifies authorization and issues a short-lived API credential with a spending limit. The client communicates directly with the inference provider, which processes requests and records usage. The payment server subsequently settles the session without receiving the prompts.
In proxy mode, the intermediary forwards requests to the AI provider. This simplifies integration but exposes the request contents to the relay.
The distinction matters because payment privacy does not automatically provide conversation privacy. Even when the funding source is concealed, an external model can still recognize personal details, writing patterns or recurring project information.
Why Tor’s Protection Breaks Down Against Timing Analysis
Buterin’s network configuration assigns separate Tor circuits to individual conversations and introduces randomized cover traffic.
This makes straightforward monitoring more difficult, but it does not eliminate traffic correlation.
A Tor circuit routes communications through multiple relays. The first relay, known as the guard, can observe traffic entering the network without necessarily knowing its ultimate destination.
Buterin highlighted a scenario involving cooperation between that guard and an external AI provider.
If the provider deliberately delays responses according to a recognizable pattern, an observer at the entry side could attempt to identify corresponding traffic fluctuations. The messages could remain encrypted while their timing reveals a relationship between two endpoints.
Random cover traffic complicates the analysis, but may not conceal a sufficiently distinctive pattern.
Buterin suggested that a specialized mixnet could offer stronger protection by introducing deliberate delays, mixing messages from multiple users and maintaining persistent background traffic.
That design would consume additional bandwidth and potentially slow down interactions further. No completed mixnet implementation was announced in his post.
The Public Code Adds Important Security Context
Buterin has published his work through a public GitHub repository, forked from the Ethereum Foundation’s zkAPI project.
The repository describes the protocol as experimental and documents its cryptographic components, including Groth16 proofs over BN254, Poseidon hashing, note-bound commitments and a 32-level Merkle tree.
It also identifies a single-party trusted setup as an assumption of the active proving system. This is relevant because the security of zero-knowledge systems depends not only on mathematical constructions but also on how proving parameters are generated and managed.
The repository includes local acceptance tests for funding, authorization, settlement and withdrawals. However, the documented tests use mocked inference-provider components, so they do not establish the anonymity of the complete Tor-based agent configuration.
The code provides a basis for independent review, but the public documentation should not be interpreted as evidence of a comprehensive security audit of Buterin’s personal setup.
Privacy Protection Introduces Latency and Context Trade-Offs
Buterin said his configuration was becoming usable for simple research tasks, although the start of a new conversation remained noticeably slower.
Several components may contribute to the delay, including establishing Tor circuits, generating payment authorization and processing prompts through a local language model.
He identified qwen3.8-flash-next as his local rewriting model, but did not provide a benchmark for that specific configuration. A reported 20–30 tokens-per-second figure from an earlier experiment should not be presented as a measured result for the October 16 setup.
Local rewriting also creates an accuracy problem.
An AI assistant researching a specific company may need the company’s jurisdiction, business model and regulatory status. Removing too much information could prevent the external model from producing a useful answer.
Conversely, retaining identifying details could allow the provider to associate otherwise separate conversations.
The Ethereum Foundation acknowledges this trade-off in its zkAPI documentation, noting that repeated writing styles, conversation histories and project documents can act as fingerprints.
Buterin’s implementation attempts to reduce these risks, but the demonstration does not establish how effectively the rewriting model preserves task accuracy while removing identifying information.
Lower Ethereum Gas Costs Could Improve Accessibility
Buterin also announced that cheaper zkAPI deposits and withdrawals are expected on Ethereum mainnet.
The improvement concerns the blockchain transactions used to fund and recover private balances, not the cost of individual AI inference requests.
That distinction is important because zkAPI already separates on-chain funding from routine API usage. Users can authorize multiple requests through a funded session without submitting an Ethereum transaction for every prompt.
Lower deposit and withdrawal fees would particularly benefit users maintaining smaller balances, for whom fixed blockchain costs represent a larger proportion of their spending.
The Ethereum Foundation confirmed that zkAPI was already operating on mainnet when it introduced the protocol on October 1. Buterin has not provided a deployment date or estimated gas reduction for the forthcoming changes.
His experiment offers developers a practical starting point for privacy-focused AI agents, with separate protections for payment identity, network activity and conversation content.
The next technical test is whether stronger traffic protection can be introduced without making everyday AI tasks prohibitively slow.
The information presented in this article is intended for informational purposes only and should not be interpreted as financial, investment, or trading advice. Coinspress.com does not promote or advocate for any particular investment strategy, asset, or cryptocurrency project. Cryptocurrency markets are highly volatile and unpredictable – always perform your own research and seek guidance from a qualified financial professional before making any investment decisions.










