An agy run I'd left going on the Android side of an app finished in the early evening, and I wanted to look over the diff slowly in the desktop app. I opened the app and the conversation simply wasn't in the sidebar. Same Mac, same repository, same account. For a while I kept retyping the conversation's title into the search box.
The first thing worth saying is that this isn't a misconfiguration. As of November 2026, the app and the CLI store conversations in different places, and neither can list or resume the other's. That's exactly why whoever moves between them needs a routine of their own.
The two stores don't meet — yet
A feature request opened on November 23 (google-antigravity/antigravity-cli #1773) lays out the situation in a few lines.
| Surface | Where conversations and artifacts live | What the other side sees |
|---|---|---|
| Desktop app | ~/.gemini/antigravity/ | Not listed by agy --resume |
| agy CLI | ~/.gemini/antigravity-cli/ (conversations under conversations) | Not shown in the app sidebar |
The CLI location is also confirmed in the 1.5.15 release notes, which say all saved conversations are now kept in ~/.gemini/antigravity-cli/conversations. The same release stopped pruning older conversations beyond the 500 most recent at startup. So CLI history is now harder to lose — and still invisible from the app.
The issue proposes a shared store or an opt-in sync, and it has picked up supporting comments. As of November 25, 2026, though, it's an open request. What follows is the stopgap routine I use until something like it ships.
agy -r in 1.5.16 only works inside the CLI
Version 1.5.16, released November 24, added -r and --resume as aliases for --conversation. You can resume a specific conversation with agy -r <id>.
It's a nice shortcut, but when I read the release note I nearly assumed I could pass it the ID of a conversation from the desktop app and pick up where I left off. That doesn't happen: -r only searches the CLI's own store, and the app's conversations aren't part of it at all.
In hindsight that's obvious — a new alias doesn't change where the lookup happens. So I drew a line for myself:
Conversations stay on the surface where they started. Only the state of the work crosses over.
Work started in the CLI gets resumed in the CLI, and work started in the app gets resumed in the app. When I switch surfaces, I don't try to carry the conversation; I carry the repository's state and a note about what comes next.
What goes into the handoff note
The issue itself mentions the current workaround: write a HANDOFF.md by hand and start a fresh session. I do the same, but writing it by hand, something always went missing. The three things I kept needing were:
- Which branch, and which commit, the work had reached
- Which files still had uncommitted changes
- What to ask the agent to do next — and what not to ask yet
The first two are mechanical, so a script handles them. The third I write in my own words. When I skipped it, the receiving agent would sometimes helpfully "finish the rest" for me, including parts I wasn't ready to hand over.
A script that writes HANDOFF.md
The problem this solves is the copy-by-hand step every time you switch surfaces, and the gaps that creep into it. Run it from the root of your repository; it collects what the next session needs into HANDOFF.md and lists the newest entries in both stores.
#!/usr/bin/env bash
# ag-handoff.sh — write the state of the work to HANDOFF.md before switching between the app and agy
# Usage: ./ag-handoff.sh [source conversation ID] [next step, one line]
set -euo pipefail
ID="${1:-(not recorded)}"
NEXT="${2:-(fill this in before handing off)}"
OUT="HANDOFF.md"
git rev-parse --is-inside-work-tree >/dev/null 2>&1 || { echo "Run this inside a Git repository" >&2; exit 1; }
# Move any existing HANDOFF.md aside with a timestamp so the previous note is never overwritten
[ -f "$OUT" ] && mv "$OUT" "HANDOFF.$(date +%Y%m%d-%H%M%S).md"
{
echo "# HANDOFF $(date '+%Y-%m-%d %H:%M')"
echo
echo "- Source conversation ID: ${ID}"
echo "- Branch: $(git branch --show-current)"
echo "- HEAD: $(git log -1 --format='%h %s')"
echo
echo "## Recent commits"
git log -5 --format='- %h %s'
echo
echo "## Uncommitted changes"
CHANGES="$(git status --short)"
if [ -n "$CHANGES" ]; then echo '```'; echo "$CHANGES"; echo '```'; else echo "- none"; fi
echo
echo "## Next step"
echo "- ${NEXT}"
echo
echo "## Not yet"
echo "- (list work that is out of scope)"
} > "$OUT"
echo "Wrote $OUT"
# List the newest entries in both stores (does not depend on their file format)
for d in "$HOME/.gemini/antigravity" "$HOME/.gemini/antigravity-cli/conversations"; do
echo "--- $d"
if [ -d "$d" ]; then ls -t "$d" | head -5; else echo "(not found)"; fi
doneA few notes on why it's written this way. It only lists names in each store with ls -t and never tries to parse what's inside; the storage format may change between versions, and I'd rather the script survive that. It moves an existing HANDOFF.md aside instead of deleting it, so running it twice in a row doesn't cost you the previous note. And the "Not yet" heading always appears, even when empty — seeing a blank section is what nudges me to add one line before handing off.
If you don't want HANDOFF.md in your commits, adding HANDOFF*.md to .gitignore keeps things tidy.
The order I follow when switching
- Stop the agent on the surface you're leaving. If you open the other side while it's still running, two agents end up editing the same working tree
- Run
./ag-handoff.sh <source-id> "review the diff and check the tests pass" - Fill in one line under "Not yet"
- On the new surface, start a fresh conversation and have the first request read HANDOFF.md
- When going back, use
agy -r <source-id>in the CLI to continue, and regenerate HANDOFF.md so the original conversation learns what happened elsewhere
Step 1 is the part the issue proposes to solve with session locking. Until that exists, keeping it to one surface at a time on the human side is the most reliable option I've found. In 1.5.16, Auto mode also started creating and editing files outside the workspace without asking when they sit inside a version-controlled repository — one more reason I stop one side before touching the same repository from the other.
For finding old conversations in the first place, see The history page is gone: three ways to find past chats after 2.28.2. For what's inside the CLI's conversation database, see Antigravity CLI's conversation database doesn't shrink by a single byte when you delete duplicates. And for deciding which tool to hand work to, three questions for choosing between Antigravity CLI and Claude Code is a close cousin of this piece.
When a shared store arrives
If the issue gets implemented, the second half of this script — the part that lists both stores — should become unnecessary. The first half, writing the state of the work onto one page, I plan to keep. As an indie developer fixing several apps in parallel, I sometimes forget where I stopped yesterday even when the conversation itself is still right there.
If you try one thing, run the script once in the repository you have open and rewrite its "Next step" line in your own words. That small pause before switching surfaces has saved me a lot of mix-ups on the other side.