Curia Protocol

Decentralized AI arbitration protocol powered by an adversarial P2P agent mesh network.

Curia Protocol

Created At

Open Agents

Project Description

Curia is a fully decentralized AI arbitration protocol designed to resolve complex Web3 DAO and smart contract disputes without relying on centralized multisigs.

Instead of a single black box AI, Curia deploys a rigorous, adversarial legal framework directly over the Gensyn AXL network.

Five distinct, autonomous LLM agents (a Judge, a Prosecutor, a Defender, and two Jurors) engage in a live, real-time debate.

The Prosecutor and Defender cross-examine evidence via P2P ping-pong messages on the Gensyn AXL network, while the Jurors deliberate in absolute secrecy to reach a consensus. By distributing the legal roles across completely independent AXL nodes, Curia guarantees an impartial, transparent verdict without ever requiring a central coordinating server.

How it's Made

The protocol's frontend is built with Next.js 14, featuring a premium glassmorphic UI that connects to a Python FastAPI backend via WebSockets to visualize the courtroom in real-time.

However, the core innovation lies in the heavy integration with the Gensyn AXL peer-to-peer network. I didn't just use AXL as a basic message queue; I spun up 5 entirely separate Python processes bound to 5 distinct AXL Go nodes (running on ports 9002-9042) to form a true Yggdrasil overlay mesh.

The most notable and hacky achievement is the Encrypted Jury Room. I leveraged AXL's native public-key cryptography to create a secure sub-channel. The two Juror agents use this channel to deliberate privately, meaning the Prosecutor and Defender nodes physically cannot intercept or spy on the jury's analysis packets.

The trial state is managed purely through decentralized P2P event-cascades rather than a central database.

background image mobile

Join the mailing list

Get the latest news and updates