Getting Started
Antimatter is split into two halves — the Gateway + Adapter running on your desktop, and the Mobile App in your pocket — linked by a secure, encrypted WebSocket tunnel.
Prerequisites
| Requirement | Details |
|---|---|
| Python 3.11+ | Required by the antimatter-core Gateway |
| Node.js 22+ | Required if using the ag or cc adapters |
| Android 8.0+ or iOS 16+ | Mobile companion app |
uv (recommended) | Modern Python package manager — faster installs |
Step 1 — Install the Gateway
The Antimatter Gateway (antimatter-core) is the secure infrastructure daemon. It manages Cloudflare tunnels, cryptographic keys, and routes messages between your phone and your AI adapters.
uv tool install antimatter-corepip install antimatter-coreThen start the Gateway:
antimatter-gateway startThe Gateway will:
- Start a local IPC server at
ws://127.0.0.1:8765 - Spawn a Cloudflare tunnel to expose a public
wss://endpoint - Generate and persist an Ed25519 keypair and 256-bit pairing token to your OS keychain
Step 2 — Install an Adapter
The Gateway alone doesn’t do anything without an adapter. Install the one matching your AI agent.
Antigravity IDE (ag) — VS Code Extension
- Download the latest
.vsixfrom GitHub Releases. - In VS Code → Extensions panel →
···→ Install from VSIX. - The extension automatically connects to the running Gateway on activation.
Antigravity 2.0 (ag2) — Python Daemon
uv tool install antimatter-ag2antimatter-ag2 startClaude Code (cc) — Node.js Daemon
npm install -g antimatter-ccantimatter-cc startStep 3 — Install the Mobile App
Android
- Go to GitHub Releases.
- Download the latest
antimatter-vX.X.X.apk. - Enable Install from Unknown Sources on your Android device.
- Open the APK to install.
- Open F-Droid.
- Search for Antimatter and tap Install.
- 100% FOSS — no proprietary dependencies.
iOS
The iOS app is in active development and mirrors the full Android feature set. Build from source:
cd ios/open AntimatterApp.xcworkspace # Open in Xcode 16+See the iOS App page for detailed build instructions.
Step 4 — Pair Your Phone
With the Gateway running, generate a QR pairing code:
antimatter-gateway pairA QR code will appear in the terminal. It encodes:
- The WebSocket URL (
wss://xxxx.trycloudflare.com) - Your 256-bit pairing token (hex-encoded)
- The Gateway’s Ed25519 public key
Then in the Antimatter app:
- Tap the Scan QR Code button.
- Point your camera at the code.
- The app performs an Ed25519 handshake with the Gateway.
- ✅ You’re paired and ready to go!
Features Overview
AI Chat Interface
- Live trajectory streaming — watch tool calls, file edits, and thinking steps happen in real-time.
- Rich Markdown rendering — AI responses render with full syntax highlighting, tables, and code blocks.
- Remote prompting — type a message or attach an image and it’s injected directly into the active agent.
- Thinking indicator — animated typing bubble when the agent is generating.
Native PTY Terminal
- Full interactive shell — run any command:
vim,htop,ssh,git, etc. - ANSI color rendering — full 256-color and true-color terminal output.
- Termux-style UX — extra keys bar, pinch-to-zoom, long-press to copy.
- E2EE tunnel — all terminal I/O is end-to-end encrypted through the Cloudflare tunnel.
Workspace Explorer
- Live file tree — browse your IDE workspace in real-time.
- File viewer — tap any file to read its contents.
- File writing — make quick edits on the go.
Security
- Biometric auth gate — Face Unlock or fingerprint required before any connection.
- Ed25519 verification — cryptographic identity verification on every connection.
- Zero port exposure — no firewall rules, no port forwarding. Everything goes through Cloudflare.
Troubleshooting
Phone can’t connect
No agent activity shows up
- Make sure an adapter (
antimatter-ag2, etc.) is running. - Make sure an agent conversation is actively running in the IDE/CLI.
- Check the Gateway logs:
antimatter-gateway logs
FAQ
Is Antimatter affiliated with Google? No. It’s an unofficial, community-driven project, not affiliated with Google or the AntiGravity IDE project.
Do I need a custom domain? No. TryCloudflare works with zero configuration. A domain (Cloudflare Zero Trust) is recommended for the strongest security.
Where are my keys stored? In your OS keychain — never written to plain-text config files. They persist across restarts.
What data does Antimatter collect? None. It’s fully local + tunnel. No telemetry, no analytics, no cloud services beyond Cloudflare.