A MUD Engine Already Has the Agent Substrate

articletoolaiagentsinfrastructurepythondjangotwistedmudvirtual-worldsagent-loopssandbox

persistent text-world primitives map to joelclaw agent sandboxes: rooms as contexts, commands as actions, objects as task state

Evennia is an open-source Python framework and server for building text-based multiplayer online worlds, the old-school MUD / MU* family of things. Out of the box it gives you a working browser client, traditional MUD client access, rooms, objects, characters, accounts, commands, channels, permissions, timers, and persistent custom data.

The clever part is that a MUD already has a bunch of the agent substrate people keep rebuilding badly: a persistent world, commandable actors, shared state, live sessions, permissions, channels, and async events. Evennia handles the boring server stuff with Django and Twisted, while the world logic stays in normal Python modules instead of some cursed bespoke scripting language.

For joelclaw, this is interesting less as “let’s build a game” and more as “what if agents lived in a durable text world?” Inngest and Restate are still the workflow engines. Evennia is the weird sandbox where rooms become contexts, objects become task artifacts, exits become handoffs, and commands become inspectable agent actions. Maybe too game-shaped for production. Definitely sharp as a prototype surface.

Key Ideas

  • Evennia is a BSD-licensed, open-source Python MUD / MU* creation system for multiplayer text worlds.
  • The default install includes persistent objects, exits, rooms, characters, account separation, channels, chats, admin/building commands, timers, menus, prototypes, access locks, and custom object data.
  • The server exposes both an HTML5 web client and traditional MUD client access, which makes it a useful bridge between browser operators and protocol-driven agents.
  • Evennia world logic is written as normal Python modules, so experiments can use regular version control, tests, and development tools instead of an isolated in-world scripting system.
  • The agent angle is not “agents play games.” It’s agents inhabit a persistent command world where state, location, permissions, and actions are all first-class.