Skip to content
Computing Life · Share · Yage

Grok Bot Leak: Why an Agent's System Prompt Must Be Frozen

Grok Bot 泄露:为什么 agent 的 system prompt 必须冻结

The community reverse-engineered Cursor's desktop agent Grok Bot 0.18.0, revealing it freezes the memory and profile sections of the system prompt at compaction boundaries, keeping them byte-identical within an epoch. This preserves KV cache prefix hits: cached input costs $0.30 per million tokens vs. $3.00 uncached, and changing the prefix invalidates the entire cache. Manus's 2025 Context Engineering post independently reached the same conclusion. The codebase also injects runtime status and spills content over 12KB to the filesystem. Manus adds three more disciplines: reciting goals, keeping errors, and injecting structured variation.

Why it matters: Community reverse-engineering of Grok Bot 0.18.0 reveals a frozen system prompt mechanism tied to KV cache cost savings, cross-validated against Manus's 2025 Context Engineering post. Two independent teams converging on the same constraint signals a hardware-forced design, not...

Read the original ↗Export Markdown