opencode-antigravity-config
v1.0.12
Published
GUI installer for Antigravity OpenCode configuration
Maintainers
Readme
⚡ Opencode Antigravity Config
GUI installer for Antigravity OpenCode configuration stack — distributed as an npm package.
Quick Start
# Install globally
npm install -g opencode-antigravity-config@latest
# Launch the installer GUI
opencode-agcWhat It Installs
The installer deploys 6 configuration files to ~/.config/opencode/:
| File | Description |
|------|-------------|
| opencode.json | Core config — models, providers, plugins |
| oh-my-opencode.jsonc | oMo agent overrides & categories |
| dcp.jsonc | Dynamic Context Pruning settings |
| supermemory.jsonc | Supermemory plugin config |
| opencode-sync.jsonc | OpenSync plugin config |
| package.json | Plugin dependencies |
Available Models
| Model | Context | Thinking | |-------|---------|----------| | Gemini 3.1 Pro | 1M tokens | standard / low / high | | Gemini 3 Flash | 1M tokens | standard / minimal / low / medium / high | | Claude 4.6 Sonnet | 200K tokens | standard | | Claude 4.6 Sonnet Thinking | 200K tokens | low (8K) / max (32K) | | Claude 4.6 Opus Thinking | 200K tokens | low (8K) / max (32K) |
Global Templates (Presets)
The installer provides one-click AI stack preset configurations under the "✨ Load Template" dropdown.
| Preset Name | Heavy Group | Standard Group | Light Group | Use Case | |-------------|-------------|----------------|-------------|----------| | Antigravity Default | Gemini 3.1 Pro | Gemini 3.1 Pro | Gemini 3 Flash | Best balanced setup for general projects | | Max Reasoning (O1 Class) | Claude Opus 4.6 Thinking | Claude Sonnet 4.6 Thinking | Claude Sonnet 4.6 | Highly complex logic, deep architecture fixes | | Hybrid Balance | Claude Sonnet 4.6 Thinking | Gemini 3.1 Pro | Gemini 3 Flash | Best of both worlds, smart architect + solid coders | | Fast & Cheap | Gemini 3 Flash | Gemini 3 Flash | Gemini 3 Flash | Rapid prototyping, straightforward refactoring | | Claude Ecosystem | Claude Opus 4.6 Thinking | Claude Sonnet 4.6 | Claude Sonnet 4.6 | Pure Anthropic behavior everywhere |
GUI Features
- 6-Step Setup Wizard — intuitive UI guided setup process.
- oMo AI Model config — native config tab to assign distinct AI models per oMo agent group.
- i18n Multi-language — flip between English and Indonesian natively.
- System Check — verifies Node.js, npm, OpenCode, bundled configs.
- API Key Management — auto-detects existing keys, live validation.
- Selective Install — choose which config files to install.
- Config Preview — view decoded config content before installing.
- Diff View — compare bundled vs existing config (line-by-line).
- Export / Import Settings — save/load API keys & preferences to JSON.
- Version Check — check for installer updates (configurable endpoint)
- Uninstall / Reset — safely remove configs with automatic backup
- Backup — auto-backup existing configs before overwrite
- Streaming npm install — real-time output during dependency installation
After Installation
# 1. Authenticate with Antigravity
opencode auth login
# 2. Start OpenCode
opencodeAPI Keys (Optional)
The installer can inject API keys into config files during installation:
| Service | Config File | Get Key From |
|---------|------------|--------------|
| Supermemory | supermemory.jsonc | console.supermemory.ai/keys |
| OpenSync | opencode-sync.jsonc | opensync.dev → Settings |
Keys can also be added manually to the config files after installation.
Development
# Clone and install
git clone https://github.com/kliverz1337/opencode-antigravity-config.git
cd opencode-antigravity-config
npm install
# Run locally
npm start
# Register global command for testing
npm link
opencode-agcLicense
ISC
