The Rhythm Effect
Manus discovered a subtle but important finding: keep the most recent tool calls in raw format so the model maintains its “rhythm” and formatting style. When recent tool interactions are summarized instead of kept raw, the model loses its formatting consistency — it starts producing outputs in slightly different structures, breaking downstream parsers and tool integrations.
The Error Trace Rule
Manus’s second critical finding: do not compress away error traces. When a tool call fails, leaving the error and stack trace in context helps the model avoid repeating the same mistake. This technique is well-established — libraries like Instructor use it for structured output retries — and it applies broadly to any agent that calls tools.
Key insight: Compression is lossy by definition. The art is knowing what to lose. Manus’s rules provide clear guidance: never compress recent tool calls (rhythm), never compress error traces (learning), and always compress older successful interactions first (they’re the safest to summarize).