Cloudflare Agents Week 2026 shipped Agent Memory, Dynamic Workers, Sandboxes GA, and Artifacts. Complete developer guide to the new agent-first infrastructure stack.
On April 13, 2026, Cloudflare opened what it called Agents Week — a five-day series of product launches and infrastructure announcements targeting the fastest-growing problem in AI development: how to build agents that actually work in production. By the end of the week, the company had shipped nine distinct products spanning compute, memory, storage, networking, and developer tooling. Taken together, they form what Cloudflare is calling its Agent Cloud: a full-stack infrastructure platform for building, deploying, and scaling autonomous AI agents.
This guide covers every major announcement, explains the technical problems each one solves, and gives developers the practical information needed to decide where Cloudflare’s stack fits into their own agent architecture.
Why Cloudflare Is Going All-In on Agents
The positioning behind Agents Week is not subtle. Cloudflare believes the AI industry is in the middle of a transition from “AI that answers” to “AI that gets things done.” Answering questions requires a model and a prompt. Getting things done requires persistent state, durable compute, reliable memory across sessions, secure access to private infrastructure, and the ability to coordinate across tools and services over long time horizons.
Cloudflare’s existing platform already had most of the primitives these agents need: Workers for serverless compute, Durable Objects for stateful coordination, KV for global key-value storage, and R2 for object storage, running on a global network spanning over 330 cities. Agents Week is the company formalizing these primitives into a coherent agent platform, filling in the remaining gaps — memory, containers, Git-compatible storage — and publishing unified developer tooling around the complete stack.
Agent Memory: The Flagship Announcement
The most technically significant release from Agents Week is Agent Memory, currently in private beta. It is a managed service that gives AI agents persistent, retrievable memory across sessions without consuming context window space.
The Context Rot Problem
Every developer who has built a multi-turn AI agent has encountered context rot. The context window is finite — even at one million tokens, there is a ceiling. As conversations grow, older information gets pushed out. If you try to solve this by stuffing everything into context, the model’s ability to focus on what matters degrades. If you aggressively prune, you lose information the agent will need later. Neither option is satisfying, and for agents running over days or weeks, neither option scales.
Agent Memory solves this with a separate retrieval layer. Instead of keeping raw conversation history in context, the service extracts facts, preferences, and key events from conversations as they happen, stores them in a structured memory profile, and retrieves only what is relevant when the agent needs it. The result is an agent that gets smarter over time without its context window growing proportionally.
How the Ingestion Pipeline Works
When a conversation arrives for ingestion, it passes through a multi-stage extraction pipeline. The pipeline identifies information worth remembering — user preferences, stated goals, key facts, previous decisions — verifies the extracted memories against what is already stored to avoid redundancy or contradiction, classifies each memory by type and relevance, and writes the final set to the agent’s memory profile.
Cloudflare runs this extraction pipeline in the background, so ingestion does not block the agent’s response path. Memories accumulate over time and are continuously refined as new conversations arrive. The key design principle is that the agent’s working knowledge improves with usage, rather than growing stale or ballooning into an unmanageable context blob.
How Retrieval Works: Parallel Methods and Result Fusion
The retrieval architecture is built around one core insight: no single retrieval method works well across all query types. Keyword search works for specific named entities. Semantic vector search works for conceptual queries. Topic-based lookup works for thematic retrieval. Agent Memory runs all three in parallel and fuses the results.
The retrieval pipeline begins with concurrent query analysis and embedding generation. The query analyzer produces three distinct outputs: ranked topic keys for the memory profile, full-text search terms expanded with synonyms, and a HyDE document — a Hypothetical Document Embedding, which is a generated passage representing what a perfect answer would look like, used to improve semantic retrieval accuracy by anchoring the embedding search to the shape of an ideal result rather than the query itself. These three signals feed parallel search branches whose outputs are merged, ranked by relevance, and returned to the agent as a concise, prioritized list.
Developer Integration
Developers access Agent Memory through five core operations: ingest, remember, recall, list, and forget. The service is accessible via a binding from any Cloudflare Worker, or via REST API for agents running on other infrastructure:
// Bind to Agent Memory in your Worker
const memory = env.AGENT_MEMORY;
// After a conversation turn, extract and store memories
await memory.ingest({ sessionId: userId, messages: conversationTurn });
// Before a new turn, retrieve relevant context
const recalled = await memory.recall({ query: userMessage, limit: 10 });
All stored memories are fully exportable at any time. Cloudflare has committed to complete data portability — the knowledge your agents accumulate on the platform can leave with you if requirements change.
Comments · 0
Beta: comments are stored locally on your device and not visible to other readers.
No comments yet. Be the first to share your thoughts.