Use Buffaly with Antigravity
Use antigravity / antigravity_cli only on a qualified native installation. The optional provider's source manifest defaults to disabled; the examined shared package manifest enables its entry. Check your installed manifest and qualification separately. Its native account and deployment configuration are separate from the Gemini API-key route.
Qualify the target native runtime first
- Have the deployment owner provision the supported native executable and account for the actual Buffaly execution identity on the target platform. The inspected runtime accepts exact versions
1.5.9and1.5.13, with matching executable hash and ACP protocol version checks. - Include
Buffaly.Provider.Antigravityand its compatible native/shared dependencies through the target release's package/provisioning workflow. The manifest namesAntigravityProviderCatalogSourceandAntigravityCompletionExecutor. Follow the common installation and activation procedure. - Supply qualification/support evidence for that executable, identity, account and profile. A package selected for a platform is not evidence that its native runtime has been qualified there.
- Enable the module through the deployment owner only after its configuration and qualification prerequisites are satisfied. Do not enable an empty template to create apparent readiness.
This manifest supplies native chat completion only; it has no embedding, speech or generic OAuth-handler component. Native login stays in the native account owner. Do not extract tokens into Buffaly feature settings or invent an API key for this provider.
Use the deployment-owned configuration file
AntigravityLaunchOptions loads a complete non-secret JSON document, not a SQL feature row. Set BUFFALY_ANTIGRAVITY_CONFIG to its absolute path. Otherwise, with an existing absolute BUFFALY_INSTALL_ROOT, the owner reads config/antigravity/provider-config.json below that root when present. No configured file means no catalog row.
- Protocol and executable:
Transport=acp,ExecutableVersion,ExecutablePathandExecutableSha256.acpis the protocol setting; session selection still usesantigravity_cli. - Profile and agent:
ProfileConfigDirectory, the completeProfileFileshash inventory,AgentFile,AgentSha256andScratchRoot. - Evidence and account:
QualificationEvidence,SupportEvidence,AccountLabelandAccountBindingId. Runtime evidence paths must be absolute existing files. - Bounds and context: required
MaximumInputBytesfrom 1024 through 4194304 andTimeoutSecondsfrom 5 through 900; retain the deployment'sOperatorConfigJsonandProbeContextJson. - Catalog and continuation:
Models,DefaultModeland qualifiedSessionResumeEvidencefor production completion.
Use the complete qualified deployment document rather than a partial copy of these fields. Loading rejects duplicate properties, unknown members and incorrect casing; old or invented settings are not silently repaired. There is no API-key settings example because this contract contains no credentials.
Keep qualification bound to the execution identity
ProfileConfigDirectory must be the actual operating-system user's .gemini/config directory. The runtime verifies its complete file inventory/hashes and executable/agent hashes. Do not override HOME or borrow an administrator's logged-in profile.
The qualified profile must have no personal agents, rules, skills, plugins, hooks or nonempty personal MCP configuration. The runtime also checks ambient personal discovery paths. ScratchRoot must be absolute and outside repository/customization ancestry, with no reparse-point ancestry. Provision the qualified environment through its owner rather than deleting personal configuration to satisfy a check.
AllowedNativeTools defaults to an empty list, refusing built-ins. Any intended additions must be distinct exact lowercase built-in names under the deployment's tool policy. mcp_ names are governed separately by Buffaly, and browser_ names are rejected. Model access does not itself authorize native tools.
Use the qualified model snapshot and continuation
Each advertised model needs exact Id, DisplayName, EffectiveModel, unique Efforts and DefaultEffort. DefaultModel must name a listed ID. A nonempty effort list needs a default inside it; no-effort models use an empty list/default. Do not infer a model's effort from a suffix or substitute its display name for its ID.
The deployment's explicit catalog refresh contacts the qualified native control protocol and writes its discovered snapshot through the existing owner. Reading the saved catalog only validates local configuration; it does not perform this refresh or prove runtime/account readiness. Upstream model families advertised here remain models under antigravity, not direct API-provider credentials.
The production completion executor requires qualified SessionResumeEvidence and uses provider-owned continuation. It has no stateless production fallback. Select antigravity / antigravity_cli, an exact snapshot model and its advertised effort; see selection readback.
Inspect status before launching the runtime
- Read installed component diagnostics and the complete provider catalog, including
Error. Confirm the enabled qualified module and exact snapshot transport/model/efforts. - Read non-secret deployment/account labels and the current session selection without changing it. A saved catalog can pass without runtime hashes, native login or continuation evidence passing execution.
- Use the deployment owner's approved qualification procedure for runtime/version/profile validation and any explicit native catalog refresh. These are native operations, not passive catalog reads.
- When an account execution test is intended and approved, choose the qualified model in a test session and send
Reply exactly: ANTIGRAVITY_PROVIDER_OK. Verify the intended selection, normal assistant result and production continuation through that procedure. This launch can consume account quota.
Common failures
- Provider absent: inspect the disabled-by-default module entry, configuration-path resolution and catalog error.
- Unqualified version or hash: reconcile the actual official executable with its qualified version/hash through the deployment owner; do not bypass the gate.
- Profile changed or wrong user: verify actual execution identity and qualified profile inventory; do not borrow another login or remove unrelated personal files.
- Model or effort rejected: use the exact advertised snapshot. An explicit owner refresh is separate from editing a guessed model list.
- Completion refused after catalog success: check runtime evidence, scratch ancestry, native account access and
SessionResumeEvidence. Catalog validation is intentionally weaker than execution validation.