ANTIGRAVITY LABJP
TAG

dotenv

2 articles
Back to all tags
Related:
antigravity2troubleshooting2environment-variables1agent1agents1env1
Antigravity/2026-05-23Intermediate

Why Antigravity's AI Agent Misreads .env Values — Quoting, Whitespace, and Export Pitfalls

When Antigravity's agent writes or reads .env files, subtle differences in quoting, trailing whitespace, export prefixes, and # characters cause silent value corruption. Here are four real cases I hit in production, with concrete diagnostics and fixes.

Agents/2026-05-09Intermediate

Why Antigravity Agents Can't Read Your .env File — Three Propagation Paths to Check First

When an Antigravity agent fails with Missing API_KEY but the same build works in your terminal, the cause is one of three env propagation paths. Diagnose each.