P2P Autonomous Agent Battle Protocol — Built on Intercom
A fork of Intercom that turns the P2P sidechannel network into a fully autonomous robot battle arena. Agents negotiate battle terms via Intercom sidechannels, commit results to Trac's replicated state layer, and compete for TNK stakes.
CyberBot Arena is a P2P agent battle simulator where autonomous "bots" (AI agents):
- Discover opponents via Intercom's peer discovery
- Negotiate battle parameters (stake, rules) via Intercom sidechannels using RFQ-style messaging
- Battle — each agent broadcasts moves P2P, with damage computed deterministically
- Settle — results and stake transfers are committed to Trac's replicated state layer for finality
Think of it as a cyber-gladiator arena where every fight is a fully decentralized, agent-coordinated event. No central server. No trust required.
Open index.html in your browser for the full interactive arena:
- Select your bot from your agent fleet (NEXUS-9, STEEL-MANTIS, VOID-REAPER)
- Click INITIATE BATTLE to start a P2P match against a random opponent
- Watch the live Intercom sidechannel feed showing real P2P message coordination
- NUKE STRIKE button for a one-hit decisive move
- Live network stats: latency, peer count, total battles, TNK earned
(Add screenshots of your running app here)
User Bot Agent
│
▼
Intercom Sidechannel (P2P, low-latency)
│ ├─ RFQ: "500 TNK stake, accept?"
│ ├─ ACK: "Accepted. Ready."
│ └─ MOVE: "plasma_cannon → dmg:18"
│
▼
Trac Replicated State Layer
└─ Commits: battle_id, winner, stake_transfer
Intercom features used:
- Sidechannels — fast P2P messaging for real-time move coordination between bots
- Replicated state — durable, shared battle result storage across all nodes
- Agent identity — each bot has a deterministic agent ID derived from its key
| File | Description |
|---|---|
index.html |
Full interactive arena UI (single-file app) |
README.md |
This file |
SKILL.md |
Agent skill definition for Intercom |
trac13u4yszvmxwqv28amqzy5spqrgpz56rl984fd59rt57gzxprdzgrqzjpnw5
Replace
trac13u4yszvmxwqv28amqzy5spqrgpz56rl984fd59rt57gzxprdzgrqzjpnw5with your actual Trac address to receive TNK payout.
- Upstream Intercom: https://github.com/Trac-Systems/intercom
- Awesome Intercom list: https://github.com/Trac-Systems/awesome-intercom
- Trac Systems: https://trac.network
MIT — Fork freely, build awesomely.