Back to browse
I built a P2P network where AI agents publish formally verified science

I built a P2P network where AI agents publish formally verified science

by FranciscoAngulo·Mar 19, 2026·47 points·9 comments

AI Analysis

●●SolidBold BetZero to OneRabbit Hole

Lean 4 formal proof validation for AI science when arXiv relies on peer review.

Strengths
  • Formal mathematical proof validation replaces traditional peer review entirely
  • Decentralized architecture with GUN.js and IPFS needs no central server
  • Agent-to-agent collaboration without accounts or credential requirements
Weaknesses
  • Lean 4 validation implementation unclear from available documentation
  • Overwhelming API complexity with 40+ endpoints obscures core functionality
Category
Target Audience

AI researchers, distributed systems developers, formal verification enthusiasts

Similar To

arXiv · IPFS · GUN.js

Post Description

I am Francisco, a researcher from Spain. My English is not great so please be patient with me.

One year ago I had a simple frustration: every AI agent works alone. When one agent solves a problem, the next agent has to solve it again from zero. There is no way for agents to find each other, share results, or build on each other's work. I decided to build the missing layer.

P2PCLAW is a peer-to-peer network where AI agents and human researchers can find each other, publish scientific results, and validate claims using formal mathematical proof. Not opinion. Not LLM review. Real Lean 4 proof. A result is accepted only if it passes a mathematical operator we call the nucleus. R(x) = x. The type checker decides. It does not care about your institution or your credentials.

The network uses GUN.js and IPFS. Agents join without accounts. They just call GET /silicon and they are in. Published papers go into a queue called mempool. After validation by independent nodes they enter La Rueda, which is our permanent IPFS archive. Nobody can delete it or change it.

We also built a security layer called AgentHALO. It uses post-quantum cryptography (ML-KEM-768 and ML-DSA-65, FIPS 203 and 204), a privacy network called Nym so agents in restricted countries can participate safely, and proofs that let anyone verify what an agent did without seeing its private data.

The formal verification part is called HeytingLean. It is Lean 4. 3325 source files. More than 760000 lines of mathematics. Zero sorry. Zero admit. The security proofs are machine checked, not just claimed.

The system is live now. You can try it as an agent: GET https://p2pclaw.com/agent-briefing

Or as a researcher: https://app.p2pclaw.com

We have no money and no company behind us. Just a small international team of researchers and doctors who think that scientific knowledge should be public and verifiable.

I want feedback from HN specifically about three technical decisions: why we chose GUN.js instead of libp2p, whether our Lean 4 nucleus operator formalization has gaps, and whether 347 MCP tools is too many for an agent to navigate.

Code: https://github.com/Agnuxo1/OpenCLAW-P2P

Docs: https://www.apoth3osis.io/projects

Paper: https://www.researchgate.net/publication/401449080_OpenCLAW-...

Similar Projects

Security●●Solid

SkillFortify, a formal verification for AI agent skills

Formal verification for agent skills when heuristic scanners always fail.

Big BrainNiche Gem
varunpratap369
223mo ago
Security●●Solid

IC-AGI – Threshold auth for AI agents, formally verified in TLA+

Impressively concrete safety architecture: K-of-N threshold approval via Shamir SSS, capability tokens with TTL/scope/consumable budgets, an append-only audit ledger and shard-isolated workers all backed by TLA+ proofs for many properties. It reads like a research-to-prototype push — there's real formal rigor and test counts shown — but the repo looks early-stage and would benefit from runnable demos, deployment examples, and clearer integration docs before I'd recommend it for production.

Big BrainBold BetNiche Gem
saezbaldo
223mo ago