ANTIGRAVITY LABJP
TAG

Security Design

2 articles
Back to all tags
Related:
Antigravity2MCP1Least Privilege1Production1Managed Agents1credentials1least privilege1short-lived tokens1cloud execution1indie development1
Integrations/2026-06-22Advanced

Scope the MCP Tools You Hand an Agent: A Least-Privilege Allowlist Design

As you add MCP servers to Antigravity 2.0, the set of tools every agent can reach quietly grows into an all-you-can-eat buffet. An agent that only needs to read files seeing delete and deploy tools is an accident waiting to happen. This walks through a least-privilege design that scopes tools per agent role, denies at call time, and gates destructive operations behind a second step, with working Python and field notes.

Agents/2026-06-14Advanced

When Managed Agents Run in the Cloud, How Do You Hand Them Credentials?

The Antigravity 2.0 Managed Agents API runs agents in the cloud, away from your machine. Convenient, but the credential handling that was trivial on your own laptop suddenly gets hard. Here is a design for not handing over long-lived tokens, but issuing them per run and expiring them quickly.