compact agent.
Override the compact agent
Create .mux/agents/compact.md in your project (or ~/.mux/agents/compact.md for global):
compact agent.
Replace instead of append
Defaults (synced from source)
Built-in compact agent system prompt
Built-in compact agent system prompt
Default compaction instructions (user message)
Default compaction instructions (user message)
Notes
- Custom
compactagents apply to both manual/compactand auto-compaction. - Tools are always disabled during compaction.
-tsetsmaxOutputTokens; mux converts this into an approximate word target for the instruction message.