In theory, Gemini models like Argos support 1M of context. In practice, the desktop app forces cache-losing and information-lossy compaction at 250K of used context.
Understanding that in some cases it may be less expensive and more effective to compact early, in other workflows and workloads a few hundred K of context is required to begin the job, and can be arranged to ensure that initial set is always cached.
Choosing the context compaction size must be at least an option for users. Until then, please stop advertising that your products work with context sizes you then don’t allow the user to actually use.
Hi @Sharper,
Welcome to the Forrum,
Thank you for reporting this and detailing your workflow. This is a feature request for configurable context compaction in the Antigravity App.
As you noted, Gemini models in the App, such as Gemini 4 Argon, currently compact automatically at around 250K tokens. That threshold is a fixed default and isn’t user-configurable yet. We understand that for workflows that rely on a large, stable, cached starting context, compacting this early costs both cache efficiency and detail.
Until a setting is available, these steps can help reduce the impact:
- Control when compaction happens: Type
/compact at a natural break point, for example right after loading your initial context or finishing exploration. That way the summary is taken where you choose and not mid-task.
- Keep the stable “starting set” in workspace files: Put reference material in files the agent can re-read on demand. After compaction, it can reload the exact content instead of relying on the generated summary.
- Keep noise out of the context: Exclude build artifacts, dependencies and generated files so more of the ~250K budget goes to the material you actually need.
We’ve passed your request for a user-selectable compaction size to the engineering team for review.
Compacting right after loading initial context is what I want to avoid, because otherwise I’d just load a summary of the context instead. 
The stable starting set is in workspace files. I also use Claude Code for the same workflow and have no issues there loading the full set of context workspace files. It’s actual 1M context gives me 10x more useful work before compacting, though.
I’ve already pared down all of the files as much as possible, without losing necessary background and requirements. Without going into too much detail, it doesn’t do any good to say “Always do X” and then have that summarized away, which then leads to the testing/auditing part of the workflow to catch that the agent the orchestrator dispatched did X and now it needs to be redone.
For now, my work around is to use Claude Code as the orchestrator and for any parts of the workflow which require more initial context, and have it dispatch Argus or flash Agents where possible for the pieces they perform better on. But it’s a significant limitation, as seen by the number of people out there binary hot-patching argy just to get around it.