Hi,
It bothers me how token inefficient grok bot is. I have my bots notify me when conversations have become long and they suggest compression or starting a new chat. But it seems I can’t start new chats or compress the context. Can you tell me what I’m missing here? Is there some wisdom out there about how I can get token wastage under control with these agents?
Hi @Sentry, you’re not missing anything. There’s no way yet to start a new chat with the same Bot or to compress its conversation yourself, and nothing to tune on the caching side. Long chats are summarized automatically once they get large, so the cost of a reply levels off rather than growing forever. If you asked your Bots to warn you about long conversations, you can drop that, since neither you nor the Bot can act on it.
What helps most is waking your Bots less often. Every wake re-reads the Bot’s chat, and that includes another Bot messaging it and background work reporting back:
- Ask each Bot to remember: “Only message another Bot when it needs to act. No acknowledgments or progress pings.”
- Have routines message you only when something needs your attention.
To see what’s using the most, ask any Bot: “Which of my Bots and routines used the most this week?”
A new chat or compact option for the same Bot is requested here, if you’d like to add your vote: Grok Bot: prune/compact an agent’s context without creating a new Bot
Thanks. If I have the bot(s) use tools that compress output etc so there’s less verbosity can that help? Have other users come up with clever ways to attack this problem?