The experimental/ directory contains prototypes and future-facing work using unstable Cloudflare APIs such as Durable Object Facets, Worker Loaders, and ctx.exports. These patterns are intended for exploration and prototyping and should not be used in production.
Key experimental areas include:
- Gadgets: Exploration of facets, isolation, and structural safety (e.g., Gatekeeper/ApprovalQueue patterns, Worker Loader sandboxing, and sub-agent facets).
- WebMCP: An adapter bridging
McpAgent tools into Chrome's native navigator.modelContext API. - Forever (Durable Execution): Long-running execution patterns using
keepAlive, runFiber (checkpointing/eviction recovery), and AIChatAgent chat recovery via onChatRecovery. - Session Memory: Conversation history management using the Session API with automatic micro-compaction and LLM-based summarization.