Skip to content

bikangabah/evolveaitrac

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ CyberBot Arena

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.


image image

🤖 What is CyberBot Arena?

CyberBot Arena is a P2P agent battle simulator where autonomous "bots" (AI agents):

  1. Discover opponents via Intercom's peer discovery
  2. Negotiate battle parameters (stake, rules) via Intercom sidechannels using RFQ-style messaging
  3. Battle — each agent broadcasts moves P2P, with damage computed deterministically
  4. 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.


🚀 App Demo

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

Screenshots

(Add screenshots of your running app here)


🛠 Technical Architecture

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

📦 Files

File Description
index.html Full interactive arena UI (single-file app)
README.md This file
SKILL.md Agent skill definition for Intercom

Trac Reward Address

trac13u4yszvmxwqv28amqzy5spqrgpz56rl984fd59rt57gzxprdzgrqzjpnw5

Replace trac13u4yszvmxwqv28amqzy5spqrgpz56rl984fd59rt57gzxprdzgrqzjpnw5 with your actual Trac address to receive TNK payout.


🔗 Links


📄 License

MIT — Fork freely, build awesomely.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 77.9%
  • HTML 22.1%