Deploy from your AI agent

Deploy a site from Antigravity

Built a site in Antigravity? Ask the agent to publish it on Layero. Connect the MCP server, open your project folder and get a link to the live site.

What the agent does with Layero

Once connected, the agent handles the site the way you would in the dashboard: deploys, reads logs, rolls back.

Publishes the project folder

No Git needed. The agent uploads the source, Layero detects the framework, builds the project on servers in Russia and gives you an address on layero.app.

Works with your repository

If the project is connected to GitHub, GitVerse or GitLab, the agent deploys by pushing: any branch gives a preview, the main branch updates the live site.

Investigates failed builds

The agent reads Layero logs and diagnostics, finds the cause, fixes the code and runs the build again.

Keeps the site running

Rolls back a bad deploy, connects your domain, sets environment variables and shows visit statistics.

How to connect

Three steps. The first two you do once.

Install Layero in Antigravity

In the agent panel, open the “…” menu → MCP Servers → Manage MCP Servers → View raw config. Add Layero to mcpServers, keeping your other servers. Use the serverUrlfield for the address. Save the file and refresh the server list. The command below installs Layero instructions for your agent: select Antigravity in the installer.

{
  "mcpServers": {
    "layero": {
      "serverUrl": "https://mcp.layero.ru/mcp"
    }
  }
}
npx skills add LayeroInfra/layero-agents

Sign in

If Layero shows an Authenticate action, use it and complete sign-in in your browser. For CLI deployment, the command prompts you to sign in. Tool and command permissions are approved in Antigravity.

Never paste passwords or tokens into the chat.

Ask the agent to deploy

Open the project folder and tell the agent in plain words, for example:

Deploy this project to Layero and send me the site link.

When the build finishes, the agent sends you the site address. Deploying again updates the same site.

What else you can ask

Once the site is on Layero, the agent keeps working with it on request.

Why did the last Layero build fail? Find the cause and fix it.
Roll the site back to the previous version.
Connect example.ru to the site and tell me which DNS records to add.
How many people visited the site this week?

Try a ready-made example

No project at hand? Download a single-page HTML example and publish it from the agent’s terminal or your own.

mkdir layero-demo && cd layero-demo
curl -fsS https://layero.ru/examples/agent-deploy/index.html -o index.html
npx layero@latest deploy

On the first run the command asks you to sign in through the browser and prints the site address at the end. Here is the result:

What you can publish

Supported

  • Static sites and SPAs: HTML, Vite, React, Astro
  • Next.js and Nuxt with server-side rendering
  • Node.js and Python servers, Streamlit, Gradio
  • Monorepos: tell the agent which app folder to use

Good to know

  • On the free plan the site lives on a layero.app subdomain and is not indexed by search engines
  • A custom domain and indexing come with Pro, 990 ₽/month, first 14 days free
  • Without an account the agent can publish a static site for one hour only
  • Secrets go into project settings, not into site files

FAQ

Do I need a Git repository?
No. The agent publishes the project folder directly. If a repository is already connected to Layero, the agent deploys by pushing; otherwise your next push to the repository would overwrite the version it published.
How much does it cost?
Connecting the agent is free. The Free plan includes up to 5 projects and 100 builds a month. Pro costs 990 ₽/month or 9,480 ₽/year. Your Antigravity subscription is billed separately.
Antigravity cannot see Layero tools
Check the server address and the serverUrlfield, save the configuration and refresh the MCP server list. If sign-in is required, complete authentication. Menu labels can differ between Antigravity versions.
Can I deploy without MCP?
Yes. Open a terminal in your site folder and run npx layero@latest deploy. The command prompts you to sign in, publishes the project and shows the link.

Publish your site from Antigravity in a couple of minutes

Free plan available. Servers in Russia, payment in rubles.