Managing Context on the Claude Developer Platform Date: September 29, 2025 Read time: 3 minutes --- Overview Anthropic introduces new context management capabilities for AI agents on the Claude Developer Platform, powered by the latest model Claude Sonnet 4.5. These features—context editing and the memory tool—enable developers to build smarter agents able to handle longer, more complex workflows without losing relevant information or hitting context limits. --- Key Features Context Editing Automatically removes stale tool calls and results inside the context window as token limits approach. Keeps conversation flow intact while clearing irrelevant data. Extends agent runtime without manual context trimming. Improves model focus and performance by retaining only relevant context. Memory Tool Enables Claude agents to store information outside the context window via a file-based memory system. Agents can create, read, update, and delete files in a memory directory controlled by the developer’s infrastructure. Supports persistent storage across sessions, allowing agents to build knowledge bases and maintain state over time. Fully client-side operation through tool calls, giving developers full control over data persistence and storage. Claude Sonnet 4.5 Enhancements Built-in context awareness tracks token availability throughout conversations. Enhances both context editing and memory tool capabilities for more efficient context management. --- Benefits Enables longer conversations by clearing outdated tool results automatically. Boosts accuracy by preserving critical insights in memory for use across multiple sessions. Allows agents to operate more effectively on tasks exceeding fixed token limits. --- Use Cases for Long-Running Agents Coding: Manage large codebases where context editing clears old file reads and memory saves debugging info and decisions. Research: Store key findings in memory while context editing removes old search results for ongoing knowledge accumulation. Data Processing: Save intermediate steps in memory while clearing raw data to handle workflows beyond token limits. --- Performance Improvements Internal tests on complex multi-step agentic search tasks showed: 39% performance improvement combining memory tool with context editing. 29% improvement using context editing alone. A 100-turn web search evaluation showed context editing reduced token use by 84% and prevented context exhaustion failures. --- Availability Context editing and memory tool are available today in public beta on the Claude Developer Platform. Also accessible via Amazon Bedrock and Google Cloud’s Vertex AI. Documentation and examples: Context Editing Docs Memory Tool Docs Memory Cookbook Example --- Additional Notes Claude Developer Platform supports building AI agents that can run complex, persistent tasks efficiently. Anthropic disclaims any affiliations with third-party trademarks referenced. --- Related News Articles How enterprises are driving AI transformation with Claude (Oct 01, 2025) Claude and Slack (Oct 01, 2025) Enabling Claude Code to work more autonomously (Sep 29, 2025) ---