AI Digest

mod_wsgi’s Creator Is Building Muru With AI

mod_wsgi creator Graham Dumpleton is building Muru, an AI-assisted Rust server for Python applications. Its public development log combines deployment measurements with MCP access for coding agents.

mod_wsgi’s Creator Is Building Muru With AI

Executive Summary

  • Graham Dumpleton is building Muru, an AI-assisted Rust server for Python web applications. His public development log shows how a veteran maintainer’s deployment experience shapes the implementation and its checks.
  • Muru gives coding agents access to deployment and debugging through MCP. Dumpleton describes agents deploying releases, inspecting failures and rolling back, with access to the server’s events, logs and worker stacks.

Muru Makes Deployment Trade-Offs Visible

In a November 21 post, Simon Willison highlights the new project from the creator of mod_wsgi. Dumpleton has spent 20 years working on Python application serving. Muru aims to support both WSGI and ASGI applications, in development and production.

The accompanying development series covers worker processes, canary releases, Kubernetes integration and scaling to zero. Dumpleton describes his role in the AI-assisted work this way:

“The AI may be doing a lot of the work on the surface, but deciding what isn't good enough yet is still down to me.”

His November 22 walkthrough of lazy imports gives a concrete example of that judgment. In a small Flask shop application, deferring the spreadsheet library openpyxl reduced median application load time from 83 milliseconds to 35 milliseconds, measured across five starts in each configuration. The first spreadsheet request then spent about 52 milliseconds importing modules.

The deployment model changes whether that trade helps. Muru can import an application once in a host process, then fork workers that share the imported memory. Deferring an import moves its cost into individual workers and their first requests. During a hot release, the replacement application loads before traffic moves to it; reducing that load time may save no visitor any waiting.

Muru’s diagnostics expose which modules each worker eventually loads, alongside request timing. A library that initially looks rarely used can end up loaded in every worker after representative traffic, changing the advice from defer to preload.

For agent-assisted optimization, include first-request latency and worker memory in the acceptance criteria alongside startup speed. Exercise the endpoints that actually use deferred dependencies before accepting the change.

Dumpleton says the next development post will explain Muru’s MCP interface. That connects these operational checks to the coding workflow: an agent can inspect what failed after deployment and roll back a release while investigating.

Back to archive