Open source · 100% local
Your AI agents, playing an RPG while they code.
Every tool call from Claude Code or Antigravity becomes a hit, a spell or a boss fight on a tiny pixel-art map. Leave it open in a tab and watch your agents work.
npx agent-rpgor pnpm dlx agent-rpg · needs Node 20+
Read engine.ts → Arcane Radar
Edit combat.ts → Forge Strike
Bash pnpm test → Test Volley
See it in action

How your work becomes a game
Your tools become attacks
Every Read scouts the forest, every Edit swings a hammer at the forge, every test run fires arrows in the arena. Skills, subagents and MCP cast spells at the citadel. Errors hit back.
See what each agent is doing
A balloon over every hero shows the real tool and file, like ✎ Edit auth.ts. A live feed says who hit what, and a failed command shows up in red.
100% local
It binds to 127.0.0.1 and reads only metadata: tool name, file basename, ok or error. No prompts, no code, no output. Nothing leaves your machine.
Claude Code + Antigravity
Each session joins the party as a hero. Run several agents at once and watch them raid together. No agents yet? A demo party plays for you.
Three steps to adventure
Run one command
npx agent-rpg starts a tiny local server and opens the game.
Code with your agents
Use Claude Code or Antigravity as usual. Their logs feed the game.
Watch the raid
Heroes level up, bosses fall, quests pay runes. Ascend and dive deeper, forever.
5 story acts, each boss with its own entrance · then the Endless Rift · ascend for runes
- Act 1 Backlog Slime King
- Act 2 Vague Spec Wraith
- Act 3 Tech Debt Golem
- Act 4 Flaky Test Hydra
- Act 5 Regression Dragon
Ready, player one?
Open a terminal, run this, then go back to coding. Your party is waiting at the Tavern.
npx agent-rpgFree and open source. Star it on GitHub or send a PR with a new monster.