logo
icon

OpenAB Antigravity

Deploy OpenAB with Google Antigravity CLI (agy) as a Discord bot. Uses the agy-acp Rust adapter for reliable ACP stdio communication. Supports multi-turn conversations via --continue session continuity.

template cover
Deployed1 times
PublisherzeaburZeabur
Created2026-05-22
Tags
AIDiscord BotDeveloper Tools

OpenAB Antigravity

One-click deployment of OpenAB with Google Antigravity CLI as the AI agent backend. This template uses the agy-acp Rust adapter for stable stdin/stdout pipe communication.

Features

  • Lightweight Rust ACP adapter (agy-acp) bridges OpenAB to Google Antigravity CLI
  • Multi-turn conversations via --continue session continuity
  • ~5 second response time per prompt
  • Discord bot with emoji reaction status feedback

Setup

1. Create a Discord Bot

  1. Go to Discord Developer Portal
  2. Create a new application and add a Bot
  3. Enable Message Content Intent under Privileged Gateway Intents
  4. Copy the bot token and paste it as DISCORD_BOT_TOKEN
  5. Invite the bot to your server with appropriate permissions

2. Authenticate Antigravity CLI

After deployment, open the Terminal tab in Zeabur Dashboard and run:

agy auth

Complete the device flow in your browser. Auth tokens persist in the volume at ~/.gemini/.

3. Configure Channels (Optional)

Set DISCORD_ALLOWED_CHANNELS to restrict which channels the bot responds in. Leave empty to allow all channels.

Limitations

  • No streaming — agy -p returns the full response at once
  • Cancel is a no-op — agy -p runs to completion
  • Session continuity uses --continue (resumes most recent conversation per container)

License

OpenAB is open source. See GitHub repository for license details.