If you build on the Agent SDK, auto-compact now defaults to roughly 400K on most 1M models unless you set autoCompactWindow, which changes context behavior. New startup failure reasons and task durations also improve error handling.
Key takeaways · AI-distilled
Auto-compact's per-model default drops to about 400K tokens on most current 1M-Context and context windowContext is the information available for a generation; the context window is the capacity available to hold it.Full definition → models, rolling out now and already on with third-party providers. Set a model's autoCompactWindow under modelSettings to keep the full 1M window.
A SYSTEM_PROMPT_DYNAMIC_BoundaryA point in a program where one part finishes its job and hands its result to another.Full definition → marker was ignored on Bedrock, Agent Platform, Foundry, gateways or with experimental betas off. The text above it now gets its own cache breakpoint; the text sent to the model is unchanged.
startup_failure_reason gains values for sessions that stop before running: updated Consumer Terms awaiting an answer in the terminal or on the web, and resume_target_not_found when --resume finds no conversation to load.
Terminal and shellA text interface for navigating files and running programs.Full definition →-command task notifications now report duration_ms, and a tool call to an in-process MCP serverA program that provides tools, resources and prompt templates to an MCP client; it may run on the same machine as the application or remotely.Full definition → no longer ends early when that server sends a request of its own with the same id.
Terms in this piece · Glossary
Terminal and shell — A text interface for navigating files and running programs.
Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
Boundary — A point in a program where one part finishes its job and hands its result to another.
MCP server — A program that provides tools, resources and prompt templates to an MCP client; it may run on the same machine as the application or remotely.