{"id":178475,"date":"2025-09-29T21:31:08","date_gmt":"2025-09-29T21:31:08","guid":{"rendered":"https:\/\/www.newsbeep.com\/au\/178475\/"},"modified":"2025-09-29T21:31:08","modified_gmt":"2025-09-29T21:31:08","slug":"managing-context-on-the-claude-developer-platform-anthropic","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/au\/178475\/","title":{"rendered":"Managing context on the Claude Developer Platform \\ Anthropic"},"content":{"rendered":"<p class=\"Body_reading-column__t7kGM paragraph-m post-text\">Today, we\u2019re introducing new capabilities for managing your agents\u2019 context on the Claude Developer Platform: context editing and the memory tool.<\/p>\n<p class=\"Body_reading-column__t7kGM paragraph-m post-text\">With our latest model, <a href=\"https:\/\/www.anthropic.com\/news\/claude-sonnet-4-5\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">Claude Sonnet 4.5<\/a>, these capabilities enable developers to build AI agents capable of handling long-running tasks at higher performance and without hitting context limits or losing critical information.<\/p>\n<p>Context windows have limits, but real work doesn\u2019t<\/p>\n<p class=\"Body_reading-column__t7kGM paragraph-m post-text\">As production agents handle more complex tasks and generate more tool results, they often exhaust their effective context windows\u2014leaving developers stuck choosing between cutting agent transcripts or degrading performance. Context management solves this in two ways, helping developers ensure only relevant data stays in context and valuable insights get preserved across sessions.<\/p>\n<p class=\"Body_reading-column__t7kGM paragraph-m post-text\">Context editing automatically clears stale tool calls and results from within the context window when approaching token limits. As your agent executes tasks and accumulates tool results, context editing removes stale content while preserving the conversation flow, effectively extending how long agents can run without manual intervention. This also increases the effective model performance as Claude focuses only on relevant context.<\/p>\n<p><img alt=\"Visualization comparing available context before context editing and after context editing.\" loading=\"lazy\" width=\"1920\" height=\"800\" decoding=\"async\" data-nimg=\"1\" style=\"color:transparent\"  src=\"https:\/\/www.newsbeep.com\/au\/wp-content\/uploads\/2025\/09\/1759181468_996_image\"\/><\/p>\n<p class=\"Body_reading-column__t7kGM paragraph-m post-text\">The memory tool enables Claude to store and consult information outside the context window through a file-based system. Claude can create, read, update, and delete files in a dedicated memory directory stored in your infrastructure that persists across conversations. This allows agents to build up knowledge bases over time, maintain project state across sessions, and reference previous learnings without having to keep everything in context.<\/p>\n<p class=\"Body_reading-column__t7kGM paragraph-m post-text\">The memory tool operates entirely client-side through tool calls. Developers manage the storage backend, giving them complete control over where the data is stored and how it\u2019s persisted.<\/p>\n<p class=\"Body_reading-column__t7kGM paragraph-m post-text\">Claude Sonnet 4.5 enhances both capabilities with built-in context awareness\u2014tracking available tokens throughout conversations to manage context more effectively.<\/p>\n<p class=\"Body_reading-column__t7kGM paragraph-m post-text\">Together, these updates create a system that improves agent performance:<\/p>\n<p>Enable longer conversations by automatically removing stale tool results from contextBoost accuracy by saving critical information to memory\u2014and bring that learning across successive agentic sessionsBuilding long-running agents<\/p>\n<p class=\"Body_reading-column__t7kGM paragraph-m post-text\">Claude Sonnet 4.5 is the best model in the world for building agents. These features unlock new possibilities for long-running agents\u2014processing entire codebases, analyzing hundreds of documents, or maintaining extensive tool interaction histories. Context management builds on this foundation, ensuring agents can leverage this expanded capacity efficiently while still handling workflows that extend beyond any fixed limit. Use cases include:<\/p>\n<p>Coding: Context editing clears old file reads and test results while memory preserves debugging insights and architectural decisions, enabling agents to work on large codebases without losing progress.Research: Memory stores key findings while context editing removes old search results, building knowledge bases that improve performance over time.Data processing: Agents store intermediate results in memory while context editing clears raw data, handling workflows that would otherwise exceed token limits.Performance improvements with context management<\/p>\n<p class=\"Body_reading-column__t7kGM paragraph-m post-text\">On an internal evaluation set for agentic search, we tested how context management improves agent performance on complex, multi-step tasks. The results demonstrate significant gains: combining the memory tool with context editing improved performance by 39% over baseline. Context editing alone delivered a 29% improvement.<\/p>\n<p class=\"Body_reading-column__t7kGM paragraph-m post-text\">In a 100-turn web search evaluation, context editing enabled agents to complete workflows that would otherwise fail due to context exhaustion\u2014while reducing token consumption by 84%.<\/p>\n<p>Getting started<\/p>\n<p class=\"Body_reading-column__t7kGM paragraph-m post-text\">These capabilities are available today in public beta on the Claude Developer Platform, natively and in Amazon Bedrock and Google Cloud\u2019s Vertex AI. Explore the documentation for <a href=\"https:\/\/docs.claude.com\/en\/docs\/build-with-claude\/context-editing\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">context editing<\/a> and the <a href=\"https:\/\/docs.claude.com\/en\/docs\/agents-and-tools\/tool-use\/memory-tool\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">memory tool<\/a>, or visit our <a href=\"https:\/\/github.com\/anthropics\/claude-cookbooks\/blob\/main\/tool_use\/memory_cookbook.ipynb\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">cookbook<\/a> to learn more.<\/p>\n<p class=\"Body_reading-column__t7kGM paragraph-m post-text\">Anthropic is not affiliated with, endorsed by, or sponsored by CATAN GmbH or CATAN Studio. The CATAN trademark and game are the property of CATAN GmbH.<\/p>\n","protected":false},"excerpt":{"rendered":"Today, we\u2019re introducing new capabilities for managing your agents\u2019 context on the Claude Developer Platform: context editing and&hellip;\n","protected":false},"author":2,"featured_media":178476,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[256,254,255,64,63,105],"class_list":{"0":"post-178475","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-artificial-intelligence","8":"tag-ai","9":"tag-artificial-intelligence","10":"tag-artificialintelligence","11":"tag-au","12":"tag-australia","13":"tag-technology"},"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts\/178475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/comments?post=178475"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts\/178475\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/media\/178476"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/media?parent=178475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/categories?post=178475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/tags?post=178475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}