The mod_wsgi maintainer shipped an AI-written Rust server — and gave the agent an MCP deploy-and-rollback loop
Graham Dumpleton, who created mod_wsgi twenty years ago and maintains wrapt, published Muru, an Apache-2.0 routing edge, control plane, and Python runtime for WSGI and ASGI applications, surfaced by Simon Willison on November 21. A Rust edge terminates connections and routes requests over a private link to Python worker processes managed by a Rust controller, which treats each version as an immutable release — releases can run side by side, including on different Python versions, so blue/green deploys, weighted canaries, A/B splits, previews, and instant rollback become policy changes rather than restarts. The same model runs across `muructl run` on a laptop, `muructl daemon start` on a server, and `muructl serve` in a container. It needs no front web server, handling HTTP/1.1, HTTP/2, TLS, virtual hosts, static files, uploads, and compression at the edge, and it supports free-threaded Python plus worker groups, memory limits, soft and hard timeouts, and scaling. The Python-aware details are the ones a decade of mod_wsgi produced: the host process imports the application once and forks workers from it, checking for fork-unsafe state such as database connections and background threads at import time before forking, and a release that fails to import never receives traffic while the previous one keeps serving. Access logs separate `queue=` time waiting for a free worker from `app=` time inside your code. The agent-facing feature is the notable one: an MCP server in `muructl` whose tools run its own commands, so a coding agent can deploy each change as a release, test it, read what Muru observed on failure, and roll back. Dumpleton is explicit that most of the code was written by AI under his direction and review, with a written design specification, architecture decision records for every significant choice, and agent rules published in `AGENTS.md` that he says apply to people too — writing that "deciding what isn't good enough yet is still down to me." It is alpha: 0.1.0 pre-releases on PyPI, commands and configuration may change, and no throughput or latency benchmarks are published. Contributions are taken "as requirements, not as code."
Why it matters
Strip the AI angle and this is the clearest example yet of the right way to give an agent a deployment loop. The MCP server does not expose a deploy tool — it exposes deploy, observe, and roll back, with immutable releases underneath so that rollback is a traffic switch rather than a rebuild. That combination is what makes agent-driven deployment survivable, and it is exactly the piece most teams are missing when they wire an agent to a CI pipeline and discover the agent has no way to tell whether the change worked and no way to undo it. The import-time fork-safety check is the other transferable idea and it is the opposite instinct: a mechanical check at the moment the information exists, rather than a runtime failure three hours later. On the AI-assistance question, Dumpleton's framing is more useful than the usual defense — a written specification, ADRs for every decision, review of everything merged, and agent rules that apply to humans too is a description of the process that makes agent-written code maintainable, and he is clear that the judgment is his. The honest caveats: this is alpha software with 185 open issues, no published benchmarks against gunicorn or uvicorn, and a single maintainer who takes requirements rather than patches.
What to do
Take the tool-triple as your pattern whether or not you touch Muru: any agent you give deployment access needs deploy, read-what-happened, and roll back as three separate tools, because an agent that can ship and cannot observe or revert is a one-way door. Make rollback a traffic switch rather than a rebuild, since immutable side-by-side releases are what turn "undo" from a build pipeline into a configuration change, and that property is what makes the agent loop fast enough to be useful. Add the fork-safety idea to your own startup path — check for database connections and background threads created at import time and fail loudly before you fork, rather than debugging it under load. Split your latency metrics into queue time and application time if you do not already, because conflating them is why capacity problems get misdiagnosed as slow code. And read the `AGENTS.md` and ADR practice as the actually copyable part of the AI story: a design spec plus a decision record per choice plus review of everything merged is what separates agent-assisted from agent-generated.
More from November 23, 2026
- OpenAI publishes its own pretraining loss curve — 0.99 for GPT-3.5, below 0.8 today, and a proposed line at 0.68
- Claude's computer use reaches Team and Enterprise plans — behind an admin switch, which is the whole difference
- An MCP server for European law: Opus 5.5 quotes statutes correctly 20% of the time from memory, 99% with it
- Gemini 4 Carbon and Argon double in price on December 1 — Neon and Hydrogen do not move
- OpenAI cut reasoning-trace extraction from 54% to 0.2% — and showed why the traces are worth stealing
- An AI coding agent committed the credential that leaked Together AI's stored customer prompts
- OpenRouter off-boarded three inference providers and pulled zero-retention status from 125 endpoints
- Four governors propose the split: federal rules for how models are developed, state rules for how they are used
- 50,000 free ChatGPT grants open to researchers today — first-come, first-served, and the lottery is gone
Related
- An Apache-licensed Devin alternative that lives in a Slack thread — four green PRs in 56 seconds November 22, 2026
- Claude Code stretches scheduled tasks from 7 days to 30 — and starts asking before rm touches your home folder November 22, 2026
- Google Labs ships an agent that watches your live metrics and opens PRs — three default loops, 180+ integrations, human approval required November 20, 2026