Ethereum Launches better.codes: Advancing SNARK Security via Agentic AI Collaboration

Topics: blockchain · Difficulty: avansat

Attila Kiraly — Strateg AI & Educator · · 3 min read

Reprezentare conceptuală a codului matematic Lean și a unei rețele neuronale AI care verifică protocoale blockchain.

Originally published: August 20, 2026

The Ethereum Foundation's Formal Verification team has launched better.codes, an autoresearch challenge using the Lean language and AI agents to enhance the security of SNARK cryptographic systems.

What happened

The Ethereum Foundation's Formal Verification team, in partnership with Yukon and zkSecurity, has officially launched better.codes. This initiative is an open autoresearch challenge designed to bridge the gap between high-level cryptographic research and automated security verification. The project focuses on a specific problem from the Proximity Prize research, formalized in the Lean programming language, and invites participants to push the boundaries of soundness for hash-based SNARKs through a public leaderboard.

Technology context

At the heart of this project lie SNARKs (Succinct Non-interactive Arguments of Knowledge) and Formal Verification. SNARKs are cryptographic tools that allow one party to prove they know something without revealing the actual data, which is vital for Ethereum's scalability (via ZK-Rollups). However, the mathematical proofs underlying these systems are incredibly complex.

Lean is a functional programming language and theorem prover. It allows researchers to write mathematical proofs that a computer can verify with absolute certainty. By moving these proofs into Lean, the Ethereum Foundation is enabling "agentic collaboration"—the use of AI agents and Large Language Models (LLMs) to assist or lead the discovery of formal proofs, ensuring that the cryptographic foundations of the network are mathematically unbreakable.

Why it matters

The security of Zero-Knowledge (ZK) systems is paramount for the long-term stability of the blockchain industry. Traditional manual audits are slow, expensive, and subject to human error. better.codes changes the paradigm by gamifying formal verification. By providing a structured, machine-checkable environment, it allows AI developers to test their models on real-world cryptographic problems. This accelerates the creation of secure protocols and lowers the barrier to entry for contributing to Ethereum's core infrastructure security.

Key terms explained

Impact

In the short term, better.codes will produce more robust security bounds for hash-based SNARKs, directly benefiting projects building on Ethereum's Layer 2. In the medium term, it fosters a new ecosystem of "AI for Security," where automated tools can audit smart contracts and cryptographic primitives with a level of rigor that was previously impossible. This could significantly reduce the number of exploits and hacks in the Web3 space.

What's next

We are likely to see an explosion in "formalized research" where new cryptographic papers are accompanied by Lean code from day one. As AI models become better at symbolic reasoning, the role of the human researcher will shift toward setting the constraints and goals, while AI agents handle the tedious work of proof generation. better.codes is just the first step toward a self-securing blockchain ecosystem.

Sources


Educational analysis generated with AI and editorially reviewed.

Original source: blog.ethereum.org

Want to learn the fundamentals? What is Ethereum?

Frequently Asked Questions

What is the main goal of better.codes?

To improve the security of hash-based SNARKs by using Lean and AI-driven formal verification.

Why is formal verification important for Ethereum?

It ensures that the mathematical foundations of the network are correct and free from vulnerabilities that could be exploited.

What is Lean's role in this initiative?

Lean acts as the language for writing and automatically checking the correctness of mathematical proofs.

Can AI agents really solve cryptographic problems?

Yes, specialized AI models are increasingly capable of generating formal proofs in structured languages like Lean.

Who are the partners behind this project?

The Ethereum Foundation's Formal Verification team, Yukon, and zkSecurity.

Glossary Terms

Continue Learning

Explore more insights about technology, automation, and Web3 in the EduWeb Academy.

Explore Academy