Skip to content
Français

AntigravitySettings

import type { AntigravitySettings } from "@elie-laloum/outpost";
  • authenticationOptional
    AgentAuthentication | undefined
    “account” or account.file copies the agy Google sign-in token from ~/.gemini/antigravity-cli; usage forms forward GEMINI_API_KEY and select the Gemini API. Account key and variable fail when the agent is composed.
  • variablesOptional
    Readonly<Record<string, string>> | undefined
    Environment variables for agy commands, merged over .outpost/.env; AGY_CLI_DISABLE_AUTO_UPDATE is always true. A name also set by the sandbox provider fails with code configuration.
  • mcpServersOptional
    McpServers | undefined
    MCP servers merged into .gemini/config/mcp_config.json in the agent home, keyed by server name; other servers in the file are kept. On the local provider this is your own home. Each referenced variable must be declared.
  • modeOptional
    "accept-edits" | "plan" | undefined
    Antigravity execution mode passed with —mode. Without it, headless runs pass —dangerously-skip-permissions; interactive sessions keep the CLI’s approval prompts.
export interface AntigravitySettings {
  readonly authentication?: AgentAuthentication;
  readonly variables?: Variables;
  readonly mcpServers?: McpServers;
  readonly mode?: "accept-edits" | "plan";
}