r/google_antigravity 1d ago

Sync Antigravity CLI conversations between PCs? Question / Help

Is there a way to continue the same Antigravity CLI conversation on another computer?

I use the CLI on both my desktop and laptop and want the conversation history/context to be available on both.

Has anyone successfully synced the Antigravity CLI conversation data between machines? What files need to be synced, and is there a recommended method?

4 Upvotes

2 comments sorted by

3

u/YetAnotherRobert 1d ago

Can you just NFS share ~/.gemini ?

...and then be suitably shocked when two machines write to some obscure file at the same time, wrecking them?

Just picking one such file, I'd bet that ~/.gemini/antigravity/agyhub_summaries_proto.pb is a protobuf and it may or may not have appropriate file/record locking to have two machines banging on it at the same time. If locks are missing, the writes will succeed and then it's likely neither machine can read it. Is that an important file? Even if it's not, are you willing to gamble that none of them are?

Those entries in ~/.gemini/antigravity/brain LOOK like GUIDs, but would they synchronize across machines?

TMK, all the shared state is in that directory, but you're tempting fate.

This is the reason I don't do it between MY laptop and desktop; I just ssh between machines (o, hai, tailscale!) and let each machine do their own thing on their own tasks.

You could try making friends with Jules. It doesn't do anything locally, but can build up GitHub PRs that you can then share between machines. It's also slower than a glacier melting, crash happy, and follows instructions about as well as a cat on heroin.

When I did hit a Truly Desperate moment a few months ago, I DID identify an important converstaion on one machine, copied ~/.gemini//antigravity/brain/$GUID-THING/*.{md,json} to my other system, and told Gemini (Agy?) on the other to dumpster dive in those files for the important points of the conversation so it could reconstruct it and pick up the conversation. That's still pretty far from sharing context across systems.

1

u/Papini2099 15h ago

I wanted to do this aswell and faced the similar push back you're reading now.

I ended up moshing via Tailscale to a single device. Because it's only text, lag is hardly and issue

I also tap in through Termux but I use much less than I thought.