Graham Dumpleton launches AI-assisted Rust server Muru for Python applications
Two decades after introducing mod_wsgi, creator Graham Dumpleton has returned with a brand new production and development server designed for Python applications. Known as Muru, the project is an AI-assisted Rust server built to handle both ASGI and WSGI Python apps with modern production requirements in mind. Dumpleton has spent the last twenty years thinking deeply about the ideal way to serve Python web applications, and Muru represents the culmination of that extensive experience combined with contemporary tooling. In an unusual and transparent development process, Dumpleton has been publishing an extraordinarily detailed account of the project as he builds it. Over a rapid three-week span, he documented nearly every facet of Muru's architecture through a series of technical deep dives. These writings trace the server's evolution from a first look at its internals and worker structures to how it handles HTTPS during local development, manages imports, and unifies WSGI and ASGI handling under a single roof. The project relies heavily on artificial intelligence as part of its daily construction, a dynamic Dumpleton describes in a post titled AI as a lifestyle choice. While the AI assists with a significant portion of the surface-level coding, Dumpleton emphasizes that human judgment remains irreplaceable. Two decades of learning what went wrong with mod_wsgi provide the critical eye needed to evaluate whether the AI's output is genuinely production-ready, ensuring the final product meets strict reliability standards. Beyond basic application serving, Muru incorporates advanced operational features designed to integrate smoothly with modern infrastructure. The server supports zero-downtime releases without full server restarts, handles canary deployments without requiring a separate service mesh, and scales dynamically based on metrics reported directly by the workers. It also includes features for scaling down to zero, running scheduled overlays, handling container multi-tenancy, and working natively with Kubernetes rather than trying to circumvent it. Developer experience has also received careful attention, extending all the way into the browser interface. Muru features an interactive toolbar that appears on every served page, complete with tracing capabilities to help developers debug issues quickly. By pairing deep historical insight into Python application deployment with modern Rust performance and AI-accelerated iteration, Muru aims to redefine how developers build, test, and run their Python web services.