Export, recover, and analyze your Google Antigravity conversations.
Project description
🔮 antigravity-history
Export, recover, and analyze your Antigravity AI conversations — with full fidelity.
The only tool that captures AI thinking chains, code diffs, command outputs, and per-message timestamps from your Antigravity sessions. Plus, recover conversations lost after crashes or updates.
✨ Key Features
| Feature | Description |
|---|---|
| 🧠 AI Thinking Process | Export the hidden reasoning chains behind every AI response |
| 📝 Code Diffs | Capture every code edit with full diff context |
| 💻 Command Outputs | Preserve terminal outputs with exit codes and working directories |
| ⏰ Per-Message Timestamps | Precise timing for every message in the conversation |
| 🔄 Conversation Recovery | Scan .pb files on disk to recover conversations lost after crashes |
| 📁 Obsidian Integration | Export with frontmatter, tags, and [[wiki-links]] for your vault |
| 🖥️ Zero-Config Discovery | Automatically finds all running Antigravity instances |
| 🔐 100% Local & Read-Only | No internet, no tracking, no data modification |
🚀 Quick Start
Install
pip install antigravity-history
Export All Conversations
# Export as Markdown (default)
aghistory export
# Include AI thinking process
aghistory export --thinking
# Include everything (thinking + diffs + outputs)
aghistory export --full
List Conversations
aghistory list
Recover Lost Conversations
# Preview what can be recovered
aghistory recover --dry-run
# Actually recover
aghistory recover
Check Status
aghistory info
📋 Commands
| Command | Description |
|---|---|
aghistory export |
Export conversations to Markdown or Obsidian format |
aghistory list |
List all indexed conversations |
aghistory recover |
Recover conversations lost after crashes/updates |
aghistory info |
Show LanguageServer connection status |
Export Options
| Option | Description |
|---|---|
-o, --output DIR |
Output directory (default: ./antigravity_export) |
-f, --format FMT |
Output format: md / obsidian / all |
--thinking |
Include AI's hidden reasoning process |
--full |
Include all extended fields (thinking + diffs + outputs) |
--today |
Export only today's conversations |
--id ID |
Export specific conversation by cascade ID |
🔒 Privacy & Security
- 100% Local — All data stays on your machine. No internet requests.
- Read-Only — Never modifies, deletes, or writes to Antigravity's data.
- No Tracking — No analytics, telemetry, or phone-home.
- Open Source — Audit every line of code yourself.
🖥️ Platform Support
| Platform | Status | Discovery Method |
|---|---|---|
| Windows | ✅ Supported | WMI + netstat |
| macOS | ✅ Supported | pgrep + lsof |
| Linux | 🔜 Coming soon | — |
❓ FAQ
Does Antigravity need to be running?
Yes. The tool communicates with Antigravity's local LanguageServer API, which is only available while Antigravity is open with at least one workspace.
Will this get my account banned?
No. All communication is with localhost — no requests are sent to any external server. The tool only reads your own conversation data using the same API that Antigravity's own UI uses.
What are the three export levels?
- Default: User messages, AI responses, tool call summaries
--thinking: + AI reasoning process, timestamps, exit codes--full: + code diffs, command outputs, search summaries, model info
What does "recover" do?
Antigravity stores conversations as .pb files on disk, but sometimes loses track of them in its index (e.g., after crashes or updates). The recover command scans these files and reloads them through the API.
Can I use this as a Python library?
Currently CLI-only. Library API (from antigravity_history import ...) is planned for v0.2.
Does it support Cursor / Windsurf / other IDEs?
Not yet. Currently Antigravity-only. Multi-IDE support is on the roadmap.
📦 Development
git clone https://github.com/neo1027144-creator/antigravity-history
cd antigravity-history
pip install -e ".[dev]"
# Run tests
pytest
# Lint
ruff check src/
📄 License
Apache 2.0 — Use freely, contribute back, keep the attribution.
🌟 Star History
If this tool saved your conversations, consider giving it a ⭐!
Keywords: antigravity conversation export, antigravity chat history, export antigravity conversations, antigravity backup tool, save antigravity chat, antigravity thinking export, antigravity conversation recovery, antigravity obsidian integration, antigravity export markdown, antigravity session backup
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file antigravity_history-0.1.0-py3-none-any.whl.
File metadata
- Download URL: antigravity_history-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94bf4db183007ff94cacaf52f64df8941bc58963ec1e0c13312144e6583dda04
|
|
| MD5 |
65e4754f427fb506c86b8328f4f1837e
|
|
| BLAKE2b-256 |
72907b6f116b3227520bfec2ea404bd464715b5208a37c52d513369e886763c9
|