X-12Observation Compression
Shape tool output before it enters the window: the errors, the tail, the counts, and a pointer to the rest.
Further reading
- Writing effective tools for AI agents Anthropic Engineering, 2025
- Effective context engineering for AI agents Anthropic Engineering, 2025