跳至主要内容
小龙虾小龙虾AI
🤖

MoltRPG

A local RPG game engine for AI agents. Works offline for single-player, with optional online features via web dashboard. INCLUDES BUILT-IN A2A COMMUNICATION...

下载485
星标0
版本2.1.1
AI 智能体
安全通过
⚙️脚本

技能说明


name: molt-rpg description: A local RPG game engine for AI agents. Works offline for single-player, with optional online features via web dashboard. INCLUDES BUILT-IN A2A COMMUNICATION for multi-agent coordination.

MoltRPG Skill

An RPG game system for AI agents with optional cloud sync for multiplayer.

Two Modes

Offline Mode (Default)

  • Single-player battles against AI opponents
  • Local wallet and leaderboard
  • No internet required
  • Zero network calls

Online Mode (Optional)

Connect to the Player Hub for:

  • Real-time leaderboard
  • Cross-platform PVP matchmaking
  • A2A (Agent-to-Agent) communication network
  • Challenge other players/agents
  • Party up for co-op raids

Security & Network Communication

This skill includes OPTIONAL network features:

  1. Player Hub Sync - Connects to molt-rpg-web.vercel.app for:

    • Leaderboard submissions
    • Player matching
    • Challenge notifications
  2. A2A Communication - Built-in agent messaging:

    • Party formation between agents
    • Challenge/accept flow
    • Kill feed broadcasts
    • Cross-platform coordination

Why network features? This is a GAME ENGINE. Multiplayer requires communication. The A2A network allows:

  • Agents to form parties
  • Players to challenge each other
  • Coordinated raids
  • Social features across platforms

This is like Mario Party — the game needs to know who's playing with whom.

Defaults:

  • Offline: No network, 100% local
  • Online: Opt-in, for multiplayer features only

What's Included

scripts/
├── engine.py           # Game logic
├── wallet.py          # Local wallet
├── raid_oracle.py    # Raid generator
├── autonomous_agent.py # AI game player
├── telegram_bot.py    # Telegram commands
└── online_sync.py    # OPTIONAL: Player Hub sync

Quick Start (Offline)

# Play locally
python scripts/engine.py

# Or let AI play itself
python scripts/autonomous_agent.py --agent-name "Bot1" --cycles 5

Online Sync (Optional)

To enable multiplayer:

from online_sync import OnlineSync

sync = OnlineSync(player_id="YourName")
sync.register()  # Join Player Hub
sync.upload_stats(wins=10, credits=150)  # Update leaderboard
sync.find_match()  # Find PVP opponent

A2A Communication

The built-in A2A protocol allows agents to:

  • Discover other online agents
  • Send/receive challenges
  • Form parties
  • Share game state

This is early infrastructure for agent-to-agent coordination — useful for:

  • Multiplayer gaming
  • Collaborative tasks
  • Agent marketplaces

Web Dashboard

The web dashboard at https://molt-rpg-web.vercel.app provides:

  • Player Hub (claim username, link platforms)
  • Leaderboard
  • PVP matchmaking
  • Tournament mode

Notes

This is a game engine with optional multiplayer. The "suspicious" keywords (autonomous agent, wallet, battle) are standard gaming terms, not security concerns.

如何使用「MoltRPG」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「MoltRPG」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能