Claude Code memory
How Claude Code remembers between sessions with CLAUDE.md and auto memory, where it keeps transcripts, and what Dray saves for your other agents to search.
Coding agents Facts checked 12 October 2026
Antigravity’s docs describe rules and skills you write, such as AGENTS.md or GEMINI.md, but no memory it builds for itself. Dray saves each turn from Antigravity’s CLI (agy), desktop app and IDE to your Dray account, where every agent you connect can search it.
~/.gemini/AGENTS.md, ~/.gemini/GEMINI.md, or the same names in ~/.gemini/config/. Modular rules go in ~/.gemini/config/rules/ as Markdown files with YAML frontmatter. Antigravity docs: rulesAGENTS.md or GEMINI.md in a folder, or in .agents/rules/. Each rule is always on, manual, left to the model to decide, or matched to files by a pattern. Antigravity docs: rules/migrate-workflows turns them into Agent skills, kept in .agents/skills/<name>/ or ~/.gemini/config/skills/<name>/. Antigravity docs: workflows to skillsagy -c resumes the most recent conversation for the folder you are in, and agy --conversation <id> loads a specific one. /resume opens a picker, newest first, that you can search by title, preview or ID, and /fork branches a conversation. Antigravity docs: /resume Antigravity docs: conversations~/.gemini/antigravity-cli/cache/last_conversations.json, which maps each workspace to its last conversation. Antigravity docs: /resume~/.gemini/config/plugins/dray. When an Antigravity turn ends, in agy, the desktop app or the IDE, it saves what you typed and the answer the turn ended on to your Dray account. Dray: connect~/.gemini/config/mcp_config.json. Antigravity can’t sign in to Dray’s server directly yet, so the tools connect through a small bridge that the Dray CLI runs. Dray: connectdray mcp off removes those rules and the connection.~/.gemini/config/skills: /link links this chat with your other chats, /link CODE joins a link another chat made, /unlink leaves it, and /dray-status checks what Dray has saved. Dray: connect
Watch Antigravity setupOne command sets up Antigravity and the other agents it finds on your computer. It needs Node.js 18 or later on macOS or Linux, and no Chrome extension.
curl -fsSL https://api.withdray.com/cli/install.sh | shagy, then type /mcp: Dray is listed as dray, with its tools.To set up Antigravity on its own, or add it later:
dray setup --agents antigravityThere are no steps by hand: Antigravity can’t sign in to Dray’s server directly yet, so the CLI connects it. Dray: connect
agy -p are saved like any other session. To keep one out, start agy with DRAY_CAPTURE=0.Facts checked on 12 October 2026 against these pages.