Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

1.0 KB
Raw Blame
import { spawnSync } from 'node:child_process';
import { describeConformance, echoMcpServerSpec } from '../testing/index';
import { createAntigravityAdapter } from './antigravity-adapter';

describeConformance('antigravity', {
  createAdapter: async () => createAntigravityAdapter(),
  unavailableReason: async () => {
    const probe = spawnSync('agy', ['--version'], { encoding: 'utf8' });
    return probe.error || probe.status !== 0 ? 'the agy binary is not on PATH' : null;
  },
  // `invoke_subagent` runs a whole nested conversation, which can outlast the
  // default deadline on a slow day.
  timeoutMs: 300_000,
  skip: {
    subagent:
      'Neither antigravity-acp 1.1.1 (2026-10-11) nor agy 1.5.1 (2026-11-05) finishes a subagent within the 300 s deadline.',
  },
  mcpServers: { echo: echoMcpServerSpec() },
  // agy signs itself in from the user's keychain; a key in the environment is
  // how a machine without one runs the suite.
  ...(process.env.GEMINI_API_KEY ? { env: { GEMINI_API_KEY: process.env.GEMINI_API_KEY } } : {}),
});