Durable Sessions vs Agentic Web Publishing: Which Framework?

// TL;DR

Choose Durable Sessions if you are building a real-time AI chat or agent product and need resilient streaming, multi-device continuity, and live user control over agents. Choose Agentic Web Publishing if you have an existing website and want to make its content and functionality accessible to AI agents and agent harnesses like Claude Desktop. These frameworks solve fundamentally different problems — one fixes broken delivery infrastructure, the other opens new distribution channels — and many teams will eventually need both.

// HOW DO THEY COMPARE?

DimensionChristensen Durable Sessions AI UX FrameworkRachel Lee's Agentic Web Publishing Framework
Best forTeams building AI chat/agent products with streaming UX that breaks under real-world conditions (disconnections, multi-device, stop buttons)Teams with existing websites or web apps that want to make content accessible inside AI agents and in-browser agent harnesses
Core problem solvedFragile real-time AI response delivery — streams die on disconnect, no multi-device sync, no live agent controlContent and functionality locked inside traditional web pages — invisible to AI agents and agent-mediated workflows
ComplexityHigh — requires rearchitecting streaming infrastructure, replacing SSE with bidirectional transport, adding a session persistence layerMedium — maps existing site navigation to MCP tools, builds single-file MCP Apps, adds Web MCP attributes to HTML pages
Time to applyWeeks to months — significant backend infrastructure change, especially for teams migrating from SSE-based stacksDays to weeks — incremental; you can ship one MCP tool at a time without touching the existing site
PrerequisitesAn existing AI chat or agent product with a streaming architecture (SSE, WebSockets, or similar) you can audit and modifyAn existing website, web app, or content archive with navigable content and optionally an existing design system
Output typeA redesigned backend architecture with a Durable Sessions layer, pub/sub channels, and bidirectional transportAn MCP server (HTTP transport), MCP Apps, and Web MCP-annotated HTML pages serving three client types
Architecture layerInfrastructure/transport layer — sits between agent backend and client frontendApplication/distribution layer — sits between existing web content and AI agent consumers
Multi-agent supportExcellent — sub-agents write directly to shared sessions, eliminating orchestrator relay bottleneckNot addressed — focuses on exposing content to agents, not on coordinating multiple agents
Creator backgroundMike Christensen, Ably — real-time infrastructure and pub/sub platform expertiseRachel Lee — web publishing and agentic web design, focused on MCP and browser-native capabilities
Key innovationDurable Sessions as persistent, shared, resumable channels that decouple agents from clients entirelyMCP Apps — interactive HTML/CSS/JS bundles rendered inline inside agent harnesses, turning tools into rich experiences

What does the Christensen Durable Sessions AI UX Framework do?

Mike Christensen's framework diagnoses why AI chat and agent products feel fragile in production and provides a concrete architectural fix. The core insight is that most AI products use direct HTTP streaming (typically SSE via tools like the Vercel AI SDK) where the response stream is coupled to a single client connection. When that connection drops — a mobile user switches networks, a laptop lid closes, a tab refreshes — the stream is gone forever.

The framework identifies three foundational capabilities that separate a demo from a production-quality AI experience: Resilient Delivery (streams survive disconnections), Continuity Across Surfaces (sessions follow users across tabs and devices), and Live Control (users can steer, interrupt, or cancel agents mid-generation). It then prescribes a specific architectural pattern — Durable Sessions — where a persistent, shared, independently addressable channel sits between agents and clients. Agents write events to the session. Clients subscribe to the session. Neither holds a direct reference to the other.

This framework is especially powerful for multi-agent architectures, where it eliminates the Orchestrator Dual-Purpose Problem by letting every sub-agent publish directly to the session channel instead of routing all updates through a central orchestrator.

What does Rachel Lee's Agentic Web Publishing Framework do?

Rachel Lee's framework solves a completely different problem: how to make existing web content and functionality accessible to AI agents. Her premise is that your audience is already working inside agents like Claude Desktop, Copilot, and in-browser AI assistants. If your content only exists as traditional HTML pages, those agents cannot meaningfully interact with it.

The framework introduces the One Server, Three Clients principle: a single backend should serve humans in browsers, humans operating agents, and agents browsing autonomously. You achieve this by auditing your site's navigation and mapping each action (list, search, filter, view detail) to an MCP tool exposed via an HTTP transport endpoint. For tools that benefit from rich interaction, you return MCP Apps — self-contained HTML/CSS/JS bundles rendered inline inside the agent harness — rather than plain JSON. For in-browser agents, you add Web MCP attributes to your existing HTML pages so agents can call your site's functions directly instead of guessing from screenshots.

A key design principle is that chat-only interfaces (what Lee calls the "starfish design") put all discovery burden on the user. MCP Apps and structured tool outputs provide visual cues, guided navigation, and interactive experiences that go far beyond walls of text.

How do they compare?

These two frameworks operate at entirely different layers of the stack and solve different problems:

Durable Sessions is an infrastructure framework. It answers: "How do I make my AI product's real-time streaming reliable, multi-device, and controllable?" It requires significant architectural work — replacing SSE, introducing a pub/sub session layer, rewiring agent output and client subscriptions. The payoff is a fundamentally more resilient and capable product.

Agentic Web Publishing is a distribution framework. It answers: "How do I make my existing web content reachable by AI agents?" It is incremental and additive — you can ship one MCP tool without changing your existing site. The payoff is reaching users who now spend their time inside agent harnesses rather than browsing the open web.

They do not compete. A team building an AI coding assistant with multi-agent streaming would use Durable Sessions for the infrastructure. That same team could also use Agentic Web Publishing to expose their documentation site to agents. In fact, a mature AI product will likely need both: robust delivery infrastructure (Durable Sessions) and broad agent-accessible distribution (Agentic Web Publishing).

Where they overlap is in philosophy: both reject the naive default. Christensen rejects the assumption that a direct SSE pipe is sufficient. Lee rejects the assumption that a chatbox is a complete interface. Both push toward richer, more resilient AI experiences.

Which should you choose?

Choose Durable Sessions if you are building or operating an AI product with real-time streaming responses and you are experiencing any of these symptoms: responses lost on mobile network switches, no multi-device session continuity, a stop button that sometimes kills the stream instead of stopping generation, or an orchestrator drowning in relay logic. This is your framework. It is higher effort but addresses problems that will only get worse as your product scales.

Choose Agentic Web Publishing if you have a website, documentation site, content archive, or SaaS dashboard and you want to open it up to AI agents. This is especially urgent if your analytics show declining direct traffic and you suspect users are accessing information through AI assistants instead. The incremental approach (start with one HTTP MCP tool, then add MCP Apps) makes it low-risk to begin.

Choose both if you are building a full-stack AI product that includes both a real-time agent experience (needing resilient streaming) and web-published content or tools (needing agent accessibility). Start with whichever addresses your most acute pain point, then layer in the other.

If you are forced to pick one starting point: the Durable Sessions framework addresses problems that actively break user experiences today, while Agentic Web Publishing addresses a distribution opportunity that is growing but not yet urgent for every team. Fix what is broken first, then expand where you are found.

// FREQUENTLY ASKED QUESTIONS

Can I use Durable Sessions and Agentic Web Publishing together?

Yes. They solve different problems at different layers. Durable Sessions fixes your real-time AI streaming infrastructure (resilience, multi-device, live control). Agentic Web Publishing makes your web content accessible to AI agents via MCP. A mature AI product will likely need both — use Durable Sessions for the chat/agent delivery layer and Agentic Web Publishing for content distribution.

Do I need Durable Sessions if I'm using the Vercel AI SDK?

Likely yes. The Vercel AI SDK uses SSE for streaming, which couples stream health to a single connection. If your users experience disconnections, switch devices, or need a stop button that works reliably, you are inside the Single-Connection Trap that Durable Sessions is designed to fix. The framework specifically calls out SSE-based stacks as the primary problem case.

What is an MCP App and how is it different from a website?

An MCP App is a single self-contained HTML file (HTML + CSS + JS bundled together) returned by an MCP tool and rendered inline inside an agent harness like Claude Desktop. Unlike a website, it is sandboxed — no local storage, no direct network access. Any server calls go through call_server_tool. It uses your existing design system but operates under strict security constraints.

Is Web MCP the same as MCP?

No. Web MCP is inspired by MCP but is not spec-compliant with it. Web MCP is a browser-side mechanism that makes HTML pages act as mini tool servers for in-browser agents using HTML attributes or JavaScript registration. Standard MCP is a protocol for connecting AI agents to external tools and data via stdio or HTTP transport. They may continue to diverge, so build for the abstraction, not assumed convergence.

Which framework is easier to implement?

Agentic Web Publishing is significantly easier. You can start by mapping your site's existing navigation to MCP tools and exposing one HTTP endpoint — no infrastructure changes needed. Durable Sessions requires rearchitecting your streaming backend, introducing a pub/sub session layer, and potentially replacing SSE with WebSockets. The complexity is justified by the severity of the problems it solves.

What is the SSE Resume-Cancel Conflict?

SSE is one-way — the client can only send signals by closing the connection. This creates an irresolvable ambiguity: does a closed connection mean the user pressed stop (cancel generation) or that the network dropped (buffer and let me resume)? Resume and cancel are mutually exclusive under SSE. Durable Sessions solves this by using bidirectional transport where cancel is an explicit signal, not a connection closure.

Should I use stdio or HTTP transport for my MCP server?

Use HTTP transport for any public-facing MCP server. Stdio requires users to edit JSON config files with command-line arguments — high friction for non-technical users. HTTP transport lets users paste a single URL into their agent harness settings. Rachel Lee's framework is clear: default to HTTP unless your audience is exclusively developers using internal tooling.

What is the starfish design in agentic UX?

Rachel Lee's term for a chatbox-only landing page that puts all discovery burden on the user — a blank prompt field with no visual cues, structure, or guided navigation. She compares it to the command line before the GUI: functional but a transitional phase. The fix is to supplement chat with MCP Apps, structured tool outputs, and rich interactive experiences that guide users.