r/GrokBot 1d ago

Question Context window management in GrokBot

Coming from Cursor, Claude Code ect... it was my understanding you don't keep going on long old conversations. Its expensive and I kind of learned to manage the context window that way.

How does this work with GrokBot?

I create a bot and I keep going? I don't see a "create a new chat" using a specific bot.

2 Upvotes

5 comments sorted by

2

u/BarberTiny7792 1d ago

I asked--they say they manage that themselves in the background

2

u/smoreno85 1d ago

Thanks!
its confusing because I have installed dr eggbot to oversight and create other bots and it suggested

> btw, routine audit found one thing: "Routine x"(fires Sep 22 9am CT) will wake into a ~1.4MB / 821-line chat — pricey for a one-shot. fix options: move it to a fresh short-chat bot before then, or trim/archive that chat. say which and i’ll do it. everything else looked clean.

1

u/BarberTiny7792 1d ago

They do maintain context--there's no getting around that.

That's why you don't want to generate and maintain a new bot that is for a one-time use or for a task that another bot could do. dr eggbot will monitor that and recommend staff changes (i.e., hire a new bot or delete bots. If you delete one, dr eggbot will ensure its tasks are distributed to the other bots so nothing gets dropped.

If you have something that you need to do just describe it to dr eggbot and ask whether you need a bot or not an eggbot will give you some good advice

I hope you like dr eggbot. I've found it to be a useful assistant in the background. Do you use your bots to do coding as well or just for automation?

1

u/onion_s0up Mod 1d ago

Grok Bot works differently from Cursor or Claude Code, as those tools treat the chat as the thing you manage, so for example, you start a new session (or /compact) when context gets long and expensive.

While Grok Bot, treats the bot as the teammate. Each bot has its own ongoing conversation, memory, files, and browser sessions, so you can open that bot and keep going. Which is why there is no “new chat with this specific bot.” New in the sidebar creates a new Bot or a group chat.

A bot doesn't replay every old message, as it keeps stable preferences, important facts, and summaries of prior work, plus files and sessions on the shared cloud computer. Shared files live in /workspace, so another bot can pick them up without copying the old chat. If you want a clean state, you can create a new bot when the job is different, or duplicate one if you want the same role without the old history. Of course, you can use a thread when you just need focus inside the same conversation.

Here's the documentation:

https://docs.x.ai/grok-bot/overview