← all repositories
10cl/chatdev

A browser extension that turns prompt engineering into a 2D RPG town

ChatDev IDE wraps LLM orchestration in a game-world metaphor where you walk an avatar around to chat with NPC agents.

586 stars TypeScript AgentsCoding Assistants
chatdev
Velocity · 7d
+0.6
★ / day
Trend
steady
star history

What it does ChatDev IDE is a browser extension (Chrome/Edge) for building and running AI agents. It offers three modes: a 2D “AI Town” game where you control a character who approaches NPCs to trigger LLM conversations, a standard chat UI, and a Prompt IDE for wiring prompts and JavaScript into executable flows via YAML DAGs. It supports a wide range of models—GPT, Bing, Bard, Claude, Llama 2, Qianwen, and others—rather than locking you to OpenAI.

The interesting bit The project borrows the social-simulation setup from generative_agents_dev and turns agent orchestration into a spatial, almost theatrical experience: you literally walk up to an NPC to start a prompt chain. The Prompt IDE underneath uses a custom “promptflowx” format—YAML-defined DAGs with JavaScript glue—that visualizes execution node-by-node in real time.

Key highlights

  • Browser-native: installs from Chrome Web Store or Edge Add-ons, no server required
  • Prompt flow editor with YAML editing, autocomplete, dual-pane layout, and live DAG visualization
  • JavaScript scripting inside prompt nodes for custom logic and multi-NPC coordination
  • Export/import flows as JSON for sharing across devices
  • Game mode with customizable NPC roles, location triggers, and map design

Caveats

  • The README’s feature comparison table claims superiority over the unrelated OpenBMB ChatDev project on somewhat fuzzy axes like “Scalable” and “One-click Deployment” without substantiation
  • Documentation is sparse on how the game simulation state actually persists or how complex the JavaScript environment is

Verdict Worth a look if you prototype agent interactions and want a visceral, spatial way to demo them—especially for game-adjacent use cases. Skip it if you need a headless, production-grade orchestration layer; this is a browser extension with IDE conveniences, not a backend framework.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.