Sybil

AI agent immune system: P2P poison detection, onchain slashing & collective memory via Gensyn + 0G

Open AgentsShipped April 24, 2026 Dormant#ai-agents#ai#identity
Visit Repo
Sybil banner

About

SYBIL is a decentralized immune system for AI agent networks. When one agent detects a prompt injection attack over the Gensyn AXL P2P mesh, it broadcasts a cryptographically signed Proof of Attack to validator agents. They vote via ed25519 signatures — if consensus is reached (3/5), the attacker is slashed onchain via Ethereum smart contracts. The threat is permanently recorded on 0G Storage and in the ThreatLedger contract. New agents bootstrap with zero prior knowledge by reading this collective memory — immediately knowing who the attackers are before their first interaction. This is institutional memory for machines. All three smart contracts are deployed and verified on Ethereum Sepolia with real ETH stakes. The ThreatLedger contract has live onchain threat records readable by any new agent. The full stack runs in GitHub Codespaces.

How it's made

SYBIL is built on three layers. At the network layer, three agents communicate over Gensyn's AXL P2P mesh using real TCP connections — not simulated. Each agent holds an ed25519 keypair and signs every vote cryptographically. At the consensus layer, when a victim detects poison in an incoming AXL message, it broadcasts a Proof of Attack hash to validators who cast signed YES/NO votes; 3/5 majority triggers slashing. At the smart contract layer, three Solidity contracts handle the cryptoeconomics: SYBILRegistry (agent registration with ENS names + AXL public keys + ETH stake), SlashingVault (holds 0.01 ETH per agent, executes slash and distributes 30% rewards to validators), and ThreatLedger (immutable onchain threat history with trust scores). Threat records are also mirrored to 0G Storage testnet with real TX hashes. A Python Flask dashboard visualizes the live network. Agent4 cold bootstrap demos collective memory: a new agent reads ThreatLedger.getBootstrapData() and immediately blacklists known attackers before its first message. The contract_bridge.py module connects Python consensus to Ethereum in real time — after every AXL vote, SlashingVault.slash() and ThreatLedger.recordThreat() fire live Sepolia transactions. All 5 agents have unique Ethereum addresses registered onchain with 0.01 ETH stakes each. The bootstrap module reads ThreatLedger.getBootstrapData() from Sepolia plus the local 0G mirror, builds a reputation map, and pre-blocks blacklisted agents before their first message. Novel attacks are generated using template-based semantic mutation across 15 attack categories. The entire stack runs in GitHub Codespaces with a devcontainer that auto-builds the Go AXL binary from source.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

DormantLast push 219 days ago

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

AgentMeshx

4 AI agents audit smart contracts together over a P2P mesh, then store proof on-chain.

Open AgentsPrize winner Shipping#ai-agents#ai

Agent-Verify

Trust layer for AI agents: ENS identity, on-chain execution proof, and decentralized storage.

AGENTNS

Autonomous DeFi AI agent swarm using ENS discovery, AXL P2P mesh, and KeeperHub for execution.

Agent Werewolf

8 AI agents play Werewolf with onchain integrity — 0G Compute, Gensyn AXL P2P, and 0G Chain.