# @magpie-community/agent-agy [Antigravity CLI](https://antigravity.google) (`agy`) as a magpie agent. ```sh magpie plugin add @magpie-community/agent-agy ``` Pick one of magpie's models in the Antigravity CLI row. magpie writes a file of its own, `~/.gemini/antigravity-cli/magpie-settings.json`, and leaves your `settings.json` alone: ```json { "model": "magpie/deepseek/pro", "modelProvider": "gemini", "customModelsConfig": { "customModels": { "magpie/deepseek/pro": { "apiProvider": "API_PROVIDER_GOOGLE_GEMINI", "modelName": "deepseek/pro" } } } } ``` Your own custom models from `settings.json` are carried in beside magpie's. agy takes the address and key of a Gemini endpoint only from how it is started, so magpie adds a function `agy` to your shells' profiles: it runs `magpie agy run`, which starts the agy on your PATH with `GEMINI_API_KEY`, `GOOGLE_GEMINI_BASE_URL`, `--settings magpie-settings.json` and `--model` while its model is one of magpie's, and as it is otherwise. `agy remote-control` always runs as it is, on your Google sign-in. `magpie agy env` prints what it starts agy with. Picking agy's own model again, or switching it off, takes `magpie-settings.json` and the function away. agy in a WSL distro is set up the same way, from Windows. This plugin takes the place of the Antigravity CLI magpie shipped with: what that one set up is handed over as it is. How agent plugins work: [usemagpie.ai/docs/plugins#agents](https://usemagpie.ai/docs/plugins#agents).