FR
Agents

Antigravity

Configure Antigravity CLI in Palabre with JSON responses that preserve spaces and paragraphs.

Antigravity CLI can be used as a Palabre agent through the agy command.

Palabre uses agy --output-format json --print without a pseudo-terminal. It keeps only the response text, preserving its spaces and paragraphs; conversation and usage metadata are not added to your exchange.

Installation

Install Antigravity CLI from Google's official documentation, then check that the command is available:

agy --help

If Antigravity was installed after your first Palabre configuration, open palabre again or synchronize explicitly:

palabre config --sync-agents

Gemini Transition

Google announced the transition from Gemini CLI to Antigravity CLI for individual users, while Enterprise customers retain access according to their licenses.

Official reference: Transitioning Gemini CLI to Antigravity CLI

Palabre no longer generates Gemini CLI in new configurations and no longer exposes it in presets. The old Gemini notes are kept in Gemini notes for context.

JSON Configuration

The configuration generated by Palabre looks like this:

Excerpt from the agents block:

"antigravity": {
  "type": "cli",
  "command": "agy",
  "args": ["--print-timeout", "5m0s", "--output-format", "json", "--print"],
  "responseFormat": "antigravity-json",
  "promptMode": "argument",
  "shell": true,
  "role": "reviewer",
  "tier": "primary",
  "timeoutMs": 300000
}

Examples

The example uses shell: true for safe Windows resolution (false elsewhere in generated configuration). Native executables and recognized shims run without a shell; any remaining shell wrapper is rejected with an argument prompt.

palabre codex-antigravity "Compare this architecture approach" -t 4
palabre antigravity-ollama "Critique this migration plan" -t 3

Limits and quota

Official documentation: Antigravity CLI — headless mode.

A probe on Antigravity 1.4.9 on Windows confirmed JSON capture and preserved paragraphs. Other versions and platforms remain unqualified. The format must contain a single JSON object, status: "SUCCESS" and a nonempty response field. Errors, unknown or incomplete JSON are rejected even with allowEmptyOutput: there is no automatic text or PTY fallback. Check agy --help and the arguments above if rejected. Recognized stderr quota errors still produce usage-limit; JSON error statuses have not been qualified more precisely.

The exact old default (cli-pty, command agy or antigravity, arguments ["--print-timeout", "5m0s", "--print"], promptMode: "argument", no custom PTY dimensions, shell, idle timeout or response format, no explicit .cmd/.bat/.ps1 wrapper) is converted in memory when loaded. palabre config --sync-agents persists it on request; a concurrent external edit prevents writing. Custom arguments or transports are preserved: adapt them yourself to the example if you want JSON. The legacy PTY may lose spaces or paragraphs when cleaning cursor movements. palabre doctor reports unknown or incompatible responseFormat; on PTY, the field is rejected before launch.

The prompt is a command-line argument and may exceed the command-line size, especially on Windows. Palabre defaults bound calls to 5 minutes (timeoutMs and --print-timeout); adjust both together. This output format change does not restrict Antigravity tools, plugins or permissions. Antigravity is not a Relay target.